OpenWrt Forum Archive

Topic: ASUS wl500gp-v2 w/ OpenWRT (not booting)

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I've tried building the 2.6 kernel from revisions 11415(ish) and 11609 of the tree and they're not booting.  So I soldered on the UART pins and got a nifty 3.3V TTL USB cable from FTDI....

CFE indicates that it thinks the image is only 3768 some-odd bytes (output below).  I would like to go about debugging this but I can't find any documentation which relates to the structure of these binary files.   The file is called *.squashfs.trx.  Where is the kernel?  Is it actually IN the rootfs (ie. does CFE read squashfs and pull the kernel out?).  If the kernel is flashed separately then I'm totally lost -- I've found no documentation that talks about flashing it.

Is the file really a vanilla squashfs (with the TRX footer)?    If so, I suppose I could loopback mount it and peek inside...

Anyhow, if anyone has jotted down any notes, I'd appreciate a pointer!

Thanks!

-Miles

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon Apr 16 14:41:05 CST 2007 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.23.0
CPU type 0x29029: 240MHz
Total memory: 32768 KBytes
Total memory used by CFE:  0x80400000 - 0x8049A790 (632720)
Initialized Data:          0x80430720 - 0x80432D10 (9712)
BSS Area:                  0x80432D10 - 0x80434790 (6784)
Local Heap:                0x80434790 - 0x80498790 (409600)
Stack Area:                0x80498790 - 0x8049A790 (8192)
Text (code) segment:       0x80400000 - 0x80430720 (198432)
Boot area (physical):      0x0049B000 - 0x004DB000
Relocation Factor:         I:00000000 - D:00000000
Device eth0:  hwaddr 00-1F-C6-82-23-F2, ipaddr 192.168.1.1, mask 255.255.255.0
       gateway not set, nameserver not set
Null Rescue Flag.
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: TFTP Server.
Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3768 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000

I'm using a wl520gu, but this looks like the same problem. Either the cfe api is missing or the wrong entry point is provided at bootup.

Anyway, the workaround posted here turns off the cfe api dependency and gets the device to boot. Not sure what the real solution is.

http://forum.openwrt.org/viewtopic.php?id=15443&p=2

Steve

The discussion might have continued from here.