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

Alen Opacic subixonfire at gmail.com
Thu Feb 23 11:46:19 PST 2017


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>



More information about the Lede-dev mailing list