Topic: ubiquiti EdgeRouter X (ER-X)

Hi!

i try to port for ubiquitis erx. The Serialconsole was easily figgured out and i stoped uboot.

screen /dev/ttyUSB0 57600 8N1

So i build an initramfs image for mediatek. the uboot is refusing it to boot! How to go on from here??


MT7621 # tftpboot ${fileaddr} openwrt-mediatek-uImage-initramfs

 netboot_common, argc= 3

 NetTxPacket = 0x8FFE55C0

 KSEG1ADDR(NetTxPacket) = 0xAFFE55C0

 NetLoop,call eth_halt !

 NetLoop,call eth_init !
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Filename 'openwrt-mediatek-uImage-initramfs'.

 TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: Got ARP REPLY, set server/gtwy eth addr (22:4e:7f:5a:d0:3c)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################
done
Bytes transferred = 2831244 (2b338c hex)
NetBootFileXferSize= 002b338c
MT7621 # bootm ${fileaddr}
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-4.1.11
   Image Type:   ARM Linux Kernel Image (lzma compressed)
   Data Size:    2831180 Bytes =  2.7 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
Unsupported Architecture 0x2
MT7621

regards
derdigge.

BTW it was the firsttime i tried to create a new device in the wiki and failed. Is there an working template like in the old wiki?
The new template is simply not useable ....

Re: ubiquiti EdgeRouter X (ER-X)

Why it is  ARM Linux Kernel Image? It should be MIPS. that why it Unsupported Architecture 0x2.

Re: ubiquiti EdgeRouter X (ER-X)

oh boy smile

sometimes i am a verry special kind of stupid wink

I simply put the wrong image to the tftpd root smile

it boots up without kernel panic but i need to add a device profile as it is special case with several eths and such....

Bootlog, openwrt :

