OpenWrt Forum Archive

Topic: Update on Linksys WRT1900AC support

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

Given the confusion that the mentions of OpenWrt support in Linksys press releases have caused, we would like to clarify the state of WRT1900AC support in OpenWrt and the ongoing collaboration with Linksys.

Members of the OpenWrt team have been in contact with Linksys for a while, discussing collaboration on device support in OpenWrt.
There had been no technical collaboration on device support until Belkin engineers posted a few incomplete patches in early April. These patches are currently being cleaned up, as they do not meet our quality standards.

The most important part that is still missing is a usable driver for the Marvell 802.11ac wireless chipset. Belkin is working on fixing this, but they have not given us an estimation on when such a driver will be provided.

The default firmware for this device seems to be using a proprietary driver provided by Marvell, which uses non-standard APIs for configuration. We don't know if Marvell will open source this driver, or will work on an alternative Linux driver. We believe that both approaches require a considerable amount of effort and time.

Because of these issues, we would currently recommend against purchasing this device until we have the missing pieces of software to make it functional with OpenWrt.

The Linksys press release claims that the device is "OpenWrt ready" and "Open Source ready". Given how much is still missing, and that not even the GPL code for this device was posted to the Linksys GPL code center, we consider these claims to be premature and unfortunately misleading.

Regards,

The OpenWrt Team

Have you had any clearer statements from Linksys/Marvel, about rough time-lines for delivery of the final missing pieces etc?

No

Pretty useless of them, really...
Then again it is early days, relatively speaking.

the wrt54g shipped a crappy blob wifi and 10 years later we still have no foss driver, dont get your hopes up

belkin has been playing and fooling us

Lets wait & see before being so sure...
There's only so long this kinda thing can be strung out before:

(1)
Official change of direction (+ an apology or excuse) is announced.

(2)
Official apology + continued direction + actions to back-that-up...

(3)
death is unofficially announced by the community at large after an extended period of WTF!?%$&#*

(Last edited by jalyst on 21 Apr 2014, 12:58)

Belkin sent me this email today smile Apparently this is going to be part of an upcoming PR release.

“Linksys has built the WRT1900AC with every intention of providing open source capabilities and making it the best solution available to the community.  Linksys has provided OpenWrt with an initial code release that enables open source firmware development.  OpenWrt has requested some patches to provide more open source functionality at the Wi-Fi driver level that requires cooperation from Marvell. Marvell is working on the usable driver and getting the required approvals through GPL. We are expecting this to be finalized and ready in the coming weeks.   As soon as this is complete;  the driver will be released to OpenWrt.  We will continue to collaborate with OpenWrt to ensure they have the necessary software as requested. In the meantime, we are also working on an SDK based on the Linux 3.2 Attitude Adjustment software and plan to have this posted on GitHub.com within the week for users to run OpenWRt firmware on their WRT1900AC router.  Our aim is to provide a robust and high performing hardware and software platform for open source community developers to customize their WRT1900AC the way that they see fit.  We will continue to work with the open source community and our chipset partners to ensue the developers have the necessary tools to do so."

I think this whole situation is simply a matter of them (Belkin) waking up too late on open-source support, not communicating sufficiently with the community they want supporting their product and/or management trying to push hardware out the door and not willing to delay shipping for the sake of said support. It just seems pretty late in the game for them to suddenly realize the driver API/Function calls are incompatible. Anyway props to them for keeping me in the loop. Hopefully this helps some of you.

(Last edited by matstein on 21 Apr 2014, 19:38)

X33,
Did you happen to try the firmware within the link?
Loaded it just to see, now I'm stuck with the dreaded blinking power light (Router will acknowledge a cable connection, although no dchp or response to any IP addresses.. including the 192.168.200.1 specified.)

Just a heads up in-case anyone else tried.

Maybe I'm missing something, although I've messed with firmware before.

Vaultserve wrote:

X33,
Did you happen to try the firmware within the link?
Loaded it just to see, now I'm stuck with the dreaded blinking power light (Router will acknowledge a cable connection, although no dchp or response to any IP addresses.. including the 192.168.200.1 specified.)

Just a heads up in-case anyone else tried.

Maybe I'm missing something, although I've messed with firmware before.

Yes, I did load the firmware and was able to get it up and running.  I did have to release/renew the IP on my PC to get a 192.168.200.x address.

Vaultserve wrote:

X33,
Did you happen to try the firmware within the link?
Loaded it just to see, now I'm stuck with the dreaded blinking power light (Router will acknowledge a cable connection, although no dchp or response to any IP addresses.. including the 192.168.200.1 specified.)

Just a heads up in-case anyone else tried.

Maybe I'm missing something, although I've messed with firmware before.

If you want to get back on the alternate firmware partition...

1. depress the 'reset' button on the back of the unit for 12 seconds
then release.

2. Then reboot the unit 3 times, by toggling the power switch.  You
should wait about 15 seconds between each power cycle.

3. This *should* allow the unit to recover it's last known good firmware
image.

It has two partitions, that should switch it over to the second.

Worst case, there's a serial header (white) on it if you take the front off.

http://imgur.com/rKTSgmW

serial hookup...

pin3  is rx, pin 5 is tx

http://imgur.com/6Z8j1dH

Recovery from uboot is fairly simple.

Set the name of your firmware file on tftp server

setenv firmware_name whatever.img

Set the IP address of your router

setenv ipaddr 192.168.200.1

Set the IP address of your tftp server

setenv serverip 192.168.200.20

Flash the image to the primary partition

run flash_pri_image

or the alternate...

run flash_alt_image

(Last edited by nyt on 25 Apr 2014, 05:16)

After flashing did you do any tests....do we need to get one of these to someone...anyone want to split on one for the dev team?  I want to see this device get some action.

I built an image for it before they had the github page.  I just built another image from the github page.  Loading it through the web page gave me a CRC error booting.  I'm flashing it from console now.  I'm on the irc channel as nyt- if you want any more infos.

Marvell>> setenv firmware_name openwrt.img
Marvell>> setenv ipaddr 192.168.200.1
Marvell>> setenv serverip 192.168.200.20
Marvell>> run flash_pri_image
mvNetaSpeedDuplexSet
Using egiga0 device
TFTP from server 192.168.200.20; our IP address is 192.168.200.1
Filename 'openwrt.img'.
Load address: 0x2000000
Loading: T #################################################################
         #################################################################
         ##########################################################
done
Bytes transferred = 33292288 (1fc0000 hex)

NAND erase: device 0 offset 0xa00000, size 0x4000000
Erasing at 0x49e0000 -- 100% complete.
OK

NAND write: device 0 offset 0xa00000, size 0x1fc0000
 33292288 bytes written: OK
Marvell>> run flash_alt_image
mvNetaSpeedDuplexSet
Using egiga0 device
TFTP from server 192.168.200.20; our IP address is 192.168.200.1
Filename 'openwrt.img'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         ##########################################################
done
Bytes transferred = 33292288 (1fc0000 hex)

NAND erase: device 0 offset 0x3200000, size 0x4000000
Erasing at 0x71e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x3200000, size 0x1fc0000
 33292288 bytes written: OK

looks like i screwed something up in the image....

NAND read: device 0 offset 0xa00000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.2.36
   Created:      2014-04-25   1:39:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3121408 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.2.36 (nyt@cc) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP Thu Apr 24 12:29:13 EDT 2014
