AraKs wrote:@bouvrie
You should connect to your router serial console to see what's not working during boot...
Got that in place now. Here's the log:
CFE version 1.0.37-1.5 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jun 9 16:22:27 CDT 2005 (root@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbfc00000
Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)
Total memory used by CFE: 0x80401000 - 0x80524F90 (1195920)
Initialized Data: 0x8041C3B0 - 0x8041E720 (9072)
BSS Area: 0x8041E720 - 0x80422F90 (18544)
Local Heap: 0x80422F90 - 0x80522F90 (1048576)
Stack Area: 0x80522F90 - 0x80524F90 (8192)
Text (code) segment: 0x80401000 - 0x8041C3A4 (111524)
Boot area (physical): 0x00525000 - 0x00565000
Relocation Factor: I:00000000 - D:00000000
Board IP address : 192.168.1.1
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 9
Board Id Name : 96348GW-B
Psi size in KB : 24
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:14:c1:0e:76:31
Ethernet PHY Type : External Switch Using Reverse MII
Memory size in MB : 16
Country code : FR
*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.30.10 (buildbot@henry) (gcc version 4.3.3 (GCC) ) #1 Thu Feb 25 05:38:22 UTC 2010
Detected Broadcom 0x6348 CPU revision a2
CPU frequency is 256000000 Hz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: CFE version: 1.0.37-1.5
board_bcm963xx: unknown bcm963xx board: 96348GW-B
console [early0] enabled
CPU revision is: 00029107 (Broadcom BCM6348)
[b][color=tomato]Kernel panic - not syncing: unable to detect bcm963xx board[/color][/b]
I'm looking into getting another firmware in place, possibly using the flashimage command.
I installed a TFTP server (WinAgents TFTP Server) and I served the bin that should put the router back to the original firmware:
CFE> flashimage
eg. flashimage [hostip:]compressed_image_file_name
*** command status = -2
CFE> flashimage 192.168.1.39:USR9108A-07-19-06.bin
Loading 192.168.1.39:USR9108A-07-19-06.bin ...
Finished loading 3156361 bytes
......................................................................
Finished flashing image.
Resetting board...
CFE version 1.0.37-1.5 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jun 9 16:22:27 CDT 2005 (root@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.
Boot Address 0xbfc00000
Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)
Total memory used by CFE: 0x80401000 - 0x80524F90 (1195920)
Initialized Data: 0x8041C3B0 - 0x8041E720 (9072)
BSS Area: 0x8041E720 - 0x80422F90 (18544)
Local Heap: 0x80422F90 - 0x80522F90 (1048576)
Stack Area: 0x80522F90 - 0x80524F90 (8192)
Text (code) segment: 0x80401000 - 0x8041C3A4 (111524)
Boot area (physical): 0x00525000 - 0x00565000
Relocation Factor: I:00000000 - D:00000000
Board IP address : 192.168.1.1
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 9
Board Id Name : 96348GW-B
Psi size in KB : 24
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:14:c1:0e:76:31
Ethernet PHY Type : External Switch Using Reverse MII
Memory size in MB : 16
Country code : FR
*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x801be018
Decompression OK!
Entry at 0x801be018
Closing network.
Starting program at 0x801be018
Linux version 2.6.8.1 (root@lh-2zq89lb018bo) (gcc version 3.4.2) #1 Wed Jul 19 09:45:49 CDT 2006
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
Total Flash size: 4096K with 71 sectors
96348GW-B prom init
CPU revision is: 00029107
mpi: No Card is in the PCMCIA slot
Determined physical RAM map:
memory: 00fa0000 @ 00000000 (usable)
On node 0 totalpages: 4000
DMA zone: 4000 pages, LIFO batch:1
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=31:0 ro noinitrd
brcm mips: enabling icache and dcache...
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB 2-way, linesize 16 bytes.
PID hash table entries: 64 (order 6: 512 bytes)
Using 128.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 13856k/16000k available (1489k kernel code, 2124k reserved, 227k data, 76k init, 0k highmem)
Calibrating delay loop... 255.59 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction... unavailable.
NET: Registered protocol family 16
Can't analyze prologue code at 80182c84
usbcore: registered new driver hub
Initializing Cryptographic API
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Using noop io scheduler
bcm963xx_mtd driver v1.0
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
ohci_hcd 0000:00:09.0: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:09.0 to 64
ohci_hcd 0000:00:09.0: irq 20, pci mem c0000b00
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
brcmboard: brcm_board_init entry
SES: Button GPIO 0x23 is enabled
SES: Button Interrupt 0x3 is enabled
SES: LED GPIO 0x23 is enabled
bcm963xx_serial driver v2.0
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Ebtables v2.0 registered
NET: Registered protocol family 8
NET: Registered protocol family 20
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 76k freed
init started: BusyBox v1.00 (2006.07.19-15:00+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
BusyBox v1.00 (2006.07.19-15:00+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
Loading drivers and kernel modules...
atmapi: module license 'Proprietary' taints kernel.
blaadd: blaa_detect entry
adsl: adsl_init entry
Broadcom BCMPROCFS v1.0 initialized
Broadcom BCM6348A2 Ethernet Network Device v0.3 Jul 19 2006 09:41:11
Config Ethernet Switch Through SPI Slave Select 0
eth0: MAC Address: 00:14:C1:0E:76:31
dgasp: kerSysRegisterDyingGaspHandler: eth0 registered
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
wl0: Broadcom BCM4318 802.11 Wireless Controller 3.131.35.0.cpe0.0
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
BcmAdsl_Initialize=0xC005D228, g_pFnNotifyCallback=0xC0073C74
pSdramPHY=0xA0FFFFF8, 0x87600880 0x805E8A90
eth0 Link UP.
AdslCoreHwReset: AdslOemDataAddr = 0xA0FFB114
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
SharedMemAlloc: ptr=0xA0FFFC38 size=936
==> Bcm963xx Software Version: 0951_071906-3.04L.01.A2pB021c.d17m <==
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
Setting SSID "USR9108"
wlctl: Not Found
SIOCGIFFLAGS: No such device
Setting country code using abbreviation: "FR"
wlctl: wl0 current channel 11
device wl0 entered promiscuous mode
br0: port 2(wl0) entering learning state
br0: topology change detected, propagating
br0: port 2(wl0) entering forwarding state
device wl0.1 entered promiscuous mode
RSA public decrypt : error:0407006A:lib(4):func(112):reason(106)
CGI: License key is invalid
Scratch pad is not initialized.
No scratch pad found. Initialize scratch pad...
And that one just hangs there. But at least now I'm getting somewhere. :)
Now I need to figure out which firmware bin should be compatible with the USR9108. Apparently the one I used (openwrt-96348GW-A-squashfs-bc300-cfe.bin) wasn't.
I guess it's my Board Id Name : 96348GW-B that's causing this?
*edit*
I found this page. Although the openwrt-96348GW-A-squashfs-bc300-cfe.bin I got is from here, which as far as I can tell is a very recent (28 feb 2010) trunk binary?
(Last edited by bouvrie on 28 Feb 2010, 18:10)