[    0.000000] Linux version 3.18.23 (derdigge@skynet) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47461) ) #3 SMP Fri Nov 13 08:25:59 CET 2015
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Mediatek MT7621 evaluation board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80386240, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Detected 3 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] PERCPU: Embedded 9 pages/cpu @81049000 s5824 r8192 d22848 u36864
[    0.000000] pcpu-alloc: s5824 r8192 d22848 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00040184
[    0.000000] Readback ErrCtl register=00040184
[    0.000000] Memory: 26384K/32768K available (2965K kernel code, 153K rwdata, 552K rodata, 1948K init, 239K bss, 6384K reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] gic: revision 3.0
[    0.000000] CPU Clock: 880MHz
[    0.050000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
[    0.050000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.080000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.080000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.080000] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.180000] Synchronize counters for CPU 1: done.
[    0.180000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.180000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.180000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.190000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.280000] Synchronize counters for CPU 2: done.
[    0.290000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.290000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.290000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.290000] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.380000] Synchronize counters for CPU 3: done.
[    0.390000] Brought up 4 CPUs
[    0.400000] pinctrl core: initialized pinctrl subsystem
[    0.410000] NET: Registered protocol family 16
[    0.420000] rt2880-pinmux pinctrl: try to register 61 pins ...
[    0.420000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 52 (io52) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 53 (io53) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 54 (io54) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 55 (io55) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 56 (io56) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 57 (io57) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 58 (io58) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 59 (io59) on rt2880-pinmux
[    0.420000] pinctrl core: registered pin 60 (io60) on rt2880-pinmux
[    0.420000] pinctrl core: add 5 pinmux maps
[    0.420000] rt2880-pinmux pinctrl: found group selector 1 for i2c
[    0.420000] rt2880-pinmux pinctrl: found group selector 3 for uart2
[    0.420000] rt2880-pinmux pinctrl: found group selector 2 for uart3
[    0.420000] rt2880-pinmux pinctrl: found group selector 8 for rgmii2
[    0.420000] rt2880-pinmux pinctrl: found group selector 10 for sdhci
[    0.420000] rt2880-pinmux pinctrl: request pin 3 (io3) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 5 (io5) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 6 (io6) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl
[    0.420000] rt2880-pinmux pinctrl: failed to lookup the sleep state
[    0.420000] FPU Affinity set after 11720 emulations
[    0.420000] pinctrl core: add 1 pinmux maps
[    0.420000] rt2880-pinmux pinctrl: found group selector 6 for pcie
[    0.420000] rt2880-pinmux pinctrl: request pin 19 (io19) for 1e140000.pcie
[    0.420000] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.720000] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.730000] ***** Xtal 40MHz *****
[    0.730000] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.740000] Port 0 N_FTS = 1b102800
[    0.740000] Port 1 N_FTS = 1b102800
[    0.750000] Port 2 N_FTS = 1b102800
[    1.880000] PCIE0 no card, disable it(RST&CLK)
[    1.890000] PCIE1 no card, disable it(RST&CLK)
[    1.890000] PCIE2 no card, disable it(RST&CLK)
[    1.930000] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.940000] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.950000] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.960000] Switched to clocksource MIPS
[    1.970000] NET: Registered protocol family 2
[    1.980000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.000000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.010000] TCP: Hash tables configured (established 1024 bind 1024)
[    2.020000] TCP: reno registered
[    2.030000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.040000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.050000] NET: Registered protocol family 1
[    2.060000] PCI: CLS 0 bytes, default 32
[    3.670000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    3.670000] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    3.690000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.700000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.720000] msgmni has been set to 51
[    3.730000] io scheduler noop registered
[    3.740000] io scheduler deadline registered (default)
[    3.750000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.760000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    3.760000] console [ttyS0] disabled
[    3.770000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34, base_baud = 3125000) is a 16550A
[    3.790000] console [ttyS0] enabled
[    3.800000] bootconsole [early0] disabled
[    3.820000] pinctrl core: add 1 pinmux maps
[    3.820000] rt2880-pinmux pinctrl: found group selector 9 for spi
[    3.820000] rt2880-pinmux pinctrl: request pin 34 (io34) for 1e000b00.spi
[    3.820000] rt2880-pinmux pinctrl: request pin 35 (io35) for 1e000b00.spi
[    3.820000] rt2880-pinmux pinctrl: request pin 36 (io36) for 1e000b00.spi
[    3.820000] rt2880-pinmux pinctrl: request pin 37 (io37) for 1e000b00.spi
[    3.820000] rt2880-pinmux pinctrl: request pin 38 (io38) for 1e000b00.spi
[    3.820000] rt2880-pinmux pinctrl: request pin 39 (io39) for 1e000b00.spi
[    3.820000] rt2880-pinmux pinctrl: request pin 40 (io40) for 1e000b00.spi
[    3.820000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[    3.830000] spi_master spi32766: cannot find modalias for /palmbus@1E000000/spi@b00/m25p80@0
[    3.850000] netif_napi_add() called with weight 128 on device eth%d
[    3.870000] change HW-TRAP to 0x17ccf
[    3.880000] ralink_soc_eth 1e100000.ethernet: generated random MAC address 16:8e:37:77:74:1a
[    3.900000] libphy: mdio: probed
[    3.910000] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.930000] ralink_soc_eth 1e100000.ethernet eth0: ralink at 0xbe100000, irq 11
[    3.940000] mt7621_wdt 1e000100.wdt: Initialized
[    3.950000] TCP: cubic registered
[    3.960000] NET: Registered protocol family 10
[    3.970000] NET: Registered protocol family 17
[    3.980000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    4.000000] 8021q: 802.1Q VLAN Support v1.8
[    4.010000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    4.030000] Freeing unused kernel memory: 1948K (80399000 - 80580000)
[    4.050000] init: Console is alive
[    4.060000] init: - watchdog -
[    4.080000] usbcore: registered new interface driver usbfs
[    4.090000] usbcore: registered new interface driver hub
[    4.100000] usbcore: registered new device driver usb
[    4.140000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.160000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.180000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.200000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.220000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.240000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.260000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.280000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.300000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.320000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.380000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.400000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.420000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.440000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.460000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.480000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.500000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.520000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.540000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.560000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.710000] xhci-hcd 1e1c0000.xhci: xHCI Host Controller
[    4.720000] xhci-hcd 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.730000] xhci-hcd 1e1c0000.xhci: irq 30, io mem 0x1e1c0000
[    4.750000] usb usb1: no of_node; not parsing pinctrl DT
[    4.750000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    4.750000] hub 1-0:1.0: USB hub found
[    4.750000] hub 1-0:1.0: 2 ports detected
[    4.760000] xhci-hcd 1e1c0000.xhci: xHCI Host Controller
[    4.770000] xhci-hcd 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.790000] usb usb2: no of_node; not parsing pinctrl DT
[    4.790000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[    4.790000] hub 2-0:1.0: USB hub found
[    4.800000] hub 2-0:1.0: 1 port detected
[    4.800000] xhci-hcd xhci-hcd: no of_node; not parsing pinctrl DT
[    4.800000] xhci-hcd xhci-hcd: can't request region for resource [mem 0x1e1c0000-0x1e1cffff]
[    4.820000] xhci-hcd: probe of xhci-hcd failed with error -16
[    5.070000] init: - preinit -
[    6.870000] ralink_soc_eth 1e100000.ethernet eth0: port 0 link up
[    8.310000] procd: - early -
[    8.320000] procd: - watchdog -
[    8.940000] procd: - ubus -
[    9.950000] random: ubusd urandom read with 79 bits of entropy available
[    9.960000] procd: - init -
[   10.360000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.380000] Loading modules backported from Linux version master-2015-10-26-0-g28c26cb
[   10.400000] Backport generated by backports.git backports-20150903-4-g12cf266
[   10.420000] cfg80211: World regulatory domain updated:
[   10.430000] cfg80211:  DFS Master region: unset
[   10.440000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.460000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.480000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.490000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   10.510000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   10.530000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   10.550000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.560000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.580000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.620000] nf_conntrack version 0.5.0 (442 buckets, 1768 max)
[   10.710000] xt_time: kernel timezone is -0000
[   10.720000] PPP generic driver version 2.4.2
[   10.730000] NET: Registered protocol family 24
[   12.210000] random: nonblocking pool is initialized
[   13.760000] device eth0.1 entered promiscuous mode
[   13.770000] device eth0 entered promiscuous mode
[   13.790000] br-lan: port 1(eth0.1) entered forwarding state
[   13.800000] br-lan: port 1(eth0.1) entered forwarding state
[   15.800000] br-lan: port 1(eth0.1) entered forwarding state
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# logread
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: failed to lookup the sleep state
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] FPU Affinity set after 11720 emulations
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] pinctrl core: add 1 pinmux maps
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: found group selector 6 for pcie
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    0.420000] rt2880-pinmux pinctrl: request pin 19 (io19) for 1e140000.pcie
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.420000] pull PCIe RST: RALINK_RSTCTRL = 4000000
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.720000] release PCIe RST: RALINK_RSTCTRL = 7000000
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.730000] ***** Xtal 40MHz *****
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.730000] release PCIe RST: RALINK_RSTCTRL = 7000000
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.740000] Port 0 N_FTS = 1b102800
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.740000] Port 1 N_FTS = 1b102800
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    0.750000] Port 2 N_FTS = 1b102800
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    1.880000] PCIE0 no card, disable it(RST&CLK)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    1.890000] PCIE1 no card, disable it(RST&CLK)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    1.890000] PCIE2 no card, disable it(RST&CLK)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    1.930000] mt7621_gpio 1e000600.gpio: registering 32 gpios
Thu Nov 12 01:06:12 2015 kern.info kernel: [    1.940000] mt7621_gpio 1e000600.gpio: registering 32 gpios
Thu Nov 12 01:06:12 2015 kern.info kernel: [    1.950000] mt7621_gpio 1e000600.gpio: registering 32 gpios
Thu Nov 12 01:06:12 2015 kern.info kernel: [    1.960000] Switched to clocksource MIPS
Thu Nov 12 01:06:12 2015 kern.info kernel: [    1.970000] NET: Registered protocol family 2
Thu Nov 12 01:06:12 2015 kern.info kernel: [    1.980000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    2.000000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    2.010000] TCP: Hash tables configured (established 1024 bind 1024)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    2.020000] TCP: reno registered
Thu Nov 12 01:06:12 2015 kern.info kernel: [    2.030000] UDP hash table entries: 256 (order: 1, 8192 bytes)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    2.040000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    2.050000] NET: Registered protocol family 1
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    2.060000] PCI: CLS 0 bytes, default 32
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.670000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.670000] futex hash table entries: 1024 (order: 4, 65536 bytes)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.690000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.700000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.720000] msgmni has been set to 51
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.730000] io scheduler noop registered
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.740000] io scheduler deadline registered (default)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.750000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.760000] serial8250 serial8250: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.760000] console [ttyS0] disabled
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.770000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34, base_baud = 3125000) is a 16550A
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.790000] console [ttyS0] enabled
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.800000] bootconsole [early0] disabled
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] pinctrl core: add 1 pinmux maps
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: found group selector 9 for spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 34 (io34) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 35 (io35) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 36 (io36) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 37 (io37) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 38 (io38) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 39 (io39) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    3.820000] rt2880-pinmux pinctrl: request pin 40 (io40) for 1e000b00.spi
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.820000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
Thu Nov 12 01:06:12 2015 kern.err kernel: [    3.830000] spi_master spi32766: cannot find modalias for /palmbus@1E000000/spi@b00/m25p80@0
Thu Nov 12 01:06:12 2015 kern.err kernel: [    3.850000] netif_napi_add() called with weight 128 on device eth%d
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    3.870000] change HW-TRAP to 0x17ccf
Thu Nov 12 01:06:12 2015 kern.err kernel: [    3.880000] ralink_soc_eth 1e100000.ethernet: generated random MAC address 16:8e:37:77:74:1a
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.900000] libphy: mdio: probed
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.910000] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.930000] ralink_soc_eth 1e100000.ethernet eth0: ralink at 0xbe100000, irq 11
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.940000] mt7621_wdt 1e000100.wdt: Initialized
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.950000] TCP: cubic registered
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.960000] NET: Registered protocol family 10
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.970000] NET: Registered protocol family 17
Thu Nov 12 01:06:12 2015 kern.info kernel: [    3.980000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.000000] 8021q: 802.1Q VLAN Support v1.8
Thu Nov 12 01:06:12 2015 kern.err kernel: [    4.010000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.030000] Freeing unused kernel memory: 1948K (80399000 - 80580000)
Thu Nov 12 01:06:12 2015 user.info kernel: [    4.050000] init: Console is alive
Thu Nov 12 01:06:12 2015 user.info kernel: [    4.060000] init: - watchdog -
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.080000] usbcore: registered new interface driver usbfs
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.090000] usbcore: registered new interface driver hub
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.100000] usbcore: registered new device driver usb
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.140000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.160000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.180000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.200000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.220000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.240000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.260000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.280000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.300000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.320000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.380000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.400000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.420000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.440000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.460000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.480000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.500000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.520000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.540000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.560000] FM_OUT value: u4FmOut = 0(0x00000000)
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.710000] xhci-hcd 1e1c0000.xhci: xHCI Host Controller
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.720000] xhci-hcd 1e1c0000.xhci: new USB bus registered, assigned bus number 1
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.730000] xhci-hcd 1e1c0000.xhci: irq 30, io mem 0x1e1c0000
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    4.750000] usb usb1: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    4.750000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.750000] hub 1-0:1.0: USB hub found
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.750000] hub 1-0:1.0: 2 ports detected
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.760000] xhci-hcd 1e1c0000.xhci: xHCI Host Controller
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.770000] xhci-hcd 1e1c0000.xhci: new USB bus registered, assigned bus number 2
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    4.790000] usb usb2: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    4.790000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.790000] hub 2-0:1.0: USB hub found
Thu Nov 12 01:06:12 2015 kern.info kernel: [    4.800000] hub 2-0:1.0: 1 port detected
Thu Nov 12 01:06:12 2015 kern.debug kernel: [    4.800000] xhci-hcd xhci-hcd: no of_node; not parsing pinctrl DT
Thu Nov 12 01:06:12 2015 kern.err kernel: [    4.800000] xhci-hcd xhci-hcd: can't request region for resource [mem 0x1e1c0000-0x1e1cffff]
Thu Nov 12 01:06:12 2015 kern.warn kernel: [    4.820000] xhci-hcd: probe of xhci-hcd failed with error -16
Thu Nov 12 01:06:12 2015 user.info kernel: [    5.070000] init: - preinit -
Thu Nov 12 01:06:12 2015 kern.info kernel: [    6.870000] ralink_soc_eth 1e100000.ethernet eth0: port 0 link up
Thu Nov 12 01:06:12 2015 user.info kernel: [    8.310000] procd: - early -
Thu Nov 12 01:06:12 2015 user.info kernel: [    8.320000] procd: - watchdog -
Thu Nov 12 01:06:12 2015 user.info kernel: [    8.940000] procd: - ubus -
Thu Nov 12 01:06:12 2015 kern.notice kernel: [    9.950000] random: ubusd urandom read with 79 bits of entropy available
Thu Nov 12 01:06:12 2015 user.info kernel: [    9.960000] procd: - init -
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.360000] ip6_tables: (C) 2000-2006 Netfilter Core Team
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.380000] Loading modules backported from Linux version master-2015-10-26-0-g28c26cb
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.400000] Backport generated by backports.git backports-20150903-4-g12cf266
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.420000] cfg80211: World regulatory domain updated:
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.430000] cfg80211:  DFS Master region: unset
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.440000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.460000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.480000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.490000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.510000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.530000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.550000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.560000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.580000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.620000] nf_conntrack version 0.5.0 (442 buckets, 1768 max)
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.710000] xt_time: kernel timezone is -0000
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.720000] PPP generic driver version 2.4.2
Thu Nov 12 01:06:12 2015 kern.info kernel: [   10.730000] NET: Registered protocol family 24
Thu Nov 12 01:06:12 2015 kern.notice kernel: [   12.210000] random: nonblocking pool is initialized
Thu Nov 12 01:06:13 2015 daemon.info procd: - init complete -
Thu Nov 12 01:06:13 2015 kern.info kernel: [   13.760000] device eth0.1 entered promiscuous mode
Thu Nov 12 01:06:13 2015 kern.info kernel: [   13.770000] device eth0 entered promiscuous mode
Thu Nov 12 01:06:13 2015 kern.info kernel: [   13.790000] br-lan: port 1(eth0.1) entered forwarding state
Thu Nov 12 01:06:13 2015 kern.info kernel: [   13.800000] br-lan: port 1(eth0.1) entered forwarding state
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'lan' is enabled
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'lan' is setting up now
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'lan' is now up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'loopback' is enabled
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'loopback' is now up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'wan' is enabled
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'wan' is setting up now
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'wan6' is enabled
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Network device 'eth0' link is up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Network device 'lo' link is up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Thu Nov 12 01:06:13 2015 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'wan6' has link connectivity
Thu Nov 12 01:06:13 2015 daemon.notice netifd: Interface 'wan6' is setting up now
Thu Nov 12 01:06:13 2015 daemon.notice netifd: wan (846): udhcpc (v1.24.1) started
Thu Nov 12 01:06:13 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)