[    0.000000] CPU: Marvell PJ4Bv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Marvell Armada XP RD WIFI Board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] SMP: init cpus
[    0.000000] PERCPU: Embedded 7 pages/cpu @c087a000 s4576 r8192 d15904 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=armada-nand:1024K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),37m@13m(rootfs),40m@50m(alt_kernel),37m@53m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg) root=/dev/mtdblock5 ro rootfstype=jffs2 init=/sbin/init
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 253140k/253140k available, 9004k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfa800000   ( 672 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05c8000   (5888 kB)
[    0.000000]       .init : 0xc05c8000 - 0xc05ff1e0   ( 221 kB)
[    0.000000]       .data : 0xc0600000 - 0xc063b680   ( 238 kB)
[    0.000000]        .bss : 0xc063b6a4 - 0xc0676c40   ( 238 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:211
[    0.000000] Initializing ArmadaXP SOC Timer 0
[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[    0.000000] Console: colour dummy device 80x30
[  164.728770] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[  164.768615] pid_max: default: 32768 minimum: 301
[  164.768788] Mount-cache hash table entries: 512
[  164.769208] CPU: Testing write buffer coherency: ok
[  164.769337] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[  164.769351] SMP: prepare CPUs (4 cores)
[  164.769715] Setting Clocks for secondary CPUs
[  164.770478] SMP: CPU 0 Waking up CPU 1
[  164.787333] CPU1: Booted secondary processor
[  164.818605] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[  164.818662] Brought up 2 CPUs
[  164.818676] SMP: Total of 2 processors activated (2382.23 BogoMIPS).
[  164.819229] devtmpfs: initialized
[  164.823130] NET: Registered protocol family 16
[  164.825466] L0 cache Enabled
[  164.825477] Speculative Prefetch Disabled
[  164.825501] Aurora L2 Cache Enabled
[  164.825864] Support IO coherency.
[  165.028734]
[  165.028740]   Marvell Armada-XP RD-AXP-WIFI rev 3.0 Board -  Soc: MV78230 B0 LE
[  165.028762]   Detected Tclk 250000000, SysClk 600000000, FabricClk 600000000, PClk 1200000000
[  165.028772]   LSP version: AXP_1.3.1
[  165.028777]
[  165.030501] Mamba Buttons Event Device Load
[  165.030617] registered dev#0 asa ehci_marvell
[  165.030949] Marvell USB EHCI Host controller #0: cf8cae00
[  165.031067] registered dev#1 asa ehci_marvell
[  165.031395] Marvell USB EHCI Host controller #1: cf8cac00
[  165.031505] registered dev#2 asa mv_udc
[  165.031832] Marvell USB Gadget controller #2: cf8caa00
[  165.043587] bio: create slab <bio-0> at 0
[  165.044052] vgaarb: loaded
[  165.044477] SCSI subsystem initialized
[  165.045187] usbcore: registered new interface driver usbfs
[  165.045372] usbcore: registered new interface driver hub
[  165.045511] usbcore: registered new interface driver ethub
[  165.045629] usbcore: registered new device driver usb
[  165.046554] Switching to clocksource axp_clocksource
[  165.058376] NET: Registered protocol family 2
[  165.058499] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[  165.059044] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[  165.059129] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[  165.059203] TCP: Hash tables configured (established 8192 bind 8192)
[  165.059212] TCP reno registered
[  165.059221] UDP hash table entries: 128 (order: 0, 4096 bytes)
[  165.059242] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[  165.059495] NET: Registered protocol family 1
[  165.059661] RPC: Registered named UNIX socket transport module.
[  165.059671] RPC: Registered udp transport module.
[  165.059678] RPC: Registered tcp transport module.
[  165.059685] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  165.059823] PCI-E: Cheking physical bus #0 (controller #0): Enabled - Link UP
[  165.060029] PCI-E: Cheking physical bus #1 (controller #1): Enabled - Link UP
[  165.060220] PCI-E: Cheking physical bus #2 (controller #2): Enabled - Link UP
[  165.060410] PCI-E: Cheking physical bus #3 (controller #3): Enabled - No Link
[  165.060598] PCI-E: Cheking physical bus #4 (controller #4): Enabled - No Link
[  165.060785] PCI-E: Cheking physical bus #5 (controller #5): Enabled - No Link
[  165.060972] PCI-E: Cheking physical bus #6 (controller #6): Enabled - No Link
[  165.061680] PCI: bus0: Fast back to back transfers disabled
[  165.062368] PCI: bus1: Fast back to back transfers disabled
[  165.063024] PCI: bus2: Fast back to back transfers disabled
[  165.063271] pci 0000:02:00.0: BAR 0: assigned [mem 0xf2400000-0xf24fffff 64bit pref]
[  165.063291] pci 0000:02:00.0: BAR 0: set to [mem 0xf2400000-0xf24fffff 64bit pref] (PCI address [0xf2400000-0xf24fffff])
[  165.063307] pci 0000:02:00.0: BAR 2: assigned [mem 0xf2500000-0xf25fffff 64bit pref]
[  165.063326] pci 0000:02:00.0: BAR 2: set to [mem 0xf2500000-0xf25fffff 64bit pref] (PCI address [0xf2500000-0xf25fffff])
[  165.063343] pci 0000:01:00.0: BAR 0: assigned [mem 0xf2200000-0xf22fffff 64bit pref]
[  165.063363] pci 0000:01:00.0: BAR 0: set to [mem 0xf2200000-0xf22fffff 64bit pref] (PCI address [0xf2200000-0xf22fffff])
[  165.063378] pci 0000:01:00.0: BAR 2: assigned [mem 0xf2300000-0xf23fffff 64bit pref]
[  165.063397] pci 0000:01:00.0: BAR 2: set to [mem 0xf2300000-0xf23fffff 64bit pref] (PCI address [0xf2300000-0xf23fffff])
[  165.063414] pci 0000:00:00.0: BAR 0: assigned [mem 0xf2000000-0xf2007fff 64bit]
[  165.063433] pci 0000:00:00.0: BAR 0: set to [mem 0xf2000000-0xf2007fff 64bit] (PCI address [0xf2000000-0xf2007fff])
[  165.065643] Armada XP hwmon thermal sensor initialized.
[  165.065733] ArmadaXP Power Managament NOT Initialized (Missing Deep-Idle Support)
[  165.066920] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[  165.067228] NTFS driver 2.1.30 [Flags: R/W].
[  165.067311] JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[  165.067570] msgmni has been set to 494
[  165.068135] io scheduler noop registered
[  165.068144] io scheduler deadline registered
[  165.068200] io scheduler cfq registered (default)
[  165.068269] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[  165.068302] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[  165.098628] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[  165.138633] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[  165.158628] mv_xor mv_xor.2: Marvell XOR: ( xor )
[  165.178636] mv_xor mv_xor.3: Marvell XOR: ( fill cpy )
[  165.183302] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[  165.183906] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 41) is a 16550A
[  165.879329] console [ttyS0] enabled
[  165.889714] brd: module loaded
[  165.896316] loop: module loaded
[  165.899485] FAN proc initialized
[  165.902809] Uniform Multi-Platform E-IDE driver
[  165.908106] sata_mv sata_mv.0: cannot get clkdev
[  165.912835] sata_mv sata_mv.0: slots 32 ports 2
[  165.918549] scsi0 : sata_mv
[  165.921708] scsi1 : sata_mv
[  165.924764] ata1: SATA max UDMA/133 irq 55
[  165.928886] ata2: SATA max UDMA/133 irq 55
[  165.933958]
[  165.933961] INFO: Found spi_flash 0 - base 0xf6000000, size 0x1000000
[  165.941747] INFO: flashInfoFill - Found 1 Flash Devices
[  165.946997] INFO: flash_map_init - detected 1 devices
[  165.952252] MTD: Initialize the spi_flash device at address 0xf6000000
[  165.959195]
[  165.959198] INFO: Io remapped successfully - phy addr = 0xf6000000, virt addr = 0xd1000000
[  165.968814] INFO: Using sflash to probe spi_flash at address 0xf6000000, size 0x1000000, width 2mmvSFlashInit ERROR: Unknown SPI flash device!
[  165.981859] ERROR: sflash_probe - Failed to initialize the SFlash. - Not detected - FAILED!
[  165.990867] armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
[  166.002187] NAND Spansion 1Gb(ID=F101)
[  166.007003] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
[  166.015477] Bad block table found at page 65472, version 0x01
[  166.021522] Bad block table found at page 65408, version 0x01
[  166.027474] 10 cmdlinepart partitions found on MTD device armada-nand
[  166.033945] 10 cmdlinepart partitions found on MTD device armada-nand
[  166.040410] Creating 10 MTD partitions on "armada-nand":
[  166.045743] 0x000000000000-0x000000100000 : "uboot"
[  166.051481] 0x000000100000-0x000000140000 : "u_env"
[  166.057195] 0x000000140000-0x000000180000 : "s_env"
[  166.062924] 0x000000900000-0x000000a00000 : "devinfo"
[  166.068833] 0x000000a00000-0x000003200000 : "kernel"
[  166.074656] 0x000000d00000-0x000003200000 : "rootfs"
[  166.080464] mtd: partition "rootfs" set to be root filesystem
[  166.086370] split_squashfs: no squashfs found in "armada-nand"
[  166.092236] 0x000003200000-0x000005a00000 : "alt_kernel"
[  166.098388] 0x000003500000-0x000005a00000 : "alt_rootfs"
[  166.104560] 0x000000a00000-0x000005a00000 : "ubifs"
[  166.110334] 0x000005a00000-0x000008000000 : "syscfg"
[  166.116267] mv_eth_probe: port_mask=0xf, cpu_mask=0x3
[  166.121676] mvPncVirtBase = 0xd0c00000
[  166.125437]   o 2 Giga ports supported
[  166.129202]   o NETA acceleration mode 4
[  166.133135]   o BM supported for CPU: 4 BM pools
[  166.137766]   o PnC supported (Enabled)
[  166.141616]   o HWF supported
[  166.144591]   o RX Queue support: 8 Queues * 128 Descriptors
[  166.150272]   o TX Queue support: 8 Queues * 532 Descriptors
[  166.155948]   o GSO supported
[  166.158926]   o GRO supported
[  166.161900]   o Receive checksum offload supported
[  166.166704]   o Transmit checksum offload supported
[  166.171598]   o NFP is supported
[  166.174833]   o NFP Hooks are supported
[  166.178683]   o Driver ERROR statistics enabled
[  166.183225]   o Driver INFO statistics enabled
[  166.187680]
[  166.190041]   o Loading Switch QuarterDeck driver
[  166.196686]     o Device ID     : 0x172
[  166.200540]     o No. of Ports  : 7
[  166.204038]     o CPU Port      : 5
[  166.207535]   o Loading network interface(s)
[  166.211826]
[  166.213321]   o Port 0 is connected to Linux netdevice
[  166.218556]  giga p=0: mtu=1500, mac=cf833e6c
[  166.227810]     o eth0, ifindex = 2, GbE port = 0
[  166.232559]
[  166.234055]   o Port 1 is connected to Linux netdevice
[  166.239294]  giga p=1: mtu=1500, mac=cf833e6c
[  166.248535]     o eth1, ifindex = 3, GbE port = 1
[  166.253279]
[  166.255035] tun: Universal TUN/TAP device driver, 1.6
[  166.260111] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[  166.266473] sky2: driver version 1.30
[  166.270272] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  166.276851] ehci_marvell ehci_marvell.0: Marvell Orion EHCI
[  166.282513] ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 1
[  166.288643] ata1: SATA link down (SStatus 0 SControl F300)
[  166.318624] ehci_marvell ehci_marvell.0: irq 45, io base 0xfbc50100
[  166.338614] ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
[  166.345400] hub 1-0:1.0: USB hub found
[  166.349181] hub 1-0:1.0: 1 port detected
[  166.353412] ehci_marvell ehci_marvell.1: Marvell Orion EHCI
[  166.359031] ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 2
[  166.388620] ehci_marvell ehci_marvell.1: irq 46, io base 0xfbc51100
[  166.408610] ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
[  166.415364] hub 2-0:1.0: USB hub found
[  166.419143] hub 2-0:1.0: 1 port detected
[  166.423526] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[  166.429827] uhci_hcd: USB Universal Host Controller Interface driver
[  166.436364] PCI: enabling device 0000:00:00.0 (0140 -> 0142)
[  166.442080] etxhci_hcd_131007 0000:00:00.0: Etron xHCI Host Controller
[  166.448664] etxhci_hcd_131007 0000:00:00.0: new USB bus registered, assigned bus number 3
[  166.497017] etxhci_hcd_131007 0000:00:00.0: irq 58, io mem 0xf2000000
[  166.504027] ethub 3-0:1.0: USB hub found
[  166.507973] ethub 3-0:1.0: 2 ports detected
[  166.512495] etxhci_hcd_131007 0000:00:00.0: Etron xHCI Host Controller
[  166.519072] etxhci_hcd_131007 0000:00:00.0: new USB bus registered, assigned bus number 4
[  166.527807] ethub 4-0:1.0: USB hub found
[  166.531760] ethub 4-0:1.0: 2 ports detected
[  166.536468] usbcore: registered new interface driver usblp
[  166.541992] Initializing USB Mass Storage driver...
[  166.547063] usbcore: registered new interface driver usb-storage
[  166.553097] USB Mass Storage support registered.
[  166.557834] usbcore: registered new interface driver ums-datafab
[  166.563966] usbcore: registered new interface driver ums-freecom
[  166.570102] usbcore: registered new interface driver ums-jumpshot
[  166.576311] usbcore: registered new interface driver ums-sddr09
[  166.582358] usbcore: registered new interface driver ums-sddr55
[  166.588583] mousedev: PS/2 mouse device common for all mice
[  166.638643] ata2: SATA link down (SStatus 0 SControl F300)
[  167.598610] rtc-mv rtc-mv: internal RTC not ticking
[  167.603692] i2c /dev entries driver
[  167.608565] i2c i2c-0: Detected TI TMP421 chip at 0x4c
[  167.614660] leds-tlc59116: Using tlc59116 16-bit LED driver at slave address 0x68
[  167.622179] leds-tlc59116 0-0068: setting platform data
[  167.737474] usbcore: registered new interface driver usbhid
[  167.743111] usbhid: USB HID core driver
[  167.747017] nf_conntrack version 0.5.0 (3955 buckets, 15820 max)
[  167.753257] ip_tables: (C) 2000-2006 Netfilter Core Team
[  167.758730] TCP cubic registered
[  167.762086] NET: Registered protocol family 10
[  167.767151] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  167.772576] IPv6 over IPv4 tunneling driver
[  167.777341] NET: Registered protocol family 17
[  167.781948] Bridge firewalling registered
[  167.785976] 8021q: 802.1Q VLAN Support v1.8
[  167.790199] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[  167.799052] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[  169.881856] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  169.897272] VFS: Mounted root (jffs2 filesystem) readonly on device 31:5.
[  169.904153] devtmpfs: mounted
[  169.907312] Freeing init memory: 220K
[  169.915913] Failed to execute /sbin/init.  Attempting defaults...
[  169.922046] Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[  169.934527] CPU1: stopping
[  169.937243] Backtrace:
[  169.939728] [<c0011060>] (dump_backtrace+0x0/0x110) from [<c0484d74>] (dump_stack+0x18/0x1c)
[  169.948191]  r6:fbc21000 r5:00000001 r4:c063b948 r3:c0616028
[  169.953920] [<c0484d5c>] (dump_stack+0x0/0x1c) from [<c00128f0>] (handle_IPI+0x104/0x180)
[  169.962127] [<c00127ec>] (handle_IPI+0x0/0x180) from [<c0008330>] (do_IPI+0x10/0x14)
[  169.969893]  r5:60000013 r4:c000ec84
[  169.973506] [<c0008320>] (do_IPI+0x0/0x14) from [<c000d534>] (__irq_svc+0x34/0xe8)
[  169.981098] Exception stack(0xcf855f78 to 0xcf855fc0)
[  169.986165] 5f60:                                                       c0618568 c060a8f0
[  169.994373] 5f80: cf855fb0 c0017664 cf854000 c061056c c063b784 c063b930 0000406a 562f5842
[  170.002580] 5fa0: 00000000 cf855fdc cf855fc0 cf855fc0 c000eaf0 c000ec84 60000013 ffffffff
[  170.010792] [<c000ec3c>] (cpu_idle+0x0/0x84) from [<c05ec238>] (secondary_start_kernel+0x13c/0x160)
[  170.019864]  r6:10c03c7d r5:00000015 r4:00000002 r3:c060a6d0
[  170.025591] [<c05ec0fc>] (secondary_start_kernel+0x0/0x160) from [<005ebb74>] (0x5ebb74)

