Linksys 32X - "invalid firmware"

No dice. Still just a slow blinking power light. Going to need to serial to debug this further and i don't currently have the time.

Thanks for trying. It always comes down to time.

Hey there, nice to see someone working on it. Does anyone know how to make my manual edited env persistent? I boot into U-Boot, been connected via serial and a putty terminal. I hack in parameters, saveenv, and boot. Working till next shutdown/reboot...

Update: it turned out that my env did get saved, fw_printenv shows correct parameters, except that silent=yes was a bit confusing to me. "setenv silent" at the venom prompt deletes the entry and my charming wrt32x boots the latest wrt3200acm lede image.

Beginning to make ground on this.
Have successfully booted a non-oem firmware on a WRT32X (with serial intervention).

Unfortunately allowing it to boot on its own doesn't work, just hangs.

Possibly of interest

2 Likes

Thanks for the link. The preferred method is to get a web flashable image. Otherwise the device is useless to the beginner user.

1 Like

Moving forward finally.
Have produced a factory image which is flashable from the OEM Web Interface.

This successfully boots, but won't accept connections over LAN. Believe i've made a mistake with the switch by trying to enable DSA.
Will continue pushing onwards.

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.27 (michael@michael-Virtual-Machine) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6489-d11aa1d4af)) #0 SMP Sun Mar 18 13:06:00 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Linksys WRT32X

Patch to add Venom support to Openwrt

--- a/dev/null
+++ b/target/linux/mvebu/patches-4.14/230-armada-385-add-venom.patch
@@ -0,0 +1,214 @@
+--- a/dev/null
++++ b/arch/arm/boot/dts/armada-385-linksys-venom.dts
+@@ -0,0 +1,204 @@
++/*
++ * Device Tree file for the Linksys WRT32X (Venom)
++ *
++ * Copyright (C) 2017 Imre Kaloz <kaloz@openwrt.org>
++ *
++ *
++ * This file is dual-licensed: you can use it either under the terms
++ * of the GPL or the X11 license, at your option. Note that this dual
++ * licensing only applies to this file, and not this project as a
++ * whole.
++ *
++ *  a) This file is licensed under the terms of the GNU General Public
++ *     License version 2.  This program is licensed "as is" without
++ *     any warranty of any kind, whether express or implied.
++ *
++ * Or, alternatively,
++ *
++ *  b) Permission is hereby granted, free of charge, to any person
++ *     obtaining a copy of this software and associated documentation
++ *     files (the "Software"), to deal in the Software without
++ *     restriction, including without limitation the rights to use,
++ *     copy, modify, merge, publish, distribute, sublicense, and/or
++ *     sell copies of the Software, and to permit persons to whom the
++ *     Software is furnished to do so, subject to the following
++ *     conditions:
++ *
++ *     The above copyright notice and this permission notice shall be
++ *     included in all copies or substantial portions of the Software.
++ *
++ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
++ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
++ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
++ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
++ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
++ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
++ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
++ *     OTHER DEALINGS IN THE SOFTWARE.
++ */
++
++/dts-v1/;
++#include <dt-bindings/gpio/gpio.h>
++#include <dt-bindings/input/input.h>
++#include "armada-385-linksys.dtsi"
++
++/ {
++	model = "Linksys WRT32X";
++	compatible = "linksys,venom", "linksys,armada385", "marvell,armada385",
++		     "marvell,armada380";
++	};
++
++	&expander0 {
++			wan_amber@0 {
++				label = "venom:amber:wan";
++				reg = <0x0>;
++			};
++
++			wan_blue@1 {
++				label = "venom:blue:wan";
++				reg = <0x1>;
++			};
++
++			usb2@5 {
++				label = "venom:blue:usb2";
++				reg = <0x5>;
++			};
++
++			usb3_1@6 {
++				label = "venom:blue:usb3_1";
++				reg = <0x6>;
++			};
++
++			usb3_2@7 {
++				label = "venom:blue:usb3_2";
++				reg = <0x7>;
++			};
++
++			wps_blue@8 {
++				label = "venom:blue:wps";
++				reg = <0x8>;
++			};
++
++			wps_amber@9 {
++				label = "venom:amber:wps";
++				reg = <0x9>;
++			};
++	};
++
++	&gpio_leds {
++			power {
++				gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
++				label = "venom:blue:power";
++			};
++
++			sata {
++				gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
++				label = "venom:blue:sata";
++			};
++
++			wlan_2g {
++				gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
++				label = "venom:blue:wlan_2g";
++			};
++
++			wlan_5g {
++				gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
++				label = "venom:blue:wlan_5g";
++			};
++	};
++
++	&gpio_leds_pins {
++			marvell,pins = "mpp21", "mpp45", "mpp46", "mpp56";
++	};
++
++	&nand {
++			/* Spansion S34ML02G2 256MiB, OEM Layout */
++			partition@0 {
++				label = "u-boot";
++				reg = <0x0000000 0x200000>;  /* 2MB */
++				/* read-only; */
++			};
++
++			partition@200000 {
++				label = "u_env";
++				reg = <0x200000 0x20000>;    /* 128KB */
++			};
++
++			partition@220000 {
++				label = "s_env";
++				reg = <0x220000 0x40000>;    /* 256KB */
++			};
++
++			partition@180000 {
++				label = "unused_area";
++				reg = <0x260000 0x5c0000>;   /* 5.75MB */
++			};
++
++			partition@7e0000 {
++				label = "devinfo";
++				reg = <0x7e0000 0x40000>;   /* 256KB */
++				read-only;
++			};
++
++			/* kernel1 overlaps with rootfs1 by design */
++			partition@900000 {
++				label = "kernel1";
++				reg = <0x900000 0x7b00000>;  /* 123MB */
++			};
++
++			partition@c00000 {
++				label = "rootfs1";
++				reg = <0xc00000 0x7800000>;  /* 120MB */
++			};
++
++			/* kernel2 overlaps with rootfs2 by design */
++			partition@8400000 {
++				label = "kernel2";
++				reg = <0x8400000 0x7b00000>; /* 123MB */
++			};
++
++			partition@8700000 {
++				label = "rootfs2";
++				reg = <0x8700000 0x7800000>;  /* 120MB */
++			};
++
++			/* last MB is for the BBT, not writable */
++			partition@ff00000 {
++				label = "BBT";
++				reg = <0xff00000 0x100000>;
++			};
++	};
++
++
++	&pcie1 {
++			mwlwifi {
++				marvell,chainmask = <4 4>;
++			};
++	};
++
++	&pcie2 {
++			mwlwifi {
++				marvell,chainmask = <4 4>;
++			};
++	};
++
++	&sdhci {
++		pinctrl-names = "default";
++		pinctrl-0 = <&sdhci_pins>;
++		no-1-8-v;
++		non-removable;
++		wp-inverted;
++		bus-width = <8>;
++		status = "okay";
++	};
++
++	&usb3_1_vbus {
++		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
++	};
++
++	&usb3_1_vbus_pins {
++		marvell,pins = "mpp44";
++	};
+--- a/arch/arm/boot/dts/Makefile
++++ b/arch/arm/boot/dts/Makefile
+@@ -1027,6 +1027,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
+ 	armada-385-linksys-cobra.dtb \
+ 	armada-385-linksys-rango.dtb \
+ 	armada-385-linksys-shelby.dtb \
++	armada-385-linksys-venom.dtb \
+ 	armada-385-synology-ds116.dtb \
+ 	armada-385-turris-omnia.dtb \
+ 	armada-388-clearfog.dtb \
--- a/target/linux/mvebu/image/cortex-a9.mk
+++ b/target/linux/mvebu/image/cortex-a9.mk
@@ -51,6 +51,17 @@ define Device/linksys-wrt1900acs
 endef
 TARGET_DEVICES += linksys-wrt1900acs
 
