OpenWrt Forum Archive

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

The content of this topic has been archived between 8 Feb 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Reading the forum, I noted that with the SPI flash problems of definition,  with parallel flash net. did the assembly, S25FL032A not determined.

CFE version 1.0.37-12.1 for BCM96338 (32bit,SP,BE)
Build Date: Mon Jun  9 01:35:26 CST 2008 (root@localhost.localdomain)
Copyright (C) 2000-2006 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Serial flash device: name S25FL032A, id 0x0115, size 4096KB
CPU type 0x29010: 240MHz
Total memory: 33554432 bytes (32MB)

Total memory used by CFE:  0x80401000 - 0x80528710 (1210128)
Initialized Data:          0x8041D740 - 0x8041FF30 (10224)
BSS Area:                  0x8041FF30 - 0x80426710 (26592)
Local Heap:                0x80426710 - 0x80526710 (1048576)
Stack Area:                0x80526710 - 0x80528710 (8192)
Text (code) segment:       0x80401000 - 0x8041D734 (116532)
Boot area (physical):      0x00529000 - 0x00569000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1:ffffff00 
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)          : 1 
Boot image (0=latest, 1=previous) : 0 
Board Id (0-14)                   : 96338W 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 02:10:18:01:00:01 
PSI Size (1-64) KBytes            : 24 

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
Booting from latest image (0xbfe00000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.39 (gena@localhost.localdomain) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #1 Sat May 28 11:56:50 EEST 2011
Detected Broadcom 0x6338 CPU revision a2
CPU frequency is 240 MHz
32MB of RAM installed
registering 8 GPIOs
board_bcm963xx: Boot address 0xbfc00000
board_bcm963xx: CFE version: unknown
bootconsole [early0] enabled
CPU revision is: 00029010 (Broadcom BCM6338)
board_bcm963xx: board name: 96338W
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 29576k/32768k available (2107k kernel code, 3192k reserved, 363k data, 156k init, 0k highmem)
NR_IRQS:128
Calibrating delay loop... 237.82 BogoMIPS (lpj=475648)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.212:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
gpiodev: gpio device registered with major 254
bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
bcm963xx-flash bcm963xx-flash.0: failed to probe using CFI
bcm963xx-flash bcm963xx-flash.0: failed to probe using JEDEC
bcm963xx-flash: probe of bcm963xx-flash.0 failed with error -5
bcm63xx-spi bcm63xx-spi.0: at 0xfffe0c00 (irq 9, FIFOs size 63) v0.1.2
bcm63xx_enet bcm63xx_enet.0: eth0: Features changed: 0x00004800 -> 0x00004000
bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Kernel panic. That definitely does not sound good.

Can i download from somewhere the converted openwrt-DG834GT-2.6.27.11.img file?

Thank you!

fahadsadah wrote:

I fixed the problem by commenting out a line in the source of tools/makeImage

If anyone here has a DG834GT, http://pyramid.cluenet.org/~fahad/crap/ … g834gt.img

EDIt 17:43 13/01/2010: Changed URL

The download link don't works. Can i download it from another place?

Thank you!

Well if you took the time to read the wiki you would have found an exact procedure ( I wrote that myself ) for making your own flashable image for your DG834GT !

Unfortunately, I don't have an image ready made on my HDD so you can follow the procedure as that is what I would have done too. Tell me any problems / successes !

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

How to flash firmware :

1.download latest build image ( .bin ) from OpenWRT eg like http://downloads.openwrt.org/backfire/1 … /brcm63xx/ then either openwrt-DG834GT_DG834PN-jffs2-128k-cfe.bin OR openwrt-DG834GT_DG834PN-jffs2-64k-cfe.bin OR openwrt-DG834GT_DG834PN-squashfs-cfe.bin

2.get code for patched nftp program from here http://forum.kitz.co.uk/index.php/topic … msg1483088 then compile nftp to get a binary

3.then get whole directory named DG834GT_V1.02.16_NA_src from ftp://downloads.netgear.com/files/GPL/D … NA_src.zip unzip all etc.

4.get code for mkimage.sh file from post 424 on https://forum.openwrt.org/viewtopic.php … 0&p=17 and compile etc. and put mkimage.sh in DG834GT_V1.02.16_NA_src directory

5.put the openwrt image ( .bin ) named say,openwrt-DG834GT_DG834PN-squashfs-cfe.bin, in the DG834GT_V1.02.16_NA_src directory

6.execute something like "./mkimage.sh DG834GT_V1.02.16.img openwrt-96348gw-10-squashfs-cfe.bin openwrt-DG834GT-2.6.27.11.img" where first file is old netgear supplied image second file is openwrt downloaded one and third file is whatever you wanna name the new image

7.put the newly created image eg named "openwrt-DG834GT-2.6.27.11.img" in this example in the same folder as the binary nftp file

8.put router in flashing mode by pull out plug and press reset button then insert power until leds flash alternatively then execute something like "sudo ./ntfp -u eth0 openwrt-DG834GT-2.6.27.11.img" where the last file is the new image created by mkimage.sh file earlier on etc.

9.reboot router again and say for like 3 times on and off by taking out plug to make sure it has initialized everything properly

ENJOY !!! This took me 3 hours to figure out.

(Last edited by bulanula on 27 Jul 2011, 15:48)

Movies wrote:

<SPAM deleted>

Please delete this spam BS and ban the user. Thanks !

(Last edited by KanjiMonster on 12 Oct 2011, 10:47)

bulanula wrote:

Please delete this spam BS and ban the user. Thanks !

Done. Next time just click on the "report" link of the post (most left, gray) smile

KanjiMonster wrote:
bulanula wrote:

Please delete this spam BS and ban the user. Thanks !

Done. Next time just click on the "report" link of the post (most left, gray) smile

OK. Thanks. Nice to know. Will do in future. Any news on this platform ? Maybe ADSL support or is nobody working on this anymore ?

I have Comtrend CT-5361T, I don't know how to up openwrt successful. I had enter bootloader then up file openwrt-96348GW-generic-squashfs-cfe.bin (http://downloads.openwrt.org/backfire/1 … fs-cfe.bin) but router can't boot (can't access web GUI admin, can't ping ip router 192.168.1.1). Woul you like help me up openwrt ? thanks in advance

Sorry for my bad english.

thangbinh wrote:

I have Comtrend CT-5361T, I don't know how to up openwrt successful. I had enter bootloader then up file openwrt-96348GW-generic-squashfs-cfe.bin (http://downloads.openwrt.org/backfire/1 … fs-cfe.bin) but router can't boot (can't access web GUI admin, can't ping ip router 192.168.1.1). Woul you like help me up openwrt ? thanks in advance

Sorry for my bad english.

Think you might have bricked it. Try entering the bootloader again to confirm you don't need a JTAG.

I think thangbinh should try via serial port first.
If he just flashed the image via the bootloader, he probably didn't erase the bootloader itself.

Once connected via serial port to the bootloader interface you should be able to upload the firmware binary again...

thanks all, my router is bricked but I can flash original firmware from boot loader (by turn off my router then push reset button and turn on it, still push reset button and led power change red). After flash fw my router is working with original firmware. I want asked how to flash open wrt for my router :-S

Hi, I need a volunteer with a bcm6348 board.

I've compiled a firmware to read the CPU registers. The idea is to compare those registers with the ones from my own board. I have some performance issues related with a bootloader bad configuration. Once I get those registers I'll solve the performace issues adding some code to the kernel. My board is a Livebox and doesn't use a CFE bootloader, it uses Redboot instead.

I only need someone to flash this firmware to his bcm6348 board. (CFE bootloader based)

http://files.myopera.com/danitool/linux … fe.bin.zip

And then once booted send me the dmesg. That's all.





If this firmware is not compatible with your board, please tell me which one should you need.
I'll be eternally grateful.

(Last edited by danitool on 2 Dec 2011, 19:01)

danitool wrote:

Hi, I need a volunteer with a bcm6348 board.

I've compiled a firmware to read the CPU registers. The idea is to compare those registers with the ones from my own board. I have some performance issues related with a bootloader bad configuration. Once I get those registers I'll solve the performace issues adding some code to the kernel. My board is a Livebox and doesn't use a CFE bootloader, it uses Redboot instead.

I only need someone to flash this firmware to his bcm6348 board. (CFE bootloader based)

http://files.myopera.com/danitool/linux … fe.bin.zip

And then once booted send me the dmesg. That's all.





If this firmware is not compatible with your board, please tell me which one should you need.
I'll be eternally grateful.

can I flash it ?

PS : just flashed and brick again :-<

(Last edited by thangbinh on 3 Dec 2011, 12:37)

No news about platform support for this ? ADSL probably will never work on these devices, sadly.

danitool wrote:

Hi, I need a volunteer with a bcm6348 board.

Hi, here I am. :-)

Fist a few words about my hardware/software platform. I have got Thomson SpeedTouch ST780WL which at first glance seems to be pretty standard 96348GW board. I have wiped out original RTEMS based firmware and burned out CFE ver. 1.0.37-102.9 which I have taken from Actiontec's V1000H firmware (http://opensource.actiontec.com/).  In order to make OpenWrt kernel happy I had to "tune" this CFE by adding "CFE1CFE1" signature in a hex editor. Without the signature OpenWrt's kernel cannot find rootfs because it assumes that the bootloader is RedBoot. (BTW. Asus WL-600g firmware ver. 1.0.3.6A boots smoothly on unmodified Actiontec's CFE. However original Asus's CFE doesn't even want to start on my hardware.)

OK, here are requested logs:

1. console (1st start after flashing):

CFE version 1.0.37-102.9 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jan 15 20:34:08 PST 2009 (root@pclinux-lkaplan)
Copyright (C) 2000-2008 Broadcom Corporation.

Parallel flash device: name AM29LV320MB, id 0x2200, size 4096KB
Auto-negotiation timed-out
10 MB Half-Duplex (assumed)
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)
Boot Address 0xbfc00000


Board IP address                  : 192.168.1.1:ffffff00
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)          : 3
Board Id (0-7)                    : 96348GW
Number of MAC Addresses (1-32)    : 10
Base MAC Address                  : 00:11:22:33:44:55
PSI Size (1-64) KBytes            : 24