(Last edited by nyt on 25 Apr 2014, 05:21)

Seems like they didn't commit with proper permissions to github... fixing.... ugh.

(Last edited by nyt on 25 Apr 2014, 05:32)

WebDawg wrote:

After flashing did you do any tests....do we need to get one of these to someone...anyone want to split on one for the dev team?  I want to see this device get some action.

I'd like to know if Belkin/Marvel are sending "at least one" to the OpenWRT community, that really is a given by now.
I'd only donate once I see that Belkin/Marvel is meeting us half way...

(Last edited by jalyst on 25 Apr 2014, 05:26)

Getting closer... just have to make sure I get them all this time...

[  171.085469] Freeing init memory: 220K
/sbin/init: line 1: /usr/sbin/check_reset: Permission denied
/sbin/init: source: line 1: can't open '/tmp/enter_failsafe'
[  171.356298] Kernel panic - not syncing: Attempted to kill init!
[  171.362243] CPU1: stopping
jalyst wrote:

I'd like to know if Belkin/Marvel are sending "at least one" to the OpenWRT community, that really is a given by now.
I'd only donate once I see that Belkin/Marvel is meeting us half way...

At the very least I'd hope they'd embrace a support policy akin to this...
http://forums.smallnetbuilder.com/showp … stcount=41
In the absence of supplying the dev community with free devices, that is the next best thing.

