I found some interesting things about the wrt54g debrick utility when trying to erase or flash the NVRAM on the Motorola WR850G v3.
The program will not ERASE the flash in that location of the NVRAM 1fff0000. If you attempt to flash that area it does try to erase it but really does not and then will only overwrite the nvram area with your nvram.bin by changing any 0 bits to a 1. Trying to erase the NVRAM with the command wrt54g.exe -erase:nvram will not erase anything. Trying to flash the NVRAM will result in a corrupted NVRAM because the program does not erase before flashing. The -erase:nvram should change all bytes in the nvram area to FF but it doesn't - just gives the 0 blocks erased message.
I believe this is happening because the minimum block size for the debrick utility is 128K and the flash area is only 64K.
To get around this, I used a custom erase of
wrt54g.exe -erase:custom /window:1fc00000 /start:1ffe0000 /length:1 This will erase the upper 64K of the kernel (which isn't being used anyway) along with the entire 64K of NVRAM in flash memory. Then I've been able to flash a new NVRAM.BIN or just let the CFE create a new one.
Jeff
(Last edited by dobkin on 29 Dec 2010, 01:38)
