MyNetgear
Jump to navigation
Jump to search
Hardware
- eth0 MAC address 00:0F:B5:3D:5D:FC
Defaults (as deliverded)
CFE> printenv Variable Name Value -------------------- -------------------------------------------------- BOOT_CONSOLE uart1 boardtype bcm95365r et0mdcport 0 et0phyaddr 254 configvlan 0x1 et0macaddr 00-0f-b5-3d-5d-fc et1macaddr 00-0f-b5-3d-5d-fd STARTUP ifconfig eth0 -addr=192.168.0.110 -mask=255.255.255.0;boot -z -elf -tftp 192.168.0.5:vmlinux.gz;boot -elf flash0.os: kernel_args kernel_args console=ttyS1,115200 root=/dev/ram0 init=linuxrc rw syst_size=8M CFE_VERSION 1.0.34 CFE_BOARDNAME BCM95365R CFE_MEMORYSIZE 32 *** command status = 0
CFE
To restore the netgear image run in CFE:
- ifconfig -auto eth0
- flash -noheader 192.168.0.5:netgear.img.1 flash0.os
- flash -noheader 192.168.0.5:netgear.img.2 -offset=3932160 flash0.os
"The CFE flash routine will only download and flash a maximum of 4194304 bytes (4MB) at a time. To get around the 4MB limit, we need to split the image into smaller chunks and then use the -offset flag to flash the two parts." [1]