July 31, 2008 4:43 PM
I aggree with not being happy to get big press announcements, but not beeing able to reproduce the things promised there. I started some weeks ago with an US imported WGR614L which in reality is a v9. The only WGR614L thing it has is the sticker on the package!?
Now I had big hope in the European version. But ist seems to be very different from the version required for the WGR614L dd-wrt image.
However, here are the results of my researches:
--------------------
Summary
--------------------
The bootloader is not showing the results described in the procedure above. It is downloading the vmlinuz file from the TFTP at 192.168.1.2, but it always decides to boot the firmware from the flash.
The first "Loading:..." output shows the correct size of the vmlinuz file from TFTP server, e.g.
Loading: ......... 2678784 bytes read (tomato.trx)
or
Loading: ......... 2834432 bytes read (dd-wrt.v24-9281_mor_NEWD_SF_mini.trx)
but then the router firmware is always booting the image from flash.
--------------------
Detailed output
--------------------
1. Router status: dd-wrt.v24-9281_mor_NEWD_SF_mini.chk installed. Reboot ends up blinking with a too long file/LZMA failed message
a) Booting with dd-wrt.v24-9281_mor_NEWD_SF_mini.trx renamed to vmlinuz on TFTP gives following output:
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-1F-33-CF-3F-02, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
Loading: ......... 2834432 bytes read
Entry at 0x803ae580
Loading .................................
too long file.
LZMA failed
Reading ::
b) Booting with tomato.trx from tomato_wgr614l_v1.11.041510.zip renamed to vmlinuz on TFTP gives following output:
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-1F-33-CF-3F-02, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
Loading: ......... 2678784 bytes read
Entry at 0x803ae580
Loading .................................
too long file.
LZMA failed
Reading ::
--> the different sizes of the vmlinuz files can be seen in the 1st Loading message, but router alway tries to boot the dd-wrt image from flash, which fails - as we already know.
2. Router status: original Netgear firmware installed (wgr614v8_1_1_11_6_0_36_ww.chk). Reboot brings up router with original firmware.
a) Booting with dd-wrt.v24-9281_mor_NEWD_SF_mini.trx renamed to vmlinuz on TFTP gives following output:
# reboot
Terminated
Sending SIGTERM to all processes
Terminated
# Sending SIGKILL to all processesRestarting system.
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-1F-33-CF-3F-02, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
Loading: ......... 2834432 bytes read
Entry at 0x803ae580
Loading .........................................
CPU revision is: 00029029
Primary instruction cache 16kb, linesize 16 bytes (4 ways)
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (lewis@dev) (gcc version 3.2.3 with Broadcom modifications)
#390 Fri May 23 18:19:07 CST 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 2 at 240 MHz
Calibrating delay loop... 237.56 BogoMIPS
Memory: 14468k/16384k available (1363k kernel code, 1916k reserved, 108k data, 60k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
PPP generic driver version 2.4.2
pflash: found no supported devices
sflash: squashfs filesystem found at block 621
Creating 8 MTD partitions on "sflash":
0x00000000-0x00020000 : "boot"
0x00020000-0x003b0000 : "linux"
0x0009b7ec-0x003b0000 : "rootfs"
0x003b0000-0x003c0000 : "T_Meter1"
0x003c0000-0x003d0000 : "T_Meter2"
0x003d0000-0x003e0000 : "POT"
0x003e0000-0x003f0000 : "board_data"
0x003f0000-0x00400000 : "nvram"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k freed
Algorithmics/MIPS FPU Emulator v1.5
Reading board data...
WSC UUID: 0x59ebe1130b65932a38bb8c9d711815b3
pa0maxpwr - 82
pa0b0 - 0x164B
pa0b1 - 0xFA66
pa0b2 - 0xFE86
opo - 8
configure RF parameters OK
Using /lib/modules/2.4.20/kernel/drivers/net/et/et.o
insmod: bcm57xx.o: no module by that name found
Using /lib/modules/2.4.20/kernel/drivers/net/wl/wl.o
Hit enter to continue...WARNING: console log level set to 1
eth1: ignore i/f due to error(s)
*********************************************
Wi-Fi Simple Config Application - Intel Corp.
Version: Build 1.0.5, November 19 2006
*********************************************
Initializing stack...button monitor start...!
apLockDownLog_init, counttion = 300, duration = 300!
OK
Now starting stack
get mac = 00 1F 33 CF 3F 02
Reading board data...
WSC UUID: 0x59ebe1130b65932a38bb8c9d711815b3
Using /lib/modules/2.4.20/kernel/net/ipv4/acos_nat/acos_nat.o
info, udhcp server (v0.9.8) started
error, unable to parse 'option wins '
error, unable to parse 'option domain '
Info: No FWPT default policies.
POT integrity check OK.
wl: Unsupported
add route eth0 0.0.0.0 mask 0.0.0.0 gw 10.10.0.1 metric 0
DEVICE PIN: 70097313
******* MODE: Access Point *******
DEVICE PIN:70097313
WSC: In unconfiged AP mode, wait for start command....
agApi_natAddConnTblEntryadd Conn : [201A8C0:350B -->101A8C0:208]
agApi_natAddConnTblEntryadd Conn : [201A8C0:5F04 -->101A8C0:8813]
NAT Enabled
Hit enter to continue...tlvPtrChar* : func CMasterControl_InitiateRegistration
line 658 allocating memory 0x10003750 for 0x10003738
Waiting for Registrar to connect...
--> correct size of vmlinuz (2834432 - dd-wrt.v24-9281_mor_NEWD_SF_mini.trx) is shown, but router is not booting it.
b) Booting with tomato.trx from tomato_wgr614l_v1.11.041510.zip renamed to vmlinuz on TFTP gives following output:
# reboot
Terminated
Sending SIGTERM to all processes
Terminated
# Sending SIGKILL to all processesRestarting system.
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-1F-33-CF-3F-02, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.2:vmlinuz Options:(null)
Loading: ......... 2678784 bytes read
Entry at 0x803ae580
Loading .........................................
CPU revision is: 00029029
Primary instruction cache 16kb, linesize 16 bytes (4 ways)
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (lewis@dev) (gcc version 3.2.3 with Broadcom modifications)
#390 Fri May 23 18:19:07 CST 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 2 at 240 MHz
Calibrating delay loop... 237.56 BogoMIPS
Memory: 14468k/16384k available (1363k kernel code, 1916k reserved, 108k data, 60k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
PPP generic driver version 2.4.2
pflash: found no supported devices
sflash: squashfs filesystem found at block 621
Creating 8 MTD partitions on "sflash":
0x00000000-0x00020000 : "boot"
0x00020000-0x003b0000 : "linux"
0x0009b7ec-0x003b0000 : "rootfs"
0x003b0000-0x003c0000 : "T_Meter1"
0x003c0000-0x003d0000 : "T_Meter2"
0x003d0000-0x003e0000 : "POT"
0x003e0000-0x003f0000 : "board_data"
0x003f0000-0x00400000 : "nvram"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k freed
Algorithmics/MIPS FPU Emulator v1.5
Reading board data...
WSC UUID: 0x59ebe1130b65932a38bb8c9d711815b3
pa0maxpwr - 82
pa0b0 - 0x164B
pa0b1 - 0xFA66
pa0b2 - 0xFE86
opo - 8
configure RF parameters OK
Using /lib/modules/2.4.20/kernel/drivers/net/et/et.o
insmod: bcm57xx.o: no module by that name found
Using /lib/modules/2.4.20/kernel/drivers/net/wl/wl.o
Hit enter to continue...WARNING: console log level set to 1
eth1: ignore i/f due to error(s)
*********************************************
Wi-Fi Simple Config Application - Intel Corp.
Version: Build 1.0.5, November 19 2006
*********************************************
Initializing stack...button monitor start...!
apLockDownLog_init, counttion = 300, duration = 300!
OK
Now starting stack
get mac = 00 1F 33 CF 3F 02
Reading board data...
WSC UUID: 0x59ebe1130b65932a38bb8c9d711815b3
Using /lib/modules/2.4.20/kernel/net/ipv4/acos_nat/acos_nat.o
info, udhcp server (v0.9.8) started
error, unable to parse 'option wins '
error, unable to parse 'option domain '
Info: No FWPT default policies.
POT integrity check OK.
wl: Unsupported
DEVICE PIN: 70097313
add route eth0 0.0.0.0 mask 0.0.0.0 gw 10.10.0.1 metric 0
******* MODE: Access Point *******
DEVICE PIN:70097313
WSC: In unconfiged AP mode, wait for start command....
agApi_natAddConnTblEntryadd Conn : [201A8C0:350B -->101A8C0:208]
agApi_natAddConnTblEntryadd Conn : [201A8C0:4E04 -->101A8C0:8813]
NAT Enabled
Hit enter to continue...tlvPtrChar* : func CMasterControl_InitiateRegistration
line 658 allocating memory 0x10003398 for 0x10003380
Waiting for Registrar to connect...
--> correct size of vmlinuz (2678784 - tomato.trx) is shown, but router is not booting it.
------------------------------
Is there any chance to find out what the European bootloader is expecting?