User Tools

Site Tools


zh-cn:toh:linksys:wrt1900ac

Linksys WRT1900ac

  • 官方版本 15.05 - 推荐 所有用户使用。
    • 搭载无线驱动 v7.2.8.6 的基本稳定的镜像
    • 如果使用 15.05 最终版出现问题并且不希望提供 bug 反馈和问题细节,刷 RC3 版本
  • WRT1900ac 的官方 OpenWRT 支持起始于 Chaos Calmer [CC]
  • 最新 trunk 镜像的 3.18 内核提升了网络性能
    • 每日构建版包含许多报告的问题 (它们不稳定)
  • 强烈 建议购置 USB - TTL 线

最新讨论

当前问题 (Trunk)

固件镜像

  • 获取 Linksys WRT1900AC 最新 OpenWRT 版本有下面几种渠道。
    • 有些版本没有安装 LuCI 网络界面。 如果安装 LuCI, ssh/telnet 连接到路由器上并遵循这些指引: LuCI Essentials

官方版 (高度推荐)

  • 2015年9月11日 OpenWRT 开发者发布 CC 最终版 v15.05

Due to bugs in the radio drivers included in 15.05 Final, if you do not wish to provide debugging feedback, please flash RC3

  • 适用于所有版本:
    • 请刷写固件之前 验证 固件校验和以确保下载的文件没有损坏
    • 如果你安装软件包提示依赖错误是因为你的 opkg.conf 文件指向错误的软件包仓库
      • 修正错误:
        • rm /etc/opkg.conf ; cp /rom/etc/opkg.conf /etc/opkg.conf ; opkg update ; opkg install <软件包名称>

Trunk

  • OpenWRT 官方 CC *snapshot* 版本: Trunk * 最新每日 trunk 构建版
    • 目前基于 3.18 内核, 它只是一个最小版本 * 需要使用 opkg 添加 LuCI
    • 当前 CC BuildBot 的状态
  • Lifehacksback evolving snapshots of trunk (both 3.18 and 4.0 kernel builds) Lifehacksback Testing CC
    • 使用官方 CC 镜像: 我已经撤下了我的固件并且以后不再提供,除非我觉得发布新版本有用。

Kaloz 的版本

  • Kaloz's evolving snapshots of trunk: Kaloz 的版本 * 包含最新 bug 修复和功能, LuCI 和其他软件包
    • 2015.08.19: 包含新驱动

恢复 OpenWRT 为默认设置

  • 如果刷完 OpenWRT 没有立即正常工作或者要重置全部设置 , 擦除保存设置的分区
    • 要恢复默认设置:
    • rm -rf /overlay ; reboot

刷回 Linksys

  • 要刷回 Linksys: OEM 官方固件.
    • 选择 Downloads –> Hardware Version –> 下载链接在 Firmware 字样下方
    • 写这个 Wiki 时的最新固件 –> 刷到 1.1.10

* Chadster's McWRT release of the old AA version McWRT. This was based on Attitude Adjustment code, which is obsolete and not supported anymore by its maintainer. 不要使用这个版本 - any of the builds above supersede it. *Included only for historical interest*


支持版本

版本/ 型号 发布日期 S/N 支持的 OpenWrt 版本 型号特定注解
v1 - Mamba 2014-03 XXX10XXXXXXXXX Trunk 43773 (as of 2014-12-25) 推荐使用 3.18 内核 (与 Chaos Calmer 的 3.14 内核相比有更好的 SoC 支持)
v2 - Cobra 2015-04 XXX20XXXXXXXXX - v2 需要另外的构建版. 确保你使用的型号标明了 v2

型号特定注解的未尽事宜或者不适宜写在注解中的简短评论可以在下面找到

WRT1900ac

WRT1200ac

  • Caiman: 拥有相似的硬件并且需要特定的构建版本

硬件

硬件版本 SoC RAM CPU Flash Network USB 串口 JTAG eSata 风扇
v1 Marvell MV78230 256 MiB 1.2Ghz 128 MiB 1x2.0 1x3.0 Yes Yes Yes
v2 Marvell Armada 38X(?) 256 MiB 1.3Ghz 128 MiB 1x2.0 1x3.0 Yes(?) Yes No

Specs

端口

启动日志

