How to install on Akitio Mycloud mini (oxnas)?

Hi,

I bought a Akitio mycloud mini and tried to install via serial / tftp however I can't get the initramfs-uImage to work. After transferring the file the system starts to boot but hangs when it tries to bring up the network. This happens on both 19.07 and snapshot images.

Stage-1 Bootloader δΊ” 10月 28 10:36:29 CST 2011
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x0001AC3C
  Hdr CRC: 0xB931AD17
 OK


U-Boot 1.1.2 (Oct 28 2011 - 10:44:29)

U-Boot code: 60D00000 -> 60D1AC3C  BSS: -> 60D1F2F4
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Reading upgrade flag from NAND address 0x01ec0000 : 0
Hit any key to stop autoboot:  0 
$ setenv ipaddr 192.168.1.220
$ setenv serverip 192.168.1.1
$ tftp 64000000 uImage
Wait GMAC to reset
Wait for PHY reset
PHY is Realtek RTL8211D
Wait for link to come up............Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.1.1; our IP address is 192.168.1.220
Filename 'uImage'.
Load address: 0x64000000
Loading: *
ARP Resend request
T invalid RARP header
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############################
done
Bytes transferred = 6472961 (62c501 hex)
$ bootm 64000000 
## Booting image at 64000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.105
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6472897 Bytes =  6.2 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.105 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16237-6eca2e40e7)) #0 SMP Wed Mar 17 14:35:33 2021
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x64000000
[    0.000000] percpu: Embedded 15 pages/cpu s29772 r8192 d23476 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 49236K/131072K available (6144K kernel code, 170K rwdata, 1340K rodata, 6144K init, 215K bss, 16300K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2c0/0x4f0 with crng_init=0
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000069] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000081] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000107] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000271] GIC: PPI13 is secure or misconfigured
[    0.000327] GIC: PPI13 is secure or misconfigured
[    0.000450] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070305] pid_max: default: 32768 minimum: 301
[    0.070648] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070671] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072061] CPU: Testing write buffer coherency: ok
[    0.074135] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.074437] rcu: Hierarchical SRCU implementation.
[    0.075192] smp: Bringing up secondary CPUs ...
[    0.076328] GIC: PPI13 is secure or misconfigured
[    0.140695] smp: Brought up 1 node, 2 CPUs
[    0.140730] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146071] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146106] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.152844] pinctrl core: initialized pinctrl subsystem
[    0.153794] NET: Registered protocol family 16
[    0.158202] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160765] cpuidle: using governor menu
[    0.160872] No ATAGs?
[    0.181327] pps_core: LinuxPPS API ver. 1 registered
[    0.181347] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.181404] PTP clock support registered
[    0.181665] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.182960] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.184335] thermal_sys: Registered thermal governor 'step_wise'
[    0.184706] NET: Registered protocol family 2
[    0.185891] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.185963] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.185996] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.186032] TCP: Hash tables configured (established 1024 bind 1024)
[    0.186204] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.186265] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.186744] NET: Registered protocol family 1
[    0.186800] PCI: CLS 0 bytes, default 32
[    0.368995] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.380129] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.381048] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.384619] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.388697] printk: console [ttyS0] disabled
[    0.388866] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.842772] printk: console [ttyS0] enabled
[    0.864209] brd: module loaded
[    0.878164] loop: module loaded
[    0.943283] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    0.951941] ONFI parameter recovery failed, aborting
[    0.956951] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    0.963312] nand: Hynix NAND 256MiB 3,3V 8-bit
[    0.967733] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.975326] Scanning device for bad blocks
[    1.149160] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    1.157094] Creating 2 MTD partitions on "41000000.nand-controller":
[    1.163496] 0x000000000000-0x0000026c0000 : "boot"
[    1.170337] 0x0000026c0000-0x000010000000 : "ubi"
[    1.178472] libphy: Fixed MDIO Bus: probed
[    1.183459] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    1.189621] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.195520] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.263362] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    1.270312] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    1.275402] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.282680] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.289999] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.295065] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.301908] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.308226] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.315025] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.321612] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.327270] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.335106] oxnas-dwmac 40400000.ethernet: device MAC address 2e:79:26:cd:6d:e4
[    1.365391] libphy: stmmac: probed
[    1.368803] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.381521] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    1.396413] ledtrig-cpu: registered to indicate activity on CPUs
[    1.402513] hidraw: raw HID events driver (C) Jiri Kosina
[    1.409630] NET: Registered protocol family 10
[    1.415831] Segment Routing with IPv6
[    1.419589] NET: Registered protocol family 17
[    1.424240] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.437194] 8021q: 802.1Q VLAN Support v1.8