it detects 4 CPUs, now i will start with flash detection and so on.....

4 (edited by derdigge 2015-11-13 10:29:40)

Re: ubiquiti EdgeRouter X (ER-X)

new profile isnt recognized by make menuconfig?
i am fairly sure i do not know enough about the mecanics inside thetarget folder.

my file:

target/linux/ramips/mt7621/profiles/erx.mk

#
# Copyright (C) 2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define Profile/edgerouterx
    NAME:=edgerouterx
    PACKAGES:=
endef

define Profile/edgerouterx/Description
    edgerouterx package set compatible with Ubiquiti Edgerouter X.
endef
$(eval $(call Profile,edgerouterx))

i am really willing to make it work and submit a patch but i need help.
thanks

Re: ubiquiti EdgeRouter X (ER-X)

This information stored on your folder/tmp, just remove it and run make menuconfig again

Re: ubiquiti EdgeRouter X (ER-X)

thanks, works now.

next two questions.

how to link a dts file into profile? for memory / nand mapping. I know how to create one but dont know how buildmecanics link this file into.

how to insert the KCONFIG SYMBOL MTK_MTD_NAND [=y] ?

maybe someone drives by this thread having trouble with compiling nand kernelmodule, read this:
https://dev.openwrt.org/ticket/20902#comment:1