OEM

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-On ly] 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 nand_read_bbt: Bad block at 0x000001ca0000 #### auto_recovery #### [u_env] get auto_recovery == yes [u_env] get auto_recovery == yes [u_env] get boot_part == 1 [u_env] get boot_part_ready == 3 auto_recovery enabled:1, boot_part:1, boot_part_ready:3 [boot_count_read] block:0x140000, size:256KB, records:128 [boot_count_read_record] boot_count:2, next_record:42 [boot_count_write] erase:0, auto_recovery->block_offset:0x140000 Updating boot_count ... [boot_count_write] offset:0x155000 , 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 nandboot Hit any key to stop autoboot: 0 NAND read: device 0 offset 0xa00000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-3.2.40 Created: 2014-06-20 21:50:04 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3856032 Bytes = 3.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 3.2.40 (root@build-vm) (gcc version 4.6.4 20120731 (prerelease) (Linaro GCC branch-4.6.4. Marvell GCC 201301-1645.aee66e26) ) #1 SMP Fri Jun 20 14 :49:46 PDT 2014 CPU: Marvell PJ4Bv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache Machine: Marvell Armada XP GP Board Using UBoot passing parameters structure Reserving training memory: base=0x (null) size=0x2800 Memory policy: ECC disabled, Data cache writealloc SMP: init cpus PERCPU: Embedded 7 pages/cpu @c09c7000 s6944 r8192 d13536 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 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 PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) allocated 1048576 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups Memory: 256MB = 256MB total Memory: 250768k/250768k available, 11376k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xd0800000 - 0xfa800000 ( 672 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc06fcf4c (7124 kB) .init : 0xc06fd000 - 0xc0733b20 ( 219 kB) .data : 0xc0734000 - 0xc076fb80 ( 239 kB) .bss : 0xc076fba4 - 0xc07c3f28 ( 337 kB) Hierarchical RCU implementation. RCU debugfs-based tracing is enabled. NR_IRQS:211 Initializing ArmadaXP SOC Timer 0 sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys debug Initializing cgroup subsys cpuacct Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys blkio CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 SMP: prepare CPUs (4 cores) Setting Clocks for secondary CPUs Armada-XP Performance Monitor Unit detected (Marvell ID)!!! hw perfevents: enabled with Armada PJ4 PMU driver, 7 counters available SMP: CPU 0 Waking up CPU 1 CPU1: Booted secondary processor CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (2382.23 BogoMIPS). devtmpfs: initialized xor: measuring software checksum speed arm4regs : 1159.600 MB/sec 8regs : 864.800 MB/sec 32regs : 1066.000 MB/sec xor: using function: arm4regs (1159.600 MB/sec) NET: Registered protocol family 16 Aurora: Working in ARMv7 mode L0 cache Enabled Speculative Prefetch Disabled Aurora L2 Cache Enabled Support IO coherency. Marvell Armada-XP RD-AXP-GP rev 1.0 Board - Soc: MV78230 B0 LE Detected Tclk 250000000, SysClk 600000000, FabricClk 600000000, PClk 1200000000 LSP version: linux-3.2.y-2013_Q1.2p2 - WIFI_RD RC registered dev#0 asa ehci_marvell Marvell USB EHCI Host controller #0: cf8b4a00 registered dev#1 asa ehci_marvell Marvell USB EHCI Host controller #1: cf8b4800 registered dev#2 asa mv_udc Marvell USB Gadget controller #2: cf8b4600 bio: create slab <bio-0> at 0 raid6: int32x1 137 MB/s raid6: int32x2 211 MB/s raid6: int32x4 208 MB/s raid6: int32x8 243 MB/s raid6: using algorithm int32x8 (243 MB/s) vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new interface driver ethub usbcore: registered new device driver usb Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc. Switching to clocksource axp_clocksource NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered UDP hash table entries: 128 (order: 0, 4096 bytes) UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI-E: Cheking physical bus #0 (controller #0): Enabled - Link UP PCI-E: Cheking physical bus #1 (controller #1): Enabled - Link UP PCI-E: Cheking physical bus #2 (controller #2): Enabled - Link UP PCI-E: Cheking physical bus #3 (controller #3): Enabled - No Link PCI-E: Cheking physical bus #4 (controller #4): Enabled - No Link PCI-E: Cheking physical bus #5 (controller #5): Enabled - No Link PCI-E: Cheking physical bus #6 (controller #6): Enabled - No Link PCI: bus0: Fast back to back transfers disabled PCI: bus1: Fast back to back transfers disabled PCI: bus2: Fast back to back transfers disabled pci 0000:02:00.0: BAR 0: assigned [mem 0xf2400000-0xf24fffff 64bit pref] pci 0000:02:00.0: BAR 0: set to [mem 0xf2400000-0xf24fffff 64bit pref] (PCI address [0xf2400000-0xf24fffff]) pci 0000:02:00.0: BAR 2: assigned [mem 0xf2500000-0xf25fffff 64bit pref] pci 0000:02:00.0: BAR 2: set to [mem 0xf2500000-0xf25fffff 64bit pref] (PCI address [0xf2500000-0xf25fffff]) pci 0000:01:00.0: BAR 0: assigned [mem 0xf2200000-0xf22fffff 64bit pref] pci 0000:01:00.0: BAR 0: set to [mem 0xf2200000-0xf22fffff 64bit pref] (PCI address [0xf2200000-0xf22fffff]) pci 0000:01:00.0: BAR 2: assigned [mem 0xf2300000-0xf23fffff 64bit pref] pci 0000:01:00.0: BAR 2: set to [mem 0xf2300000-0xf23fffff 64bit pref] (PCI address [0xf2300000-0xf23fffff]) pci 0000:00:00.0: BAR 0: assigned [mem 0xf2000000-0xf2007fff 64bit] pci 0000:00:00.0: BAR 0: set to [mem 0xf2000000-0xf2007fff 64bit] (PCI address [0xf2000000-0xf2007fff]) cesadev_init(c0704a94) mvCesaInit: channels=2, session=640, queue=64 Armada XP hwmon thermal sensor initialized. ArmadaXP Power Managament Suspend Operations Initialized Initializing Armada-XP CPU power management (WFI) squashfs: version 4.0 (2009/01/31) Phillip Lougher nfs4filelayout_init: NFSv4 File Layout Driver Registering... JFFS2 version 2.2. (NAND) B) 2001-2006 Red Hat, Inc. SGI XFS with security attributes, large block/inode numbers, no debug enabled msgmni has been set to 489 async_tx: api initialized (async) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Initializing ths8200_init mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) mv_xor mv_xor.2: Marvell XOR: ( xor ) mv_xor mv_xor.3: Marvell XOR: ( fill cpy ) HDLC line discipline maxframe=4096 N_HDLC line discipline registered. Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 41) is a 16550A console [ttyS0] enabled loop: module loaded sata_mv sata_mv.0: cannot get clkdev sata_mv sata_mv.0: slots 32 ports 2 scsi0 : sata_mv scsi1 : sata_mv ata1: SATA max UDMA/133 irq 55 ata2: SATA max UDMA/133 irq 55 INFO: Found cfi_flash_0 0 - base 0xf4000000, size 0x2000000, bus 2 INFO: Found spi_flash 0 - base 0xf6000000, size 0x1000000 INFO: flashInfoFill - Found 2 Flash Devices INFO: flash_map_init - detected 2 devices MTD: Initialize the cfi_flash_0 device at address 0xf4000000 INFO: Io remapped successfully - phy addr = 0xf4000000, virt addr = 0xd1000000 INFO: Using cfi_probe to probe cfi_flash_0 at address 0xf4000000, size 0x2000000, width 2m - Not detected - FAILED! MTD: Initialize the spi_flash device at address 0xf6000000 INFO: Io remapped successfully - phy addr = 0xf6000000, virt addr = 0xd4000000 INFO: Using sflash to probe spi_flash at address 0xf6000000, size 0x1000000, width 2mmvSFlashInit ERROR: Unknown SPI flash device! ERROR: sflash_probe - Failed to initialize the SFlash. - Not detected - FAILED! armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC NAND Spansion 1Gb(ID=F101) NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit) Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 nand_read_bbt: bad block at 0x000001ca0000 10 cmdlinepart partitions found on MTD device armada-nand 10 cmdlinepart partitions found on MTD device armada-nand Creating 10 MTD partitions on "armada-nand": 0x000000000000-0x000000100000 : "uboot" 0x000000100000-0x000000140000 : "u_env" 0x000000140000-0x000000180000 : "s_env" 0x000000900000-0x000000a00000 : "devinfo" 0x000000a00000-0x000003200000 : "kernel" 0x000000d00000-0x000003200000 : "rootfs" 0x000003200000-0x000005a00000 : "alt_kernel" 0x000003500000-0x000005a00000 : "alt_rootfs" 0x000000a00000-0x000005a00000 : "ubifs" 0x000005a00000-0x000008000000 : "syscfg" mv_eth_probe: port_mask=0xf, cpu_mask=0x3 mvPncVirtBase = 0xd0a00000 o 4 Giga ports supported o SKB recycle supported (Enabled) o NETA acceleration mode 3 o PnC supported (Enabled) o RX Queue support: 8 Queues * 128 Descriptors o TX Queue support: 8 Queues * 532 Descriptors o GSO supported o GRO supported o Receive checksum offload supported o Transmit checksum offload supported o Driver ERROR statistics enabled o Loading Switch QuarterDeck driver o Device ID : 0x172 o No. of Ports : 7 o CPU Port : 5 o Loading network interface(s) o Port 0 is connected to Linux netdevice giga p=0: mtu=1500, mac=cf833eec o eth0, ifindex = 2, GbE port = 0 o Port 1 is connected to Linux netdevice giga p=1: mtu=1500, mac=cf833eec o eth1, ifindex = 3, GbE port = 1 o Warning: GbE port 2 is powered off tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI e100: Copyright(c) 1999-2006 Intel Corporation e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k e1000e: Copyright(c) 1999 - 2011 Intel Corporation. sky2: driver version 1.30 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP Deflate Compression module registered NET: Registered protocol family 24 PPTP driver version 0.8.5 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci_marvell ehci_marvell.0: Marvell Orion EHCI ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 1 ata1: SATA link down (SStatus 0 SControl F300) ehci_marvell ehci_marvell.0: irq 45, io base 0xfbc50100 ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ehci_marvell ehci_marvell.1: Marvell Orion EHCI ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 2 ehci_marvell ehci_marvell.1: irq 46, io base 0xfbc51100 ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected PCI: enabling device 0000:00:00.0 (0140 -> 0142) etxhci_hcd_130530 0000:00:00.0: Etron xHCI Host Controller etxhci_hcd_130530 0000:00:00.0: new USB bus registered, assigned bus number 3 etxhci_hcd_130530 0000:00:00.0: irq 58, io mem 0xf2000000 ethub 3-0:1.0: USB hub found ethub 3-0:1.0: 2 ports detected etxhci_hcd_130530 0000:00:00.0: Etron xHCI Host Controller etxhci_hcd_130530 0000:00:00.0: new USB bus registered, assigned bus number 4 ethub 4-0:1.0: USB hub found ethub 4-0:1.0: 2 ports detected mousedev: PS/2 mouse device common for all mice ata2: SATA link down (SStatus 0 SControl F300) rtc-mv rtc-mv: internal RTC not ticking i2c /dev entries driver md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 md: raid10 personality registered for level 10 md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 cpuidle: using governor ladder cpuidle: using governor menu mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) oprofile: using arm/mrvl_pj4b u32 classifier Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (3918 buckets, 15672 max) ctnetlink v0.93: registering with nfnetlink. nf_conntrack_rtsp v0.6.21 loading GRE over IPv4 demultiplexor driver GRE over IPv4 tunneling driver nf_nat_rtsp v0.6.21 loading ip_tables: (C) 2000-2006 Netfilter Core Team arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Bridge firewalling registered Ebtables v2.0 registered L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 8021q: 802.1Q VLAN Support v1.8 Registering the dns_resolver key type VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6 drivers/rtc/hctosys.c: unable to open rtc device (rtc0) md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x43e4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x6723 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xe316 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0c38 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0xf54b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x79d2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x9261 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xd368 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x1879 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0xcacb instead Further such events for this erase block will not be printed Old JFFS2 bitmask found at 0x000052bc You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x9780 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x9cba instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0xba9f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x1856 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x4657 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x9ea2 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0xf1fa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x0856 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0xf16e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0xf34d instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0x7bc9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x2b77 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x0a1d instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x3013 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0x62ae instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x789b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x46c8 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0xd4fa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0xe3f5 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0xb870 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0xd224 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0xff7c instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0xe6b4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0x1c3e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0x87c9 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0xff53 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0x1f3f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0xbbbb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0x9fc7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0xf28f instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x5721 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0xbfd6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x3d7e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0xfbaa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0xcf91 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0xbbe0 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0xceeb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0x75cb instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0xbfd7 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0xa7e8 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x9ba6 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x42aa instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0x599a instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0x1038 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0xff8f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0x2cd4 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0xa950 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0xfc7f instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x6665 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0xbf48 instead Further such events for this erase block will not be printed jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600000: 0x4c2e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600004: 0x534b instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600008: 0x302e instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0160000c: 0x3030 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600010: 0x5741 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600014: 0x3931 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600018: 0x4341 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0160001c: 0x2020 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600020: 0x3246 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01600024: 0x3435 instead Further such events for this erase block will not be printed VFS: Mounted root (jffs2 filesystem) readonly on device 31:5. devtmpfs: mounted Freeing init memory: 216K ********************************************************************************* _ _ __ _ __ _____ __ __ _____ | | | || \ | | / // ____]\ \ / // ____]TM | | | || \ | | / /| (___ \ V /| (____ | | | || |\ \| |\ \ \____ \ \ / \____ \ | |_____ | || | \ | \ \ ____) | | | ____) | |_______||_||_| \__| \_\[____ / |_| [_____/ (c) 2013 Belkin International, Inc. and/or its affiliates. All rights reserved. Booting blk-mamba (firmware version 1.1.8.161917) ********************************************************************************* [utopia][init] System Initialization [utopia][init] Creating /proc [utopia][init] Creating /sys [utopia][init] Creating /dev [utopia][init] Creating /tmp [utopia][init] Allocating 50M for /tmp [utopia][init] Prepairing /dev/pts [utopia][init] Setting /tmp and /var permissions [utopia][init] Starting udev.. bdutil board utility kernel module, version 1.4 bdutil board utility kernel module boardId (9) bdutil board utility gpio kernel module, version 1.3 bdutil board utility buttons kernel module, version 1.4 bdutil board utility LEDs kernel module, version 2.5 mod_bdutil (leds): i2c-dev (0) LEDs driver initialized Attempting mount of ubifs syscfg partition UBI device number 0, total 296 LEBs (37584896 bytes, 35.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB) [utopia][init] Using persistent syscfg data from /var/config/syscfg [utopia][init] Starting system logging [utopia][init] Starting sysevent subsystem net.netfilter.nf_conntrack_acct = 1 watchdog running [utopia][init] Setting any unset system values to default [utopia][init] no persistence config file (/var/config/pstcfg) found mac_setup.sh, setting up MAC addresses for all interfaces based on 94:10:3E:9F:CE:4B Updating NTP Servers if necessary checking for interactive script start up... 0x9000000 0x1000000 0xa000000 0x1000000 0xb000000 0x1000000 0xc000000 0x1000000 0xd000000 0x1000000 0xe000000 0x1000000 0xf000000 0x1000000 0x10000000 0x1000000 0x11000000 0x1000000 0x12000000 0x1000000 0x13000000 0x1000000 0x14000000 0x1000000 0x15000000 0x1000000 0x16000000 0x1000000 0x17000000 0x1000000 Updating BootCount Page[43]:15800 ... Done [utopia][init] Starting bdutil daemon BDUTIL daemon mode attempting to sync sysinfo.cgi auth credentials cpu temp monitor created Thu Oct 11 06:00:00 UTC 2012 wdev0 no private ioctls. wdev1 no private ioctls. 0x21010000 0x1000000 0x3c010000 0x1000000 wdev0ap0 no private ioctls. wdev0ap1 no private ioctls. wdev0ap2 no private ioctls. wdev0ap3 no private ioctls. wdev1ap0 no private ioctls. wdev1ap1 no private ioctls. wdev1ap2 no private ioctls. 0x3d010000 0x1000000 wifi, sysevent received: lan-started (Wed Oct 10 23:00:03 PDT 2012) wifi, service_start() Lighttpd Model Base: WRT1900AC Generating Rainier lighttpd config Build temporary www configuration directory: TSLIIHauhEfGE reset LAN ethernet port Failed to modify password entry for user guest Registering Service myrouter._http._tcp.local port 80 [utopia] Not setting ppp_clamp_mtu Got a reply for myrouter._http._tcp.local.: Name now registered and active wifi, wifi_physical_start(wdev0) [utopia] Not setting ppp_clamp_mtu on dslite protocol wifi_physical, iwconfig wdev0 commit Restarting nfqrecv service... wifi, wifi_virtual_start(wdev0) wifi, wifi_user_start(wdev0) wifi, primary AP: wdev0ap0 is up wifi, wifi_guest_start(wdev0) wifi, guest wdev0ap1 is disabled, do not start wifi guest wifi, wifi_physical_start(wdev1) wifi_physical, iwconfig wdev1 commit wifi, wifi_virtual_start(wdev1) wifi, wifi_user_start(wdev1) wifi, primary AP: wdev1ap0 is up wifi, wifi_guest_start(wdev1) wifi, guest wdev1ap1 is disabled, do not start wifi guest wifi, start_hostapd() Configuration file: /tmp/hostapd-wdev0ap0.conf Using interface wdev0ap0 with hwaddr 94:10:3e:9f:ce:4c and ssid 'Linksys01799' Configuration file: /tmp/hostapd-wdev1ap0.conf Using interface wdev1ap0 with hwaddr 94:10:3e:9f:ce:4d and ssid 'Linksys01799_5GHz' Failed to modify password entry for user guest Failed to modify password entry for user guest Starting smbd ...