The 18.06 initramfs-uImage does boot via tftp but the network does not work. So I get a shell on the serial console but can't SCP or download the sysupgrade file to complete the install.

Does anybody have an idea what is going wrong?

I've just tried to tftp boot the pogoplug v3 initramfs-uimage and that works without issues. It boots and has a working network connection. So something seems to be wrong with the Akitio mycloud mini initramfs-uImage file.

This issue is still a problem with the OpenWrt 21.02.0-rc3 images. The akitio_mycloud-initramfs-uImage hangs when booting:

Stage-1 Bootloader δΊ” 10月 28 10:36:29 CST 2011
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x0001AC3C
  Hdr CRC: 0xB931AD17
 OK


U-Boot 1.1.2 (Oct 28 2011 - 10:44:29)

U-Boot code: 60D00000 -> 60D1AC3C  BSS: -> 60D1F2F4
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Reading upgrade flag from NAND address 0x01ec0000 : 0
Hit any key to stop autoboot:  0 
$ tftp 64000000 uImage.mycloud
Wait GMAC to reset
Wait for PHY reset
PHY is Realtek RTL8211D
Wait for link to come up................Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.50.59; our IP address is 192.168.50.100
Filename 'uImage.mycloud'.
Load address: 0x64000000
Loading: 
ARP Resend request
T invalid RARP header
################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 7120489 (6ca669 hex)
$ bootm 64000000
## Booting image at 64000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.124
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7120425 Bytes =  6.8 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.124 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16172-2aba3e9784)) #0 SMP Sun Jun 13 22:02:19 2021
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x64000000
[    0.000000] percpu: Embedded 15 pages/cpu s29772 r8192 d23476 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 47188K/131072K available (6144K kernel code, 171K rwdata, 784K rodata, 9216K init, 214K bss, 18348K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000000] random: get_random_bytes called from 0xc0800b88 with crng_init=0
[    0.000020] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000074] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000089] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000112] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000276] GIC: PPI13 is secure or misconfigured
[    0.000330] GIC: PPI13 is secure or misconfigured
[    0.000450] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070307] pid_max: default: 32768 minimum: 301
[    0.070661] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070689] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072107] CPU: Testing write buffer coherency: ok
[    0.074155] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.074457] rcu: Hierarchical SRCU implementation.
[    0.075202] smp: Bringing up secondary CPUs ...
[    0.076308] GIC: PPI13 is secure or misconfigured
[    0.140692] smp: Brought up 1 node, 2 CPUs
[    0.140728] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146245] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146286] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.153093] pinctrl core: initialized pinctrl subsystem
[    0.154055] NET: Registered protocol family 16
[    0.158021] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160611] cpuidle: using governor menu
[    0.160719] No ATAGs?
[    0.181959] pps_core: LinuxPPS API ver. 1 registered
[    0.181982] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.182041] PTP clock support registered
[    0.182300] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.183626] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.185013] thermal_sys: Registered thermal governor 'step_wise'
[    0.185392] NET: Registered protocol family 2
[    0.185592] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.187010] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.187092] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.187130] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.187169] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187343] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.187412] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.187837] NET: Registered protocol family 1
[    0.187896] PCI: CLS 0 bytes, default 32
[    0.487014] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.498406] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.499348] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.502737] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.506877] printk: console [ttyS0] disabled
[    0.507051] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.967037] printk: console [ttyS0] enabled
[    0.989649] brd: module loaded
[    1.004014] loop: module loaded
[    1.073950] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    1.082611] ONFI parameter recovery failed, aborting
[    1.087621] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.093977] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.098403] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.105996] Scanning device for bad blocks
[    1.161538] Bad eraseblock 618 at 0x000004d40000
[    1.183211] Bad eraseblock 824 at 0x000006700000
[    1.190617] Bad eraseblock 858 at 0x000006b40000
[    1.251353] Bad eraseblock 1536 at 0x00000c000000
[    1.271260] Bad eraseblock 1720 at 0x00000d700000
[    1.295429] Bad eraseblock 1955 at 0x00000f460000
[    1.307783] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    1.315706] Creating 2 MTD partitions on "41000000.nand-controller":
[    1.322055] 0x000000000000-0x0000026c0000 : "boot"
[    1.328936] 0x0000026c0000-0x000010000000 : "ubi"
[    1.337172] libphy: Fixed MDIO Bus: probed
[    1.342082] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    1.348318] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.354201] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.424023] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    1.430981] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    1.436070] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.443345] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.450659] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.455723] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.462563] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.468899] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.475706] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.482291] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.487953] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.495815] oxnas-dwmac 40400000.ethernet: device MAC address 3e:c3:3f:d1:0c:ca
[    1.536033] libphy: stmmac: probed
[    1.539445] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.552128] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    1.567016] ledtrig-cpu: registered to indicate activity on CPUs
[    1.573120] hidraw: raw HID events driver (C) Jiri Kosina
[    1.580288] NET: Registered protocol family 10
[    1.586462] Segment Routing with IPv6
[    1.590225] NET: Registered protocol family 17
[    1.594862] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.607805] 8021q: 802.1Q VLAN Support v1.8

