OpenWrt Forum Archive

Topic: ADB A4001N bcm6328 based board

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

Hi,

I really can't get OpenWrt to boot on this board ( http://www.adbglobal.com/broadband/data … -revb.html ) following changeset 32004 patches for 963281T_TEF board.

It seems like it isn't detecting CFE boot nor spi flash partition layout ...

any help please?

TIA


CFE version 1.0.37-106.24 for A4001N TEF 0002 BCM96328 (32bit,SP,BE)
Build Date: Wed Jan 26 12:59:25 CET 2011 (zu1costast@thorold)
Copyright (C) 2000-2009 Broadcom Corporation.

HS Serial flash device: name MX25L128, id 0xc218 size 16384KB
Total Flash size: 16384K with 4096 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 33554432 bytes (32MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00 
Host IP address                   : 192.168.1.10 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : run.bin 
Default host flash file name      : 2.bin 
Boot delay (0-9 seconds)          : 9 
Boot image (0=latest, 1=previous) : 0 
Board Id (0-4)                    : 963281T_TEF 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 30:39:f2:87:8f:41 
PSI Size (1-64) KBytes            : 24 
Enable Backup PSI [0|1]           : 1 
System Log Size (0-256) KBytes    : 0 
Main Thread Number [0|1]          : 0 
Voice Board Configuration (0-11)  :   

*** Press any key to stop auto run (9 seconds) ***
Auto run second count down: 8
web info: Waiting for connection on socket 0.
CFE>
web info: Waiting for connection on socket 1.
CFE> r
Booting from latest image (0xb8800000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
2 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Li2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init,)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] NET: Registered protocol family 2
[    0.336000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.344000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.352000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.364000] TCP reno registered
[    0.368000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.384000] NET: Registered protocol family 1
[    0.388000] audit: initializing netlink socket (disabled)
[    0.396000] type=2000 audit(0.396:1): initialized
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.408000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.420000] msgmni has been set to 57
[    0.424000] io scheduler noop registered
[    0.428000] io scheduler deadline registered (default)
[    0.440000] console [ttyS0] enabled, bootconsole disabled= 36) is a bcm63xx_uart
[    0.440000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.464000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.472000] Searching for RedBoot partition table in spi0.0 at offset 0xff0000
[    0.508000] No RedBoot partition table detected in spi0.0
[    0.520000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.532000] TCP westwood registered
[    0.532000] NET: Registered protocol family 17
[    0.540000] 8021q: 802.1Q VLAN Support v1.8
[    0.544000] VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)
[    0.552000] Please append a correct "root=" boot option; here are the available partitions:
[    0.560000] 1f00           16384 mtdblock0  (driver?)
[    0.564000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Your problem is this:

gmtII wrote:

Booting from latest image (0xb8800000) ...

This means your CFE flashed the image to the dual boot second image offset, not the primary image offset. Just flash the image through CFE again, and it should choose to flash to the primary image address.

You can also use the image builder build images to pretend the images are too big for dual image layout; use the --pad <X> argument for that (like for the 96328anvg images). Set X to half of your flash in megabytes; in your case 8. After that it CFE will think the image is too big to fit to 0xb8800000 and always flash to 0xb8010000.

Edit: wait, this isn't your primary problem, but it will be a secondary one.

[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown

This means it failed (or will fail) to detect CFE, bailing out later. Can you perhaps provide a copy of the CFE binary?

Hi

Added '--pad 8' and it boots now from primary image address but I'm unable to dump CFE in orignal firmware sad (CFE not accesible/listed in mtd table?)

/proc # cat mtd
dev:    size   erasesize  name
mtd0: 0057b000 0057b000 "Physically mapped flash"

Is there another way to dump CFE than desoldering flash and reading in a external programmer?

Thank you very much!

in build_dir/linux-brcm/linux-3.3.7/drivers/mtd/bcm63xxpart.c try replacing

static int bcm63xx_detect_cfe(struct mtd_info *master)
{
      ...
      return strncmp("CFE1CFE1", buf, 8);
}

with

static int bcm63xx_detect_cfe(struct mtd_info *master)
{
      ...
      return 0;
}

This will disable the CFE check, and it should create the partitions (assuming the CFE tag is still at the usual location).

yes, it worked fine...

hexdump of CFE (ethernet not working yet smile

http://www.mediafire.com/?mw6md3c7gqpb4m6

thank you very much!

[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Lin2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8029d730, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS00
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29416k/32768k available (2219k kernel code, 3352k reserved, 396k data, 196k init, )
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.292000] PCI host bridge to bus 0000:00
[    0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.304000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.304000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.304000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.304000] pci 0000:01:00.0: supports D1 D2
[    0.304000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.308000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.312000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.316000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.320000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.324000] Switching to clocksource MIPS
[    0.332000] NET: Registered protocol family 2
[    0.336000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.344000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.352000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.364000] TCP reno registered
[    0.368000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.376000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.384000] NET: Registered protocol family 1
[    0.388000] PCI: CLS 0 bytes, default 16
[    0.388000] audit: initializing netlink socket (disabled)
[    0.396000] type=2000 audit(0.396:1): initialized
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.408000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, .
[    0.420000] msgmni has been set to 57
[    0.424000] io scheduler noop registered
[    0.428000] io scheduler deadline registered (default)
[    0.432000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.440000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] bcm63xx-hsspi bcm63xx-hsspi.0: registered master spi0
[    0.460000] spi spi0.0: setup mode 0, 8 bits/w, 40000000 Hz max --> 0
[    0.460000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.464000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.472000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.480000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.484000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.492000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.500000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.508000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.516000] bcm63xxpart: Spare partition is offset 260004 and length d8fffc
[    0.524000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.528000] Creating 5 MTD partitions on "spi0.0":
[    0.532000] 0x000000000000-0x000000010000 : "CFE"
[    0.540000] 0x000000010100-0x000000100000 : "kernel"
[    0.548000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thay
[    0.560000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.568000] mtd: partition "rootfs" set to be root filesystem
[    0.576000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=D90000
[    0.584000] 0x000000260000-0x000000ff0000 : "rootfs_data"
[    0.592000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.600000] 0x000000010000-0x000000ff0000 : "linux"
[    0.608000] bcm63xx-hsspi bcm63xx-hsspi.0: registered child spi0.0
[    0.612000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.620000] Registered led device: 963281T_TEF::internet
[    0.620000] Registered led device: 963281T_TEF::power
[    0.620000] Registered led device: 963281T_TEF::internet-fail
[    0.620000] Registered led device: 963281T_TEF::power-fail
[    0.620000] Registered led device: 963281T_TEF::wps
[    0.620000] Registered led device: 963281T_TEF::dsl
[    0.624000] TCP westwood registered
[    0.628000] NET: Registered protocol family 17
[    0.632000] 8021q: 802.1Q VLAN Support v1.8
[    0.644000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.656000] Freeing unused kernel memory: 196k freed
[    3.284000] roboswitch: Probing device eth0: No such device
[    3.292000] roboswitch: Probing device eth1: No such device
[    3.296000] roboswitch: Probing device eth2: No such device
[    3.304000] roboswitch: Probing device eth3: No such device
[   10.548000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   10.556000] Backport based on wireless-testing.git master-2012-05-29
[   10.564000] compat.git: wireless-testing.git
[   10.620000] cfg80211: Calling CRDA to update world regulatory domain
[   10.624000] cfg80211: World regulatory domain updated:
[   10.632000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.640000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.648000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.656000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.664000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.672000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.940000] There is already a switch registered on the device 'eth0'
[   10.944000] roboswitch: Probing device eth1: No such device
[   10.952000] roboswitch: Probing device eth2: No such device
[   10.956000] roboswitch: Probing device eth3: No such device
[   11.628000] Broadcom 43xx driver loaded [ Features: PNL ]
[   11.656000] Button Hotplug driver version 0.4.1
[   11.700000] PPP generic driver version 2.4.2
[   11.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.108000] NET: Registered protocol family 24
[   12.164000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   12.628000] Error: Driver 'bcm63xx-spi' is already registered, aborting...
[   25.192000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   25.208000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   25.212000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  114.628000] JFFS2 notice: (731) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of

(Last edited by gmtII on 4 Jun 2012, 02:37)

I just committed a fix for non working ethernet on 96328avng and 963281TAN. I suspect you used one of them as the reference for your board definition, so if you apply the fix to yours ethernet should be working for you, too.

Regarding the CFE detection, I think I know how to work around it without making it too ugly; I will create a patch for you to test later.

Ethernet working, but no wifi or usb...

http://pastebin.com/4GTFHcRE

thank you very much

KanjiMonster wrote:

I just committed a fix for non working ethernet on 96328avng and 963281TAN. I suspect you used one of them as the reference for your board definition, so if you apply the fix to yours ethernet should be working for you, too.

Regarding the CFE detection, I think I know how to work around it without making it too ugly; I will create a patch for you to test later.

Hi,

I patched source as another user proposed with wifi device definition:

(
original fw lspci
00:09.0 Class 0c03: 14e4:6300
00:0a.0 Class 0c03: 14e4:6300
01:00.0 Class 0604: 14e4:6328
02:00.0 Class 0280: 14e4:a8d8
)

diff -upr a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -272,6 +272,7 @@ static DEFINE_PCI_DEVICE_TABLE(bcma_pci_
    { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4353) },
    { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4357) },
    { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
+    { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0xA8D8) },
    { 0, },
};
MODULE_DEVICE_TABLE(pci, bcma_pci_bridge_tbl);

Wifi is detected now but unusable showing "PHY for wifi device radio0 not found".

New bootlog:

[    0.000000] Linux version 3.3.7 (chisco@chisco-aluminio) (gcc version 4.6.3 20120201 (prerelease) (Li2
[    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 32MB of RAM installed
[    0.000000] registering 32 GPIOs
[    0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: bcm63xx-gpio
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: unknown
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 963281T_TEF
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802a3e20, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Memory: 29384k/32768k available (2243k kernel code, 3384k reserved, 397k data, 200k init,)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.276000] registering PCI controller with io_map_base unset
[    0.284000] bio: create slab <bio-0> at 0
[    0.288000] PCI host bridge to bus 0000:00
[    0.292000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff]
[    0.296000] pci_bus 0000:00: root bus resource [ 0x00000000 flags 0x0]
[    0.300000] pci 0000:00:00.0: [14e4:6328] type 1 class 0x000604
[    0.300000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.300000] pci 0000:01:00.0: [14e4:a8d8] type 0 class 0x000280
[    0.300000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff 64bit]
[    0.300000] pci 0000:01:00.0: supports D1 D2
[    0.300000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.304000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[    0.308000] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.312000] pci 0000:00:00.0:   bridge window [mem 0x10f00000-0x10ffffff]
[    0.316000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.320000] Switching to clocksource MIPS
[    0.328000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    0.336000] bcma: Found chip with id 0xA8D9, rev 0x01 and package 0x0A
[    0.340000] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    0.348000] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    0.356000] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    0.364000] bcma: Found rev 6 PMU (capabilities 0x108C2606)
[    0.396000] bcma: SPROM offset 0x800
[    0.436000] bcma: Failed to get SPROM: -71
[    0.440000] bcma: Bus registered
[    0.444000] NET: Registered protocol family 2
[    0.448000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.456000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.464000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.468000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.476000] TCP reno registered
[    0.480000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.484000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492000] NET: Registered protocol family 1
[    0.496000] PCI: CLS 0 bytes, default 16
[    0.500000] audit: initializing netlink socket (disabled)
[    0.504000] type=2000 audit(0.504:1): initialized
[    0.512000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat,.
[    0.528000] msgmni has been set to 57
[    0.532000] io scheduler noop registered
[    0.536000] io scheduler deadline registered (default)
[    0.544000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart
[    0.552000] console [ttyS0] enabled, bootconsole disabled
[    0.568000] bcm63xx-hsspi bcm63xx-hsspi.0: registered master spi0
[    0.568000] spi spi0.0: setup mode 0, 8 bits/w, 40000000 Hz max --> 0
[    0.568000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.576000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.580000] bcm63xxpart: CFE boot tag found with version 6 and board type 963281T_TEF
[    0.588000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[    0.596000] bcm63xxpart: Partition 1 is kernel offset 10100 and length eff00
[    0.604000] bcm63xxpart: Partition 2 is rootfs offset 100000 and length ef0000
[    0.612000] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[    0.616000] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[    0.624000] bcm63xxpart: Spare partition is offset 2a0004 and length d4fffc
[    0.632000] 5 bcm63xxpart partitions found on MTD device spi0.0
[    0.640000] Creating 5 MTD partitions on "spi0.0":
[    0.644000] 0x000000000000-0x000000010000 : "CFE"
[    0.652000] 0x000000010100-0x000000100000 : "kernel"
[    0.656000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller thy
[    0.672000] 0x000000100000-0x000000ff0000 : "rootfs"
[    0.680000] mtd: partition "rootfs" set to be root filesystem
[    0.684000] mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=D50000
[    0.696000] 0x0000002a0000-0x000000ff0000 : "rootfs_data"
[    0.704000] 0x000000ff0000-0x000001000000 : "nvram"
[    0.712000] 0x000000010000-0x000000ff0000 : "linux"
[    0.716000] bcm63xx-hsspi bcm63xx-hsspi.0: registered child spi0.0
[    0.756000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.764000] Registered led device: 963281T_TEF::internet
[    0.764000] Registered led device: 963281T_TEF::power
[    0.764000] Registered led device: 963281T_TEF::internet-fail
[    0.764000] Registered led device: 963281T_TEF::power-fail
[    0.768000] Registered led device: 963281T_TEF::wps
[    0.768000] Registered led device: 963281T_TEF::dsl
[    0.768000] TCP westwood registered
[    0.772000] NET: Registered protocol family 17
[    0.776000] 8021q: 802.1Q VLAN Support v1.8
[    0.788000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.800000] Freeing unused kernel memory: 200k freed
[    3.364000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[    3.592000] roboswitch: Probing device eth0:
[    3.596000] bcm63xx_enet: could not find a used port with phy_id 0, assuming phy is external
[    3.604000] No Robo switch in managed mode found, phy_id = 0xffffffff
[    3.612000] roboswitch: Probing device eth1: No such device
[    3.616000] roboswitch: Probing device eth2: No such device
[    3.624000] roboswitch: Probing device eth3: No such device
[   11.064000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   11.072000] Backport based on wireless-testing.git master-2012-05-29
[   11.080000] compat.git: wireless-testing.git
[   11.136000] cfg80211: Calling CRDA to update world regulatory domain
[   11.140000] cfg80211: World regulatory domain updated:
[   11.144000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   11.156000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.164000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.172000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.180000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.188000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.608000] SCSI subsystem initialized
[   11.652000] There is already a switch registered on the device 'eth0'
[   11.660000] roboswitch: Probing device eth1: No such device
[   11.664000] roboswitch: Probing device eth2: No such device
[   11.668000] roboswitch: Probing device eth3: No such device
[   11.892000] usbcore: registered new interface driver usbfs
[   11.900000] usbcore: registered new interface driver hub
[   11.908000] usbcore: registered new device driver usb
[   12.316000] bcma: exports duplicate symbol bcma_core_dma_translation (owned by kernel)
[   12.660000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[   12.664000] bcma: Switched to core: 0x812
[   12.664000] b43-phy0 debug: Found PHY: Analog 8, Type 4, Revision 6
[   12.664000] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2056, Revision 11
[   12.668000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.704000] Button Hotplug driver version 0.4.1
[   13.348000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.848000] PPP generic driver version 2.4.2
[   14.216000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.412000] NET: Registered protocol family 24
[   14.628000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.668000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)
[   15.348000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   15.428000] usbcore: registered new interface driver cdc_acm
[   15.436000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.612000] Initializing USB Mass Storage driver...
[   15.616000] usbcore: registered new interface driver usb-storage
[   15.624000] USB Mass Storage support registered.
[   20.524000] device eth0 entered promiscuous mode
[   20.528000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex
[   20.540000] br-lan: port 1(eth0) entered forwarding state
[   20.544000] br-lan: port 1(eth0) entered forwarding state
[   22.548000] br-lan: port 1(eth0) entered forwarding state
[   34.272000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.288000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   34.292000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[  123.468000] JFFS2 notice: (909) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of .

Thanks!



KanjiMonster wrote:

I just committed a fix for non working ethernet on 96328avng and 963281TAN. I suspect you used one of them as the reference for your board definition, so if you apply the fix to yours ethernet should be working for you, too.

Regarding the CFE detection, I think I know how to work around it without making it too ugly; I will create a patch for you to test later.

What's the wifi chipset of your device?

It's a bcm43225 chipset (14e4:a8d9)...

[   13.380000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)




axishero wrote:

What's the wifi chipset of your device?

(Last edited by gmtII on 23 Jun 2012, 12:05)

I have a  96328avng board flashed comtrend AR-5382u's firmware?
http://pastebin.com/MMvF9BZh
please help identify wifi device address.

The discussion might have continued from here.