OpenWRT

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 == off [u_env] get auto_recovery == off [u_env] get boot_part == 1 [u_env] get boot_part_ready == 3 auto_recovery enabled:0, boot_part:1, boot_part_ready:3 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 nandboot Hit any key to stop autoboot: 3 2 1 0 NAND read: device 0 offset 0xa00000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 02000000 ... Image Name: ARM OpenWrt Linux-3.18.14 Created: 2015-06-08 16:58:30 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1618369 Bytes = 1.5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.18.14 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45872) ) #1 SMP Mon Jun 8 18:58:16 CEST 2015 [ 0.000000] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine model: Linksys WRT1900AC [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 9 pages/cpu @cfdd9000 s6784 r8192 d21888 u36864 [ 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: 255064K/262144K available (3238K kernel code, 148K rwdata, 876K rodata, 204K init, 167K bss, 7080K reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc040ce14 (4116 kB) [ 0.000000] .init : 0xc040d000 - 0xc0440000 ( 204 kB) [ 0.000000] .data : 0xc0440000 - 0xc04651f8 ( 149 kB) [ 0.000000] .bss : 0xc04651f8 - 0xc048f10c ( 168 kB) [ 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] Aurora cache controller enabled, 32 ways, 2048 kB [ 0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a69ef12 [ 0.000008] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798691800ns [ 0.000224] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 0.040055] pid_max: default: 32768 minimum: 301 [ 0.040148] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.040158] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.040481] CPU: Testing write buffer coherency: ok [ 0.040626] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.043100] Setting up static identity map for 0x12648 - 0x126a0 [ 0.043374] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2 [ 0.043500] mvebu-pmsu: Initializing Power Management Service Unit [ 0.044344] Booting CPU 1 [ 0.044622] CPU1: Booted secondary processor [ 0.080045] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080104] Brought up 2 CPUs [ 0.080118] SMP: Total of 2 processors activated (2382.23 BogoMIPS). [ 0.080124] CPU: All CPU(s) started in SVC mode. [ 0.080591] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6 [ 0.080783] pinctrl core: initialized pinctrl subsystem [ 0.080988] regulator-dummy: no parameters [ 0.083788] NET: Registered protocol family 16 [ 0.083981] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.110066] cpuidle: using governor ladder [ 0.141591] Switched to clocksource armada_370_xp_clocksource [ 0.142328] NET: Registered protocol family 2 [ 0.142828] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.142852] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.142876] TCP: Hash tables configured (established 2048 bind 2048) [ 0.142911] TCP: reno registered [ 0.142922] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.142938] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.143074] NET: Registered protocol family 1 [ 0.143896] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.144363] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.144376] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.144522] msgmni has been set to 498 [ 0.145168] io scheduler noop registered [ 0.145182] io scheduler deadline registered (default) [ 0.145752] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver [ 0.146213] irq: Cannot allocate irq_descs @ IRQ37, assuming pre-allocated [ 0.146526] irq: Cannot allocate irq_descs @ IRQ69, assuming pre-allocated [ 0.146995] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00 [ 0.147009] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.147018] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff] [ 0.147028] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.147485] PCI: bus0: Fast back to back transfers disabled [ 0.147497] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.147509] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.147519] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.147909] PCI: bus1: Fast back to back transfers disabled [ 0.148340] PCI: bus2: Fast back to back transfers disabled [ 0.148742] PCI: bus3: Fast back to back transfers disabled [ 0.148859] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff] [ 0.148871] pci 0000:00:02.0: BAR 8: assigned [mem 0xf8200000-0xf83fffff] [ 0.148882] pci 0000:00:03.0: BAR 8: assigned [mem 0xf8400000-0xf85fffff] [ 0.148894] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit] [ 0.148914] pci 0000:00:01.0: PCI bridge to [bus 01] [ 0.148926] pci 0000:00:01.0: bridge window [mem 0xf8000000-0xf80fffff] [ 0.148940] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8200000-0xf82fffff 64bit pref] [ 0.148961] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8300000-0xf83fffff 64bit pref] [ 0.148980] pci 0000:00:02.0: PCI bridge to [bus 02] [ 0.148990] pci 0000:00:02.0: bridge window [mem 0xf8200000-0xf83fffff] [ 0.149004] pci 0000:03:00.0: BAR 0: assigned [mem 0xf8400000-0xf84fffff 64bit pref] [ 0.149023] pci 0000:03:00.0: BAR 2: assigned [mem 0xf8500000-0xf85fffff 64bit pref] [ 0.149040] pci 0000:00:03.0: PCI bridge to [bus 03] [ 0.149050] pci 0000:00:03.0: bridge window [mem 0xf8400000-0xf85fffff] [ 0.149094] pci 0000:00:01.0: enabling device (0140 -> 0142) [ 0.149117] pci 0000:01:00.0: enabling device (0140 -> 0142) [ 0.149276] mv_xor f1060900.xor: Marvell shared XOR driver [ 0.171684] mv_xor f1060900.xor: Marvell XOR: ( xor cpy ) [ 0.211656] mv_xor f1060900.xor: Marvell XOR: ( xor cpy ) [ 0.211748] mv_xor f10f0900.xor: Marvell shared XOR driver [ 0.251654] mv_xor f10f0900.xor: Marvell XOR: ( xor cpy ) [ 0.291654] mv_xor f10f0900.xor: Marvell XOR: ( xor cpy ) [ 0.291840] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.293504] console [ttyS0] disabled [ 0.313514] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud = 15625000) is a 16550A [ 0.974141] console [ttyS0] enabled [ 0.978340] pxa3xx-nand f10d0000.nand: This platform can't do DMA on this device [ 0.985959] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1 [ 0.992349] nand: AMD/Spansion S34ML01G1 [ 0.996285] nand: 128MiB, SLC, page size: 2048, OOB size: 64 [ 1.001987] pxa3xx-nand f10d0000.nand: ECC strength 16, ECC step size 2048 [ 1.009148] Bad block table found at page 65472, version 0x01 [ 1.015219] Bad block table found at page 65408, version 0x01 [ 1.021322] 10 ofpart partitions found on MTD device pxa3xx_nand-0 [ 1.027537] Creating 10 MTD partitions on "pxa3xx_nand-0": [ 1.033067] 0x000000000000-0x000000100000 : "u-boot" [ 1.038494] 0x000000100000-0x000000140000 : "u_env" [ 1.043825] 0x000000140000-0x000000180000 : "s_env" [ 1.049138] 0x000000900000-0x000000a00000 : "devinfo" [ 1.054637] 0x000000a00000-0x000003200000 : "kernel1" [ 1.060177] 0x000000d00000-0x000003200000 : "ubi" [ 1.065384] 0x000003200000-0x000005a00000 : "kernel2" [ 1.070933] 0x000003500000-0x000005a00000 : "rootfs2" [ 1.076507] 0x000005a00000-0x000008000000 : "syscfg" [ 1.081990] 0x000000180000-0x000000900000 : "unused_area" [ 1.088360] m25p80 spi0.0: mr25h256 (32 Kbytes) [ 1.094016] libphy: Fixed MDIO Bus: probed [ 1.098247] libphy: orion_mdio_bus: probed [ 1.104504] mvneta f1070000.ethernet eth0: Using random mac address 8e:af:18:1b:81:e0 [ 1.114039] mvneta f1074000.ethernet eth1: Using random mac address 26:92:1c:b7:db:b3 [ 1.133227] TCP: cubic registered [ 1.136573] NET: Registered protocol family 17 [ 1.141141] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.153910] Bridge firewalling registered [ 1.157952] 8021q: 802.1Q VLAN Support v1.8 [ 1.162310] Registering SWP/SWPB emulation handler [ 1.169857] UBI: auto-attach mtd5 [ 1.173272] UBI: attaching mtd5 to ubi0 [ 1.696553] UBI: scanning is finished [ 1.722619] UBI: attached mtd5 (name "ubi", size 37 MiB) to ubi0 [ 1.728681] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 1.735553] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 1.742305] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 1.749206] UBI: good PEBs: 296, bad PEBs: 0, corrupted PEBs: 0 [ 1.755191] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 1.762389] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 281984027 [ 1.771382] UBI: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 20 [ 1.780648] UBI: background thread "ubi_bgt0d" started, PID 331 [ 1.787387] UBI: ubiblock0_0 created from ubi0:0(rootfs) [ 1.792786] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 1.800882] mvsw61xx 1000000003.mvsw61xx: Found MV88E6172 at f1072004.mdio-mi:10 [ 1.808371] mvsw61xx 1000000003.mvsw61xx: Using direct addressing [ 1.814665] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.833270] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 1.840780] Freeing unused kernel memory: 204K (c040d000 - c0440000) [ 2.419027] init: Console is alive [ 3.613188] usbcore: registered new interface driver usbfs [ 3.618834] usbcore: registered new interface driver hub [ 3.624368] usbcore: registered new device driver usb [ 3.634922] SCSI subsystem initialized [ 3.650345] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.657730] ehci-platform: EHCI generic platform driver [ 3.664029] ehci-orion: EHCI orion driver [ 3.668303] orion-ehci f1050000.usb: EHCI Host Controller [ 3.673822] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1 [ 3.681541] orion-ehci f1050000.usb: irq 25, io mem 0xf1050000 [ 3.701727] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00 [ 3.708609] hub 1-0:1.0: USB hub found [ 3.712508] hub 1-0:1.0: 1 port detected [ 3.720579] sata_mv f10a0000.sata: slots 32 ports 1 [ 3.727329] scsi host0: sata_mv [ 3.730821] ata1: SATA max UDMA/133 irq 28 [ 4.081726] ata1: SATA link down (SStatus 0 SControl F300) [ 4.091807] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 4.097110] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 4.105878] hub 2-0:1.0: USB hub found [ 4.109737] hub 2-0:1.0: 2 ports detected [ 4.114343] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 4.119625] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3 [ 4.128108] hub 3-0:1.0: USB hub found [ 4.132013] hub 3-0:1.0: 2 ports detected [ 4.148588] usbcore: registered new interface driver usb-storage [ 4.423565] init: - preinit - [ 5.172337] random: nonblocking pool is initialized Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 8.464967] UBIFS: background thread "ubifs_bgt0_1" started, PID 461 [ 8.579770] UBIFS: recovery needed [ 8.778276] UBIFS: recovery completed [ 8.782126] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 8.788599] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 8.797833] UBIFS: FS size: 30601216 bytes (29 MiB, 241 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs) [ 8.807572] UBIFS: reserved for root: 1445370 bytes (1411 KiB) [ 8.813494] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 1199790C-2961-4881-A5D1-15F9453FB750, small LPT model [ 8.834512] mount_root: switching to jffs2 overlay [ 9.007417] UBI: attaching mtd8 to ubi1 [ 9.531410] UBI: scanning is finished [ 9.555885] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 2, need 12 [ 9.567213] UBI: attached mtd8 (name "syscfg", size 38 MiB) to ubi1 [ 9.573559] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 9.580376] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 9.587140] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 9.594084] UBI: good PEBs: 296, bad PEBs: 8, corrupted PEBs: 0 [ 9.600029] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 9.607230] UBI: max/mean erase counter: 9/7, WL threshold: 4096, image sequence number: 1566127094 [ 9.616349] UBI: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 2 [ 9.625507] UBI: background thread "ubi_bgt1d" started, PID 468 UBI device number 1, total 296 LEBs (37584896 bytes, 35.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB) [ 9.648201] UBIFS: background thread "ubifs_bgt1_0" started, PID 473 [ 9.763402] UBIFS: recovery needed [ 10.060095] UBIFS: recovery completed [ 10.063985] UBIFS: mounted UBI device 1, volume 0, name "syscfg" [ 10.070042] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 10.079273] UBIFS: FS size: 35680256 bytes (34 MiB, 281 LEBs), journal size 1777664 bytes (1 MiB, 14 LEBs) [ 10.089039] UBIFS: reserved for root: 1685265 bytes (1645 KiB) [ 10.094962] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 3D8E03E0-7B4C-4ACC-84F0-908FF5AA25BB, small LPT model [ 10.118891] procd: - early - [ 10.827468] procd: - ubus - [ 11.833520] procd: - init - Please press Enter to activate this console. [ 12.815669] NET: Registered protocol family 10 [ 12.827017] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 12.839969] Loading modules backported from Linux version master-2015-03-09-0-g141f155 [ 12.847971] Backport generated by backports.git backports-20150129-0-gdd4a670 [ 12.863951] cfg80211: Calling CRDA to update world regulatory domain [ 12.870447] cfg80211: World regulatory domain updated: [ 12.875667] cfg80211: DFS Master region: unset [ 12.880052] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 12.889923] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 12.897995] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 12.906083] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 12.914181] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 12.922269] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 12.931828] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 12.939954] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 12.948034] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 12.958214] mwl_probe(): <<Marvell 802.11ac Wireless Network Driver version 10.3.0.1>> [ 12.966240] pci 0000:00:02.0: enabling device (0140 -> 0142) [ 12.972022] mwlwifi 0000:02:00.0: enabling device (0140 -> 0142) [ 12.978183] mwl_alloc_pci_resource(): priv->iobase0 = d0e00000 [ 12.984153] mwl_alloc_pci_resource(): priv->iobase1 = d1000000 [ 12.990037] mwl_alloc_pci_resource(): priv->pcmd_buf = ce948000 priv->pphys_cmd_buf = e948000 [ 13.000552] mwl_fwdl_download_firmware(): fw download start 88 [ 13.121698] mwl_fwdl_download_firmware(): FwSize = 116208 downloaded Size = 116208 curr_iteration 65510 [ 13.640740] mwl_fwdl_download_firmware(): 0; [ 13.976765] mwl_fwdl_download_firmware(): complete [ 13.981672] mwl_process_of_dts(): 2G: enable [ 13.985970] mwl_process_of_dts(): 5G: disable [ 13.990352] mwl_process_of_dts(): TX: 4 antennas [ 13.995024] mwl_process_of_dts(): RX: 4 antennas [ 14.001513] mwl_fwcmd_get_hw_specs(): pcmd = ce948000 [ 14.016599] mwl_fwcmd_set_hw_specs(): mwl_fwcmd_set_hw_specs ... [ 14.022676] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[0] = ea80000 [ 14.028972] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[1] = ea84000 [ 14.035279] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[2] = ea88000 [ 14.041572] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[3] = ea8c000 [ 14.047901] mwl_fwcmd_set_hw_specs(): -->pPhysRxRing = ea04000 [ 14.054239] mwl_fwcmd_set_hw_specs(): -->numtxq 20 wcbperq 256 totalrxwcb 256 [ 14.066598] mwl_wl_init(): firmware version: 0x7020805 [ 14.085986] mwl_reg_notifier(): phy0: FCC [ 14.090035] mwl_reg_notifier(): Channel: 1: 0x0 0x0 0xf [ 14.095341] mwl_reg_notifier(): 17 11 11 11 10 10 10 10 f f f f 0 0 0 0 [ 14.102113] mwl_reg_notifier(): Channel: 2: 0x0 0x0 0xf [ 14.107378] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.114492] mwl_reg_notifier(): Channel: 3: 0x0 0x0 0xf [ 14.119757] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.126872] mwl_reg_notifier(): Channel: 4: 0x0 0x0 0xf [ 14.132177] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.139257] mwl_reg_notifier(): Channel: 5: 0x0 0x0 0xf [ 14.144555] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.151651] mwl_reg_notifier(): Channel: 6: 0x0 0x0 0xf [ 14.156923] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.164042] mwl_reg_notifier(): Channel: 7: 0x0 0x0 0xf [ 14.169307] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.176421] mwl_reg_notifier(): Channel: 8: 0x0 0x0 0xf [ 14.181715] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.188803] mwl_reg_notifier(): Channel: 9: 0x0 0x0 0xf [ 14.194107] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.201188] mwl_reg_notifier(): Channel: 10: 0x0 0x0 0xf [ 14.206574] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 14.213694] mwl_reg_notifier(): Channel: 11: 0x0 0x0 0xf [ 14.219045] mwl_reg_notifier(): 17 11 11 11 11 11 11 11 10 10 10 10 0 0 0 0 [ 14.228235] pci 0000:00:03.0: enabling device (0140 -> 0142) [ 14.234017] mwlwifi 0000:03:00.0: enabling device (0140 -> 0142) [ 14.240167] mwl_alloc_pci_resource(): priv->iobase0 = d1200000 [ 14.246123] mwl_alloc_pci_resource(): priv->iobase1 = d1400000 [ 14.252066] mwl_alloc_pci_resource(): priv->pcmd_buf = ce45c000 priv->pphys_cmd_buf = e45c000 [ 14.262356] mwl_fwdl_download_firmware(): fw download start 88 [ 14.382736] mwl_fwdl_download_firmware(): FwSize = 116208 downloaded Size = 116208 curr_iteration 65498 [ 14.647035] mwl_fwdl_download_firmware(): 0; [ 14.906195] mwl_fwdl_download_firmware(): 0; [ 15.165374] mwl_fwdl_download_firmware(): 0; [ 15.240638] mwl_fwdl_download_firmware(): complete [ 15.245533] mwl_process_of_dts(): 2G: disable [ 15.249913] mwl_process_of_dts(): 5G: enable [ 15.254239] mwl_process_of_dts(): TX: 4 antennas [ 15.258880] mwl_process_of_dts(): RX: 4 antennas [ 15.265415] mwl_fwcmd_get_hw_specs(): pcmd = ce45c000 [ 15.275524] mwl_fwcmd_set_hw_specs(): mwl_fwcmd_set_hw_specs ... [ 15.281563] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[0] = e480000 [ 15.287894] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[1] = e484000 [ 15.294228] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[2] = e488000 [ 15.300523] mwl_fwcmd_set_hw_specs(): -->pPhysTxRing[3] = e48c000 [ 15.306852] mwl_fwcmd_set_hw_specs(): -->pPhysRxRing = e8cc000 [ 15.313190] mwl_fwcmd_set_hw_specs(): -->numtxq 20 wcbperq 256 totalrxwcb 256 [ 15.325548] mwl_wl_init(): firmware version: 0x7020805 [ 15.347952] mwl_reg_notifier(): phy1: FCC [ 15.352035] mwl_reg_notifier(): Channel: 36: 0x0 0x0 0xf [ 15.357385] mwl_reg_notifier(): 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 [ 15.363455] mwl_reg_notifier(): Channel: 40: 0x0 0x0 0xf [ 15.368805] mwl_reg_notifier(): 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 [ 15.374876] mwl_reg_notifier(): Channel: 44: 0x0 0x0 0xf [ 15.380225] mwl_reg_notifier(): 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 [ 15.386296] mwl_reg_notifier(): Channel: 48: 0x0 0x0 0xf [ 15.391660] mwl_reg_notifier(): 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 [ 15.397703] mwl_reg_notifier(): Channel: 52: 0x0 0x0 0xf [ 15.403092] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 15.409825] mwl_reg_notifier(): Channel: 56: 0x0 0x0 0xf [ 15.415211] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 15.421982] mwl_reg_notifier(): Channel: 60: 0x0 0x0 0xf [ 15.427333] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 15.434113] mwl_reg_notifier(): Channel: 64: 0x0 0x0 0xf [ 15.439464] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 15.446232] mwl_reg_notifier(): Channel: 100: 0x0 0x0 0xf [ 15.451686] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.459122] mwl_reg_notifier(): Channel: 104: 0x0 0x0 0xf [ 15.464600] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.472070] mwl_reg_notifier(): Channel: 108: 0x0 0x0 0xf [ 15.477509] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.484973] mwl_reg_notifier(): Channel: 112: 0x0 0x0 0xf [ 15.490413] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.497876] mwl_reg_notifier(): Channel: 116: 0x0 0x0 0xf [ 15.503355] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.510785] mwl_reg_notifier(): Channel: 120: 0x0 0x0 0xf [ 15.516259] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.523727] mwl_reg_notifier(): Channel: 124: 0x0 0x0 0xf [ 15.529166] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.536629] mwl_reg_notifier(): Channel: 128: 0x0 0x0 0xf [ 15.542108] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.549538] mwl_reg_notifier(): Channel: 132: 0x0 0x0 0xf [ 15.555012] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.562481] mwl_reg_notifier(): Channel: 136: 0x0 0x0 0xf [ 15.567921] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.575384] mwl_reg_notifier(): Channel: 140: 0x0 0x0 0xf [ 15.580824] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 15.588287] mwl_reg_notifier(): Channel: 149: 0x0 0x0 0xf [ 15.593766] mwl_reg_notifier(): 16 16 16 16 14 14 14 14 15 15 15 15 14 14 14 14 [ 15.601196] mwl_reg_notifier(): Channel: 153: 0x0 0x0 0xf [ 15.606669] mwl_reg_notifier(): 15 15 15 15 15 15 15 15 15 15 15 15 14 14 14 14 [ 15.614138] mwl_reg_notifier(): Channel: 157: 0x0 0x0 0xf [ 15.619577] mwl_reg_notifier(): 15 15 15 15 15 15 15 15 15 15 15 15 14 14 14 14 [ 15.627041] mwl_reg_notifier(): Channel: 161: 0x0 0x0 0xf [ 15.632532] mwl_reg_notifier(): 15 15 15 15 15 15 15 15 15 15 15 15 14 14 14 14 [ 15.639960] mwl_reg_notifier(): Channel: 165: 0x0 0x0 0xf [ 15.645434] mwl_reg_notifier(): 16 16 16 16 16 16 16 16 15 15 15 15 14 14 14 14 [ 15.662585] i2c /dev entries driver [ 15.695365] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.707908] nf_conntrack version 0.5.0 (3988 buckets, 15952 max) [ 15.823448] xt_time: kernel timezone is -0000 [ 15.834485] PPP generic driver version 2.4.2 [ 15.839707] NET: Registered protocol family 24 [ 20.142711] device eth0 entered promiscuous mode [ 20.148936] br-lan: port 1(eth0) entered forwarding state [ 20.154436] br-lan: port 1(eth0) entered forwarding state [ 20.179348] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 20.790448] cfg80211: Calling CRDA for country: US [ 20.797008] mwl_reg_notifier(): phy1: FCC [ 20.801053] mwl_reg_notifier(): Channel: 36: 0x0 0x0 0xf [ 20.806442] mwl_reg_notifier(): 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 [ 20.812553] mwl_reg_notifier(): Channel: 40: 0x0 0x0 0xf [ 20.817904] mwl_reg_notifier(): 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 [ 20.823991] mwl_reg_notifier(): Channel: 44: 0x0 0x0 0xf [ 20.829341] mwl_reg_notifier(): 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 [ 20.835415] mwl_reg_notifier(): Channel: 48: 0x0 0x0 0xf [ 20.840789] mwl_reg_notifier(): 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 [ 20.846900] mwl_reg_notifier(): Channel: 52: 0x0 0x0 0xf [ 20.852354] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 20.859093] mwl_reg_notifier(): Channel: 56: 0x0 0x0 0xf [ 20.864481] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 20.871205] mwl_reg_notifier(): Channel: 60: 0x0 0x0 0xf [ 20.876576] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 20.883328] mwl_reg_notifier(): Channel: 64: 0x0 0x0 0xf [ 20.888664] mwl_reg_notifier(): f f f f f f f f 12 12 12 12 12 12 12 12 [ 20.895406] mwl_reg_notifier(): Channel: 100: 0x0 0x0 0xf [ 20.900828] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.908315] mwl_reg_notifier(): Channel: 104: 0x0 0x0 0xf [ 20.913802] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.921225] mwl_reg_notifier(): Channel: 108: 0x0 0x0 0xf [ 20.926672] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.934112] mwl_reg_notifier(): Channel: 112: 0x0 0x0 0xf [ 20.939536] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.947005] mwl_reg_notifier(): Channel: 116: 0x0 0x0 0xf [ 20.952485] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.959933] mwl_reg_notifier(): Channel: 120: 0x0 0x0 0xf [ 20.965421] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.972864] mwl_reg_notifier(): Channel: 124: 0x0 0x0 0xf [ 20.978301] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.985785] mwl_reg_notifier(): Channel: 128: 0x0 0x0 0xf [ 20.991227] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 20.998709] mwl_reg_notifier(): Channel: 132: 0x0 0x0 0xf [ 21.004165] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 21.011631] mwl_reg_notifier(): Channel: 136: 0x0 0x0 0xf [ 21.017060] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 21.024498] mwl_reg_notifier(): Channel: 140: 0x0 0x0 0xf [ 21.029922] mwl_reg_notifier(): 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 [ 21.037361] mwl_reg_notifier(): Channel: 149: 0x0 0x0 0xf [ 21.042836] mwl_reg_notifier(): 16 16 16 16 14 14 14 14 15 15 15 15 14 14 14 14 [ 21.050284] mwl_reg_notifier(): Channel: 153: 0x0 0x0 0xf [ 21.055759] mwl_reg_notifier(): 15 15 15 15 15 15 15 15 15 15 15 15 14 14 14 14 [ 21.063236] mwl_reg_notifier(): Channel: 157: 0x0 0x0 0xf [ 21.068675] mwl_reg_notifier(): 15 15 15 15 15 15 15 15 15 15 15 15 14 14 14 14 [ 21.076144] mwl_reg_notifier(): Channel: 161: 0x0 0x0 0xf [ 21.081625] mwl_reg_notifier(): 15 15 15 15 15 15 15 15 15 15 15 15 14 14 14 14 [ 21.089062] mwl_reg_notifier(): Channel: 165: 0x0 0x0 0xf [ 21.094538] mwl_reg_notifier(): 16 16 16 16 16 16 16 16 15 15 15 15 14 14 14 14 [ 21.102030] mwl_reg_notifier(): phy0: FCC [ 21.106081] mwl_reg_notifier(): Channel: 1: 0x0 0x0 0xf [ 21.111363] mwl_reg_notifier(): 17 11 11 11 10 10 10 10 f f f f 0 0 0 0 [ 21.118140] mwl_reg_notifier(): Channel: 2: 0x0 0x0 0xf [ 21.123438] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.130522] mwl_reg_notifier(): Channel: 3: 0x0 0x0 0xf [ 21.135809] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.142924] mwl_reg_notifier(): Channel: 4: 0x0 0x0 0xf [ 21.148187] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.155303] mwl_reg_notifier(): Channel: 5: 0x0 0x0 0xf [ 21.160565] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.167680] mwl_reg_notifier(): Channel: 6: 0x0 0x0 0xf [ 21.172977] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.180061] mwl_reg_notifier(): Channel: 7: 0x0 0x0 0xf [ 21.185356] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.192473] mwl_reg_notifier(): Channel: 8: 0x0 0x0 0xf [ 21.197755] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.204870] mwl_reg_notifier(): Channel: 9: 0x0 0x0 0xf [ 21.210133] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.217251] mwl_reg_notifier(): Channel: 10: 0x0 0x0 0xf [ 21.222633] mwl_reg_notifier(): 17 16 16 16 16 16 16 14 10 10 10 10 0 0 0 0 [ 21.229717] mwl_reg_notifier(): Channel: 11: 0x0 0x0 0xf [ 21.235097] mwl_reg_notifier(): 17 11 11 11 11 11 11 11 10 10 10 10 0 0 0 0 [ 21.242225] cfg80211: Regulatory domain changed to country: US [ 21.248082] cfg80211: DFS Master region: FCC [ 21.252316] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 21.262139] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A) [ 21.270171] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A) [ 21.279721] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s) [ 21.289274] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 21.297349] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 21.306672] br-lan: port 1(eth0) entered disabled state [ 22.131761] mvneta f1070000.ethernet eth0: link up [ 22.171726] mvneta f1074000.ethernet eth1: link up [ 22.244308] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 22.250385] br-lan: port 1(eth0) entered forwarding state [ 22.255918] br-lan: port 1(eth0) entered forwarding state [ 22.261631] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 22.275935] device wlan1 entered promiscuous mode [ 22.280805] br-lan: port 2(wlan1) entered forwarding state [ 22.286404] br-lan: port 2(wlan1) entered forwarding state [ 22.364044] br-lan: port 2(wlan1) entered disabled state [ 22.769719] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 22.779699] device wlan0 entered promiscuous mode [ 22.784667] br-lan: port 3(wlan0) entered forwarding state [ 22.790246] br-lan: port 3(wlan0) entered forwarding state [ 23.028010] br-lan: port 2(wlan1) entered forwarding state [ 23.033633] br-lan: port 2(wlan1) entered forwarding state [ 23.039289] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 23.137849] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 24.252224] br-lan: port 1(eth0) entered forwarding state [ 24.781675] br-lan: port 3(wlan0) entered forwarding state [ 25.041631] br-lan: port 2(wlan1) entered forwarding state