+define Device/linksys-wrt32x
+$(call Device/linksys,WRT32X (Venom))
+  DEVICE_DTS := armada-385-linksys-venom
+  DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964
+  $(Device/NAND-128K)
+  $(Device/UBI-factory)
+  KERNEL_SIZE := 3072k
+  KERNEL := kernel-bin | append-dtb
+endef
+TARGET_DEVICES += linksys-wrt32x
+
 define Device/linksys-wrt1900ac
   $(call Device/linksys,WRT1900AC (Mamba))
   DEVICE_DTS := armada-xp-linksys-mamba
--- a/target/linux/mvebu/base-files/etc/diag.sh
+++ b/target/linux/mvebu/base-files/etc/diag.sh
@@ -19,6 +19,9 @@ get_status_led() {
 	armada-385-linksys-shelby)
 		status_led="shelby:white:power"
 		;;
+	armada-385-linksys-venom)
+		status_led="venom:blue:power"
+		;;
 	armada-xp-linksys-mamba)
 		status_led="mamba:white:power"
 		;;
--- a/target/linux/mvebu/base-files/etc/board.d/01_leds
+++ b/target/linux/mvebu/base-files/etc/board.d/01_leds
@@ -35,6 +35,12 @@ armada-385-linksys-shelby)
 	ucidef_set_led_usbport "usb2" "USB 2" "pca963x:shelby:white:usb3_1" "usb2-port1" "usb3-port1"
 	ucidef_set_led_usbport "usb2_ss" "USB 2 SS" "pca963x:shelby:white:usb3_2" "usb3-port1"
 	;;
+armada-385-linksys-venom)
+	ucidef_set_led_netdev "wan" "WAN" "pca963x:venom:blue:wan" "eth1"
+	ucidef_set_led_usbport "usb1" "USB 1" "pca963x:venom:blue:usb2" "usb1-port1"
+	ucidef_set_led_usbport "usb2" "USB 2" "pca963x:venom:blue:usb3_1" "usb2-port1" "usb3-port1"
+	ucidef_set_led_usbport "usb2_ss" "USB 2 SS" "pca963x:venom:blue:usb3_2" "usb3-port1"
+	;;
 armada-xp-linksys-mamba)
 	ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1"
 	ucidef_set_led_usbport "usb1" "USB 1" "mamba:white:usb2" "usb1-port1"
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -18,6 +18,7 @@ armada-385-linksys-caiman|\
 armada-385-linksys-cobra|\
 armada-385-linksys-rango|\
 armada-385-linksys-shelby|\