Re: ubiquiti EdgeRouter X (ER-X)

$(eval $(call Profile,edgerouterx))

this line execute profile in /target/linux/ramips/image/Makefile for example if name was ZBT-WA05

Image/Build/Profile/ZBT-WA05=$(call BuildFirmware/Default8M/$(1),$(1),zbt-wa05,ZBT-WA05)

, last ZBT-WA05 indicate dts file.

To insert MTK_MTD_NAND you can add it to packages erx.mk. I don't remember how it was.

Re: ubiquiti EdgeRouter X (ER-X)

Ok, Thanks for all your help but unfotunatly i am stuck.
No Matter what i do the flash cant be written.

I tried several way and several patches accross the mailing lists. The Flash(controller) of this device is some kind of special.
If someone gets support for the flash chip i am willing to go on but i reached the end of my abilitys.

Re: ubiquiti EdgeRouter X (ER-X)

erx.mk should follow the convention and should be called ubiquity.mk

this is a nor build but it does have a custom DTS based off of an existing one, https://github.com/nitroshift/witi/comm … abaa7b077e

I suspect your best bet as to how to obtain one is to somehow:
a) try to extract the existing device tree file and/or decompile it somehow from the dtb using the device tree compiler http://www.cnx-software.com/2014/05/12/ … are-files/
b) try to lookup information about devices one by one by logging into the stock firmware and looking around

