first of all - it cannot confirm it:
root@OpenWrt:/tmp# sysupgrade -v /tmp/sysupgrade.bin
Device seagate,blackarmor-nas220 not supported by this image
Supported devices: seagate,nas220 blackarmor-nas220
Image check 'fwtool_check_image' failed.
...then I used -F switch to force it:
root@OpenWrt:/tmp# sysupgrade -F -v /tmp/sysupgrade.bin
Device seagate,blackarmor-nas220 not supported by this image
Supported devices: seagate,nas220 blackarmor-nas220
Image check 'fwtool_check_image' failed but --force given - will update anyway!
Cannot save config while running from ramdisk.
Commencing upgrade. All shell sessions will be closed now.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... ubusd logd rpcd odhcpd uhttpd dnsmasq ntpd netifd
Sending KILL to remaining processes ...
Performing system upgrade...
removing ubiblock0_0
[ 227.495596] block ubiblock0_0: released
Volume ID 0, size 133 LEBs (2110976 bytes, 2.0 MiB), LEB size 15872 bytes (15.5 KiB), dynamic, name "kernel", alignment 1
Volume ID 1, size 100 LEBs (1587200 bytes, 1.5 MiB), LEB size 15872 bytes (15.5 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 22268416
Volume ID 2, size 1403 LEBs (22268416 bytes, 21.2 MiB), LEB size 15872 bytes (15.5 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[ 230.669500] reboot: Restarting system
...which seemed successful, but then:
U-Boot 2018.05 (May 31 2018 - 15:39:02 +0300)
NAS 220
SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 32 MiB
Loading Environment from NAND... OK
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
IDE: ide_preinit failed
Hit any key to stop autoboot: 0
Loading from nand0, offset 0xc0000
Image Name: ARM OpenWrt Linux-4.14.48
Created: 2018-06-06 18:10:22 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2098064 Bytes = 2 MiB
Load Address: 00008000
Entry Point: 00008000
## Booting kernel from Legacy Image at 00800000 ...
Image Name: ARM OpenWrt Linux-4.14.48
Created: 2018-06-06 18:10:22 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2098064 Bytes = 2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.48 (robimarko@localhost.localdomain) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7109-c57d27080d)) #0 Wed Jun 6 18:10:22 2018
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Seagate Blackarmor NAS220
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: get_random_bytes called from start_kernel+0x70/0x41c with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0xa0000@0x0(uboot),0x010000@0xa0000(env),0x500000@0xc0000(uimage),0x1a40000@0x5c0000(rootfs) ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 122276K/131072K available (4490K kernel code, 156K rwdata, 1184K rodata, 1024K init, 209K bss, 8796K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0562858 (5483 kB)
[ 0.000000] .init : 0xc0700000 - 0xc0800000 (1024 kB)
[ 0.000000] .data : 0xc0800000 - 0xc08272e0 ( 157 kB)
[ 0.000000] .bss : 0xc08272e0 - 0xc085ba5c ( 210 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[ 0.000014] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[ 0.000062] Switching to timer-based delay loop, resolution 6ns
[ 0.000178] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[ 0.000213] pid_max: default: 32768 minimum: 301
[ 0.000420] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000452] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001174] CPU: Testing write buffer coherency: ok
[ 0.002289] Setting up static identity map for 0x100000 - 0x10003c
[ 0.002700] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[ 0.008149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008189] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.008318] pinctrl core: initialized pinctrl subsystem
[ 0.009660] NET: Registered protocol family 16
[ 0.010372] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.011865] cpuidle: using governor ladder
[ 0.012475] Feroceon L2: Enabling L2
[ 0.012537] Feroceon L2: Cache support initialised.
[ 0.012927] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.018460] No ATAGs?
[ 0.039990] SCSI subsystem initialized
[ 0.040967] usbcore: registered new interface driver usbfs
[ 0.041055] usbcore: registered new interface driver hub
[ 0.041139] usbcore: registered new device driver usb
[ 0.043658] clocksource: Switched to clocksource orion_clocksource
[ 0.044751] NET: Registered protocol family 2
[ 0.045523] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.045556] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.045583] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.045702] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.045734] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.045949] NET: Registered protocol family 1
[ 0.047487] Crashlog allocated RAM at address 0x3f00000
[ 0.050434] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.056763] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.056781] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.065787] io scheduler noop registered
[ 0.065805] io scheduler deadline registered (default)
[ 0.067398] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.101408] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.102690] console [ttyS0] disabled
[ 0.102796] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 10416666) is a 16550A
[ 0.586471] console [ttyS0] enabled
[ 0.591537] sata_mv f1080000.sata: slots 32 ports 2
[ 0.600983] scsi host0: sata_mv
[ 0.604827] scsi host1: sata_mv
[ 0.608165] ata1: SATA max UDMA/133 irq 33
[ 0.612246] ata2: SATA max UDMA/133 irq 33
[ 0.617000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[ 0.623331] nand: Samsung NAND 32MiB 3,3V 8-bit
[ 0.627882] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[ 0.635190] Scanning device for bad blocks
[ 0.867500] 4 cmdlinepart partitions found on MTD device orion_nand
[ 0.873763] Creating 4 MTD partitions on "orion_nand":
[ 0.878885] 0x000000000000-0x0000000a0000 : "uboot"
[ 0.884572] 0x0000000a0000-0x0000000b0000 : "env"
[ 0.889926] 0x0000000c0000-0x0000005c0000 : "uimage"
[ 0.895824] 0x0000005c0000-0x000002000000 : "rootfs"
[ 0.902644] mtd: device 3 (rootfs) set to be root filesystem
[ 0.908499] mtdsplit: no squashfs found in "rootfs"
[ 0.914067] libphy: Fixed MDIO Bus: probed
[ 0.918485] libphy: orion_mdio_bus: probed
[ 0.926837] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 0.936058] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:07:9b:7c
[ 0.944863] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.951364] ehci-orion: EHCI orion driver
[ 0.955634] orion-ehci f1050000.ehci: EHCI Host Controller
[ 0.961136] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 0.968974] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[ 1.003679] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 1.010411] hub 1-0:1.0: USB hub found
[ 1.014445] hub 1-0:1.0: 1 port detected
[ 1.019004] usbcore: registered new interface driver usb-storage
[ 1.025542] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[ 1.032497] i2c /dev entries driver
[ 1.037562] orion_wdt: Initial timeout 25 sec
[ 1.048535] marvell-cesa f1030000.crypto: CESA device successfully registered
[ 1.056889] NET: Registered protocol family 10
[ 1.063553] Segment Routing with IPv6
[ 1.067353] NET: Registered protocol family 17
[ 1.071835] 8021q: 802.1Q VLAN Support v1.8
[ 1.080373] ubi0: attaching mtd3
[ 1.256196] ata1: SATA link down (SStatus 0 SControl F300)
[ 1.374957] ubi0: scanning is finished
[ 1.384193] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 1.400674] ubi0: attached mtd3 (name "rootfs", size 26 MiB)
[ 1.406363] ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes
[ 1.412963] ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256
[ 1.419486] ubi0: VID header offset: 256 (aligned 256), data offset: 512
[ 1.426178] ubi0: good PEBs: 1680, bad PEBs: 0, corrupted PEBs: 0
[ 1.432243] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 92
[ 1.439363] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 1.447692] ubi0: available PEBs: 0, total reserved PEBs: 1680, PEBs reserved for bad PEB handling: 40
[ 1.458036] block ubiblock0_1: created from ubi0:1(rootfs)
[ 1.463840] rtc-mv f1010300.rtc: setting system clock to 2018-06-07 12:24:56 UTC (1528374296)
[ 1.472873] ubi0: background thread "ubi_bgt0d" started, PID 948
[ 1.585403] ata2: SATA link down (SStatus 0 SControl F300)
[ 1.591036] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(31,3): error -2
[ 1.599036] Please append a correct "root=" boot option; here are the available partitions:
[ 1.607379] 1f00 640 mtdblock0
[ 1.607385] (driver?)
[ 1.613913] 1f01 64 mtdblock1
[ 1.613918] (driver?)
[ 1.620425] 1f02 5120 mtdblock2
[ 1.620429] (driver?)
[ 1.626958] 1f03 26880 mtdblock3
[ 1.626963] (driver?)
[ 1.633470] fe00 1550 ubiblock0_1
[ 1.633474] (driver?)
[ 1.640176] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.649492] Rebooting in 1 seconds..
it seems that it created 2 ubi volumes, but neither is mountable:
nas220> ubi part rootfs
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=3", size 26 MiB)
ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes
ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256
ubi0: VID header offset: 256 (aligned 256), data offset: 512
ubi0: good PEBs: 1680, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 92
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 1680, PEBs reserved for bad PEB handling: 40
nas220> ubifsmount ubi0:rootfs
UBIFS error (ubi0:1 pid 0): ubifs_read_node: bad node type (4 but expected 6)
UBIFS error (ubi0:1 pid 0): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 1
Not a node, first 24 bytes:Error reading superblock on volume 'ubi0:rootfs' errno=-22!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
nas220> ubifsmount ubi0:kernel
UBIFS error (ubi0:0 pid 0): ubifs_read_node: bad node type (0 but expected 6)
UBIFS error (ubi0:0 pid 0): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 1
Not a node, first 24 bytes:Error reading superblock on volume 'ubi0:kernel' errno=-22!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
Is it necessary to go with ubi? The only reason I used it was because I wanted to give a try to 15.05 images.