OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 707466.0
November 24, 2008 04:11 PM

Categories: WGR614L (Legacy Product)

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Fmay

Member
Joined: 10/17/2008

Something know if the CFE commands change on v1.5 

 ------------------------------------------------------------------------------------------------------------

WGR614v8 - 1.5 (Fri Jun  6 15:53:24 CST 2008)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.30.0
Device eth0:  hwaddr 00-00-00-00-06-00, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
CFE> ^C
CFE> ^C
CFE> setenv
Invalid command: "setenv"

 command status=-1
CFE> printenv
Invalid command: "printenv"

 command status=-1
CFE> help
Invalid command: "help"

 command status=-1

CFE> nvram
 command status=-8

CFE> nvram get board_id
U12H072T00_NETGEAR
 command status=0

CFE>CFE> tftpd
Reading :: Done. 3268666 bytes read
Reading :: Done. 3268666 bytes read
Reading :: Done. 3268666 bytes read
Reading ::

 --------------------------------------------------------------------

Thanks for any help.

Discussion:    Add a Comment | Comments 1-22 of 22 | Latest Comment

November 25, 2008 3:19 AM

Netgear have "helpfully" stripped out all the help and a load of the commands in version 1.5; setenv and printenv have gone, along with help! The nvram command does work, but as you see you have to give a whole command, as there is no help.

You will be glad to know, that as far as I can tell, that CFE will fall back to the board id in nvram if the one in flash is corrupted. So you can recover if you accidentally write over it in flash..

<rant>
For the life of me I cannot work out why Netgear have crippled the boot loader on an "Open Source" router. Between, not using the standard checksum in a TRX, storing values in the middle of flash (when nvram would have done), changing the load address (to 0x80001400 not 0x80001000), and finally removing half the boot loader and help commands. For a device designed to let you tinker they sure make it harder than it needs to be...
</rant>

November 25, 2008 4:37 AM updated: November 25, 2008 5:40 AM

These things pretty useless use an ugly amount of space in Flash....



Can be possible to change the CFE on these routers? at what moment? how?

Somebody know What is the hard method to recover it?

November 25, 2008 5:47 AM

It is possible to upgrade the boot loader in exactly the same way one upgrades the kernel... Boot into Linux, and write to the MTD block device...

The problem is what happens if it goes wrong! For that your going to need to have a working JTAG port and programmer. All of which is possible. Its on my list, but only as a last resort.

November 25, 2008 3:15 PM

To flash a different boot loader from CFE (works if you have a serial port).

1. State a tftp server in the PC
2. Copy the CFE binary file into the tftpserver directory. In Linux it is usually /tftpboot
3. Execute the following command at the CFE prompt

flash -noheader 192.168.1.2:v8_cfe_1_3 flash1.boot

This of course assumes you do have the correct boot loader.

November 26, 2008 5:39 AM updated: November 26, 2008 5:58 AM

It sounds a few easier, but where can I download the source code of CFEv1.3 proper to v8, or where can I find or extract the binary of v8_cfe_1_3?

Thanks for any information.

November 26, 2008 6:40 AM

Probably, the save command would help to extract the binary of CFE v1.3:


CFE> save 192.168.1.2:v8_cfe_1_3 startaddr length


Something know if it is valid and the values of startaddr and length.


Thanks for any information

November 26, 2008 11:10 AM updated: November 26, 2008 12:27 PM

Ok, I've downloaded the CFE from broadcom. I've compiled cfe-1.4.2/build/broadcom/tiny/ with CFG_BOARDNAME set as bcm947xx

I would like to know if the file cfe.flash produced is enough to flash on flash1.boot.


Thanks for any help or commentary

November 27, 2008 4:08 AM

@bzing2 and Fmay,

I am looking for some additional testers for Tjtagv3, I have included support for the wgr614v8 and wgr614v9...interested ? I would also be interested in having you test my replacement CFE ?

I am looking for feedback the will help me improve the tool, it is at RC2 now.

November 27, 2008 5:54 AM

The procedure is as follow:

From WGR614v8 CFEv1.3 get the binary:
dd if=/dev/mtd/0 of=/tmp/v8_cfe_1_3

Put the v8_cfe_1_3 file on tftpboot dir.

And apply on CFE for WGR614v8 version: 1.5:

CFE> flash -noheader 192.168.1.2:v8_cfe_1_3 flash1.boot
Reading 192.168.1.2:v8_cfe_1_3: Done. 131072 bytes read
Programming...done. 131072 bytes written
command status=0



Tornado:: please send me more information about the tool.

Thanks a lot!!

November 27, 2008 10:17 AM

Tornado,

Send me a link to where the tool is, and probably another for the cable needed (guessing a waggler). I have "playing with JTAG" on my TODO list; if I get to it is another matter...

December 10, 2008 4:07 PM

I feel really stupid. I have following messages:

WGR614v8 - 1.5 (Fri Jun 6 15:53:24 CST 2008)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.30.0
Device eth0: hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
CFE> ^C
CFE> ^C
CFE> ^C
CFE> tftpd
Reading :: Done. 3761210 bytes read
Reading :: Done. 3761210 bytes read
Reading :: Done. 3761210 bytes read
Reading :: Done. 3761210 bytes read

after power off, power on

Decompressing..........done
WGR614v8 - 1.5 (Fri Jun 6 15:53:24 CST 2008)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.30.0
Device eth0: hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loading .
Image chksum: 0xFFFFFFFF
Calc chksum: 0x00000000
Reading ::


could you help me, what to do next?
many thanks
mikie

December 10, 2008 10:30 PM