As far as NAND goes, I guess you'd be creating a whole brand new mt7621_nand target, because you need different builtin kernel options not just different packages for a particular device. Usually, device profiles give you enough flexibility to support slightly different hardware by combining kernel module packages to match a specific devices, but that's not something you can use here before you even get to be able to read squashfs.

Have a look at how ar71xx nand , and how mvebu nand is set up.

Linksys WRT1900ac v2 :: Turris Omnia :: TP-Link Archer C7 v2 / WDR4300 / WR1043nd v1 / MR3040 v2.3 :: ASRock n3150-itx+KVM / Cisco E3000 :: MQmaker WiTi :: Raspberry Pi Model B / TL-WN822N :: Mikrotik hAP ac/hAP ac lite/HEX

10 (edited by derdigge 2015-11-24 10:40:09)

Re: ubiquiti EdgeRouter X (ER-X)

Hello Risk!

Thanks for your post.
The nandmodule is in a module from ubiquiti called  ubnt_platform and i have no idea whats happening "in there" I contacted support without satisfactional reply. "our knohow" we do not share these informations/code blablablabla

ubnt@ubnt:~$ ls /lib/modules/3.10.14-UBNT
extra                modules.builtin.bin  modules.softdep
kernel               modules.dep          modules.symbols
modules.alias        modules.dep.bin      modules.symbols.bin
modules.alias.bin    modules.devname
modules.builtin      modules.order
ubnt@ubnt:~$ ls /lib/modules/3.10.14-UBNT/kernel
crypto   drivers  lib      net
ubnt@ubnt:~$ ls /lib/modules/3.10.14-UBNT/kernel/drivers
input  net
ubnt@ubnt:~$ ls /lib/modules/3.10.14-UBNT/kernel/drivers/net
bonding     ifb.ko      macvlan.ko  slip        veth.ko
dummy.ko    imq.ko      ppp         tun.ko
ubnt@ubnt:~$ ls /lib/modules/3.10.14-UBNT/kernel/drivers/input
input-core.ko