*** Press any key to stop auto run (3 seconds) ***
Auto run second count down: 0
Booting from only image (0xbfc10000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Closing DMA Channels.
Starting program at 0x80010000
Linux version 2.6.39.4 (root@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #39 Fri Nov 25 22:51:53 CET 2011
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
RAC configuration register: 0x15
RAC address range register: 0xfff0000
CP0 REGISTER 0, SELECT 0: 0
CP0 REGISTER 1, SELECT 0: 1f
CP0 REGISTER 2, SELECT 0: 0
CP0 REGISTER 3, SELECT 0: 0
CP0 REGISTER 4, SELECT 0: 0
CP0 REGISTER 4, SELECT 2: 0
CP0 REGISTER 5, SELECT 0: 0
CP0 REGISTER 5, SELECT 1: 0
CP0 REGISTER 6, SELECT 0: 0
CP0 REGISTER 7, SELECT 0: 0
CP0 REGISTER 8, SELECT 0: 0
CP0 REGISTER 9, SELECT 0 COUNT REGISTER: 4c922655
CP0 REGISTER 9, SELECT 6: 4c92330d
CP0 REGISTER 9, SELECT 7: 4c923c90
CP0 REGISTER 10, SELECT 0: a003e000
CP0 REGISTER 11, SELECT 0 COMPARE REGISTER: ffffffff
CP0 REGISTER 11, SELECT 6: ffffffff
CP0 REGISTER 11, SELECT 7: ffffffff
CP0 REGISTER 12, SELECT 0 STATUS REGISTER: 10000000
CP0 REGISTER 12, SELECT 1: 10000000
CP0 REGISTER 12, SELECT 2: 10000000
CP0 REGISTER 12, SELECT 3: 10000000
CP0 REGISTER 13, SELECT 0 CAUSE REGISTER: 0
CP0 REGISTER 14, SELECT 0: 0
CP0 REGISTER 15, SELECT 0 PROCESSOR IDENTIFICATION: 29107
CP0 REGISTER 15, SELECT 1: 29107
CP0 REGISTER 16, SELECT 0 CONFIG REGISTER: 80008083
CP0 REGISTER 16, SELECT 1 CONFIG1 REGISTER: 3ed94c82
CP0 REGISTER 16, SELECT 2: 80008083
CP0 REGISTER 16, SELECT 3: 3ed94c82
CP0 REGISTER 16, SELECT 4: 80008083
CP0 REGISTER 16, SELECT 5: 3ed94c82
CP0 REGISTER 16, SELECT 6: 80008083
CP0 REGISTER 16, SELECT 7: 3ed94c82
CP0 REGISTER 18, SELECT 0: 0
CP0 REGISTER 19, SELECT 0: 0
CP0 REGISTER 20, SELECT 0: 0
CP0 REGISTER 21, SELECT 0: 0
CP0 REGISTER 22, SELECT 0 BRCM CONFIGURATION REGISTER 0: e3880000
CP0 REGISTER 22, SELECT 1: 17
CP0 REGISTER 22, SELECT 2: 9
CP0 REGISTER 22, SELECT 3: aa0055
CP0 REGISTER 22, SELECT 4: 0
CP0 REGISTER 22, SELECT 5 BRCM RESET CONFIGURATION REGISTER: 20
CP0 REGISTER 22, SELECT 6: b0d00000
CP0 REGISTER 22, SELECT 7: f79e79e
CP0 REGISTER 23, SELECT 0: 0
CP0 REGISTER 24, SELECT 0: 0
CP0 REGISTER 25, SELECT 0: 3104041b
CP0 REGISTER 25, SELECT 1: 5294c032
CP0 REGISTER 25, SELECT 2: 2018d302
CP0 REGISTER 25, SELECT 3: 4e372908
CP0 REGISTER 25, SELECT 4: 0
CP0 REGISTER 25, SELECT 5: 0
CP0 REGISTER 25, SELECT 6 PERFORMANCE GLOBAL CONTROL REGISTER: 0
CP0 REGISTER 25, SELECT 7: 0
CP0 REGISTER 26, SELECT 0: 0
CP0 REGISTER 26, SELECT 1: 0
CP0 REGISTER 27, SELECT 0: 0
CP0 REGISTER 27, SELECT 1: 0
CP0 REGISTER 28, SELECT 0 TAGLO REGISTER: 4370c0
CP0 REGISTER 28, SELECT 2: 4370c0
CP0 REGISTER 28, SELECT 3: 59405dc
CP0 REGISTER 28, SELECT 4: 4370c0
CP0 REGISTER 29, SELECT 0: 0
CP0 REGISTER 30, SELECT 0: 0
board_bcm963xx: Boot address 0xbfc00000
board_bcm963xx: CFE version: 1.0.37-102.9
bootconsole [early0] enabled
CPU revision is: 00029107 (Broadcom BMIPS3300)
board_bcm963xx: board name: 96348GW
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13344k/16384k available (2094k kernel code, 3040k reserved, 358k data, 160k init, 0k highmem)
NR_IRQS:128
Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30001fff] (PCI address [0x30000000-0x30001fff])
Switching to clocksource MIPS
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.328:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00
bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 300000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
bcm963xx_flash: Spare partition is 2c0000 offset and length 130000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x0000000f0000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x0000000f0000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=140000
0x0000002b0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
0x000000010000-0x0000003f0000 : "linux"
bcm63xx_enet MII bus: probed
TCP westwood registered
NET: Registered protocol family 17
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 on device 31:2.
Freeing unused kernel memory: 160k freed
awk: /proc/cpuinfo: No such file or directory
eth1: link forced UP - 100/full - flow control off/off
input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -

Please press Enter to activate this console. Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62
Backport based on wireless-testing.git master-2011-11-15
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
Broadcom 43xx driver loaded [ Features: PL ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (211 buckets, 844 max)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 1
bcm63xx_ohci bcm63xx_ohci.0: irq 20, io mem 0xfffe1b00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
eth1: link forced UP - 100/full - flow control off/off
device eth1 entered promiscuous mode
br-lan: port 1(eth1) entering forwarding state
br-lan: port 1(eth1) entering forwarding state
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
JFFS2 notice: (1022) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.



BusyBox v1.19.3 (2011-11-22 15:17:10 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ATTITUDE ADJUSTMENT (bleeding edge, r29287) ----------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#

2. dmesg (1st start after flashing):

root@OpenWrt:/# dmesg
Linux version 2.6.39.4 (root@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #39 Fri Nov 25 22:51:53 CET 2011
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
RAC configuration register: 0x15
RAC address range register: 0xfff0000
CP0 REGISTER 0, SELECT 0: 0
CP0 REGISTER 1, SELECT 0: 1f
CP0 REGISTER 2, SELECT 0: 0
CP0 REGISTER 3, SELECT 0: 0
CP0 REGISTER 4, SELECT 0: 0
CP0 REGISTER 4, SELECT 2: 0
CP0 REGISTER 5, SELECT 0: 0
CP0 REGISTER 5, SELECT 1: 0
CP0 REGISTER 6, SELECT 0: 0
CP0 REGISTER 7, SELECT 0: 0
CP0 REGISTER 8, SELECT 0: 0
CP0 REGISTER 9, SELECT 0 COUNT REGISTER: 4c922655
CP0 REGISTER 9, SELECT 6: 4c92330d
CP0 REGISTER 9, SELECT 7: 4c923c90
CP0 REGISTER 10, SELECT 0: a003e000
CP0 REGISTER 11, SELECT 0 COMPARE REGISTER: ffffffff
CP0 REGISTER 11, SELECT 6: ffffffff
CP0 REGISTER 11, SELECT 7: ffffffff
CP0 REGISTER 12, SELECT 0 STATUS REGISTER: 10000000
CP0 REGISTER 12, SELECT 1: 10000000
CP0 REGISTER 12, SELECT 2: 10000000
CP0 REGISTER 12, SELECT 3: 10000000
CP0 REGISTER 13, SELECT 0 CAUSE REGISTER: 0
CP0 REGISTER 14, SELECT 0: 0
CP0 REGISTER 15, SELECT 0 PROCESSOR IDENTIFICATION: 29107
CP0 REGISTER 15, SELECT 1: 29107
CP0 REGISTER 16, SELECT 0 CONFIG REGISTER: 80008083
CP0 REGISTER 16, SELECT 1 CONFIG1 REGISTER: 3ed94c82
CP0 REGISTER 16, SELECT 2: 80008083
CP0 REGISTER 16, SELECT 3: 3ed94c82
CP0 REGISTER 16, SELECT 4: 80008083
CP0 REGISTER 16, SELECT 5: 3ed94c82
CP0 REGISTER 16, SELECT 6: 80008083
CP0 REGISTER 16, SELECT 7: 3ed94c82
CP0 REGISTER 18, SELECT 0: 0
CP0 REGISTER 19, SELECT 0: 0
CP0 REGISTER 20, SELECT 0: 0
CP0 REGISTER 21, SELECT 0: 0
CP0 REGISTER 22, SELECT 0 BRCM CONFIGURATION REGISTER 0: e3880000
CP0 REGISTER 22, SELECT 1: 17
CP0 REGISTER 22, SELECT 2: 9
CP0 REGISTER 22, SELECT 3: aa0055
CP0 REGISTER 22, SELECT 4: 0
CP0 REGISTER 22, SELECT 5 BRCM RESET CONFIGURATION REGISTER: 20
CP0 REGISTER 22, SELECT 6: b0d00000
CP0 REGISTER 22, SELECT 7: f79e79e
CP0 REGISTER 23, SELECT 0: 0
CP0 REGISTER 24, SELECT 0: 0
CP0 REGISTER 25, SELECT 0: 3104041b
CP0 REGISTER 25, SELECT 1: 5294c032
CP0 REGISTER 25, SELECT 2: 2018d302
CP0 REGISTER 25, SELECT 3: 4e372908
CP0 REGISTER 25, SELECT 4: 0
CP0 REGISTER 25, SELECT 5: 0
CP0 REGISTER 25, SELECT 6 PERFORMANCE GLOBAL CONTROL REGISTER: 0
CP0 REGISTER 25, SELECT 7: 0
CP0 REGISTER 26, SELECT 0: 0
CP0 REGISTER 26, SELECT 1: 0
CP0 REGISTER 27, SELECT 0: 0
CP0 REGISTER 27, SELECT 1: 0
CP0 REGISTER 28, SELECT 0 TAGLO REGISTER: 4370c0
CP0 REGISTER 28, SELECT 2: 4370c0
CP0 REGISTER 28, SELECT 3: 59405dc
CP0 REGISTER 28, SELECT 4: 4370c0
CP0 REGISTER 29, SELECT 0: 0
CP0 REGISTER 30, SELECT 0: 0
board_bcm963xx: Boot address 0xbfc00000
board_bcm963xx: CFE version: 1.0.37-102.9
bootconsole [early0] enabled
CPU revision is: 00029107 (Broadcom BMIPS3300)
board_bcm963xx: board name: 96348GW
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 80274ee0, node_mem_map 802c6000
  Normal zone: 32 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 4064 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13344k/16384k available (2094k kernel code, 3040k reserved, 358k data, 160k init, 0k highmem)
NR_IRQS:128
Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:01.0: [14e4:4318] type 0 class 0x000280
pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00001fff]
pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30001fff] (PCI address [0x30000000-0x30001fff])
Switching to clocksource MIPS
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
audit: initializing netlink socket (disabled)
type=2000 audit(0.328:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console [ttyS0] enabled, bootconsole disabled
bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00
bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 300000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
bcm963xx_flash: Spare partition is 2c0000 offset and length 130000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x0000000f0000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x0000000f0000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=140000
0x0000002b0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
0x000000010000-0x0000003f0000 : "linux"
bcm63xx_enet MII bus: probed
Registered led device: adsl-fail
Registered led device: ppp
Registered led device: ppp-fail
Registered led device: power
Registered led device: stop
TCP westwood registered
NET: Registered protocol family 17
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 on device 31:2.
Freeing unused kernel memory: 160k freed
eth1: link forced UP - 100/full - flow control off/off
input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
Button Hotplug driver version 0.4.1
Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62
Backport based on wireless-testing.git master-2011-11-15
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (211 buckets, 844 max)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 1
bcm63xx_ohci bcm63xx_ohci.0: irq 20, io mem 0xfffe1b00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
eth1: link forced UP - 100/full - flow control off/off
device eth1 entered promiscuous mode
br-lan: port 1(eth1) entering forwarding state
br-lan: port 1(eth1) entering forwarding state
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
JFFS2 notice: (1022) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
root@OpenWrt:/#

3. dmesg (subsequent start):

root@OpenWrt:/# dmesg
Linux version 2.6.39.4 (root@tool) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #39 Fri Nov 25 22:51:53 CET 2011
Detected Broadcom 0x6348 CPU revision b0
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
RAC configuration register: 0x15
RAC address range register: 0xfff0000
CP0 REGISTER 0, SELECT 0: 0
CP0 REGISTER 1, SELECT 0: 1f
CP0 REGISTER 2, SELECT 0: 0
CP0 REGISTER 3, SELECT 0: 0
CP0 REGISTER 4, SELECT 0: 0
CP0 REGISTER 4, SELECT 2: 0
CP0 REGISTER 5, SELECT 0: 0
CP0 REGISTER 5, SELECT 1: 0
CP0 REGISTER 6, SELECT 0: 0
CP0 REGISTER 7, SELECT 0: 0
CP0 REGISTER 8, SELECT 0: 0
CP0 REGISTER 9, SELECT 0 COUNT REGISTER: 4c9e500d
CP0 REGISTER 9, SELECT 6: 4c9e5cc7
CP0 REGISTER 9, SELECT 7: 4c9e664c
CP0 REGISTER 10, SELECT 0: a003e000
CP0 REGISTER 11, SELECT 0 COMPARE REGISTER: ffffffff
CP0 REGISTER 11, SELECT 6: ffffffff
CP0 REGISTER 11, SELECT 7: ffffffff
CP0 REGISTER 12, SELECT 0 STATUS REGISTER: 10000000
CP0 REGISTER 12, SELECT 1: 10000000
CP0 REGISTER 12, SELECT 2: 10000000
CP0 REGISTER 12, SELECT 3: 10000000
CP0 REGISTER 13, SELECT 0 CAUSE REGISTER: 0
CP0 REGISTER 14, SELECT 0: 0
CP0 REGISTER 15, SELECT 0 PROCESSOR IDENTIFICATION: 29107
CP0 REGISTER 15, SELECT 1: 29107
CP0 REGISTER 16, SELECT 0 CONFIG REGISTER: 80008083
CP0 REGISTER 16, SELECT 1 CONFIG1 REGISTER: 3ed94c82
CP0 REGISTER 16, SELECT 2: 80008083
CP0 REGISTER 16, SELECT 3: 3ed94c82
CP0 REGISTER 16, SELECT 4: 80008083
CP0 REGISTER 16, SELECT 5: 3ed94c82
CP0 REGISTER 16, SELECT 6: 80008083
CP0 REGISTER 16, SELECT 7: 3ed94c82
CP0 REGISTER 18, SELECT 0: 0
CP0 REGISTER 19, SELECT 0: 0
CP0 REGISTER 20, SELECT 0: 0
CP0 REGISTER 21, SELECT 0: 0
CP0 REGISTER 22, SELECT 0 BRCM CONFIGURATION REGISTER 0: e3880000
CP0 REGISTER 22, SELECT 1: 17
CP0 REGISTER 22, SELECT 2: 9
CP0 REGISTER 22, SELECT 3: aa0055
CP0 REGISTER 22, SELECT 4: 0
CP0 REGISTER 22, SELECT 5 BRCM RESET CONFIGURATION REGISTER: 20
CP0 REGISTER 22, SELECT 6: b0d00000
CP0 REGISTER 22, SELECT 7: f79e79e
CP0 REGISTER 23, SELECT 0: 0
CP0 REGISTER 24, SELECT 0: 0
CP0 REGISTER 25, SELECT 0: 7504041b
CP0 REGISTER 25, SELECT 1: 1290c2b0
CP0 REGISTER 25, SELECT 2: 8d306
CP0 REGISTER 25, SELECT 3: 8372800
CP0 REGISTER 25, SELECT 4: 0
CP0 REGISTER 25, SELECT 5: 0
CP0 REGISTER 25, SELECT 6 PERFORMANCE GLOBAL CONTROL REGISTER: 0
CP0 REGISTER 25, SELECT 7: 0
CP0 REGISTER 26, SELECT 0: 0
CP0 REGISTER 26, SELECT 1: 0
CP0 REGISTER 27, SELECT 0: 0
CP0 REGISTER 27, SELECT 1: 0
CP0 REGISTER 28, SELECT 0 TAGLO REGISTER: 4370c0
CP0 REGISTER 28, SELECT 2: 4370c0
CP0 REGISTER 28, SELECT 3: 59405dc
CP0 REGISTER 28, SELECT 4: 4370c0
CP0 REGISTER 29, SELECT 0: 0
CP0 REGISTER 30, SELECT 0: 0
board_bcm963xx: Boot address 0xbfc00000
board_bcm963xx: CFE version: 1.0.37-102.9
bootconsole [early0] enabled
CPU revision is: 00029107 (Broadcom BMIPS3300)
board_bcm963xx: board name: 96348GW
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 80274ee0, node_mem_map 802c6000
  Normal zone: 32 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 4064 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Memory: 13344k/16384k available (2094k kernel code, 3040k reserved, 358k data, 160k init, 0k highmem)
NR_IRQS:128
Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:01.0: [14e4:4318] type 0 class 0x000280
pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00001fff]
pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30001fff] (PCI address [0x30000000-0x30001fff])
Switching to clocksource MIPS
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
audit: initializing netlink socket (disabled)
type=2000 audit(0.328:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console [ttyS0] enabled, bootconsole disabled
bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00
bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 300000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
bcm963xx_flash: Spare partition is 2c0000 offset and length 130000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x0000000f0000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x0000000f0000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=140000
0x0000002b0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
0x000000010000-0x0000003f0000 : "linux"
bcm63xx_enet MII bus: probed
Registered led device: adsl-fail
Registered led device: ppp
Registered led device: ppp-fail
Registered led device: power
Registered led device: stop
TCP westwood registered
NET: Registered protocol family 17
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 on device 31:2.
Freeing unused kernel memory: 160k freed
eth1: link forced UP - 100/full - flow control off/off
input: gpio-buttons as /devices/platform/gpio-buttons.0/input/input0
Button Hotplug driver version 0.4.1
JFFS2 notice: (329) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 3 of xref (0 dead, 2 orphan) found.
Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62
Backport based on wireless-testing.git master-2011-11-15
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (211 buckets, 844 max)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
bcm63xx_ohci bcm63xx_ohci.0: BCM63XX integrated OHCI controller
bcm63xx_ohci bcm63xx_ohci.0: new USB bus registered, assigned bus number 1
bcm63xx_ohci bcm63xx_ohci.0: irq 20, io mem 0xfffe1b00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (1)]
eth1: link forced UP - 100/full - flow control off/off
device eth1 entered promiscuous mode
br-lan: port 1(eth1) entering forwarding state
br-lan: port 1(eth1) entering forwarding state
root@OpenWrt:/#

Hope it helps. :-)

