[FS#3313] ath79/mikrotik: initramfs image is missing the nand-utils
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Mon Aug 31 07:02:13 EDT 2020
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#3313 - ath79/mikrotik: initramfs image is missing the nand-utils
User who did this - rogerpueyo (rogerpueyo)
----------
However, locally-built initramfs images, generated by only selecting these options:
Target System (Atheros ATH79 (DTS)) ---> Subtarget (MikroTik devices) ---> Target Profile (MikroTik RouterBOARD SXT 5nD r2 (SXT Lite5)) --->
**do include** the nand-utils package:
root at OpenWrt:/# ls -la /usr/sbin/n*
-rwxr-xr-x 1 root root 20501 Aug 31 09:19 /usr/sbin/nanddump
-rwxr-xr-x 1 root root 8213 Aug 31 09:19 /usr/sbin/nandtest
-rwxr-xr-x 1 root root 24597 Aug 31 09:19 /usr/sbin/nandwrite
lrwxrwxrwx 1 root root 17 Aug 31 09:19 /usr/sbin/ntpd -> ../../bin/busybox
-rwxr-xr-x 1 root root 45 Aug 31 09:19 /usr/sbin/ntpd-hotplug
root at OpenWrt:/# sysupgrade -v -n /tmp/openwrt-ath79-mikrotik-mikrotik_routerboar
d-sxt-5nd-r2-squashfs-sysupgrade.bin
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... hostapd wpa_supplicant netifd odhcpd ntpd dnsmasq ubusd urngd logd
Sending KILL to remaining processes ...
Performing system upgrade...
Unlocking kernel ...
Erasing kernel ...
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Writing data to block 4 at offset 0x80000
Writing data to block 5 at offset 0xa0000
Writing data to block 6 at offset 0xc0000
Writing data to block 7 at offset 0xe0000
Writing data to block 8 at offset 0x100000
Writing data to block 9 at offset 0x120000
Writing data to block 10 at offset 0x140000
Writing data to block 11 at offset 0x160000
Writing data to block 12 at offset 0x180000
Writing data to block 13 at offset 0x1a0000
Writing data to block 14 at offset 0x1c0000
Writing data to block 15 at offset 0x1e0000
Writing data to block 16 at offset 0x200000
Writing data to block 17 at offset 0x220000
Writing data to block 18 at offset 0x240000
[ 69.068982] ubi0: attaching mtd2
[ 69.725009] ubi0: scanning is finished
[ 69.728911] ubi0: empty MTD device detected
[ 69.756713] ubi0: attached mtd2 (name "ubi", size 124 MiB)
[ 69.762455] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 69.769575] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 69.776505] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 69.783520] ubi0: good PEBs: 991, bad PEBs: 1, corrupted PEBs: 0
[ 69.789730] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 69.797197] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 121828761
[ 69.806548] ubi0: available PEBs: 968, total reserved PEBs: 23, PEBs reserved for bad PEB handling: 19
[ 69.816209] ubi0: background thread "ubi_bgt0d" started, PID 1694
UBI device number 0, total 991 LEBs (127862784 bytes, 121.9 MiB), available 968 LEBs (124895232 bytes, 119.1 MiB), LEB size 129024 bytes (126.0 KiB)
Volume ID 0, size 19 LEBs (2451456 bytes, 2.3 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "none", alignment 1
Volume ID 1, size 21 LEBs (2709504 bytes, 2.5 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 119734272
Volume ID 2, size 928 LEBs (119734272 bytes, 114.1 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 74.130939] reboot: Restarting systemt
�
so there might be some problem with the builds system.
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3313#comment8726
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list