+armada-385-linksys-venom|\
 armada-xp-linksys-mamba)
 	ucidef_set_interfaces_lan_wan "eth0.1" "eth1.2"
 	ucidef_add_switch "switch0" \
--- a/target/linux/mvebu/base-files/etc/init.d/linksys_recovery
+++ b/target/linux/mvebu/base-files/etc/init.d/linksys_recovery
@@ -7,7 +7,7 @@ boot() {
 . /lib/functions.sh
 
 case $(board_name) in
-	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-385-linksys-venom|armada-xp-linksys-mamba)
 		# make sure auto_recovery in uboot is always on
 		AUTO_RECOVERY_ENA="`fw_printenv -n auto_recovery`"
 		if [ "$AUTO_RECOVERY_ENA" != "yes" ] ; then
--- a/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless
+++ b/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless
@@ -11,7 +11,7 @@
 board=$(board_name)
 
 case "$board" in
-armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-385-linksys-venom|armada-xp-linksys-mamba)
 	SKU=$(strings /dev/mtd3|sed -ne 's/^cert_region=//p')
 	WIFIMAC2G=$(macaddr_add $(cat /sys/class/net/eth0/address) +1)
 	WIFIMAC5G=$(macaddr_add $WIFIMAC2G +1)
--- a/target/linux/mvebu/base-files/lib/mvebu.sh
+++ b/target/linux/mvebu/base-files/lib/mvebu.sh
@@ -50,6 +50,9 @@ mvebu_board_detect() {
 	*"Linksys WRT3200ACM")
 		name="armada-385-linksys-rango"
 		;;
+	*"Linksys WRT32X")
+		name="armada-385-linksys-venom"
+		;;
 	*"Marvell Armada 385 Access Point Development Board")
 		name="armada-385-db-ap"
 		;;
--- a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac
@@ -14,7 +14,7 @@ preinit_set_mac_address() {
 		ip link set dev eth0 address $mac 2>/dev/null
 		ip link set dev eth1 address $mac 2>/dev/null
 		;;
-	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby)
+	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-385-linksys-venom)
 		# rename interfaces back to the way they were with 4.4
 		case "$(readlink /sys/class/net/eth0)" in
 			*f1070000*)
--- a/target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg
+++ b/target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg
@@ -8,7 +8,7 @@ preinit_mount_syscfg() {
 	. /lib/functions.sh
 
 	case $(board_name) in
-	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-385-linksys-venom|armada-xp-linksys-mamba)
 		needs_recovery=0
 		syscfg_part=$(grep syscfg /proc/mtd |cut -c4)
 		ubiattach -m $syscfg_part || needs_recovery=1
--- a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
+++ btarget/linux/mvebu/base-files/lib/upgrade/linksys.sh
@@ -55,7 +55,7 @@ platform_do_upgrade_linksys() {
 
 		nand_upgrade_tar "$1"
 	}
-	[ "$magic_long" = "27051956" ] && {
+	[ "$magic_long" = "27051956" -o "$magic_long" = "0000a0e1" ] && {
 		# check firmwares' rootfs types
 		local target_mtd=$(find_mtd_part $part_label)
 		local oldroot="$(linksys_get_root_magic $target_mtd)"
--- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh
@@ -13,7 +13,7 @@ platform_check_image() {
 
 platform_do_upgrade() {
 	case "$(board_name)" in
-	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-385-linksys-venom|armada-xp-linksys-mamba)
 		platform_do_upgrade_linksys "$ARGV"
 		;;
 	armada-385-turris-omnia|armada-388-clearfog-base|armada-388-clearfog-pro|globalscale,espressobin)
@@ -26,7 +26,7 @@ platform_do_upgrade() {
 }
 platform_copy_config() {
 	case "$(board_name)" in
-	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+	armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-rango|armada-385-linksys-shelby|armada-385-linksys-venom|armada-xp-linksys-mamba)
 		platform_copy_config_linksys
 		;;
 	armada-385-turris-omnia|armada-388-clearfog-base|armada-388-clearfog-pro|globalscale,espressobin)

I have tested flashing from OEM to Openwrt, rebooting, triple reboot flipping back to alternate flash, LAN and WIFI (including 160MHz :wink:) .
Forgot to test Failsafe (that is probably a good idea)

I'm sure i've made lots of mistakes in this and there's things that probably don't work.
Someone smarter than me should pick it up and run with it.

Go forth and be merry.
If someone wants to push this to mailing list be my guest.

EDIT: needs ubootenv mods. See mailing list for latest patch. Sysupgrade won’t work without it

1 Like

OEM Boot

Venom>> run nandboot

NAND read: device 0 offset 0x900000, size 0x600000
 6291456 bytes read: OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.14 (jenkins@ip-10-226-178-37) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50108) ) #24 SMP Mon Aug 28 19:37:32 UTC 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Linksys WRT32X
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 12 pages/cpu @dfbcf000 s17984 r8192 d22976 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 513176K/524288K available (4129K kernel code, 174K rwdata, 1540K rodata, 256K init, 295K bss, 11112K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0591880   (5671 kB)
[    0.000000]       .init : 0xc0592000 - 0xc05d2000   ( 256 kB)
[    0.000000]       .data : 0xc05d2000 - 0xc05fdb2c   ( 175 kB)
[    0.000000]        .bss : 0xc05fdb2c - 0xc0647834   ( 296 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Selected CPU frequency (16) unsupported
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000008] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000100] Calibrating local timer... 933.12MHz.
[    0.060026] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.060031] pid_max: default: 32768 minimum: 301
[    0.060066] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060070] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060228] CPU: Testing write buffer coherency: ok
[    0.060317] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060336] Setting up static identity map for 0x8280 - 0x82d8
[    0.060401] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.060464] mvebu-pmsu: Initializing Power Management Service Unit
[    0.060802] Booting CPU 1
[    0.060954] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.060976] Brought up 2 CPUs
[    0.060981] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.060984] CPU: All CPU(s) started in SVC mode.
[    0.062359] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.062428] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062458] pinctrl core: initialized pinctrl subsystem
[    0.062727] NET: Registered protocol family 16
[    0.063133] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090033] cpuidle: using governor ladder
[    0.092179] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.092186] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.110401] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe
[    0.110543] SCSI subsystem initialized
[    0.110720] usbcore: registered new interface driver usbfs
[    0.110745] usbcore: registered new interface driver hub
[    0.110765] usbcore: registered new device driver usb
[    0.111289] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.111665] NET: Registered protocol family 2
[    0.111855] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.111875] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.111903] TCP: Hash tables configured (established 4096 bind 4096)
[    0.111926] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.111937] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.111996] NET: Registered protocol family 1
[    0.112324] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.114857] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.114865] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.115478] io scheduler noop registered
[    0.115484] io scheduler deadline registered (default)
[    0.115849] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.116121] irq: Cannot allocate irq_descs @ IRQ45, assuming pre-allocated
[    0.116240] irq: Cannot allocate irq_descs @ IRQ77, assuming pre-allocated
[    0.116493] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.116499] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.116503] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.116507] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.116671] PCI: bus0: Fast back to back transfers disabled
[    0.116676] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.116682] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.116880] PCI: bus1: Fast back to back transfers disabled
[    0.117111] PCI: bus2: Fast back to back transfers disabled
[    0.117159] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    0.117165] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[    0.117171] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[    0.117179] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.117187] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.117192] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    0.117198] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[    0.117207] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[    0.117215] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.117219] pci 0000:00:02.0:   bridge window [mem 0xe0400000-0xe06fffff]
[    0.117298] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.151570] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.151648] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.191546] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.191672] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.191900] console [ttyS0] disabled
[    0.211958] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[    0.912968] console [ttyS0] enabled
[    0.916771] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    0.925867] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    0.935192] scsi host0: ahci-mvebu
[    0.938742] scsi host1: ahci-mvebu
[    0.942242] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    0.950191] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    0.958492] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    0.966250] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[    0.972636] nand: AMD/Spansion S34ML02G2
[    0.976572] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    0.984265] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    0.991440] Bad block table found at page 131008, version 0x01
[    0.997626] Bad block table found at page 130944, version 0x01
[    1.003740] 10 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.009944] Creating 10 MTD partitions on "pxa3xx_nand-0":
[    1.015461] 0x000000000000-0x000000200000 : "u-boot"
[    1.020712] 0x000000200000-0x000000220000 : "u_env"
[    1.025846] 0x000000220000-0x000000260000 : "s_env"
[    1.030964] 0x000000260000-0x000000820000 : "unused_area"
[    1.036628] 0x0000007e0000-0x000000820000 : "devinfo"
[    1.041965] 0x000000900000-0x000008400000 : "kernel1"
[    1.047320] 0x000000c00000-0x000008400000 : "ubi"
[    1.052333] 0x000008400000-0x00000ff00000 : "kernel2"
[    1.057676] 0x000008700000-0x00000ff00000 : "rootfs2"
[    1.063028] 0x00000ff00000-0x000010000000 : "BBT"
[    1.068345] libphy: Fixed MDIO Bus: probed
[    1.072556] libphy: orion_mdio_bus: probed
[    1.076790] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.085548] mvneta f1034000.ethernet eth0: Using hardware mac address 60:38:e0:c5:ca:50
[    1.094657] mvneta f1070000.ethernet eth1: Using hardware mac address 60:38:e0:c5:ca:50
[    1.102754] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.109309] ehci-pci: EHCI PCI platform driver
[    1.113804] ehci-platform: EHCI generic platform driver
[    1.119125] ehci-orion: EHCI orion driver
[    1.123213] orion-ehci f1058000.usb: EHCI Host Controller
[    1.128641] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.136296] orion-ehci f1058000.usb: irq 36, io mem 0xf1058000
[    1.161186] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.167329] hub 1-0:1.0: USB hub found
[    1.171102] hub 1-0:1.0: 1 port detected
[    1.175369] usbcore: registered new interface driver usb-storage
[    1.181533] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.189153] i2c /dev entries driver
[    1.204046] orion_wdt: Initial timeout 171 sec
[    1.211575] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.219177] NET: Registered protocol family 10
[    1.224035] NET: Registered protocol family 17
[    1.228511] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.241252] Distributed Switch Architecture driver version 0.1
[    1.247197] mvneta f1034000.ethernet eth0: [0]: detected a Marvell 88E6352 (A0) switch
[    1.301190] ata2: SATA link down (SStatus 0 SControl 300)
[    1.306625] ata1: SATA link down (SStatus 0 SControl 300)
[    1.323100] libphy: dsa slave smi: probed
[    1.350292] 8021q: 802.1Q VLAN Support v1.8
[    1.354542] Registering SWP/SWPB emulation handler
[    1.360153] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.365515] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    1.373119] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.381700] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    1.387730] hub 2-0:1.0: USB hub found
[    1.391529] hub 2-0:1.0: 1 port detected
[    1.395548] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.400884] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.408430] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.416751] hub 3-0:1.0: USB hub found
[    1.420536] hub 3-0:1.0: 1 port detected
[    1.424791] UBI: auto-attach mtd6
[    1.427944] ubi0: attaching mtd6
[    1.752648] ubi0: scanning is finished
[    1.760926] ubi0: attached mtd6 (name "ubi", size 120 MiB)
[    1.766442] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.773348] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.780162] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.787154] ubi0: good PEBs: 960, bad PEBs: 0, corrupted PEBs: 0
[    1.793186] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.800435] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 262773455
[    1.809519] ubi0: available PEBs: 0, total reserved PEBs: 960, PEBs reserved for bad PEB handling: 40
[    1.818793] ubi0: background thread "ubi_bgt0d" started, PID 574
[    1.825091] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.830599] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.837716] armada38x-rtc f10a3800.rtc: setting system clock to 2106-01-24 09:46:26 UTC (4293769586)
[    1.848972] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    1.856262] Freeing unused kernel memory: 256K (c0592000 - c05d2000)
[    1.907024] random: nonblocking pool is initialized
[    2.115646] init: Console is alive
[    2.119120] init: - watchdog -
[    2.443276] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.449708] ohci-platform: OHCI generic platform driver
[    2.455395] uhci_hcd: USB Universal Host Controller Interface driver
[    2.464367] init: - preinit -
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    4.610737] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 658
[    4.639104] UBIFS (ubi0:1): recovery needed
[    4.715054] UBIFS (ubi0:1): recovery completed
[    4.719543] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    4.727412] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    4.737370] UBIFS (ubi0:1): FS size: 104374272 bytes (99 MiB, 822 LEBs), journal size 5206016 bytes (4 MiB, 41 LEBs)
[    4.747937] UBIFS (ubi0:1): reserved for root: 4929854 bytes (4814 KiB)
[    4.754580] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 352B08E6-B560-44FE-942E-20FB183ADDE9, small LPT model
[    4.768994] mount_root: switching to jffs2 overlay
[    4.780973] procd: - early -
[    4.783915] procd: - watchdog -
[    5.392197] procd: - ubus -
[    5.447023] procd: - init -
Please press Enter to activate this console.
[    5.992695] NET: Registered protocol family 8
[    5.997072] NET: Registered protocol family 20
[    6.003627] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[    6.010202] tun: Universal TUN/TAP device driver, 1.6
[    6.015301] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    6.023145] gre: GRE over IPv4 demultiplexor driver
[    6.028595] ip_gre: GRE over IPv4 tunneling driver
[    6.035370] PPP generic driver version 2.4.2
[    6.041053] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    6.050737] u32 classifier
[    6.053491]     input device check on
[    6.057170]     Actions configured
[    6.061205] Mirror/redirect action on
[    6.066806] nf_conntrack version 0.5.0 (8022 buckets, 32088 max)
[    6.078321] fuse init (API version 7.23)
[    6.130408] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    6.139813] wlprobe  wlpptr->ioBase0 = e3480000
[    6.144477] wlprobe  wlpptr->ioBase1 = e3700000
[    6.149195] wlInit wlpptr->pCmdBuf = dbb14000  wlpptr->wlpd_p->pPhysCmdBuf = 1bb14000
[    6.167852] Physical loc =0x17670000
[    6.171557] mrvl pri mailbox Physical loc =0x1767F000
[    6.176715] fw file: /lib/firmware/wlan-v9_8964/W8964-eeprom.bin
[    6.182750] read img file...
[    6.380359] FW len = 447616
[    6.384177] fw download start 88
[    6.387416] init ddr...
[    6.526760] FwSize = 447616 downloaded Size = 447616 currIteration 65522
[    6.788671] 0;0;0;0;0;0;0;0;0;0;0;wlFwDownload complete
[    9.396868] wlFwGetHwSpecs pCmd = dbb14000
[    9.401190] Mac address = 60:38:e0:c5:ca:52
[    9.405474] Mac_Init
[    9.417088] wlFwSetHwSpecs ...
[    9.420158]   -->pPhysTxRing     = 1bb20000
[    9.424375]   -->pPhysTxDoneRing = 1bb18000
[    9.428572]   -->pPhysRxRing     = 1bb60000
[    9.432774]   -->pPhysRxDoneRing = 1bb80000
[    9.436971]   -->pPhysAcntRing   = 1bb30000
[    9.441168]   -->num tx desc 2048 num rx desc 16384
[    9.477096] [wlInit_monif] wlinitcnt=0, vmacIndex=17
[    9.482486] pci 0000:00:02.0: enabling device (0140 -> 0142)
[    9.496278] wlprobe  wlpptr->ioBase0 = e3880000
[    9.500939] wlprobe  wlpptr->ioBase1 = e3b00000
[    9.505688] wlInit wlpptr->pCmdBuf = d733c000  wlpptr->wlpd_p->pPhysCmdBuf = 1733c000
[    9.527475] Physical loc =0x125F0000
[    9.531174] mrvl pri mailbox Physical loc =0x125FF000
[    9.536362] fw file: /lib/firmware/wlan-v9_8964/W8964-eeprom.bin
[    9.542427] read img file...
[    9.739395] FW len = 447616
[    9.743254] fw download start 88
[    9.746498] init ddr...
[    9.889294] FwSize = 447616 downloaded Size = 447616 currIteration 65527
[   10.151440] 0;0;0;0;wlFwDownload complete
[   11.083749] wlFwGetHwSpecs pCmd = d733c000
[   11.088069] Mac address = xx:xx:xx:xx:xx:xx
[   11.092365] Mac_Init
[   11.104117] wlFwSetHwSpecs ...
[   11.107188]   -->pPhysTxRing     = 16a90000
[   11.111406]   -->pPhysTxDoneRing = 16a74000
[   11.115603]   -->pPhysRxRing     = 16ac0000
[   11.119800]   -->pPhysRxDoneRing = 16b00000
[   11.124002]   -->pPhysAcntRing   = 16aa0000
[   11.128199]   -->num tx desc 2048 num rx desc 16384
[   11.164533] [wlInit_monif] wlinitcnt=1, vmacIndex=17
[   11.178536] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.264207] nf_conntrack_rtsp v0.7 loading
[   11.382580] nf_nat_rtsp v0.7 loading
[   11.388112] PPP MPPE Compression module registered
[   11.393496] NET: Registered protocol family 24
[   11.398456] PPTP driver version 0.8.5
[   11.403372] usbcore: registered new interface driver ums-alauda
[   11.409715] usbcore: registered new interface driver ums-cypress
[   11.416209] usbcore: registered new interface driver ums-datafab
[   11.422721] usbcore: registered new interface driver ums-freecom
[   11.429086] usbcore: registered new interface driver ums-isd200
[   11.435457] usbcore: registered new interface driver ums-jumpshot
[   11.441964] usbcore: registered new interface driver ums-karma
[   11.448263] usbcore: registered new interface driver ums-sddr09
[   11.454682] usbcore: registered new interface driver ums-sddr55
[   11.461017] usbcore: registered new interface driver ums-usbat
[   11.475350] xt_time: kernel timezone is -0000
[   12.924058] EEPROM Region Code is: 0x81
[   12.928003] setting rxantenna 0x0, 0xf
[   12.939943] setting txantenna 0x0, 0xf
[   12.944811] req ring: vBase=d27c6000  pBase=127c6000
[   12.949795] req ring: vBase=d1c5d000  pBase=11c5d000
[   12.954798] OffChanReqHead = c007f880
[   12.954798] OffChanReqTail = c007f884
[   12.954798] OffChanDoneHead = c007f888
[   12.954798] OffChanDoneTail = c007f88c
[   13.030588] Stop client netdev = 0
[   13.034794] setting rxantenna 0x0, 0xf
[   13.038579] setting txantenna 0x0, 0xf
[   13.050761] req ring: vBase=d27c6000  pBase=127c6000
[   13.055744] req ring: vBase=d1c5d000  pBase=11c5d000
[   13.060749] OffChanReqHead = c007f880
[   13.060749] OffChanReqTail = c007f884
[   13.060749] OffChanDoneHead = c007f888
[   13.060749] OffChanDoneTail = c007f88c
[   13.076950] EEPROM Region Code is: 0x81
[   13.080890] setting rxantenna 0x0, 0xf
[   13.084690] setting txantenna 0x0, 0xf
[   13.089168] req ring: vBase=d1ebf000  pBase=11ebf000
[   13.094152] req ring: vBase=d1e39000  pBase=11e39000
[   13.099157] OffChanReqHead = c007f880
[   13.099157] OffChanReqTail = c007f884
[   13.099157] OffChanDoneHead = c007f888
[   13.099157] OffChanDoneTail = c007f88c
[   13.140992] Stop client netdev = 0
[   13.145140] setting rxantenna 0x0, 0xf
[   13.156335] setting txantenna 0x0, 0xf
[   13.168450] req ring: vBase=d1ebf000  pBase=11ebf000
[   13.173433] req ring: vBase=d1e39000  pBase=11e39000
[   13.178439] OffChanReqHead = c007f880
[   13.178439] OffChanReqTail = c007f884
[   13.178439] OffChanDoneHead = c007f888
[   13.178439] OffChanDoneTail = c007f88c
[   14.010110] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.038149] device lan1 entered promiscuous mode
[   14.042820] device eth0 entered promiscuous mode
[   14.048910] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   14.095586] device lan2 entered promiscuous mode
[   14.132729] device lan3 entered promiscuous mode
[   14.168167] device lan4 entered promiscuous mode
[   14.176636] IPv6: ADDRCONF(NETDEV_UP): wan: link is not ready
[   14.292557] HTB: quantum of class 1000001 is big. Consider r2q change.
[   14.619151] Setting Region Code not supported!
[   14.638024] Setting 20/40 Coexist on
[   14.642798] bftype is 6
[   14.678844] HTB: quantum of class 1000001 is big. Consider r2q change.
[   14.722082] Stop client netdev = 0
[   14.726242] setting rxantenna 0xf, 0xf
[   14.748093] setting txantenna 0x0, 0xf
[   14.792406] ptr->ch_width=1,ptr->center_freq0=42,ptr->center_freq1=50
[   14.798872] Build_IE_192 160Mhz: center frequency of the 80 MHz channel segment that contains the primary channel = 42
[   14.809610] Build_IE_192 160Mhz: center frequency of the 160 MHz channel = 50
[   14.817226] req ring: vBase=d27c6000  pBase=127c6000
[   14.822209] req ring: vBase=d1c5d000  pBase=11c5d000
[   14.827214] OffChanReqHead = c007f880
[   14.827214] OffChanReqTail = c007f884
[   14.827214] OffChanDoneHead = c007f888
[   14.827214] OffChanDoneTail = c007f88c
[   14.873311] ptr->ch_width=1,ptr->center_freq0=42,ptr->center_freq1=50
[   14.879782] Build_IE_192 160Mhz: center frequency of the 80 MHz channel segment that contains the primary channel = 42
[   14.890520] Build_IE_192 160Mhz: center frequency of the 160 MHz channel = 50
[   14.898487] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=0 WLANID=0
[   15.131227] WLAN(wdev0ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.140595] ptr->ch_width=1,ptr->center_freq0=42,ptr->center_freq1=50
[   15.147062] Build_IE_192 160Mhz: center frequency of the 80 MHz channel segment that contains the primary channel = 42
[   15.157800] Build_IE_192 160Mhz: center frequency of the 160 MHz channel = 50
[   15.165682] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=0 WLANID=0
[   15.172097] WLAN(wdev0ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.180973] WLAN(wdev0ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 2
[   15.236021] WLAN(wdev0ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.245363] ptr->ch_width=1,ptr->center_freq0=42,ptr->center_freq1=50
[   15.251830] Build_IE_192 160Mhz: center frequency of the 80 MHz channel segment that contains the primary channel = 42
[   15.262568] Build_IE_192 160Mhz: center frequency of the 160 MHz channel = 50
[   15.270629] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=0 WLANID=0
[   15.277111] after ieee80211wRequired=0 ieee80211w=0
[   15.282580] WLAN(wdev0ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.291907] ptr->ch_width=1,ptr->center_freq0=42,ptr->center_freq1=50
[   15.298374] Build_IE_192 160Mhz: center frequency of the 80 MHz channel segment that contains the primary channel = 42
[   15.309112] Build_IE_192 160Mhz: center frequency of the 160 MHz channel = 50
[   15.317157] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=0 WLANID=0
[   15.346733] device wdev0ap0 entered promiscuous mode
[   15.351762] br-lan: port 5(wdev0ap0) entered forwarding state
[   15.357540] br-lan: port 5(wdev0ap0) entered forwarding state
[   15.363384] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   15.383561] dsa dsa@0 lan2: Link is Down
[   15.444828] dsa dsa@0 lan3: Link is Down
[   15.482726] dsa dsa@0 lan4: Link is Down
[   15.522703] dsa dsa@0 wan: Link is Down
[   15.569249] Setting Region Code not supported!
[   15.584956] Setting 20/40 Coexist on
[   15.589648] bftype is 6
[   15.614835] dsa dsa@0 lan1: Link is Down
[   15.631886] Stop client netdev = 0
[   15.636055] setting rxantenna 0xf, 0xf
[   15.657247] setting txantenna 0x0, 0xf
[   15.688478] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   15.694770] Build_IE_192 80MHz or less
[   15.698991] req ring: vBase=d1ebf000  pBase=11ebf000
[   15.703974] req ring: vBase=d1e39000  pBase=11e39000
[   15.708980] OffChanReqHead = c007f880
[   15.708980] OffChanReqTail = c007f884
[   15.708980] OffChanDoneHead = c007f888
[   15.708980] OffChanDoneTail = c007f88c
[   15.723968] WLAN(wdev1): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.758904] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   15.765201] Build_IE_192 80MHz or less
[   15.769777] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=1 WLANID=0
[   15.941227] WLAN(wdev1ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.950582] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   15.956874] Build_IE_192 80MHz or less
[   15.961343] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=1 WLANID=0
[   15.967731] WLAN(wdev1ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   15.976665] WLAN(wdev1ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 2
[   16.001202] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.009078] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.045995] WLAN(wdev1ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   16.055349] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   16.061642] Build_IE_192 80MHz or less
[   16.066277] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=1 WLANID=0
[   16.072772] after ieee80211wRequired=0 ieee80211w=0
[   16.078248] WLAN(wdev1ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   16.087569] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   16.093861] Build_IE_192 80MHz or less
[   16.098452] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=1 WLANID=0
[   16.128053] device wdev1ap0 entered promiscuous mode
[   16.133086] br-lan: port 6(wdev1ap0) entered forwarding state
[   16.138864] br-lan: port 6(wdev1ap0) entered forwarding state
[   16.731239] finished scanning channel 1, traffic cnt 3572, bbu cnt 28616
[   17.241246] finished scanning channel 2, traffic cnt 1586, bbu cnt 12708
[   17.351180] br-lan: port 5(wdev0ap0) entered forwarding state
[   17.751235] finished scanning channel 3, traffic cnt 0, bbu cnt 0
[   18.131202] br-lan: port 6(wdev1ap0) entered forwarding state
[   18.261263] finished scanning channel 4, traffic cnt 0, bbu cnt 19874
[   18.771244] finished scanning channel 5, traffic cnt 0, bbu cnt 0
[   19.281236] finished scanning channel 6, traffic cnt 2448, bbu cnt 46534
[   19.791242] finished scanning channel 7, traffic cnt 0, bbu cnt 0
[   20.301235] finished scanning channel 8, traffic cnt 0, bbu cnt 0
[   20.811233] finished scanning channel 9, traffic cnt 185, bbu cnt 1482
[   21.321238] finished scanning channel 10, traffic cnt 679, bbu cnt 7250
[   21.831233] finished scanning channel 11, traffic cnt 4708, bbu cnt 49173
[   22.341242] finished scanning channel 12, traffic cnt 2271, bbu cnt 19067
[   22.851234] finished scanning channel 13, traffic cnt 0, bbu cnt 0
[   23.351213] Stop client netdev = 0
[   23.354723] WLAN(wdev1ap0): MLME - Disconnecting (deauth) wireless client: ffffffffffff Reason 3
[   23.364569] setting rxantenna 0xf, 0xf
[   23.386041] setting txantenna 0x0, 0xf
[   23.424195] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   23.430487] Build_IE_192 80MHz or less
[   23.434716] req ring: vBase=d1ebf000  pBase=11ebf000
[   23.439699] req ring: vBase=d1e39000  pBase=11e39000
[   23.444705] OffChanReqHead = c007f880
[   23.444705] OffChanReqTail = c007f884
[   23.444705] OffChanDoneHead = c007f888
[   23.444705] OffChanDoneTail = c007f88c
[   23.459771] ptr->ch_width=0,ptr->center_freq0=0,ptr->center_freq1=0
[   23.466062] Build_IE_192 80MHz or less
[   23.470716] WTP_nable=0  macmode=0 tunnel_mode=0 RFID=1 WLANID=0
1 Like

When is it official ? do you think

@lantis1008, Terrific, great work, Congratulations!

1 Like

Submitted
https://patchwork.ozlabs.org/patch/912514/

1 Like

Great :slight_smile: @lantis1008

and merged today:
https://github.com/openwrt/openwrt/commit/bfbdeeb3de3da31f7e5f9bd429e079c2d839644a

1 Like

Wondering if there should not be a sub-target here?

Why? Identical hardware as WRT3200ACM, so I think that it is a question of getting the boot routine to accept the image, so it is mostly about the recipe in image Makefile. But the same kernel optimisations etc. can be used and packages are compatible, so a subtarget sounds like an overkill.

Yes, it is certainly more of a nice to have, than a need to have. Was pondering the idea when I started to take a look at this today, based on the notion:

CONFIG_TARGET_PER_DEVICE_ROOTFS=y
CONFIG_TARGET_DEVICE_PACKAGES_mvebu_cortexa9_DEVICE_linksys-wrt1900acv2="-pkg0 pkg1"
CONFIG_TARGET_DEVICE_PACKAGES_mvebu_cortexa9_DEVICE_linksys-wrt3200acm="-pkg2 pkg4"

which is the way I build for wrtpac devices.

Does anyone know what uboot requires the firmware image name to be?

  • Is it expecting venom.img or rango.img?
    • Since most of the hardware is the same between the WRT3200ACM and WRT32X, my hunch is it's rango, but due to the WRT32X utilizing OpenWrt from the OEM, I'm wondering if Linksys decided to require a separate image name in Uboot.

@JW0914 It’s “venom.img”

1 Like

I've updated the WRT AC Series' ToH section Serial Flash -> OEM Default Names tab with this info

1 Like