(Last edited by jalyst on 25 Apr 2014, 06:11)

Well, got it built and booted.  ubifs fault, but I'll dig into that later.

BootROM 1.20
Booting from NAND flash
Step 1: First phase of PEX-PIPE Configuration
Step 2: Configure the desire PIN_PHY_GEN
Step 3 QSGMII enable
Step 4: Configure SERDES MUXes
Step 5: Activate the RX High Impedance Mode
Step 6: [PEX-Only] PEX-Main configuration (X4 or X1)
Step 6.2: [PEX-Only] PCI Express Link Capabilities
Step 7: [PEX-X4 Only] To create PEX-Link
Steps 7,8,9,10 and 11
Steps 12: [PEX-Only] Last phase of PEX-PIPE ConfigurationSteps 13: Wait 15ms before checking resultsSteps 14: [PEX-Only]  In order to configureSteps 15: [PEX-Only]  In order to configureSteps 16: [PEX-Only] Training Enablestep 17: max_if= 0x7
step 17:  PEX0  pexUnit= 0
** Link is Gen1, check the EP capability
 --> 0050
mvPexConfigRead: return addr=0x%x0050
 --> 7001
 --> 7001
 --> A005
 --> A005
 --> 0010
 --> 4C12
Gen2 client!
step 17:  PEX1  pexUnit= 0
step 17:  PEX2  pexUnit= 0
** Link is Gen1, check the EP capability
 --> 0040
mvPexConfigRead: return addr=0x%x0040
 --> 5001
 --> 5001
 --> 7005
 --> 7005
 --> 0010
 --> DC12
Gen2 client!
step 17:  PEX3  pexUnit= 0
PEX3 : Detected No Link. Status Reg(0x0004DA64) = 0x00000001
step 17:  PEX4  pexUnit= 1
PEX4 : Detected No Link. Status Reg(0x00081A64) = 0x00000001
step 17:  PEX5  pexUnit= 1
PEX5 : Detected No Link. Status Reg(0x00085A64) = 0x00000001
step 17:  PEX6  pexUnit= 1
PEX6 : Detected No Link. Status Reg(0x00089A64) = 0x00000001
                                                            DDR3 Training Sequence - Ver 4.5.DDR3 Training Sequence - Static MC Init
DDR3 Training Sequence - HW Training Procedure
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2011.12 (Feb 06 2014 - 17:14:13) Marvell version: v2011.12 2013_Q1.2

Boot version:v1.3.25

Board: RD-AXP-GP rev 1.0
SoC:   MV78230 B0
       running 2 CPUs
       Custom configuration
CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
       CPU 0
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 250 [MHz]
       DDR    @ 600 [MHz]
       DDR 32Bit Width, FastPath Memory Access
       DDR ECC Disabled
DRAM:  256 MiB

Map:   Code:            0x0fea7000:0x0ff5e2d4
       BSS:             0x0ffefd80
       Stack:           0x0f9a6ef8
       Heap:            0x0f9a7000:0x0fea7000

NAND:  Spansion 1Gb(ID=F101) 128 MiB
MMC:   MRVL_MMC: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01


#### auto_recovery ####
[u_env] get auto_recovery == yes
[u_env] get auto_recovery == yes
[u_env] get boot_part == 2
[u_env] get boot_part_ready == 3
auto_recovery enabled:1, boot_part:2, boot_part_ready:3

[boot_count_read] block:0x140000, size:256KB, records:128
[boot_count_read_record] boot_count:1, next_record:14