I've left it at this point for ~30 minutes.
Retrying using the Pogoplug Series 3 initramfs image will result in an available console.

Are you sure it isn't done?

Punch enter..

As I said it is hung! Pressing "Enter" does nothing. I'm pretty sure it's an issue with the DTS as I've determined that of all the oxnas images available those that do not enable pcie0 will boot up to a console on this device, but those that enable pcie0 (including the DTS provided for this device) hang! Once I've confirmed my testing I will be submitting a patch.

1 Like

It appears that this device never actually had stable support. The current trunk image hangs at:

Starting kernel ...

With no other output on console and appear hung even after 15 minutes. Both 22.02.0rc3 and 19.07.7 hang at the same location as the above message indicates. 18.06.9 actually boots! But it has issues:

    3.526064] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.534515] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- failsafe button reset was pressed -
- failsafe -
[    5.701173] urandom_read: 3 callbacks suppressed
[    5.701186] random: dropbearkey: uninitialized urandom read (32 bytes read)
Generating key, [    5.714859] random: dropbearkey: uninitialized urandom read (32 bytes read)
this may take a while...
[    5.963230] random: dropbearkey: uninitialized urandom read (32 bytes read)
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCApfn48izIsCOFJsDlUQsTgu/wyS70qF6TdYlSHxDXGxasXZ0ZTV5+KpBRZs2jGP+QZgskAUDXWarJC1hLOKZ/aqjNjd0KMoT9YSVQ0rWJVE7yOBc84kNa+FP14Nq4VlG1SdcevzCslqodxM/hpzmZNMOAiL7U0uxzrACxFv0gUw== root@(none)
Fingerprint: sha1!! 7e:72:99:47:29:02:2d:02:7c:15:0f:25:99:f4:55:34:aa:5c:82:e3


BusyBox v1.28.4 () built-in shell (ash)

ash: can't access tty; job control turned off
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.9, r8077-7cbbab7246
 -----------------------------------------------------
================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
https://openwrt.org/docs/guide-user/troubleshooting/
- root_password_reset
=======================================================

root@(none):/#

Note that it is in failsafe mode even though no buttons were activated. Copying the ubifs-sysupgrade.tar file to /tmp and doing a sysupgrade then results in a system that boots with no network access!

I've just tried the 21.02.2 image and the issue is still there. I can load the initramfs uImage via tftp but it hangs during boot.