It seems to me that Ethernet MAC is wrong in your board. You can change that by this command
ifconfig eth0 -hwaddr=00:01:02:03:04:05 -addr=192.168.1.1 to enable tftpd at CFE
Give actual MAC address in place of "00:01:02:03:04:05". You can find that MAC address in the cover of the board. This change is temporary. To make it permanent please do the following steps.

1. start tftd at CFE
2. update with default netgear firmware.
3. run burnethermac command
burnethermac in this form
burnboardid U12H072T00_NETGEAR

Please let me know if you have any further query.

December 11, 2008 12:24 AM

Could any one plz provide me CFE v1.5 NA version ?

December 11, 2008 12:53 AM

Tornado said: @bzing2 and Fmay, I am looking for some additional testers for Tjtagv3, I have included support for the wgr614v8 and wgr614v9...interested ? I would also be interested in having you test my replacement CFE ? I am looking for feedback the will help me improve the tool, it is at RC2 now.

Hi tornado,

I would also like to test your replacement CFE and Tjtagv3 .

Could you please provide me the necessary stuff ?

December 11, 2008 12:54 AM

Tathagata Das said: It seems to me that Ethernet MAC is wrong in your board. You can change that by this command ifconfig eth0 -hwaddr=00:01:02:03:04:05 -addr=192.168.1.1 to enable tftpd at CFE Give actual MAC address in place of "00:01:02:03:04:05". You can find that MAC address in the cover of the board. This change is temporary. To make it permanent please do the following steps. 1. start tftd at CFE 2. update with default netgear firmware. 3. run burnethermac command burnethermac in this form burnboardid U12H072T00_NETGEAR Please let me know if you have any further query.
I have tried something like: ifconfig eth0 -hwaddr=00:01:02:03:04:05 -addr=192.168.1.1 and next tftpd.. but still no change.. I see some problem. Could you provide default netgear firmware (kovacik.milos@gmail.com). When I wrote "nvram get boardid" I received U12H072T00_NETGEAR. But I will try also "burnboardid U12H072T00_NETGEAR" as you recommended.

thanks
mikie

December 11, 2008 4:09 AM

You can find default Netgear firmware at

http://www.myopenrouter.com/download/10175/WGR614L-Firmware-v1.1.2_1.0.23/

December 11, 2008 4:16 AM

Tathagata Das said: It seems to me that Ethernet MAC is wrong in your board. You can change that by this command ifconfig eth0 -hwaddr=00:01:02:03:04:05 -addr=192.168.1.1 to enable tftpd at CFE Give actual MAC address in place of "00:01:02:03:04:05". You can find that MAC address in the cover of the board. This change is temporary. To make it permanent please do the following steps. 1. start tftd at CFE 2. update with default netgear firmware. 3. run burnethermac command burnethermac in this form burnboardid U12H072T00_NETGEAR Please let me know if you have any further query.

bad news.

I changed mac using:  ifconfig eth0 -hwaddr=00:01:02:03:04:05

next I run tftpd

next I sent firmware WGR614v8-V1.1.20_7.0.37.chk to the router. But router still tries to read something

Reading .....

Reading .....

I don't have burnethermac and burnboardid in CFE1.5

mikie

December 11, 2008 4:56 AM

Follow the CFE binary: http://www.myopenrouter.com/download/10741/v8_cfe_1_3/

put it into your tftpboot directory and on CFE apply:

CFE> flash -noheader 192.168.1.2:v8_cfe_1_3 flash1.boot

reboot

CFE> setenv BOARD_ID U12H072T00_NETGEAR
CFE> nvram set boardid=U12H072T00_NETGEAR
CFE> tftpd

December 11, 2008 6:00 AM

Fmay said: Follow the CFE binary: http://www.myopenrouter.com/download/10741/v8_cfe_1_3/ put it into your tftpboot directory and on CFE apply: CFE> flash -noheader 192.168.1.2:v8_cfe_1_3 flash1.boot reboot CFE> setenv BOARD_ID U12H072T00_NETGEAR CFE> nvram set boardid=U12H072T00_NETGEAR CFE> tftpd

I've tried to follow link but acces is denied. Browser said:

Access Denied

You cannot access this download at this time.

Could you send CFE 1.3 directly? (kovacik.milos@gmail.com)

thanks

December 11, 2008 6:33 AM

Fmay said: Follow the CFE binary: http://www.myopenrouter.com/download/10741/v8_cfe_1_3/ put it into your tftpboot directory and on CFE apply: CFE> flash -noheader 192.168.1.2:v8_cfe_1_3 flash1.boot reboot CFE> setenv BOARD_ID U12H072T00_NETGEAR CFE> nvram set boardid=U12H072T00_NETGEAR CFE> tftpd

Well I am not able to get it , The broser says :

Access Denied

You cannot access this download at this time.

Could you please send it to me directly at : imran_eie85@yahoo.co.in 

December 11, 2008 8:38 AM

Fmay said: Follow the CFE binary: http://www.myopenrouter.com/download/10741/v8_cfe_1_3/ put it into your tftpboot directory and on CFE apply: CFE> flash -noheader 192.168.1.2:v8_cfe_1_3 flash1.boot reboot CFE> setenv BOARD_ID U12H072T00_NETGEAR CFE> nvram set boardid=U12H072T00_NETGEAR CFE> tftpd

many thanks guys

I have usable router again.

mikie

December 12, 2008 2:55 AM

thnx Fmay I have got the CFE1.3 .... I am going to replace my bootloader with it and hopefully it will work ....

Discussion:    Add a Comment | Back to Top | Comments 1-22 of 22 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window