[boot_count_write] erase:0, auto_recovery->block_offset:0x140000

Updating boot_count ...
[boot_count_write] offset:0x147000 , length:2048
done

PEX 0.0(0): Root Complex Interface, Detected Link X1, GEN 2.0
PEX 0.1(1): Root Complex Interface, Detected Link X1, GEN 1.1
PEX 0.2(2): Root Complex Interface, Detected Link X1, GEN 2.0
PEX 0.3(3): Detected No Link.
PEX 1.0(4): Detected No Link.
PEX 1.1(5): Detected No Link.
PEX 1.2(6): Detected No Link.

boot_end Offset: 0x100000
u_env_off Offset: 0x100000
s_env_off Offset: 0x140000
devinfo Offset: 0x900000

===================
total_badCount: 0
boot_badCount: 0
u_env_badCount: 0
s_env_badCount: 0
buff_badCount: 0
===================

FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:
mvEthE6171SwitchBasicInit finished
Net:   mvSysNetaInit enter
set port 0 to rgmii enter
set port 1 to rgmii enter
egiga0 [PRIME], egiga1
modify Phy Status
auto_recovery_check changes bootcmd: run altnandboot
Hit any key to stop autoboot:  0
Marvell>> run flash_pri_image
mvNetaSpeedDuplexSet
Using egiga0 device
TFTP from server 192.168.200.20; our IP address is 192.168.200.1
Filename 'openwrt.img'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################################
done
Bytes transferred = 33292288 (1fc0000 hex)

NAND erase: device 0 offset 0xa00000, size 0x4000000
Erasing at 0x49e0000 -- 100% complete.
OK

NAND write: device 0 offset 0xa00000, size 0x1fc0000
 33292288 bytes written: OK
Marvell>> run nandboot

NAND read: device 0 offset 0xa00000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.2.36
   Created:      2014-04-25   6:05:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3121408 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.2.36 (nyt@cc) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 SMP Fri Apr 25 01:00:24 EDT 2014