TFTP from server 192.168.1.254; our IP address is 192.168.1.180
Filename 'uImage'.
Load address: 0x60000000
Loading: *
ARP Resend request
T invalid RARP header
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################
done
Bytes transferred = 7182561 (6d98e1 hex)
$ bootm 0x60000000
## Booting image at 60000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7182497 Bytes =  6.8 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.179 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16495-bf0c965af0)) #0 SMP Wed Feb 16 20:29:10 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x64000000
[    0.000000] percpu: Embedded 15 pages/cpu s29772 r8192 d23476 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 47188K/131072K available (6144K kernel code, 171K rwdata, 788K rodata, 9216K init, 214K bss, 18348K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000000] random: get_random_bytes called from 0xc0800b88 with crng_init=0
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000066] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000084] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000110] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000276] GIC: PPI13 is secure or misconfigured
[    0.000332] GIC: PPI13 is secure or misconfigured
[    0.000455] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070318] pid_max: default: 32768 minimum: 301
[    0.070666] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070694] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072153] CPU: Testing write buffer coherency: ok
[    0.074168] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.074452] rcu: Hierarchical SRCU implementation.
[    0.075192] smp: Bringing up secondary CPUs ...
[    0.076270] GIC: PPI13 is secure or misconfigured
[    0.140689] smp: Brought up 1 node, 2 CPUs
[    0.140723] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146700] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146736] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.153410] pinctrl core: initialized pinctrl subsystem
[    0.154360] NET: Registered protocol family 16
[    0.158305] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160977] cpuidle: using governor menu
[    0.161080] No ATAGs?
[    0.182568] pps_core: LinuxPPS API ver. 1 registered
[    0.182592] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.182627] PTP clock support registered
[    0.183882] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.185264] thermal_sys: Registered thermal governor 'step_wise'
[    0.185633] NET: Registered protocol family 2
[    0.185830] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.187182] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.187284] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.187320] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.187356] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187527] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.187594] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.187998] NET: Registered protocol family 1
[    0.188052] PCI: CLS 0 bytes, default 32
[    0.497861] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.510364] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.511298] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.514887] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.519011] printk: console [ttyS0] disabled
[    0.519178] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.969336] printk: console [ttyS0] enabled
[    0.991406] brd: module loaded
[    1.006049] loop: module loaded
[    1.074237] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    1.082897] ONFI parameter recovery failed, aborting
[    1.087918] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.094274] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.098700] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.106283] Scanning device for bad blocks
[    1.280972] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    1.288903] Creating 2 MTD partitions on "41000000.nand-controller":
[    1.295296] 0x000000000000-0x0000026c0000 : "boot"
[    1.302208] 0x0000026c0000-0x000010000000 : "ubi"
[    1.311354] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    1.317580] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.323399] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.394311] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    1.401264] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    1.406353] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.413634] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.420948] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.426007] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.432852] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.439170] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.445975] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.452564] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.458227] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.466065] oxnas-dwmac 40400000.ethernet: device MAC address b2:d0:76:84:ed:87
[    1.506286] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.518986] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    1.533995] ledtrig-cpu: registered to indicate activity on CPUs
[    1.540101] hidraw: raw HID events driver (C) Jiri Kosina
[    1.547143] NET: Registered protocol family 10
[    1.553308] Segment Routing with IPv6
[    1.557178] NET: Registered protocol family 17
[    1.561707] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.574656] 8021q: 802.1Q VLAN Support v1.8


The nas can boot to a working system by using the mitrastar or pogo3 uImage initramfs files.

When I modify the dts by removing the pcie sections and also adjust some of the nand stuff I can compile an image that boots. However it hangs in failsafe mode since it thinks a button has been pressed.