ubnt@ubnt:~$ ls /lib/modules/3.10.14-UBNT/extra
ubnt_platform.ko

The commit from nitroshift is allready known by me. The witi board is using nor flash btw. Edgerouter X is using nandflash.
I was able to "read" flash with nanddump using this patch:
https://patchwork.ozlabs.org/project/op … mp;state=*

But writing is impossible. i had contact to the patch supplier by email and we´d tried some stuff but failed ......
I really want to see that device running because its a great vpn gateway. T tried with ramdiskimage.

Openvpn Throughput with iperf ~30-35Mbits. Nated as a Gateway with clients behing, client reach ~25-30Mbits.
Ipsec Ike2 reaches about 70Mbits without any tweaking..(AES-256

i will give this
http://sourceforge.net/p/wive-ng/wive-n … 5880c748c/

a last try.

Re: ubiquiti EdgeRouter X (ER-X)

Not my effort:

https://lists.openwrt.org/pipermail/ope … 37540.html

https://lists.openwrt.org/pipermail/ope … 37541.html

Will Test this next week

Re: ubiquiti EdgeRouter X (ER-X)

Did you get a chance to test this?

I'd be interested in this router, if only it ran OpenWRT...

And BTW, any thoughts about the stock firmware? I've heard that Ubiquiti uses Flash and/or Java in their router UIs - I e-mailed their support team and they confirmed but were really vague about it. That's the main reason I've held off from buying one, but being able to install OpenWRT would fix that problem easily.

Re: ubiquiti EdgeRouter X (ER-X)

The ER-X patches have now been merged (r47881) and I was able to install OpenWrt on my ER-X without any trouble (not counting having to remove the case to get at the serial console). I haven't put it into daily use or done any real performance testing yet though, so can't say much more than it runs and appears to work.

I've never used the stock firmware but afaik you can also configure it via a CLI.

Re: ubiquiti EdgeRouter X (ER-X)

shas wrote:

The ER-X patches have now been merged (r47881) and I was able to install OpenWrt on my ER-X without any trouble (not counting having to remove the case to get at the serial console). I haven't put it into daily use or done any real performance testing yet though, so can't say much more than it runs and appears to work.

Thanks for sharing! Would you mind reporting back when you've had a chance to put it to use? My current gateway only has a 400MHz AR7240 so I need more power... But I just want to make sure that this will be stable (the DIR-860L is another option with the same CPU, but more costly since it has WiFi that I don't need, and not wall-mountable).