(Last edited by jdx on 4 Dec 2011, 16:16)

jdx wrote:

Hi, here I am. :-)

Fist a few words about my hardware/software platform. I have got Thomson SpeedTouch ST780WL which at first glance seems to be pretty standard 96348GW board. I have wiped out original RTEMS based firmware and burned out CFE ver. 1.0.37-102.9 which I have taken from Actiontec's V1000H firmware (http://opensource.actiontec.com/).  In order to make OpenWrt kernel happy I had to "tune" this CFE by adding "CFE1CFE1" signature in a hex editor. Without the signature OpenWrt's kernel cannot find rootfs because it assumes that the bootloader is RedBoot. (BTW. Asus WL-600g firmware ver. 1.0.3.6A boots smoothly on unmodified Actiontec's CFE. However original Asus's CFE doesn't even want to start on my hardware.)

Hope it helps. :-)

Thanks, very much!!!

Nice detailed information about the ST780WL ! Thanks for sharing jdx.

Can one make a ST780wl wiki page?

jdx wrote:

In order to make OpenWrt kernel happy I had to "tune" this CFE by adding "CFE1CFE1" signature in a hex editor. Without the signature OpenWrt's kernel cannot find rootfs because it assumes that the bootloader is RedBoot.

This will (likely) be fixed with linux 3.3, I'm currently improving the CFE and image tag detection, and this is one of the things I fixed (since all never CFEs don't have the CFE1CFE1 anymore) smile