TFTP from server 192.168.1.254; our IP address is 192.168.1.180
Filename 'uImage'.
Load address: 0x60000000
Loading: *
ARP Resend request
T invalid RARP header
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############################
done
Bytes transferred = 6808625 (67e431 hex)
$ bootm 0x60000000
## Booting image at 60000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6808561 Bytes =  6.5 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.179 (koen@acer) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16495-bf0c965af0)) #0 SMP Wed Feb 16 20:29:10 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x64000000
[    0.000000] percpu: Embedded 15 pages/cpu s29708 r8192 d23540 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 48224K/131072K available (6144K kernel code, 164K rwdata, 1308K rodata, 7168K init, 207K bss, 17312K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2c0/0x4f0 with crng_init=0
[    0.000020] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000071] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000087] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000115] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000284] GIC: PPI13 is secure or misconfigured
[    0.000345] GIC: PPI13 is secure or misconfigured
[    0.000448] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070320] pid_max: default: 32768 minimum: 301
[    0.070681] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070707] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072153] CPU: Testing write buffer coherency: ok
[    0.074183] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.074483] rcu: Hierarchical SRCU implementation.
[    0.075225] smp: Bringing up secondary CPUs ...
[    0.076305] GIC: PPI13 is secure or misconfigured
[    0.140689] smp: Brought up 1 node, 2 CPUs
[    0.140723] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146667] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146703] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.153443] pinctrl core: initialized pinctrl subsystem
[    0.154296] NET: Registered protocol family 16
[    0.158243] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160760] cpuidle: using governor menu
[    0.160860] No ATAGs?
[    0.181204] pps_core: LinuxPPS API ver. 1 registered
[    0.181224] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.181281] PTP clock support registered
[    0.182305] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.183672] thermal_sys: Registered thermal governor 'step_wise'
[    0.184081] NET: Registered protocol family 2
[    0.184276] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.185026] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.185103] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.185136] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.185172] TCP: Hash tables configured (established 1024 bind 1024)
[    0.185346] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.185400] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.185815] NET: Registered protocol family 1
[    0.185871] PCI: CLS 0 bytes, default 32
[    0.403770] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.415372] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.419066] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.420712] printk: console [ttyS0] disabled
[    0.420910] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.864273] printk: console [ttyS0] enabled
[    0.886059] brd: module loaded
[    0.900392] loop: module loaded
[    0.972643] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    0.981304] ONFI parameter recovery failed, aborting
[    0.986314] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    0.992668] nand: Hynix NAND 256MiB 3,3V 8-bit
[    0.997094] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.004684] Scanning device for bad blocks
[    1.177889] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    1.185807] Creating 2 MTD partitions on "41000000.nand-controller":
[    1.192143] 0x000000000000-0x0000026c0000 : "boot"
[    1.198904] 0x0000026c0000-0x000010000000 : "ubi"
[    1.207802] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    1.214003] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.219822] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.292715] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    1.299671] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    1.304768] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.312048] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.319360] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.324423] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.331266] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.337592] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.344396] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.350983] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.356646] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.364503] oxnas-dwmac 40400000.ethernet: device MAC address ba:32:bc:cc:98:eb
[    1.402667] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.415383] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    1.430320] ledtrig-cpu: registered to indicate activity on CPUs
[    1.438187] NET: Registered protocol family 10
[    1.444275] Segment Routing with IPv6
[    1.448030] NET: Registered protocol family 17
[    1.452638] 8021q: 802.1Q VLAN Support v1.8
[    1.463249] UBI: auto-attach mtd1
[    1.466570] ubi0: attaching mtd1
[    1.575375] ubi0 error: ubi_attach: bad image sequence number 4854508 in PEB 714, expected 255011070
[    1.584529] Erase counter header dump:
[    1.588267]  magic          0x55424923
[    1.591989]  version        1
[    1.594982]  ec             0
[    1.597931]  vid_hdr_offset 512
[    1.601049]  data_offset    2048
[    1.604300]  image_seq      4854508
[    1.607772]  hdr_crc        0x3e4dae5d
[    1.611494] erase counter header hexdump:
[    1.615825] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd1, error -22
[    1.622940] UBI error: cannot attach mtd1
[    1.626951] hctosys: unable to open rtc device (rtc0)
[    1.643005] Freeing unused kernel memory: 7168K
[    1.652615] Run /init as init process
[    2.141624] init: Console is alive
[    2.157102] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.173204] usbcore: registered new interface driver usbfs
[    2.178744] usbcore: registered new interface driver hub
[    2.184220] usbcore: registered new device driver usb
[    2.190822] Button Hotplug driver version 0.4.1
[    2.197813] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.210990] SCSI subsystem initialized
[    2.218206] ehci-fsl: Freescale EHCI Host controller driver
[    2.225093] ehci-platform: EHCI generic platform driver
[    2.807142] scsi host0: sata_oxnas
[    2.811642] scsi host1: sata_oxnas
[    2.871633] ata1: SATA max UDMA/133 irq 57
[    2.931735] ata2: SATA max UDMA/133 irq 57
[    2.936189] sata_oxnas: resetting SATA core
[    3.274375] ata1: SATA link down (SStatus 0 SControl 300)
[    3.279956] sata_oxnas: resetting SATA core
[    3.624296] ata2: SATA link down (SStatus 0 SControl 300)
[    3.832353] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.837870] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.846243] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.872358] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.879572] hub 1-0:1.0: USB hub found
[    3.883484] hub 1-0:1.0: 2 ports detected
[    3.891468] input: keys as /devices/platform/keys/input/input0
[    3.897950] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.906851] init: - preinit -
[    4.113139] random: procd: uninitialized urandom read (4 bytes read)
[    4.219840] random: jshn: uninitialized urandom read (4 bytes read)
[    4.271040] random: jshn: uninitialized urandom read (4 bytes read)
[    4.336752] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211DN Gigabit Ethernet]
[    4.348318] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[    4.355799] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    4.364451] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[    4.370798] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.553359] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.561799] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- failsafe button reset was pressed -
- failsafe -
Waiting for kernel randomness to be initialised...





I've modified the dts file based on the other oxnas devices and with some trial and error. I had to disable all the keys / buttons to avoid the nas going into failsafe on boot. The following dts file generates a working initramfs uImage that can be booted via tftp.

/dts-v1/;

#include "ox820.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

/ {
	model = "Akitio MyCloud";

	compatible = "akitio,mycloud", "oxsemi,ox820";

	chosen {
		bootargs = "earlyprintk console=ttyS0,115200";
		stdout-path = "serial0:115200n8";
	};

	memory {
		/* 256Mbytes DDR */
		reg = <0x60000000 0x10000000>;
	};

	aliases {
		serial0 = &uart0;
		gpio0 = &gpio0;
		gpio1 = &gpio1;
		led-boot = &led_status;
		led-failsafe = &led_status;
		led-running = &led_status;
		led-upgrade = &led_status;
	};

	i2c-gpio {
		compatible = "i2c-gpio";
		sda-gpios = <&gpio1  9 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
		scl-gpios = <&gpio1 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
		i2c-gpio,delay-us = <10>;
		#address-cells = <1>;
		#size-cells = <0>;
		rtc0: rtc@68 {
			compatible = "dallas,ds1307";
			reg = <0x68>;
		};
	};

	leds {
		compatible = "gpio-leds";
		led_status: status {
			label = "akitio:red:status";
			gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
		};
	};

	gpio-poweroff {
		compatible = "gpio-poweroff";
		gpios = <&gpio1 13 GPIO_SINGLE_ENDED>;
	};
};

&uart0 {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart0>;
};

&nandc {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_nand>;

	nand@0 {
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <1>;
		nand-ecc-mode = "soft";
		nand-ecc-algo = "hamming";

		partition@0 {
			label = "boot";
			reg = <0x00000000 0x026c0000>;
		};

		partition@26c0000 {
			label = "ubi";
			reg = <0x026c0000 0x0d940000>;
		};
	};
};

&etha {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_etha_mdio>;
};

&ehci {
	status = "okay";
};

&sata {
	status = "okay";
	nr-ports = <2>;
};

The nas boots ok with working ethernet connection as shown in the bootlog below.

U-Boot 1.1.2 (Oct 28 2011 - 10:44:29)

