Hi, when custmizing the Netgear firmware I did an error, and the router came into a looping state when booting, I cancelled the boot and went into the CFE. There is the possibility to load a new firmware via TFTP but it does not seem to expect a "normal" Netgear firmware in that sense, it seems to require a firmware that is "compressed" in what format I have no idea... The help seem to hint that it should be named "bcm963xx_fs_kernel" when flashing or "vmlinux" when just booting from a tftp server...
Here you can see my attemps (and the routers error codes to them)
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1
CFE>
CFE> help
Available commands:
d Download
a Asmod
w Write the whole image start from beginning of the flash
e Erase [n]vram or [a]ll flash except bootrom
r Run program from flash image or from host depend on [f/h] fl
ag
p Print boot line and board parameter info
c Change booline parameters
f Write image to the flash
i Erase persistent storage data
b Change board parameters
reset Reset the board
flashimage Flashes a compressed image after the bootloader.
help Obtain help for CFE commands
For more information about a command, enter 'help command-name'
*** command status = 0
CFE>
CFE>
CFE>
CFE>
CFE> w 192.168.0.1:DG834GT_V1.01.28.img
Loading 192.168.0.1:DG834GT_V1.01.28.img ...
Finished loading 3219456 bytes
Illegal whole flash image
Finished flashing image.
*** command status = -1
CFE>
CFE>
CFE> r 192.168.0.1:DG834GT_V1.01.28.img
Retry loading it as a compressed image.
Loading 192.168.0.1:DG834GT_V1.01.28.img ...
Finished loading 3219456 bytes
Code Address: 0x10000278, Entry Address: 0x00000000
Failed on decompression. Corrupted image?
*** command status = 3219456
CFE>
CFE>
CFE> f 192.168.0.1:DG834GT_V1.01.28.img
Loading 192.168.0.1:DG834GT_V1.01.28.img ...
Finished loading 3219456 bytes
Firmware tag version [0] is not compatible with the current Tag version [6].
*** command status = -1
CFE>
CFE>
CFE>
CFE> flashimage 192.168.0.1:orginal.img
Loading 192.168.0.1:orginal.img ...
Finished loading 3227648 bytes
...............................................................
Finished flashing image.
Resetting board...
CFE version 1.0.37-5.11 for BCM96348 (32bit,SP,BE)
Build Date: Fri Sep 17 15:59:48 CST 2004 (root@Run-P4)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena.
Initializing Devices.
internal_open
bcm6348enet: init_emac
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory used by CFE: 0x80401000 - 0x8051C910 (1161488)
Initialized Data: 0x80418630 - 0x804192D0 (3232)
BSS Area: 0x804192D0 - 0x8041A910 (5696)
Local Heap: 0x8041A910 - 0x8051A910 (1048576)
Stack Area: 0x8051A910 - 0x8051C910 (8192)
Text (code) segment: 0x80401000 - 0x80418624 (95780)
Boot area (physical): 0x0051D000 - 0x0055D000
Relocation Factor: I:00000000 - D:00000000
Board IP address : 192.168.0.10:ffffff00
Host IP address : 192.168.0.1
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : 96348GW-10
Psi size in KB : 16
Number of MAC Addresses (1-32) : 2
Base MAC Address : 00:0f:b5:54:e7:92
Ethernet PHY Type : Internal
Memory size in MB : 16
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Code Address: 0xDB71FF85, Entry Address: 0xa595e348
Failed on decompression. Corrupted image?
Download mode ... press enter to stop
CFE>
CFE>
CFE> help w
SUMMARY
Write the whole image start from beginning of the flash
USAGE
eg. w [hostip:]whole_image_file_name
*** command status = 0
CFE>
CFE> help r
SUMMARY
Run program from flash image or from host depend on [f/h] flag
USAGE
eg. r [[hostip:]filenaem]<cr> if no filename, use the file name in 'Default
host run file name'
*** command status = 0
CFE> help f
SUMMARY
Write image to the flash
USAGE
eg. f [[hostip:]filename]<cr> -- if no filename, tftped from host with file
name in 'Default host flash file name'
*** command status = 0
CFE>
CFE>
CFE> p
Board IP address : 192.168.0.10:ffffff00
Host IP address : 192.168.0.1
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : 96348GW-10
Psi size in KB : 16
Number of MAC Addresses (1-32) : 2
Base MAC Address : 00:0f:b5:54:e7:92
Ethernet PHY Type : Internal
Memory size in MB : 16
*** command status = 0