Ok heres what I did and heres what I get
I Flashed the orignal netgear firmware as given in the wiki
First part took 1.5 hrs to flash. When flashing the second part forgot to add --offset.
Now its 4:30 AM here at this point and I am really tired.
Start flashing 1st part, and leave comp on at night
My dad woke up at around 8, switched both off - forcefully - plug
Now I boot the router I get this boot sequence
CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: chipattach: NVRAM_GET(et0phyaddr) not found
et0: chipattach error
et0: etc_attach failed
Could not attach bcm4710 ethernet: -2
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)Total memory used by CFE: 0x81BB1280 - 0x82000000 (4517248)
Initialized Data: 0x81BB1280 - 0x81BB3E90 (11280)
BSS Area: 0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap: 0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area: 0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment: 0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical): 0x01B70000 - 0x01BB0000
Relocation Factor: I:E23B65E0 - D:01BB0280
Heres my orignal printenv
CFE> printenv
Variable Name Value
-------------------- --------------------------------------------------
BOOT_CONSOLE uart1
boardtype bcm95365r
et0macaddr 00-00-00-53-65-10
et1macaddr 00-00-00-53-65-11
CFE_VERSION 1.0.34
CFE_BOARDNAME BCM95365R
CFE_MEMORYSIZE 32
*** command status = 0
So now I setenv the MAC and some other variables, which I got from http://forum.openwrt.org/viewtopic.php?pid=22991
setenv –ro STARTUP “ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0;boot -elf -fs=raw doc0:flash0.os:”
setenv –ro kernel_args “console=ttyS1,115200 root= rw noinitrd”
setenv –ro et0phyaddr 254
setenv –ro et0mdcport 0
setenv –ro configvlan 0x1
setenv –ro et0macaddr 00-09-5b-f7-0d-34
setenv –ro et1macaddr 00-09-5b-f7-0d-35
setenv –ro NET_DEVICE eth0
setenv –ro NET_IPADDR 192.168.1.1
setenv –ro NET_NETMASK 255.255.255.0
The problem is as soon as I reboot, it goes back to what it was. setenv -p also doesnot help. What is going on? Should I just return the router and get a new one. This frustrating, but kinda fun
(Last edited by nitant on 16 Nov 2006, 09:44)