KM

bulanula wrote:

Nice detailed information about the ST780WL ! Thanks for sharing jdx.

You're welcome. However this information is useless for a person who just wants to install OpenWrt on a 780WL because neither mentioned CFE nor Backfire is fully functional (yet :-) ). Ethernet (switch) isn't working under CFE what is a big problem for developers and ordinary users. Also the switch isn't working under OpenWrt what makes such a 780 useless for ordinary users.

vpritiskovic wrote:

Can one make a ST780wl wiki page?

I have received your PM. Look at previous paragraph. :-)  Anyway, if you are ready to play with wiki/html stuff I can provide some basic technical stuff, ie. identify major chips on the PCB and describe how to connect to UART and JTAG interfaces. BTW. Could someone send me a nice high resolution photo of unmodified 780's PCB? Temporarily I haven't got a good digital camera nor my board is virgin. :-)


The main problem with 780WL and similar Thomson's routers is lack of well known and fully operational bootloader. CFE seems to be the best choice because AFAIK it is common bootloader for devices based on Broadcom's CPUs/SoCs and OpenWrt's binary images for these devices are prepared with CFE in mind. Fortunately there is a light in the tunnel. :-) A week ago I found this torrent: http://isohunt.com/torrent_details/1584 … ab=summary. It is CFE 1.0.37 for BCM63xx based devices. However the code seems to be buggy and isn't working yet, at least at my 780. Currently I am able to compile the code, download it into the router and it shows some diagnostic messages and then hangs up when it tries to decompress LZMA compressed part of CFE. So I have to trace the problem but it may require some time because MIPS and LZMA are new things for me. I would be very happy if I could exchange some information with a person who knows this code. Anyway, stay tuned. :-)