U-Boot code: 60D00000 -> 60D1AC3C  BSS: -> 60D1F2F4
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Reading upgrade flag from NAND address 0x01ec0000 : 0
Hit any key to stop autoboot:  0
$ setenv ipaddr 192.168.1.180
$ setenv serverip 192.168.1.254
$ tftpboot
Wait GMAC to reset
Wait for PHY reset
PHY is Realtek RTL8211D
Wait for link to come up................Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.1.254; our IP address is 192.168.1.180
Filename 'uImage'.
Load address: 0x60000000
Loading: *
ARP Resend request
T invalid RARP header
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############################
done
Bytes transferred = 6807864 (67e138 hex)
$ bootm 0x60000000
## Booting image at 60000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6807800 Bytes =  6.5 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.179 (koen@acer) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16495-bf0c965af0)) #0 SMP Wed Feb 16 20:29:10 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x6c000000
[    0.000000] percpu: Embedded 15 pages/cpu s29708 r8192 d23540 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 178052K/262144K available (6144K kernel code, 164K rwdata, 1308K rodata, 7168K init, 207K bss, 18556K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2c0/0x4f0 with crng_init=0
[    0.000020] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000071] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000087] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000112] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000268] GIC: PPI13 is secure or misconfigured
[    0.000325] GIC: PPI13 is secure or misconfigured
[    0.000419] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070302] pid_max: default: 32768 minimum: 301
[    0.070661] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070689] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072158] CPU: Testing write buffer coherency: ok
[    0.074173] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.074470] rcu: Hierarchical SRCU implementation.
[    0.075202] smp: Bringing up secondary CPUs ...
[    0.076313] GIC: PPI13 is secure or misconfigured
[    0.140674] smp: Brought up 1 node, 2 CPUs
[    0.140707] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146193] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.153003] pinctrl core: initialized pinctrl subsystem
[    0.153820] NET: Registered protocol family 16
[    0.158287] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160665] cpuidle: using governor menu
[    0.160765] No ATAGs?
[    0.180889] pps_core: LinuxPPS API ver. 1 registered
[    0.180912] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.180951] PTP clock support registered
[    0.181990] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.183344] thermal_sys: Registered thermal governor 'step_wise'
[    0.183733] NET: Registered protocol family 2
[    0.183959] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.184826] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.184901] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.184952] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.185008] TCP: Hash tables configured (established 2048 bind 2048)
[    0.185182] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.185236] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.185648] NET: Registered protocol family 1
[    0.185704] PCI: CLS 0 bytes, default 32
[    0.399774] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.410449] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.414067] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.415772] printk: console [ttyS0] disabled
[    0.415910] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.859699] printk: console [ttyS0] enabled
[    0.881469] brd: module loaded
[    0.895792] loop: module loaded
[    0.962334] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    0.970997] ONFI parameter recovery failed, aborting
[    0.976007] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    0.982374] nand: Hynix NAND 256MiB 3,3V 8-bit
[    0.986800] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.994383] Scanning device for bad blocks
[    1.168750] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    1.176673] Creating 2 MTD partitions on "41000000.nand-controller":
[    1.183034] 0x000000000000-0x0000026c0000 : "boot"
[    1.189729] 0x0000026c0000-0x000010000000 : "ubi"
[    1.198622] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    1.204856] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.210672] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.282449] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    1.289405] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    1.294504] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.301780] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.309096] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.314163] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.321008] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.327334] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.334141] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.340725] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.346385] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.354224] oxnas-dwmac 40400000.ethernet: device MAC address c6:b3:0a:68:8f:16
[    1.392204] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.404920] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    1.419704] ledtrig-cpu: registered to indicate activity on CPUs
[    1.427420] NET: Registered protocol family 10
[    1.433610] Segment Routing with IPv6
[    1.437365] NET: Registered protocol family 17
[    1.441866] 8021q: 802.1Q VLAN Support v1.8
[    1.452904] UBI: auto-attach mtd1
[    1.456222] ubi0: attaching mtd1
[    1.713075] ubi0: scanning is finished
[    1.728573] ubi0: attached mtd1 (name "ubi", size 217 MiB)
[    1.734115] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.740958] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.747660] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    1.754447] ubi0: good PEBs: 1738, bad PEBs: 0, corrupted PEBs: 0
[    1.760512] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    1.767728] ubi0: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 25113212
[    1.776683] ubi0: available PEBs: 0, total reserved PEBs: 1738, PEBs reserved for bad PEB handling: 40
[    1.786045] ubi0: background thread "ubi_bgt0d" started, PID 49
[    1.787573] block ubiblock0_1: created from ubi0:1(rootfs)
[    1.797534] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    1.804508] hctosys: unable to open rtc device (rtc0)
[    1.820080] Freeing unused kernel memory: 7168K
[    1.824939] Run /init as init process
[    2.306938] init: Console is alive
[    2.321799] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.337863] usbcore: registered new interface driver usbfs
[    2.343493] usbcore: registered new interface driver hub
[    2.348871] usbcore: registered new device driver usb
[    2.355504] Button Hotplug driver version 0.4.1
[    2.362470] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.382241] SCSI subsystem initialized
[    2.389368] ehci-fsl: Freescale EHCI Host controller driver
[    2.396308] ehci-platform: EHCI generic platform driver
[    2.983475] scsi host0: sata_oxnas
[    2.990338] scsi host1: sata_oxnas
[    3.050255] ata1: SATA max UDMA/133 irq 57
[    3.110343] ata2: SATA max UDMA/133 irq 57
[    3.114641] sata_oxnas: resetting SATA core
[    3.453977] ata1: SATA link down (SStatus 0 SControl 300)
[    3.459617] sata_oxnas: resetting SATA core
[    3.803978] ata2: SATA link down (SStatus 0 SControl 300)
[    4.012042] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    4.017559] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    4.026068] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    4.062023] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    4.069314] hub 1-0:1.0: USB hub found
[    4.073310] hub 1-0:1.0: 2 ports detected
[    4.081126] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.099217] init: - preinit -
[    4.408258] random: jshn: uninitialized urandom read (4 bytes read)
[    4.458531] random: jshn: uninitialized urandom read (4 bytes read)
[    4.496706] random: jshn: uninitialized urandom read (4 bytes read)
[    4.531205] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211DN Gigabit Ethernet]
[    4.542563] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[    4.549954] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    4.558604] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[    4.565058] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.713382] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.721861] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.789560] oxnas-dwmac 40400000.ethernet eth0: Link is Down
[    8.806983] procd: - early -
[    9.367329] procd: - ubus -
[    9.383874] urandom_read: 1 callbacks suppressed
[    9.383892] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.420577] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.427788] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.438973] procd: - init -
Please press Enter to activate this console.
[   10.175715] urngd: v1.0.2 started.
[   10.304565] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.316943] crng init done
[   10.319659] random: 3 urandom warning(s) missed due to ratelimiting
[   10.356815] i2c /dev entries driver
[   10.372426] i2c-gpio i2c-gpio: using lines 41 (SDA) and 42 (SCL)
[   10.396554] kmodloader: done loading kernel modules from /etc/modules.d/*
[   20.366062] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211DN Gigabit Ethernet]
[   20.402199] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[   20.409594] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   20.418411] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   20.424870] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
[   20.435532] br-lan: port 1(eth0) entered blocking state
[   20.440768] br-lan: port 1(eth0) entered disabled state
[   20.446625] device eth0 entered promiscuous mode
[   23.592742] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   23.601190] br-lan: port 1(eth0) entered blocking state
[   23.606479] br-lan: port 1(eth0) entered forwarding state
[   23.612352] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.33.2 (2022-02-16 20:29:10 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02.2, r16495-bf0c965af0
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#


However when I run sysupgrade the resulting system does not boot and hangs:


root@OpenWrt:/tmp# sysupgrade -n openwrt-oxnas-ox820-akitio_mycloud-squashfs-sys
upgrade.tar 
Tue Apr  5 22:28:03 UTC 2022 upgrade: Commencing upgrade. Closing all shell sessions.
killall: telnetd: no process killed
Tue Apr  5 22:28:04 UTC 2022 upgrade: Sending TERM to remaining processes ... udhcpc ubusd urngd logd mdadm netifd ntpd
Tue Apr  5 22:28:07 UTC 2022 upgrade: Sending KILL to remaining processes ...
[  490.263761] sh (1280): drop_caches: 3
Tue Apr  5 22:28:08 UTC 2022 upgrade: Switching to ramdisk...
Tue Apr  5 22:28:12 UTC 2022 upgrade: Performing system upgrade...
removing ubiblock0_1
[  494.516623] block ubiblock0_1: released
Volume ID 0, size 28 LEBs (3612672 bytes, 3.4 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "kernel", alignment 1
Volume ID 1, size 20 LEBs (2580480 bytes, 2.4 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 212373504
Volume ID 2, size 1646 LEBs (212373504 bytes, 202.5 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
[  498.255567] reboot: Restarting system
Stage-1 Bootloader δΊ” 10月 28 10:36:29 CST 2011
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x0001AC3C
  Hdr CRC: 0xB931AD17
 OK


U-Boot 1.1.2 (Oct 28 2011 - 10:44:29)

U-Boot code: 60D00000 -> 60D1AC3C  BSS: -> 60D1F2F4
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Reading upgrade flag from NAND address 0x01ec0000 : 0
Hit any key to stop autoboot:  0 
Extinguish LED

Loading from device 0: 256MiB 3,3V 8-bit (offset 0x440000)
   Image Name:   ARM OpenWrt Linux-5.4.154
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3569746 Bytes =  3.4 MB
   Load Address: 60008000
   Entry Point:  60008000
## Booting image at 60500000 ...
   Image Name:   ARM OpenWrt Linux-5.4.154
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3569746 Bytes =  3.4 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... Bad Data CRC

Loading from device 0: 256MiB 3,3V 8-bit (offset 0xa40000)
   Image Name:   Linux-2.6.31.14-fast-20110801-fa
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3116240 Bytes =  3 MB
   Load Address: 60008000
   Entry Point:  60008000
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.14-fast-20110801-fa
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3116240 Bytes =  3 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... Bad Data CRC
Light LED


I think it is time to create a new post on the developers forum to see if anybody there has any ideas what to do next.

I knew this ! It's not bug !
I cracked the secret of Stock Firmware.
I don't know if it's out of "protection" or "fun", but the engineers at Akitio or SilverStone really... deserve a beating.

Start at 0x440000, Uboot will extract the Kernel uImage here to start the system.

I found that there is indeed a uImage in the range 0x440000-0xe00000, but the result is that the Code is repeated every 2048 bytes.

uImage Head: 64 bytes, the first time appears at 0x440000, the second time appears at 0x440800. By analogy, the entire uImage is placed in an Odd/Even cross within 2048bytes(one block). I wrote a program to actually separate the entire uImage, and finally got the complete uImage file.

I use uboot mitra stg212 uboot to intead.

and it works!

did team of openWRT to merge the code ?
I can see the new dts in the source tree, but why it still stuck here ?
I use the newest version at 2023-october.

don't use akitio original stock uboot, it's a customize uboot version, just for theirs!
to flash mitra stg-212 uboot got success! (can still use orininal stock spl)

please see this post

I no longer have this device. I accidentally wiped the whole storage including uboot when experimenting to try to get sysupgrade to work. I've tried sata booting but never got it back working. In the end it is a nice little nas but probably does not have enough users to get any problems / bugs reported and fixed.

If you manage to get OpenWrt running it would be good to write a description of the process since there is not much info on the device.

Not At All.

I have alread success boot from SATA and flash mitra stg-212 to NAND.

bodhi's spl and uboot is very powerful!

you can reference the post in whole forums.

I love this machine (akitio mycloud mini)

I love openWRT.

I knew that , just deveice tree problem.

if OpenWRT team can face squarely this problem, all this machine users can be happy!

it just only disable pcie in the device tree.