15 (edited by rayknight 2016-02-09 22:11:36)

Re: ubiquiti EdgeRouter X (ER-X)

fa1404 wrote:

(the DIR-860L is another option with the same CPU, but more costly since it has WiFi that I don't need, and not wall-mountable).

Be careful if you purchase a DIR-860L as there are multiple versions.  The rev A1 is actually a Broadcom BCM47081A0 based device.  If you want the MediaTek MT7621AT based unit you need to ensure you're getting rev B1.

Re: ubiquiti EdgeRouter X (ER-X)

It seems that B1 only exists in Europe whereas A1 is in North America and old stocks in Europe.

Re: ubiquiti EdgeRouter X (ER-X)

Just installed openwrt on ERX, works.

but how to revert to stock firmware?

Re: ubiquiti EdgeRouter X (ER-X)

Just installed openwrt on ERX, works.

but how to revert to stock firmware?

Re: ubiquiti EdgeRouter X (ER-X)

What method did you use to install openwrt on the er-x? Just wondering if tftp worked, or you used a serial cable. If cable, which one would you recommend, as I don't have one but need to get one. Thanks.

Re: ubiquiti EdgeRouter X (ER-X)

it's very easy to install, flash factory image(not included in trunk,missing,or system forget to generate it. build it from buildroot) from stock firmware, then it will boot from iinitram, then flash sysupgrade image(you can find it in trunk) with sysupgrade command to install into nand, done.

but now i don't know how to revert to stock firmware, use mtd or??????

anyone can help?

Re: ubiquiti EdgeRouter X (ER-X)

rickshen wrote:

it's very easy to install, flash factory image(not included in trunk,missing,or system forget to generate it. build it from buildroot) from stock firmware, then it will boot from iinitram, then flash sysupgrade image(you can find it in trunk) with sysupgrade command to install into nand, done.

but now i don't know how to revert to stock firmware, use mtd or??????

anyone can help?

Hey there, you can flash its stock kernel using mtd and restore rootfs mounting its UBIFS volume.

if you have serial access to it, boot OpenWRT image which has initramfs, trough TFTP.

Download the stock firmware here: http://dl.ubnt.com/firmwares/edgemax/v1 … 783374.tar

Re: ubiquiti EdgeRouter X (ER-X)

polaco1782 wrote:
rickshen wrote:

it's very easy to install, flash factory image(not included in trunk,missing,or system forget to generate it. build it from buildroot) from stock firmware, then it will boot from iinitram, then flash sysupgrade image(you can find it in trunk) with sysupgrade command to install into nand, done.

but now i don't know how to revert to stock firmware, use mtd or??????

anyone can help?

Hey there, you can flash its stock kernel using mtd and restore rootfs mounting its UBIFS volume.

if you have serial access to it, boot OpenWRT image which has initramfs, trough TFTP.

Download the stock firmware here: http://dl.ubnt.com/firmwares/edgemax/v1 … 783374.tar


Thx pal, but can you give detailed commands and procedure to do it?. I am just a newbie. appreciated

Re: ubiquiti EdgeRouter X (ER-X)

How close is this to having a regular flash-able firmware through UI (without needing serial)?
I know the hardware table still shows it as an upside down question mark (https://wiki.openwrt.org/toh/start?data … D=ubiquiti)

Re: ubiquiti EdgeRouter X (ER-X)

If I remember, and gave some time, I'll Tanner there cover off from my unit tomorrow and post some pics.

Re: ubiquiti EdgeRouter X (ER-X)

Sorted, needed a TTL serial cable.