#17650: [bcm63xx] add support for Comtrend AR5382u
-----------------------------+-----------------------------------
Reporter: demonnwx2010@… | Owner: developers
Type: task | Status: new
Priority: highest | Milestone: Barrier Breaker 14.07
Component: kernel | Version: Trunk
Resolution: | Keywords: bcm63xx
-----------------------------+-----------------------------------
Comment (by demonnwx2010@…):
I changed the board id for 96328A-1241N at boot CFE.
flashed openwrt http://downloads.openwrt.org/snapshots/trunk/brcm63xx
/openwrt-963281TAN-8M-flash-generic-squashfs-cfe.bin size image 4194560
Image http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-AR-
5381u-squashfs-cfe.bin not come in size 8388864.
The image size should be 8,290,048.
----
what information you need to provide?
But boot log:
{{{
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LSYN
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
CFE version 1.0.37-106.17-1 for BCM96328 (32bit,SP,BE)
Build Date: 2010-06-28 15:35:56 (wander@broadcom-eu)
Copyright (C) 2000-2009 Broadcom Corporation.
HS Serial flash device: name MX25L64, id 0xc217 size 8192KB
Total Flash size: 8192K with 2048 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
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
Board Id (0-7) : 96328A-1241N
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:1f:ce:46:95:b7
PSI Size (1-64) KBytes : 24
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
Serial Number :
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8010000) ...
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...
46 buffers found.
Closing DMA Channels.
Starting program at 0x80010000
[ 0.000000] Linux version 3.14.16 (user@user-3QLAP-RS1001T-WBN3-MB)
(gcc ver4
[ 0.000000] Detected Broadcom 0x6328 CPU revision b0
[ 0.000000] CPU frequency is 320 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] registering 32 GPIOs
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.17-1
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a075 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96328A-1241N
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16
bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases,
linesize 16s
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pa6
[ 0.000000] Kernel command line: root=/dev/mtdblock2
rootfstype=squashfs,jf0
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Memory: 60180K/65536K available (2535K kernel code, 137K
rwdata,)
[ 0.000000] NR_IRQS:256
[ 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: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.052000] NET: Registered protocol family 16
[ 0.292000] registering PCI controller with io_map_base unset
[ 0.304000] bio: create slab <bio-0> at 0
[ 0.312000] PCI host bridge to bus 0000:00
[ 0.316000] pci_bus 0000:00: root bus resource [mem
0x10f00000-0x10ffffff]
[ 0.320000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags
0x0]
[ 0.324000] pci_bus 0000:00: No busn resource found for root bus, will
use []
[ 0.328000] pci 0000:00:00.0: bridge configuration invalid ([bus
00-00]), reg
[ 0.332000] pci 0000:00:00.0: BAR 8: assigned [mem
0x10f00000-0x10ffffff]
[ 0.336000] pci 0000:01:00.0: BAR 0: assigned [mem
0x10f00000-0x10f03fff 64b]
[ 0.340000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.344000] pci 0000:00:00.0: bridge window [mem
0x10f00000-0x10ffffff]
[ 0.348000] Switched to clocksource MIPS
[ 0.356000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 0.364000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 0.368000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and package
0x0A
[ 0.376000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev)
[ 0.384000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
0x812, re)
[ 0.396000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev
0x0F,)
[ 0.484000] bcma: bus0: Invalid SPROM read from the PCIe card, trying
to useM
[ 0.504000] bcma: bus0: Bus registered
[ 0.508000] NET: Registered protocol family 2
[ 0.516000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.520000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.528000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.536000] TCP: reno registered
[ 0.540000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.544000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.552000] NET: Registered protocol family 1
[ 0.560000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.568000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.576000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORI.
[ 0.584000] msgmni has been set to 117
[ 0.588000] io scheduler noop registered
[ 0.592000] io scheduler deadline registered (default)
[ 0.600000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36,
base_baud = t
[ 0.612000] console [ttyS0] enabled
[ 0.612000] console [ttyS0] enabled
[ 0.620000] bootconsole [early0] disabled
[ 0.620000] bootconsole [early0] disabled
[ 0.636000] m25p80 spi1.0: found mx25l6405d, expected m25p80
[ 0.640000] m25p80 spi1.0: mx25l6405d (8192 Kbytes)
[ 0.644000] bcm63xxpart: CFE boot tag found with version 6 and board
type 96N
[ 0.652000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.660000] bcm63xxpart: Partition 1 is kernel offset 10100 and length
11ff00
[ 0.668000] bcm63xxpart: Partition 2 is rootfs offset 130000 and length
6c000
[ 0.676000] bcm63xxpart: Partition 3 is nvram offset 7f0000 and length
10000
[ 0.684000] bcm63xxpart: Partition 4 is linux offset 10000 and length
7e0000
[ 0.688000] 5 bcm63xxpart partitions found on MTD device spi1.0
[ 0.696000] Creating 5 MTD partitions on "spi1.0":
[ 0.700000] 0x000000000000-0x000000010000 : "CFE"
[ 0.708000] 0x000000010100-0x000000130000 : "kernel"
[ 0.716000] mtd: partition "kernel" must either start or end on erase
block y
[ 0.732000] 0x000000130000-0x0000007f0000 : "rootfs"
[ 0.740000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.744000] mtd: partition "rootfs_data" created automatically,
ofs=0x3700000
[ 0.752000] 0x000000370000-0x0000007f0000 : "rootfs_data"
[ 0.760000] 0x0000007f0000-0x000000800000 : "nvram"
[ 0.768000] 0x000000010000-0x0000007f0000 : "linux"
[ 0.820000] b53_common: found switch: BCM63xx, rev 0
[ 0.828000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.836000] TCP: cubic registered
[ 0.840000] NET: Registered protocol family 17
[ 0.844000] 8021q: 802.1Q VLAN Support v1.8
[ 0.860000] VFS: Mounted root (squashfs filesystem) readonly on device
31:2.
[ 0.884000] Freeing unused kernel memory: 1276K (80331000 - 80470000)
[ 2.356000] random: nonblocking pool is initialized
procd: Console is alive
procd: - watchdog -
[ 4.696000] usbcore: registered new interface driver usbfs
[ 4.704000] usbcore: registered new interface driver hub
[ 4.708000] usbcore: registered new device driver usb
[ 4.724000] Button Hotplug driver version 0.4.1
[ 4.736000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.744000] ehci-platform: EHCI generic platform driver
[ 4.856000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.860000] ehci-platform ehci-platform: new USB bus registered,
assigned bu1
[ 4.868000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[ 4.888000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00,
overcurd
[ 4.896000] hub 1-0:1.0: USB hub found
[ 4.900000] hub 1-0:1.0: 1 port detected
[ 4.912000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.924000] input: gpio-keys-polled as /devices/platform/gpio-keys-
polled.0/0
procd: - preinit -
[ 5.596000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1,
100Mbps, fulx
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
level
jffs2 is ready
jffs2 is ready
[ 9.312000] jffs2: notice: (228) jffs2_build_xattr_subsystem: complete
build.
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 11.908000] NET: Registered protocol family 10
[ 11.936000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[ 11.952000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.976000] Loading modules backported from Linux version
master-2014-05-22-a
[ 11.984000] Backport generated by backports.git
backports-20140320-37-g5c33d0
[ 11.996000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.076000] xt_time: kernel timezone is -0000
[ 12.128000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.140000] cfg80211: World regulatory domain updated:
[ 12.148000] cfg80211: DFS Master region: unset
[ 12.152000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_ga)
[ 12.160000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 )
[ 12.168000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 )
[ 12.176000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 )
[ 12.188000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A,
2000)
[ 12.196000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A,
2000)
[ 12.204000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
2000)
[ 12.212000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 )
[ 12.220000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0)
[ 12.352000] PPP generic driver version 2.4.2
[ 12.360000] NET: Registered protocol family 24
[ 12.420000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[ 12.428000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[ 12.432000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11,
Vers0
[ 12.456000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 17.576000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1,
100Mbps, fulx
[ 22.256000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1,
100Mbps, fulx
[ 22.276000] device eth0.1 entered promiscuous mode
[ 22.280000] device eth0 entered promiscuous mode
[ 22.288000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.296000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.328000] br-wwan: port 1(eth0) entered forwarding state
[ 22.336000] br-wwan: port 1(eth0) entered forwarding state
[ 24.300000] br-lan: port 1(eth0.1) entered forwarding state
[ 24.340000] br-wwan: port 1(eth0) entered forwarding state
[ 24.504000] cfg80211: Calling CRDA for country: RU
[ 24.532000] cfg80211: Regulatory domain changed to country: RU
[ 24.536000] cfg80211: DFS Master region: ETSI
[ 24.540000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_ga)
[ 24.552000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 )
[ 24.560000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
2000 )
[ 24.568000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A,
2000 )
[ 24.576000] cfg80211: (5650000 KHz - 5730000 KHz @ 80000 KHz), (N/A,
3000 )
[ 24.584000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
3000 )
procd: - init complete -
}}}
----
log update
{{{
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LSYN
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
CFE version 1.0.37-106.17-1 for BCM96328 (32bit,SP,BE)
Build Date: 2010-06-28 15:35:56 (wander@broadcom-eu)
Copyright (C) 2000-2009 Broadcom Corporation.
HS Serial flash device: name MX25L64, id 0xc217 size 8192KB
Total Flash size: 8192K with 2048 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
*** Break into CFE console ( IRQ Mode )***
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
Board Id (0-7) : 96328A-1241N
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:1f:ce:46:95:b7
PSI Size (1-64) KBytes : 24
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
Serial Number :
web info: Waiting for connection on socket 0.
CFE> f 192.168.1.1:ar5381u
Loading 192.168.1.1:ar5381u ...
Loading failed.: CFE error -21
*** command status = -21
web info: Waiting for connection on socket 1.
web info: Waiting for connection on socket 0.
web info: Upload 8388864 bytes, Broadcom image format.
CFE> Illegal image size 8388608. Image size must not be greater than
8290048.
Resetting board...
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/17650#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets