[LEDE-DEV] Mikrotik sysupgrade install not working on sxt lite2.

Alen Opacic subixonfire at gmail.com
Sun Feb 26 09:20:11 PST 2017


log from initramfs while routeros on nand:
root at LEDE:~# dmesg
[    0.000000] Linux version 4.4.50
(buildbot at builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE
GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8042e4d0,
node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 16256
[    0.000000] Kernel command line: parts=1 boot_part_size=4194304
gpio=228923 HZ=300000000 mem=64M kmac=4C:5E:0C:DD:A5:54 board=sxt5n
boot=0 mlc=7 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 57988K/65536K available (3394K kernel code,
174K rwdata, 468K rodata, 2292K init, 203K bss, 7548K reserved, 0K
cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 6370868154 ns
[    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
every 7158278654ns
[    0.008859] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[    0.081947] pid_max: default: 32768 minimum: 301
[    0.087321] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094846] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.105537] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117936] NET: Registered protocol family 16
[    0.124541] MIPS: machine is Mikrotik RouterBOARD SXT Lite5
[    0.361624] clocksource: Switched to clocksource MIPS
[    0.368540] NET: Registered protocol family 2
[    0.374515] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.382497] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.389718] TCP: Hash tables configured (established 1024 bind 1024)
[    0.397039] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.403721] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.411130] NET: Registered protocol family 1
[    0.416150] PCI: CLS 0 bytes, default 32
[    3.059448] futex hash table entries: 256 (order: -1, 3072 bytes)
[    3.066513] Crashlog allocated RAM at address 0x3f00000
[    3.087978] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.094653] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.108704] io scheduler noop registered
[    3.113217] io scheduler deadline registered (default)
[    3.119339] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.129464] console [ttyS0] disabled
[    3.153707] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
base_baud = 1562500) is a 16550A
[    3.163506] console [ttyS0] enabled
[    3.246999] bootconsole [early0] disabled
[    3.348877] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    3.425110] nand: Toshiba NAND 128MiB 3,3V 8-bit
[    3.480472] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
2048, OOB size: 64
[    3.571393] Scanning device for bad blocks
[    3.727044] Bad eraseblock 768 at 0x000006000000
[    3.817732] Creating 3 MTD partitions on "ar934x-nfc":
[    3.879403] 0x000000000000-0x000000040000 : "booter"
[    3.940552] 0x000000040000-0x000000400000 : "kernel"
[    4.002003] 0x000000400000-0x000008000000 : "ubi"
[    4.078242] libphy: ag71xx_mdio: probed
[    4.713381] ag71xx-mdio.1: Found an AR934X built-in switch
[    4.815812] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    4.890329] NET: Registered protocol family 10
[    4.948470] NET: Registered protocol family 17
[    5.001898] bridge: automatic filtering via arp/ip/ip6tables has
been deprecated. Update your scripts to load br_netfilter if you need
this.
[    5.153388] 8021q: 802.1Q VLAN Support v1.8
[    5.207548] UBI error: no valid UBI magic found inside mtd2
[    5.287623] Freeing unused kernel memory: 2292K (80453000 - 80690000)
[    5.381163] init: Console is alive
[    5.422276] init: - watchdog -
[    5.480010] init: - preinit -
[    5.716917] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.808548] random: procd: uninitialized urandom read (4 bytes
read, 71 bits of entropy available)
[    7.412870] eth0: link up (1000Mbps/Full duplex)
[    7.468325] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.048069] eth0: link down
[    9.093218] procd: - early -
[    9.127952] procd: - watchdog -
[    9.723266] procd: - ubus -
[    9.764582] random: ubusd: uninitialized urandom read (4 bytes
read, 77 bits of entropy available)
[    9.874143] random: ubusd: uninitialized urandom read (4 bytes
read, 77 bits of entropy available)
[    9.982299] random: ubusd: uninitialized urandom read (4 bytes
read, 77 bits of entropy available)
[   10.090048] random: ubusd: uninitialized urandom read (4 bytes
read, 77 bits of entropy available)
[   10.197943] random: ubusd: uninitialized urandom read (4 bytes
read, 77 bits of entropy available)
[   10.305638] random: ubusd: uninitialized urandom read (4 bytes
read, 77 bits of entropy available)
[   10.413459] random: ubusd: uninitialized urandom read (4 bytes
read, 78 bits of entropy available)
[   10.521340] random: ubusd: uninitialized urandom read (4 bytes
read, 78 bits of entropy available)
[   10.629430] procd: - init -
[   10.833748] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.909722] Loading modules backported from Linux version
wt-2016-10-03-1-g6fcb1a6
[   11.000647] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   11.089492] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.161967] nf_conntrack version 0.5.0 (941 buckets, 3764 max)
[   11.270519] xt_time: kernel timezone is -0000
[   11.385821] PPP generic driver version 2.4.2
[   11.439758] NET: Registered protocol family 24
[   11.541226] ath: EEPROM regdomain: 0x0
[   11.541248] ath: EEPROM indicates default country code should be used
[   11.541257] ath: doing EEPROM country->regdmn map search
[   11.541279] ath: country maps to regdmn code: 0x3a
[   11.541290] ath: Country alpha2 being used: US
[   11.541299] ath: Regpair used: 0x3a
[   11.554767] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.560747] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   12.018618] random: jshn: uninitialized urandom read (4 bytes read,
79 bits of entropy available)
[   19.078173] device eth0 entered promiscuous mode
[   19.252891] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   20.672910] eth0: link up (1000Mbps/Full duplex)
[   20.791686] br-lan: port 1(eth0) entered forwarding state
[   20.856490] br-lan: port 1(eth0) entered forwarding state
[   21.051685] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   22.851637] br-lan: port 1(eth0) entered forwarding state


log frmo initramfs after sysupgrade:
root at LEDE:~# dmesg
[    0.000000] Linux version 4.4.50
(buildbot at builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE
GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8042e4d0,
node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 16256
[    0.000000] Kernel command line: parts=1 boot_part_size=4194304
gpio=261675 HZ=300000000 mem=64M kmac=4C:5E:0C:DD:A5:54 board=sxt5n
ver=3.22 hw_opt=00200001 boot=1 mlc=8 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 57988K/65536K available (3394K kernel code,
174K rwdata, 468K rodata, 2292K init, 203K bss, 7548K reserved, 0K
cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 6370868154 ns
[    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
every 7158278654ns
[    0.008860] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[    0.081947] pid_max: default: 32768 minimum: 301
[    0.087321] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094846] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.105579] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117974] NET: Registered protocol family 16
[    0.124605] MIPS: machine is Mikrotik RouterBOARD SXT Lite5
[    0.361771] clocksource: Switched to clocksource MIPS
[    0.368684] NET: Registered protocol family 2
[    0.374660] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.382649] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.389870] TCP: Hash tables configured (established 1024 bind 1024)
[    0.397191] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.403874] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.411283] NET: Registered protocol family 1
[    0.416311] PCI: CLS 0 bytes, default 32
[    3.060957] futex hash table entries: 256 (order: -1, 3072 bytes)
[    3.068028] Crashlog allocated RAM at address 0x3f00000
[    3.089507] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.096185] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.110259] io scheduler noop registered
[    3.114767] io scheduler deadline registered (default)
[    3.120890] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.131017] console [ttyS0] disabled
[    3.155264] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
base_baud = 1562500) is a 16550A
[    3.165065] console [ttyS0] enabled
[    3.248553] bootconsole [early0] disabled
[    3.350438] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    3.426664] nand: Toshiba NAND 128MiB 3,3V 8-bit
[    3.482025] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
2048, OOB size: 64
[    3.572940] Scanning device for bad blocks
[    3.728580] Bad eraseblock 768 at 0x000006000000
[    3.819237] Creating 3 MTD partitions on "ar934x-nfc":
[    3.880853] 0x000000000000-0x000000040000 : "booter"
[    3.942066] 0x000000040000-0x000000400000 : "kernel"
[    4.003494] 0x000000400000-0x000008000000 : "ubi"
[    4.079865] libphy: ag71xx_mdio: probed
[    4.713528] ag71xx-mdio.1: Found an AR934X built-in switch
[    4.815955] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    4.890531] NET: Registered protocol family 10
[    4.948671] NET: Registered protocol family 17
[    5.002095] bridge: automatic filtering via arp/ip/ip6tables has
been deprecated. Update your scripts to load br_netfilter if you need
this.
[    5.153583] 8021q: 802.1Q VLAN Support v1.8
[    5.207734] UBI: auto-attach mtd2
[    5.245407] ubi0: attaching mtd2
[    5.891298] random: nonblocking pool is initialized
[    6.975271] ubi0: scanning is finished
[    7.039354] ubi0: attached mtd2 (name "ubi", size 124 MiB)
[    7.105208] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    7.187682] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    7.268108] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    7.349580] ubi0: good PEBs: 991, bad PEBs: 1, corrupted PEBs: 0
[    7.421668] ubi0: user volume: 3, internal volumes: 1, max. volumes
count: 128
[    7.508360] ubi0: max/mean erase counter: 1/0, WL threshold: 4096,
image sequence number: 1976066036
[    7.617998] ubi0: available PEBs: 0, total reserved PEBs: 991, PEBs
reserved for bad PEB handling: 19
[    7.728736] ubi0: background thread "ubi_bgt0d" started, PID 302
[    7.802978] block ubiblock0_1: created from ubi0:1(rootfs)
[    7.868834] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    7.968092] Freeing unused kernel memory: 2292K (80453000 - 80690000)
[    8.059771] init: Console is alive
[    8.100901] init: - watchdog -
[    8.158582] init: - preinit -
[    8.387088] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.983020] eth0: link up (1000Mbps/Full duplex)
[   10.038568] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.615684] eth0: link down
[   11.660217] procd: - early -
[   11.695544] procd: - watchdog -
[   12.298030] procd: - ubus -
[   12.384225] procd: - init -
[   12.588293] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.664281] Loading modules backported from Linux version
wt-2016-10-03-1-g6fcb1a6
[   12.755187] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   12.844109] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.916425] nf_conntrack version 0.5.0 (941 buckets, 3764 max)
[   13.025079] xt_time: kernel timezone is -0000
[   13.138101] PPP generic driver version 2.4.2
[   13.192061] NET: Registered protocol family 24
[   13.293835] ath: EEPROM regdomain: 0x0
[   13.293857] ath: EEPROM indicates default country code should be used
[   13.293867] ath: doing EEPROM country->regdmn map search
[   13.293888] ath: country maps to regdmn code: 0x3a
[   13.293899] ath: Country alpha2 being used: US
[   13.293908] ath: Regpair used: 0x3a
[   13.307324] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.313386] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   20.778235] device eth0 entered promiscuous mode
[   20.953094] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   22.373025] eth0: link up (1000Mbps/Full duplex)
[   22.491841] br-lan: port 1(eth0) entered forwarding state
[   22.556693] br-lan: port 1(eth0) entered forwarding state
[   22.751859] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.551849] br-lan: port 1(eth0) entered forwarding state



2017-02-23 20:46 GMT+01:00 Alen Opacic <subixonfire at gmail.com>:
> Sxt LIte2(sxt2ndr2) boot log:
>
> [    0.000000] Linux version 4.4.49 (buildbot at builds) (gcc version
> 5.4.0 (LEDE GCC 5.4.0 r3511-04c4b6f) ) #0 Mon Feb 20 09:21:42 2017
> [    0.000000] bootconsole [early0] enabled
> [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
> [    0.000000] SoC: Atheros AR9344 rev 3
> [    0.000000] Determined physical RAM map:
> [    0.000000]  memory: 04000000 @ 00000000 (usable)
> [    0.000000] User-defined physical RAM map:
> [    0.000000]  memory: 04000000 @ 00000000 (usable)
> [    0.000000] Initrd not found or empty - disabling initrd
> [    0.000000] No valid device tree found, continuing without
> [    0.000000] Zone ranges:
> [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
> [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
> [    0.000000] On node 0 totalpages: 16384
> [    0.000000] free_area_init_node: node 0, pgdat 804904d0,
> node_mem_map 81000000
> [    0.000000]   Normal zone: 128 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
> [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
> [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
> linesize 32 bytes
> [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> [    0.000000] pcpu-alloc: [0] 0
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> Total pages: 16256
> [    0.000000] Kernel command line: parts=1 boot_part_size=4194304
> gpio=228923 HZ=300000000 mem=64M kmac=4C:5E:0C:DD:A5:54 board=sxt5n
> boot=0 mlc=7 rootfstype=squashfs noinitrd
> [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
> [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Writing ErrCtl register=00000000
> [    0.000000] Readback ErrCtl register=00000000
> [    0.000000] Memory: 57856K/65536K available (3408K kernel code,
> 179K rwdata, 840K rodata, 2028K init, 204K bss, 7680K reserved, 0K
> cma-reserved)
> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] NR_IRQS:51
> [    0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz,
> Ref:25.000MHz
> [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 6370868154 ns
> [    0.000009] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps
> every 7158278654ns
> [    0.008859] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
> [    0.081948] pid_max: default: 32768 minimum: 301
> [    0.087320] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.094840] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.105794] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 19112604462750000 ns
> [    0.118345] NET: Registered protocol family 16
> [    0.125038] MIPS: machine is Mikrotik RouterBOARD SXT Lite5
> [    0.363076] clocksource: Switched to clocksource MIPS
> [    0.370196] NET: Registered protocol family 2
> [    0.376159] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.384143] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.391366] TCP: Hash tables configured (established 1024 bind 1024)
> [    0.398691] UDP hash table entries: 256 (order: 0, 4096 bytes)
> [    0.405370] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> [    0.412832] NET: Registered protocol family 1
> [    0.417871] PCI: CLS 0 bytes, default 32
> [    2.689687] futex hash table entries: 256 (order: -1, 3072 bytes)
> [    2.696780] Crashlog allocated RAM at address 0x3f00000
> [    2.718540] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    2.725241] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
> (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
> [    2.798025] io scheduler noop registered
> [    2.802493] io scheduler deadline registered (default)
> [    2.808701] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
> [    2.818749] console [ttyS0] disabled
> [    2.842979] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
> base_baud = 1562500) is a 16550A
> [    2.852789] console [ttyS0] enabled
> [    2.936349] bootconsole [early0] disabled
> [    3.038841] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
> [    3.115086] nand: Toshiba NAND 128MiB 3,3V 8-bit
> [    3.170445] nand: 128 MiB, SLC, erase size: 128 KiB, page size:
> 2048, OOB size: 64
> [    3.261370] Scanning device for bad blocks
> [    3.416114] Bad eraseblock 768 at 0x000006000000
> [    3.506563] Creating 3 MTD partitions on "ar934x-nfc":
> [    3.568229] 0x000000000000-0x000000040000 : "booter"
> [    3.629341] 0x000000040000-0x000000400000 : "kernel"
> [    3.690716] 0x000000400000-0x000008000000 : "ubi"
> [    3.840290] libphy: ag71xx_mdio: probed
> [    4.474837] ag71xx-mdio.1: Found an AR934X built-in switch
> [    4.577232] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
> [    4.651863] NET: Registered protocol family 10
> [    4.710174] NET: Registered protocol family 17
> [    4.763658] bridge: automatic filtering via arp/ip/ip6tables has
> been deprecated. Update your scripts to load br_netfilter if you need
> this.
> [    4.915148] 8021q: 802.1Q VLAN Support v1.8
> [    4.969495] UBI: auto-attach mtd2
> [    5.007162] ubi0: attaching mtd2
> [    5.655900] random: nonblocking pool is initialized
> [    6.735488] ubi0: scanning is finished
> [    6.799577] ubi0: attached mtd2 (name "ubi", size 124 MiB)
> [    6.865403] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
> [    6.947872] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
> [    7.028304] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
> [    7.109774] ubi0: good PEBs: 991, bad PEBs: 1, corrupted PEBs: 0
> [    7.181864] ubi0: user volume: 3, internal volumes: 1, max. volumes
> count: 128
> [    7.268553] ubi0: max/mean erase counter: 1/0, WL threshold: 4096,
> image sequence number: 1570949006
> [    7.378191] ubi0: available PEBs: 0, total reserved PEBs: 991, PEBs
> reserved for bad PEB handling: 19
> [    7.488932] ubi0: background thread "ubi_bgt0d" started, PID 304
> [    7.563139] block ubiblock0_1: created from ubi0:1(rootfs)
> [    7.628983] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
> [    7.726732] Freeing unused kernel memory: 2028K (804b5000 - 806b0000)
> [    7.818293] init: Console is alive
> [    7.859421] init: - watchdog -
> [    7.911490] kmodloader: loading kernel modules from /etc/modules-boot.d/*
> [    7.995762] kmodloader: done loading kernel modules from
> /etc/modules-boot.d/*
> [    8.092963] init: - preinit -
> [    8.338394] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [    9.934325] eth0: link up (1000Mbps/Full duplex)
> [    9.989779] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   11.567712] eth0: link down
> [   11.612223] procd: - early -
> [   11.647569] procd: - watchdog -
> [   12.249537] procd: - ubus -
> [   12.335764] procd: - init -
> [   12.544516] kmodloader: loading kernel modules from /etc/modules.d/*
> [   12.625395] ip6_tables: (C) 2000-2006 Netfilter Core Team
> [   12.702140] Loading modules backported from Linux version
> wt-2017-01-31-0-ge882dff19e7f
> [   12.798300] Backport generated by backports.git
> backports-20160324-13-g24da7d3c
> [   12.893549] ip_tables: (C) 2000-2006 Netfilter Core Team
> [   12.966578] nf_conntrack version 0.5.0 (935 buckets, 3740 max)
> [   13.087835] xt_time: kernel timezone is -0000
> [   13.205582] PPP generic driver version 2.4.2
> [   13.259654] NET: Registered protocol family 24
> [   13.362601] ath: EEPROM regdomain: 0x0
> [   13.362624] ath: EEPROM indicates default country code should be used
> [   13.362634] ath: doing EEPROM country->regdmn map search
> [   13.362655] ath: country maps to regdmn code: 0x3a
> [   13.362666] ath: Country alpha2 being used: US
> [   13.362675] ath: Regpair used: 0x3a
> [   13.376151] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   13.382048] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
> [   13.588578] kmodloader: done loading kernel modules from /etc/modules.d/*
> [   20.649641] device eth0 entered promiscuous mode
> [   20.824351] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
> [   22.244326] eth0: link up (1000Mbps/Full duplex)
> [   22.363167] br-lan: port 1(eth0) entered forwarding state
> [   22.427999] br-lan: port 1(eth0) entered forwarding state
> [   22.623138] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
> [   24.423129] br-lan: port 1(eth0) entered forwarding state
>
> For the sxtg-2hnd (the version with usb, gb lan that newer worked with
> openwrt) i cant send a boot log, as it doesn't boot and I didn't get
> serial to work, at least for now.
>
> 2017-02-21 0:29 GMT+01:00 Alen Opacic <subixonfire at gmail.com>:
>> On sxt lite 2 (older version with 128mb nand flash) using
>> lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-mikrotik-vmlinux-initramfs.elf image,
>> than sysupgrade to
>> lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-mikrotik-nand-
>> large-squashfs-sysupgrade.bin.
>> After reboot sxt is in a boot loop state, boots allways from network boot
>> (tftp). This can be called a regresion since this sxt works fine with CC
>> and wget2nand.
>>
>> How can i help debug this ishue.
>>
>> Ps: if someone can help maybe we can get sxtg2hnd
>> (not lite version) to work with
>> openwrt. This one as far as i know newer worked with openwrt/lede.
>
>
>
> --
> <a href="//ipv6.he.net/certification/scoresheet.php?pass_name=subixonfire"
> target="_blank"><img
> src="//ipv6.he.net/certification/create_badge.php?pass_name=subixonfire&badge=1"
> style="border: 0; width: 128px; height: 128px" alt="IPv6 Certification
> Badge for subixonfire"></img></a>



-- 
<a href="//ipv6.he.net/certification/scoresheet.php?pass_name=subixonfire"
target="_blank"><img
src="//ipv6.he.net/certification/create_badge.php?pass_name=subixonfire&badge=1"
style="border: 0; width: 128px; height: 128px" alt="IPv6 Certification
Badge for subixonfire"></img></a>



More information about the Lede-dev mailing list