刷写固件

  • 升级上述任意一个固件需要你登录到 WRT1900ac 路由器上,打开浏览器并跳转到: 192.168.1.1
    • 默认密码是 admin
  • 总是 使用 有线 [LAN] 连接到你的路由器上更新固件, 不要通过无线连接.
    • 不遵守上述建议将大大提升路由器变砖的可能性

你如果更改了原厂固件的设置,可能想要保存 Linksys 的设定. 你 不能 将原来的设定导入到 OpenWRT 中, 但是当你刷回 Linksys 原厂固件后可以恢复这些设置. 要备份 Linksys 设置:

  1. 选择左侧的 Troubleshooting, 然后是 Diagnostics
  2. Router Configuration 的下面, 寻找 Restore Configuration, 接着选择 Backup

固件格式

  • 当从 Linksys 官方固件刷写时始终使用 "factory" 镜像. 保留的设置不会影响 OpenWrt,因为 OpenWrt 不像 Linksys 那样使用 syscfg 分区存储设置信息.
  • 当从 OpenWrt 刷写固件时使用 sysupgrade 镜像. 尽管使用 "factory" 镜像也可以,但是 "sysupgrade" 镜像有附加优势,它能在刷固件时保护 UBI 容器, 提供损耗平衡.

OEM --> OpenWRT

  1. 跳转到 Connectivity - Manual Update
  2. Choose File 之后选择上述链接下载的OpenWRT .img 文件
    • 一旦刷写完成, 路由会重新启动:
      • 如果你选择的 OpenWRT 固件预安装了 LuCI, 只需跳转回 192.168.1.1 之后登录
      • 如果你选择的 OpenWRT 固件没有预安装 LuCI, telnet 连接到路由并安装 LuCI
        opkg update ; opkg install luci

你可能需要刷新计算机的网络连接 [释放/重新获取 IP]:

  • 只需断开 LAN 线缆, 等待 5 秒, 之后重新插上线缆即可.
    • 最差情况重启计算机.
  • 一些互联网服务提供商的 ASDL/cable "猫"不允许你重新接入互联网,除非你:
    1. 关闭"猫" 路由器 (~15 sec)
    2. 开启"猫" 并且 等待它完全启动 (~60 sec)
    3. 开启路由器.

如果你选择的固件安装了 LUCI, 你可以访问 192.168.1.1 然后登录. 修改登录密码 (初始密码未设置):

  • 该密码是路由器的 管理 密码, 不是 连接设备的 WiFi 密码.
  • 请注意通过登录页面设置的密码没有确认步骤. 建议通过 System - Administration 页面设置密码或者通过 telnet, 因为它需要进行确认.

如果固件没有预置 LUCI, 你需要首先使用 192.168.1.1 通过 telnet 连接到路由器上,使用 passwd 命令设置管理密码. 设置密码之后可以使用 SSH 客户端安全登录到路由器上.

  • 无线默认 禁用 而且你需要给两个无线 [WiFi] 设置 ESSID 和密码.
    • 推荐使用 WPA2-PSK 和 Force CCMP (AES), 因为这两个是安全的加密方式.
      • 不要, 在任何情况下, 采用 WPS (WiFi Protected Setup); 它并不安全

OpenWRT --> OEM

  • 为了以后刷写固件,推荐首先保存你的 OpenWRT 配置
    • System - Backup/Flash Firmware - Generate Archive
    • 说明: 如果你需要在 OpenWRT 的大版本之间互刷, 最好 不要 恢复设置而是重新手动设置参数.
  1. 首先下载固件版本 1.1.8, using the instructions in the Revert to Linksys section.
  2. Login to OpenWRT via 192.168.1.1
  3. System - Backup/Flash Firmware
  4. Choose the Linksys OEM .img file saved from Revert to Linksys, untick Keep Settings, then Flash Image
  • 当在不同的 OpenWRT 版本之间互刷的时候,始终推荐 首先 刷回原厂 (Linksys) 固件, 然后从原厂重新刷入新的 OpenWRT 固件. .
    • 它是帮助防止你在刷固件过程中遇到问题的预防措施.

恢复备份固件

由 edgeman 贡献
手动切换 WRT1900ac 废弃 flash 到第二 [备份] flash:

  1. 长按复位按钮复位路由直到电源灯开始闪烁 {一般需要大约 15 秒}
    • 一旦电源灯停止闪烁, 用电源开关关闭路由器
  2. 重新打开电源,这时候电源灯点亮.
    • 在其他灯点亮的瞬间, 用电源开关关闭路由器.
  3. 重新打开电源,这时候电源灯点亮.
    • 在其他灯点亮的瞬间, 用电源开关关闭路由器.
  4. 重新打开电源,这时候电源灯点亮.
    • 在其他灯点亮的瞬间, 用电源开关关闭路由器.
  5. 重新打开电源,这时候电源灯点亮.
    • 让路由完全启动,现在应该使用了第二固件.

说明:

该方法仅在 u-Boot 的 auto_recovery 为开启状态才有效. 从 r46690 开始,OpenWrt 默认开启 auto_recovery 并且让它一直保持开启状态. 任何旧版本会在启动时把它关闭.

TFTP 刷固件

需求

  • USB to TTL cable (see picture below for connectivity)
  • A working serial interface like PuTTY or Tera Term (set speed to 115200 baud)
    • If using PuTTY, here is a pre-built profile to use for the serial connection
  • A TFTP Server running on a client workstation connected to the WRT1900AC via LAN (such as TFTP32)
    • A pre-built TFTP32 config file can be found here and must be placed in the TFTP root folder with the executable
      • You will need to customize line 36 [BaseDirectory=D:\TFTP\FLASH] to reflect your directory where the image file is located
  • TFTP Server LAN configured with IP Address 192.168.1.20
  • The firmware to load is in the TFTP Server ready for download.
    • Your image file directory must not contain any spaces
      • For example, D:\TFTP\Image-Directory\image-name.img
  • The PuTTY pre-built profile is a registry key, so I've also uploaded the same as a text file; all three files (tftp32.ini, serial.reg, serial.txt) can be found here

Instructions

  1. With router off, connect USB to TTL cable to router serial port & PC
    • This assumes you've installed the USB-TTL drivers and set correct COM port & BAUD rate
    • PuTTY pre-built profile is set to COM3, please update if yours is different
      • Line 206: "SerialLine"="COM3"
  2. Manually set your LAN IP to subnet 192.168.1.20/24 [255.255.255.0]
  3. Load Serial profile in PuTTY (should be a blank terminal window) & open TFTP server
  4. Boot WRT1900AC (should see u-boot output in terminal window)
  5. At the 3 second interrupt boot delay, press any key

U-Boot 命令

  • the exact name of the firmware image must be input
    • WRT1900AC v1
      • If image doesn't flash correctly, you may need to rename it to blk-mamba.128mb.img
  • If you want to be 100% sure you're running a firmware image, flash the firmware to both the primary and secondary image locations by substituting:
    • run update_both_images in place of run flash_pri_image

setenv firmware_name firmware_image_name.img 
 
setenv ipaddr 192.168.1.1
 
setenv netmask 255.255.255.0
 
setenv serverip 192.168.1.20
 
run flash_pri_image
 
OR
 
run update_both_images

刷写成功输出

Marvell>> setenv firmware_name blk-mamba.128mb.img
Marvell>> setenv ipaddr 192.168.1.1
Marvell>> setenv serverip 192.168.1.20
Marvell>> run flash_pri_image
mvNetaSpeedDuplexSet
Using egiga0 device
TFTP from server 192.168.1.20; our IP address is 192.168.1.1
Filename 'blk-mamba.128mb.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

恢复损坏的 Bootloader

nitroshift 贡献
离线使用: PDF DOC

前提

  • 运行 Linux 的计算机 (如果运行的是64位系统需要安装32位库文件)
  • USB – TTL 线
    • kwboot.tar
    • u-boot-nand.kwb
      • 传输到路由上写入 NAND
    • u-boot-uart.kwb
      • UART 启动

步骤

  1. 终端取得 root 权限:
    • sudo –i
  2. 安装 kwboot:
    • cd /home/kwboot/
      • 解压归档, 之后: tar –xvf kwboot.tar
      • 实际编译 kwboot: gcc kwboot.c
    • 保存 u-boot-nand.kwbu-boot-uart.kwb/home/kwboot/
  3. 设置 kwboot 为可执行:
    • Chmod 777 kwboot
  4. USB-TTL 线连接路由器和计算机 (不要开启路由器电源) 之后敲入下面的命令:
    • dmesg | grep USB
      • 记下 /dev/ttyUSB 之后的数字(它通常是 0), 然后:
    • chmod 666 /dev/ttyUSB0
  5. 使用 UART 镜像让路由器启动:
    • ./kwboot –a –t /dev/ttyUSB0 –b u-boot-uart.kwb 并且 给路由器上电
      • 上面使用的参数说明如下:
        • -a = 使用 Armada XP 定时器(timings)
        • -t = 传输完成后在同一 window 开启一个终端
        • -b = 要启动的文件
  6. 传输结束之后, 你应该在 Marvell » 提示符:
    • 如果你不在:
      • 路由器断电 - 断开连接在计算机上的 USB-TTL 线 - 回到 步骤 3
    • 如果你在:
      • 设置计算机的 TFTP 服务器 (比如 Ubuntu 的 tftpd 软件包)
      • u-boot-nand.kwb 放到它的 tftpboot 文件夹
  7. 设置计算机的 IP 地址为: 192.168.1.2, 网线连接计算机到路由器的任一 LAN 口之后敲入下面的命令在 Marvell » 提示符下:
    1. setenv ipaddr 192.168.1.1
    2. setenv serverip 192.168.1.2
    3. tftp 2000000 u-boot-nand.kwb
    4. nand erase 0 e0000
    5. nand write 2000000 0 e0000
  8. 如果上述命令成功完成, 通过下面命令重启路由器:
    • reset
      • 你应该看到路由启动并且停在 Marvell » 提示符
  9. 下载 WRT1900ac 的固件镜像然后保存到 tftpboot:
    • Marvell » 提示符下敲入下面命令:
      • tftp 192.168.1.2
      • get [固件镜像名称]
  10. 重要:
    • 传输成功结束之后, 不要敲入
      • run flash_pri_image 或者 run flash_alt_image
        • 任何一个会 再次让路由变砖 让你回到步骤 3
    • 而是应该敲入:
      • run_linksysnandboot
        • 如果该命令失败, 敲入: run_linksysaltnandboot
  11. 让路由完全启动:
    • 验证路由已经启动并且通过网络管理界面查看运行是否正常
    • 最后, 关闭路由器 - 断开 USB-TTL 线 - 重新上电

来源:
Nitroshift 的教程
This wouldn't have been possible without the help of Stefan Roese, from the authors of: U-boot

视频教程

Linux

  • 待加入 - 由 lifehacksback 制作

Mac

Windows

  • 待加入 - 由 lifehacksback 制作

串口

接头

  • 串口在板子上标记为 J1 而且采用了一个 2.0mm 间距JST PH 6 针 接头
  • 更常见的 2.54mm 间距接头不能完美适配 - this includes the female connectors on popular USB-TTL adapters; however, removing the plastic casing from 2.54mm female connectors allows for a stable enough connection in a pinch. (译者注:其实只需要GND、RX、TX三个针,我使用四根2.54mm杜邦线楞是插进去了,其中有一根是起固定作用的,完美刷机,仅供参考)
  • 合适的带线 JST PH 6 接头可在网上购买 (eBay 上很常见).

输出引脚

串口在板子上标记为 J10 . PCB 上的三角形指示为 pin 6.

Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6
GND RX ? TX ? +3.3

图片

已连接 JST PH6 线的串口接头 一般的 JST PH6 线
  • While the picture above shows leads 3 & 5 cut, it's not recommended to do so so. De-pinning the leads would be recommended.
    • De-pinning
      • use a small pick tool or paperclip to release the metal lock tab located on the top or bottom of the pin inside the plastic header. Depending on the style of terminal used in the header, the lock tab will accessible either from the back (most likely) or front (not common) of the terminal lead

3.5mm Jack

  • One example of a simple connection is the use of a 3.5mm stereo headphone jack, like the Philmore 504K [shown below] or a USB-TTL AJ (Audio Jack) cable. Avoid using any 3.5mm jack smaller than this type, as there will not be sufficient threads for the nut that holds the jack to the casing.
    • There are number of different versions of the 3.5mm female jack, some are barrel shaped like the Philmore, others are square shaped; some have terminals that point vertically, while others have terminals that point horizontally (it's user preference as to which one to use).
      • Female 3.5mm terminal jacks come in 6 types, 1 pin through 6 pin. The one purchased must be at least a 3 pin.
    • A number of companies sell pre-made USB-TTL AJ cables; of which, Pin 2 (Rx) will be the tip of the 3.5mm jack, and Pin 3 (Tx) will be the ring on the 3.5mm jack, and Pin 5 (Gnd) will be the Ground connector on the 3.5mm.
      • Inside the upper black housing, next to the antenna connector on the right side (front) of the unit, there is space for the 3.5mm socket.
      • On the inside of this housing, there are several ridges top to bottom, using a diagonal cutter you can easily trim one of these off to make space for this connector.
      • A 1/4" hole in the housing will let this mount easily.
    • For final assembly, be sure to insulate your connections on the 3.5mm jack; adhesive lined heat-shrink tubing around the soldered connection would be ideal for this.
      • While regular shrink tubing will work, adhesive lined provides strong stability to the joint it covers due to the thicker wall & rigidity from the adhesive once cured.

图片

Philmore 504K Finished Connection

Arduino

You can also use a RS-232 Serial to USB-TTL converter (MAX3232 below) or an Arduino.

WRT1900acVCC 3.3vTXRXGND
Arduino3.3 PIN 0PIN 1GND

MAX232 RS-232

  • The MAX3232 RS-232 Line Driver chip can be purchased as a breakout board from a number of sources, an example of this is shown below.
    • This chip will convert the TTL level RS-232 signals to the standard 12v voltage used by most RS-232 interfaces.

Photos

MAX3232 Board Underside of MAX3232
  • Boards will differ on exact connections, just be sure you connect the TTL side to the WRT1900AC, and the RS-232 side to your external connector.

过去的消息

下面的信息已经被最新版本取代, 放在这里仅供有兴趣的参考. WRT1900AC was announced on 6th of January 2014 as a router developed to be used with OpenWrt. Despite Linksys' announcement of working with OpenWrt community, no patches and no info were shared for the next several months. You can read the Official statement re: OpenWrt support for Linksys WRT1900AC at https://forum.openwrt.org/viewtopic.php?pid=230686 * On the 3rd of April 2014 Belkin posted link to ftp server containing patches adding WRT1900AC support. They couldn't be applied because of being incorrectly posted, not signed off and adding binary wireless driver ap8x.ko. * 5 days later a patchset in the form of single e-mail was posted to the openwrt-devel. It was malformed and not signed off, so still couldn't be applied. Release of wireless driver has been postponed. * Linksys started shipping on 10th or April * Wireless driver was announced to stay closed source on 30th of July. It'll likely consist of pre-built closed source part (so called "library") and probably some open source file calling kernel APIs. * Oddly, the wireless driver source was later distributed as part of the GPL release of the stock Linksys firmware. This driver requires significant refactoring before it can be included in OpenWRT. At this point it is not possible to compile a fully working (including WiFi) customized OpenWrt build for WRT1900AC. On Christmas Eve 2014, Marvell released an updated driver for the 88W8864 WiFi chip as found in the WRT1900AC to the openwrt developers mailing list https://lists.openwrt.org/pipermail/openwrt-devel/2014-December/030229.html At this time it is now possible to compile an image off trunk with this new driver. A prebuilt image can be found here: https://downloads.openwrt.org/snapshots/trunk/mvebu/


标签

For some Help with the Tags, please have a look here: tags

zh-cn/toh/linksys/wrt1900ac.txt · Last modified: 2017/05/30 11:42 by tmomas