jdx wrote:

The main problem with 780WL and similar Thomson's routers is lack of well known and fully operational bootloader. CFE seems to be the best choice because AFAIK it is common bootloader for devices based on Broadcom's CPUs/SoCs and OpenWrt's binary images for these devices are prepared with CFE in mind. Fortunately there is a light in the tunnel. :-) A week ago I found this torrent: http://isohunt.com/torrent_details/1584 … ab=summary. It is CFE 1.0.37 for BCM63xx based devices. However the code seems to be buggy and isn't working yet, at least at my 780. Currently I am able to compile the code, download it into the router and it shows some diagnostic messages and then hangs up when it tries to decompress LZMA compressed part of CFE. So I have to trace the problem but it may require some time because MIPS and LZMA are new things for me. I would be very happy if I could exchange some information with a person who knows this code. Anyway, stay tuned. :-)

Well, Redboot also works on this devices, the guys at psidoc.com use the Redboot (released initally by inventel but no longer available) from the livebox for their homehubs. Well you are right CFE is better for this devices because it initilizes the cpu correctly, but I almost solved this problems with the redboot in my livebox..

About that CFE, I think you souldn't talk about it here (for evident reasons). Also have in mind every board has their own CFE, and probably with minor modifications, maybe buggy or you need the proper changes to run it in your device.