[    0.000000] CPU: Marvell PJ4Bv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Marvell Armada XP RD WIFI Board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] SMP: init cpus
[    0.000000] PERCPU: Embedded 7 pages/cpu @c087a000 s4576 r8192 d15904 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=armada-nand:1024K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),37m@13m(rootfs),40m@50m(alt_kernel),37m@53m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg) root=/dev/mtdblock5 ro rootfstype=jffs2 init=/sbin/init
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 253140k/253140k available, 9004k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfa800000   ( 672 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05c8000   (5888 kB)
[    0.000000]       .init : 0xc05c8000 - 0xc05ff1e0   ( 221 kB)
[    0.000000]       .data : 0xc0600000 - 0xc063b680   ( 238 kB)
[    0.000000]        .bss : 0xc063b6a4 - 0xc0676c40   ( 238 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:211
[    0.000000] Initializing ArmadaXP SOC Timer 0
[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[    0.000000] Console: colour dummy device 80x30
[   91.338570] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   91.378415] pid_max: default: 32768 minimum: 301
[   91.378588] Mount-cache hash table entries: 512
[   91.379006] CPU: Testing write buffer coherency: ok
[   91.379135] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[   91.379149] SMP: prepare CPUs (4 cores)
[   91.379514] Setting Clocks for secondary CPUs
[   91.380280] SMP: CPU 0 Waking up CPU 1
[   91.397134] CPU1: Booted secondary processor
[   91.428404] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[   91.428463] Brought up 2 CPUs
[   91.428477] SMP: Total of 2 processors activated (2382.23 BogoMIPS).
[   91.429032] devtmpfs: initialized
[   91.432942] NET: Registered protocol family 16
[   91.435272] L0 cache Enabled
[   91.435283] Speculative Prefetch Disabled
[   91.435307] Aurora L2 Cache Enabled
[   91.435670] Support IO coherency.
[   91.638540]
[   91.638547]   Marvell Armada-XP RD-AXP-WIFI rev 3.0 Board -  Soc: MV78230 B0 LE
[   91.638570]   Detected Tclk 250000000, SysClk 600000000, FabricClk 600000000, PClk 1200000000
[   91.638579]   LSP version: AXP_1.3.1
[   91.638584]
[   91.640305] Mamba Buttons Event Device Load
[   91.640421] registered dev#0 asa ehci_marvell
[   91.640753] Marvell USB EHCI Host controller #0: cf8cae00
[   91.640871] registered dev#1 asa ehci_marvell
[   91.641199] Marvell USB EHCI Host controller #1: cf8cac00
[   91.641309] registered dev#2 asa mv_udc
[   91.641637] Marvell USB Gadget controller #2: cf8caa00
[   91.653381] bio: create slab <bio-0> at 0
[   91.653846] vgaarb: loaded
[   91.654273] SCSI subsystem initialized
[   91.654983] usbcore: registered new interface driver usbfs
[   91.655168] usbcore: registered new interface driver hub
[   91.655308] usbcore: registered new interface driver ethub
[   91.655427] usbcore: registered new device driver usb
[   91.656353] Switching to clocksource axp_clocksource
[   91.668169] NET: Registered protocol family 2
[   91.668292] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   91.668836] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[   91.668921] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[   91.668995] TCP: Hash tables configured (established 8192 bind 8192)
[   91.669005] TCP reno registered
[   91.669014] UDP hash table entries: 128 (order: 0, 4096 bytes)
[   91.669035] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[   91.669288] NET: Registered protocol family 1
[   91.669455] RPC: Registered named UNIX socket transport module.
[   91.669464] RPC: Registered udp transport module.
[   91.669472] RPC: Registered tcp transport module.
[   91.669479] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   91.669616] PCI-E: Cheking physical bus #0 (controller #0): Enabled - Link UP
[   91.669823] PCI-E: Cheking physical bus #1 (controller #1): Enabled - Link UP
[   91.670015] PCI-E: Cheking physical bus #2 (controller #2): Enabled - Link UP
[   91.670205] PCI-E: Cheking physical bus #3 (controller #3): Enabled - No Link
[   91.670393] PCI-E: Cheking physical bus #4 (controller #4): Enabled - No Link
[   91.670580] PCI-E: Cheking physical bus #5 (controller #5): Enabled - No Link
[   91.670767] PCI-E: Cheking physical bus #6 (controller #6): Enabled - No Link
[   91.671476] PCI: bus0: Fast back to back transfers disabled
[   91.672166] PCI: bus1: Fast back to back transfers disabled
[   91.672823] PCI: bus2: Fast back to back transfers disabled
[   91.673071] pci 0000:02:00.0: BAR 0: assigned [mem 0xf2400000-0xf24fffff 64bit pref]
[   91.673092] pci 0000:02:00.0: BAR 0: set to [mem 0xf2400000-0xf24fffff 64bit pref] (PCI address [0xf2400000-0xf24fffff])
[   91.673107] pci 0000:02:00.0: BAR 2: assigned [mem 0xf2500000-0xf25fffff 64bit pref]
[   91.673127] pci 0000:02:00.0: BAR 2: set to [mem 0xf2500000-0xf25fffff 64bit pref] (PCI address [0xf2500000-0xf25fffff])
[   91.673144] pci 0000:01:00.0: BAR 0: assigned [mem 0xf2200000-0xf22fffff 64bit pref]
[   91.673164] pci 0000:01:00.0: BAR 0: set to [mem 0xf2200000-0xf22fffff 64bit pref] (PCI address [0xf2200000-0xf22fffff])
[   91.673179] pci 0000:01:00.0: BAR 2: assigned [mem 0xf2300000-0xf23fffff 64bit pref]
[   91.673198] pci 0000:01:00.0: BAR 2: set to [mem 0xf2300000-0xf23fffff 64bit pref] (PCI address [0xf2300000-0xf23fffff])
[   91.673214] pci 0000:00:00.0: BAR 0: assigned [mem 0xf2000000-0xf2007fff 64bit]
[   91.673233] pci 0000:00:00.0: BAR 0: set to [mem 0xf2000000-0xf2007fff 64bit] (PCI address [0xf2000000-0xf2007fff])
[   91.675442] Armada XP hwmon thermal sensor initialized.
[   91.675532] ArmadaXP Power Managament NOT Initialized (Missing Deep-Idle Support)
[   91.676720] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   91.677028] NTFS driver 2.1.30 [Flags: R/W].
[   91.677111] JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[   91.677371] msgmni has been set to 494
[   91.677936] io scheduler noop registered
[   91.677945] io scheduler deadline registered
[   91.678001] io scheduler cfq registered (default)
[   91.678070] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   91.678103] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   91.708428] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   91.748433] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   91.768428] mv_xor mv_xor.2: Marvell XOR: ( xor )
[   91.788437] mv_xor mv_xor.3: Marvell XOR: ( fill cpy )
[   91.793110] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   91.793716] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 41) is a 16550A
[   92.489138] console [ttyS0] enabled
[   92.499519] brd: module loaded
[   92.506126] loop: module loaded
[   92.509293] FAN proc initialized
[   92.512618] Uniform Multi-Platform E-IDE driver
[   92.517916] sata_mv sata_mv.0: cannot get clkdev
[   92.522645] sata_mv sata_mv.0: slots 32 ports 2
[   92.528357] scsi0 : sata_mv
[   92.531518] scsi1 : sata_mv
[   92.534576] ata1: SATA max UDMA/133 irq 55
[   92.538698] ata2: SATA max UDMA/133 irq 55
[   92.543768]
[   92.543772] INFO: Found spi_flash 0 - base 0xf6000000, size 0x1000000
[   92.551559] INFO: flashInfoFill - Found 1 Flash Devices
[   92.556809] INFO: flash_map_init - detected 1 devices
[   92.562064] MTD: Initialize the spi_flash device at address 0xf6000000
[   92.569007]
[   92.569009] INFO: Io remapped successfully - phy addr = 0xf6000000, virt addr = 0xd1000000
[   92.578625] INFO: Using sflash to probe spi_flash at address 0xf6000000, size 0x1000000, width 2mmvSFlashInit ERROR: Unknown SPI flash device!
[   92.591671] ERROR: sflash_probe - Failed to initialize the SFlash. - Not detected - FAILED!
[   92.600679] armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
[   92.611998] NAND Spansion 1Gb(ID=F101)
[   92.616817] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
[   92.625292] Bad block table found at page 65472, version 0x01
[   92.631335] Bad block table found at page 65408, version 0x01
[   92.637288] 10 cmdlinepart partitions found on MTD device armada-nand
[   92.643758] 10 cmdlinepart partitions found on MTD device armada-nand
[   92.650225] Creating 10 MTD partitions on "armada-nand":
[   92.655560] 0x000000000000-0x000000100000 : "uboot"
[   92.661301] 0x000000100000-0x000000140000 : "u_env"
[   92.667014] 0x000000140000-0x000000180000 : "s_env"
[   92.672747] 0x000000900000-0x000000a00000 : "devinfo"
[   92.678654] 0x000000a00000-0x000003200000 : "kernel"
[   92.684477] 0x000000d00000-0x000003200000 : "rootfs"
[   92.690285] mtd: partition "rootfs" set to be root filesystem
[   92.696191] split_squashfs: no squashfs found in "armada-nand"
[   92.702057] 0x000003200000-0x000005a00000 : "alt_kernel"
[   92.708206] 0x000003500000-0x000005a00000 : "alt_rootfs"
[   92.714381] 0x000000a00000-0x000005a00000 : "ubifs"
[   92.720153] 0x000005a00000-0x000008000000 : "syscfg"
[   92.726088] mv_eth_probe: port_mask=0xf, cpu_mask=0x3
[   92.731496] mvPncVirtBase = 0xd0c00000
[   92.735257]   o 2 Giga ports supported
[   92.739022]   o NETA acceleration mode 4
[   92.742955]   o BM supported for CPU: 4 BM pools
[   92.747586]   o PnC supported (Enabled)
[   92.751436]   o HWF supported
[   92.754412]   o RX Queue support: 8 Queues * 128 Descriptors
[   92.760094]   o TX Queue support: 8 Queues * 532 Descriptors
[   92.765770]   o GSO supported
[   92.768748]   o GRO supported
[   92.771722]   o Receive checksum offload supported
[   92.776526]   o Transmit checksum offload supported
[   92.781421]   o NFP is supported
[   92.784656]   o NFP Hooks are supported
[   92.788506]   o Driver ERROR statistics enabled
[   92.793048]   o Driver INFO statistics enabled
[   92.797504]
[   92.799865]   o Loading Switch QuarterDeck driver
[   92.807341]     o Device ID     : 0x172
[   92.811196]     o No. of Ports  : 7
[   92.814693]     o CPU Port      : 5
[   92.818191]   o Loading network interface(s)
[   92.822482]
[   92.823977]   o Port 0 is connected to Linux netdevice
[   92.829214]  giga p=0: mtu=1500, mac=cf833e6c
[   92.838469]     o eth0, ifindex = 2, GbE port = 0
[   92.843206]
[   92.844702]   o Port 1 is connected to Linux netdevice
[   92.849943]  giga p=1: mtu=1500, mac=cf833e6c
[   92.859203]     o eth1, ifindex = 3, GbE port = 1
[   92.863937]
[   92.865690] tun: Universal TUN/TAP device driver, 1.6
[   92.870767] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   92.877126] sky2: driver version 1.30
[   92.880925] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   92.887504] ehci_marvell ehci_marvell.0: Marvell Orion EHCI
[   92.888470] ata1: SATA link down (SStatus 0 SControl F300)
[   92.898665] ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 1
[   92.928427] ehci_marvell ehci_marvell.0: irq 45, io base 0xfbc50100
[   92.948415] ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
[   92.955201] hub 1-0:1.0: USB hub found
[   92.958982] hub 1-0:1.0: 1 port detected
[   92.963212] ehci_marvell ehci_marvell.1: Marvell Orion EHCI
[   92.968832] ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 2
[   92.998421] ehci_marvell ehci_marvell.1: irq 46, io base 0xfbc51100
[   93.018411] ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
[   93.025161] hub 2-0:1.0: USB hub found
[   93.028941] hub 2-0:1.0: 1 port detected
[   93.033324] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   93.039625] uhci_hcd: USB Universal Host Controller Interface driver
[   93.046164] PCI: enabling device 0000:00:00.0 (0140 -> 0142)
[   93.051880] etxhci_hcd_131007 0000:00:00.0: Etron xHCI Host Controller
[   93.058465] etxhci_hcd_131007 0000:00:00.0: new USB bus registered, assigned bus number 3
[   93.106820] etxhci_hcd_131007 0000:00:00.0: irq 58, io mem 0xf2000000
[   93.113830] ethub 3-0:1.0: USB hub found
[   93.117777] ethub 3-0:1.0: 2 ports detected
[   93.122285] etxhci_hcd_131007 0000:00:00.0: Etron xHCI Host Controller
[   93.128865] etxhci_hcd_131007 0000:00:00.0: new USB bus registered, assigned bus number 4
[   93.137600] ethub 4-0:1.0: USB hub found
[   93.141553] ethub 4-0:1.0: 2 ports detected
[   93.146262] usbcore: registered new interface driver usblp
[   93.151784] Initializing USB Mass Storage driver...
[   93.156856] usbcore: registered new interface driver usb-storage
[   93.162891] USB Mass Storage support registered.
[   93.167628] usbcore: registered new interface driver ums-datafab
[   93.173762] usbcore: registered new interface driver ums-freecom
[   93.179898] usbcore: registered new interface driver ums-jumpshot
[   93.186108] usbcore: registered new interface driver ums-sddr09
[   93.192155] usbcore: registered new interface driver ums-sddr55
[   93.198380] mousedev: PS/2 mouse device common for all mice
[   93.248442] ata2: SATA link down (SStatus 0 SControl F300)
[   94.208410] rtc-mv rtc-mv: internal RTC not ticking
[   94.213492] i2c /dev entries driver
[   94.218364] i2c i2c-0: Detected TI TMP421 chip at 0x4c
[   94.224464] leds-tlc59116: Using tlc59116 16-bit LED driver at slave address 0x68
[   94.231983] leds-tlc59116 0-0068: setting platform data
[   94.347282] usbcore: registered new interface driver usbhid
[   94.352917] usbhid: USB HID core driver
[   94.356824] nf_conntrack version 0.5.0 (3955 buckets, 15820 max)
[   94.363067] ip_tables: (C) 2000-2006 Netfilter Core Team
[   94.368540] TCP cubic registered
[   94.371896] NET: Registered protocol family 10
[   94.376960] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   94.382385] IPv6 over IPv4 tunneling driver
[   94.387149] NET: Registered protocol family 17
[   94.391756] Bridge firewalling registered
[   94.395784] 8021q: 802.1Q VLAN Support v1.8
[   94.400008] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[   94.408866] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   96.491561] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   96.506977] VFS: Mounted root (jffs2 filesystem) readonly on device 31:5.
[   96.513857] devtmpfs: mounted
[   96.517016] Freeing init memory: 220K
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[  100.216753] UBI: attaching mtd9 to ubi0
[  100.220742] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[  100.227027] UBI: logical eraseblock size:    126976 bytes
[  100.232447] UBI: smallest flash I/O unit:    2048
[  100.237165] UBI: VID header offset:          2048 (aligned 2048)
[  100.243193] UBI: data offset:                4096
[  100.302270] UBI: max. sequence number:       1950
[  100.311394] UBI: attached mtd9 to ubi0
[  100.315156] UBI: MTD device name:            "syscfg"
[  100.320232] UBI: MTD device size:            38 MiB
[  100.325123] UBI: number of good PEBs:        296
[  100.329757] UBI: number of bad PEBs:         8
[  100.334212] UBI: number of corrupted PEBs:   0
[  100.338671] UBI: max. allowed volumes:       128
[  100.343302] UBI: wear-leveling threshold:    4096
[  100.348019] UBI: number of internal volumes: 1
[  100.352481] UBI: number of user volumes:     1
[  100.356937] UBI: available PEBs:             0
[  100.361396] UBI: total number of reserved PEBs: 296
[  100.366287] UBI: number of PEBs reserved for bad PEB handling: 2
[  100.372315] UBI: max/mean erase counter: 12/6
[  100.376684] UBI: image sequence number:  1294424438
[  100.381593] UBI: background thread "ubi_bgt0d" started, PID 1035
UBI device number 0, total 296 LEBs (37584896 bytes, 35.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
ubifs_syscfg_ready...OK
[  100.402171] UBIFS error (pid 1040): ubifs_read_node: bad node type (255 but expected 6)
[  100.410210] UBIFS error (pid 1040): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 0
[  100.418882] Backtrace:
[  100.421368] [<c0011060>] (dump_backtrace+0x0/0x110) from [<c0484d74>] (dump_stack+0x18/0x1c)
[  100.429835]  r6:00000410 r5:00000000 r4:cf3dd000 r3:00000018
[  100.435569] [<c0484d5c>] (dump_stack+0x0/0x1c) from [<c01e95e0>] (ubifs_read_node+0x250/0x274)
[  100.444216] [<c01e9390>] (ubifs_read_node+0x0/0x274) from [<c01e667c>] (ubifs_read_sb_node+0x5c/0x7c)
[  100.453473] [<c01e6620>] (ubifs_read_sb_node+0x0/0x7c) from [<c01e6e88>] (ubifs_read_superblock+0x794/0xda8)
[  100.463333]  r5:cf3dd000 r4:00000002
[  100.466949] [<c01e66f4>] (ubifs_read_superblock+0x0/0xda8) from [<c01e5360>] (ubifs_mount+0x94c/0x1a58)
[  100.476382] [<c01e4a14>] (ubifs_mount+0x0/0x1a58) from [<c00d1964>] (mount_fs+0x1c/0xc0)
[  100.484509] [<c00d1948>] (mount_fs+0x0/0xc0) from [<c00e898c>] (vfs_kern_mount+0x54/0x94)
[  100.492713]  r6:cf821a80 r5:c061b614 r4:00008000
[  100.497385] [<c00e8938>] (vfs_kern_mount+0x0/0x94) from [<c00e95ec>] (do_kern_mount+0x3c/0xd8)
[  100.506025]  r8:cf187fc0 r7:00000000 r6:c061b614 r5:cf187200 r4:00008000
[  100.512624] r3:00000000
[  100.515279] [<c00e95b0>] (do_kern_mount+0x0/0xd8) from [<c00eae68>] (do_mount+0x610/0x688)
[  100.523570]  r8:cf187200 r7:00008000 r6:00000008 r5:00008400 r4:00000000
[  100.530169] r3:00000000
[  100.532825] [<c00ea858>] (do_mount+0x0/0x688) from [<c00eb23c>] (sys_mount+0x8c/0xcc)
[  100.540688] [<c00eb1b0>] (sys_mount+0x0/0xcc) from [<c000da80>] (ret_fast_syscall+0x0/0x30)
[  100.549067]  r7:00000015 r6:00008400 r5:400f7440 r4:00000000
ubifs sysfs not ready yet; using ramdisk
- init -

Please press Enter to activate this console. [  123.159845] ap8x: module license 'Proprietary' taints kernel.
[  123.165614] Disabling lock debugging due to kernel taint
[  123.180820] PCI: enabling device 0000:01:00.0 (0140 -> 0142)
[  123.186776] wlprobe  wlpptr->ioBase0 = d0e00000
[  123.191449] wlprobe  wlpptr->ioBase1 = d2200000
[  123.196109] wlInit wlpptr->pCmdBuf = cf3c8000  wlpptr->wlpd_p->pPhysCmdBuf = f3c8000
[  123.205722] fw download start 88
[  123.314389] FwSize = 106264 downloaded Size = 106264 currIteration 65510
[  123.451726] wlFwDownload complete
[  123.455052] wlFwGetHwSpecs pCmd = cf3c8000
[  123.464235] Mac address = 00:25:9c:13:05:56
[  123.468521] Mac_Init
[  123.471461] wlFwSetHwSpecs ...
[  123.474526]   -->pPhysTxRing[0] = ef50000
[  123.478555]   -->pPhysTxRing[1] = ef54000
[  123.482575]   -->pPhysTxRing[2] = ef58000
[  123.486595]   -->pPhysTxRing[3] = ef5c000
[  123.490622]   -->pPhysRxRing    = f334000
[  123.494643]   -->numtxq 4 wcbperq 256 totalrxwcb 256
[  123.532583] PCI: enabling device 0000:02:00.0 (0140 -> 0142)
[  123.538583] wlprobe  wlpptr->ioBase0 = d2400000
[  123.543244] wlprobe  wlpptr->ioBase1 = d2600000
[  123.547899] wlInit wlpptr->pCmdBuf = cea28000  wlpptr->wlpd_p->pPhysCmdBuf = ea28000
[  123.557537] fw download start 88
[  123.665300] FwSize = 106264 downloaded Size = 106264 currIteration 65499
[  123.813557] wlFwDownload complete
[  123.816882] wlFwGetHwSpecs pCmd = cea28000
[  123.826064] Mac address = 00:25:9c:13:05:57
[  123.830350] Mac_Init
[  123.833262] wlFwSetHwSpecs ...
[  123.836326]   -->pPhysTxRing[0] = ea30000
[  123.840356]   -->pPhysTxRing[1] = ea34000
[  123.844376]   -->pPhysTxRing[2] = ea38000
[  123.848396]   -->pPhysTxRing[3] = ea3c000
[  123.852424]   -->pPhysRxRing    = ea2c000
[  123.856445]   -->numtxq 4 wcbperq 256 totalrxwcb 256
[  123.919177] NET: Registered protocol family 8
[  123.923550] NET: Registered protocol family 20
[  123.936933] Button Hotplug driver version 0.4.1
[  123.952367] PPP generic driver version 2.4.2
[  124.032123] PPP MPPE Compression module registered
[  124.048767] L2TP core driver, V2.0
[  124.056778] L2TP netlink interface
[  124.064690] L2TP ethernet pseudowire support (L2TPv3)
[  124.074463] L2TP IP encapsulation support (L2TPv3)
[  124.089953] GRE over IPv4 demultiplexor driver
[  124.099691] GRE over IPv4 tunneling driver
[  124.117853] NET: Registered protocol family 24
[  124.133177] PPPoL2TP kernel driver, V2.0
[  124.141817] PPTP driver version 0.8.5
[  124.211594] xt_time: kernel timezone is -0000
[  124.236270] Netfilter messages via NETLINK v0.30.
[  124.308893] ctnetlink v0.93: registering with nfnetlink.
[  124.319089] input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
[  124.331101] usbcore: registered new interface driver ums-alauda
[  124.341207] usbcore: registered new interface driver ums-cypress
[  124.351658] usbcore: registered new interface driver ums-isd200
[  124.361737] usbcore: registered new interface driver ums-karma
[  124.372269] usbcore: registered new interface driver ums-usbat
[  124.388898] fuse init (API version 7.17)
[  131.282283] warning: `alljoyn-daemon' uses 32-bit capabilities (legacy support in use)
[  131.478767] UBIFS error (pid 1555): ubifs_read_node: bad node type (255 but expected 6)
[  131.486801] UBIFS error (pid 1555): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 0
[  131.495475] Backtrace:
[  131.497960] [<c0011060>] (dump_backtrace+0x0/0x110) from [<c0484d74>] (dump_stack+0x18/0x1c)
[  131.506428]  r6:00000613 r5:00000000 r4:ce06d000 r3:00000018
[  131.512164] [<c0484d5c>] (dump_stack+0x0/0x1c) from [<c01e95e0>] (ubifs_read_node+0x250/0x274)
[  131.520813] [<c01e9390>] (ubifs_read_node+0x0/0x274) from [<c01e667c>] (ubifs_read_sb_node+0x5c/0x7c)
[  131.530070] [<c01e6620>] (ubifs_read_sb_node+0x0/0x7c) from [<c01e6e88>] (ubifs_read_superblock+0x794/0xda8)
[  131.539930]  r5:ce06d000 r4:00000002
[  131.543546] [<c01e66f4>] (ubifs_read_superblock+0x0/0xda8) from [<c01e5360>] (ubifs_mount+0x94c/0x1a58)
[  131.552980] [<c01e4a14>] (ubifs_mount+0x0/0x1a58) from [<c00d1964>] (mount_fs+0x1c/0xc0)
[  131.561108] [<c00d1948>] (mount_fs+0x0/0xc0) from [<c00e898c>] (vfs_kern_mount+0x54/0x94)
[  131.569316]  r6:cf2f1160 r5:c061b614 r4:00008000
[  131.573990] [<c00e8938>] (vfs_kern_mount+0x0/0x94) from [<c00e95ec>] (do_kern_mount+0x3c/0xd8)
[  131.582631]  r8:ce6bc520 r7:00000000 r6:c061b614 r5:ce6bc500 r4:00008000
[  131.589230] r3:00000000
[  131.591887] [<c00e95b0>] (do_kern_mount+0x0/0xd8) from [<c00eae68>] (do_mount+0x610/0x688)
[  131.600188]  r8:ce6bc500 r7:00008000 r6:00000008 r5:00008400 r4:00000000
[  131.606793] r3:00000000
[  131.609459] [<c00ea858>] (do_mount+0x0/0x688) from [<c00eb23c>] (sys_mount+0x8c/0xcc)
[  131.617320] [<c00eb1b0>] (sys_mount+0x0/0xcc) from [<c000da80>] (ret_fast_syscall+0x0/0x30)
[  131.625701]  r7:00000015 r6:00008400 r5:40094440 r4:00000000



BusyBox v1.19.4 (2014-04-24 08:07:36 EDT) 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 (Attitude Adjustment, unknown)
 -----------------------------------------------------
  * 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:/#
nyt wrote:

Well, got it built and booted.  ubifs fault, but I'll dig into that later.

ubifs crashes even with their own image.

Thanks for the running commentary, tis appreciated by those who can't easily get the device (or even those that DO have it).

Wifi works with my own compiled image, but it's apart on my desk without antennas, I'll test it out further and compare it to my wdr4300.

the regdb.txt file might have found itself modified.... We'll see what this can do and if its even pulling levels/dfs info from there.

(Last edited by nyt on 25 Apr 2014, 08:36)

nyt wrote:

Wifi works with my own compiled image, but it's apart on my desk without antennas, I'll test it out further and compare it to my wdr4300.

the regdb.txt file might have found itself modified.... We'll see what this can do and if its even pulling levels/dfs info from there.

You rock!

@ NYT, I 've bricked my WRT1900AC so want to try the serial programming. Got the front cover off ok, but the serial connector is hiding under the plastic roof. Did you pull the board forward in your photo? If so, how did you do it? thanks smile