Hello all,

I have a NetGear DG834G v4, with the following information:

# Cat / proc / cpuinfo

system type: 96348W3
processor: 0
cpu model: BCM6348 v0.7
BogoMIPS: 239.20
wait instruction: no
microsecond timers: yes
tlb_entries: 32
extra interrupt vector: yes
hardware watchpoint: no
VCED exceptions: not available
VCEI exceptions: not available


# Cat / proc / mtd
dev: size erasesize name
mtd0: 00,309,000 00,010,000 "fs"
mtd1: 003d0000 00010000 "tag + fs + kernel"
mtd2: 00010000 00002000 "bootloader"
mtd3: 00010000 00010000 "nvram"
mtd4: 00010000 00002000 "bootloader"
mtd5: 00010000 00010000 "DPF_file"

How I can load openwrt?

I tried the instructions given in post #656 and the instructions in the wiki. When building the image IMG router starts but I only get to stay lit LED internet.

I used the image opewrt of the GT model. Firmware openwrt GT has a boardId = 96348GW-10, but v4 has a boardId=96348W3, can this be the problem?

Board id 96348W3 have support?

I would appreciate any help to try to put openwrt on the router.

Thanks!

(Last edited by jmlmoreno on 28 Dec 2011, 09:56)

I can ensure you this post is not perfect for lerning more . If you want I"ll add more efective information for your post. I am sure It"ll be good fore visitors .