Welcome! Log In Create A New Profile

Advanced

Hello, help to fix my device... [Akitio MyCloud Mini]

Posted by Kang Jinsu 
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 03:16AM
The flashing looks good. If NAND was bad, then there should have been error messages.

root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f563f5c00000064 --  6 % complete

root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
Writing data to block 0 at offset 0x0

root@debian:/tmp# nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.img
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

root@debian:/tmp# flash_erase /dev/mtd0 0x100000 1
Erasing 128 Kibyte @ 7f629f5c00000064 --  9 % complete

UPDATE: this does not looks right! but it is OK to proceed

root@debian:/tmp# nandwrite -s 1048576 /dev/mtd0 uboot.2015.10-tld-2.ox820.environment.img
Writing data to block 8 at offset 0x100000

However, this error might indicate that the NAND chip has some incompatibility
root@debian:/tmp# fw_printenv
[11826.540848] __nand_correct_data: uncorrectable ECC error

At this point, shutdown

shutdown -h now

And then disconnect the HDD, leave the USB drive attached. Recyle the power.

Watch serial console, see if the new u-boot is starting. Interrupt serial console at count down and

ver
printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/16/2020 04:04AM by bodhi.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 03:23AM
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 1ff200000 00020000 "data"

This looks like 8GB NAND chip. Is that correct?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 04:21AM
Uh... not booting.




+
Umm. No. The device's NAND has a capacity of 256M.
I tried to install 2G NAND, but this NAND is because the manufacturer is samsung.
The originally installed NAND is hynix.

Well, I have to try fix again.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 04:23AM
Right!

Looks like it does not know the correct size

Erasing 128 Kibyte @ 7f563f5c00000064 --  6 % complete

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 04:28AM
OK.

So the situation is you can run with the HDD. But NAND is still not working.

You can choose to run from the HDD and not worrying about NAND.. And update the rootfs on this HDD to a later kernel version. The later kernel version (4.14.180) has sevral improvments that it is worth upgrading to.

But without NAND, it is limited in this way. It is a cumbersome to run with the special formatted HDD. Especially if it is broken in the future, then you would need to go back to start from scratch again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 04:38AM
Thanks for your advice.

First, I'll fix NAND one more time, and if not, think of it as a way of HDD.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 10:52AM
NAND was repaired and rebooted.
256M properly caught. (But NAND looks bad ...)
I accidentally booted without USB and it works.

Here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # nand bad

Device 0 bad blocks:
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 726 ms (6.1 MiB/s)
4594376 bytes read in 688 ms (6.4 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077416] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084119] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092049] Initializing cgroup subsys net_cls
[    0.096624] CPU: Testing write buffer coherency: ok
[    0.102008] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239933] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250122] devtmpfs: initialized
[    0.259133] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269079] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275553] prandom: seed boundary self test passed
[    0.284876] prandom: 100 self tests passed
[    0.289052] pinctrl core: initialized pinctrl subsystem
[    0.295170] NET: Registered protocol family 16
[    0.300277] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329820] cpuidle: using governor ladder
[    0.359813] cpuidle: using governor menu
[    0.369126] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375004] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381099] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401198] vgaarb: loaded
[    0.404436] SCSI subsystem initialized
[    0.409082] usbcore: registered new interface driver usbfs
[    0.414796] usbcore: registered new interface driver hub
[    0.420354] usbcore: registered new device driver usb
[    0.425658] pps_core: LinuxPPS API ver. 1 registered
[    0.430725] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439966] PTP clock support registered
[    0.446095] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471024] NET: Registered protocol family 2
[    0.476308] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483417] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489996] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496491] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502443] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509020] NET: Registered protocol family 1
[    0.514001] RPC: Registered named UNIX socket transport module.
[    0.520025] RPC: Registered udp transport module.
[    0.524789] RPC: Registered tcp transport module.
[    0.529551] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536435] Unpacking initramfs...
[    1.013890] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021329] Initialise system trusted keyring
[    1.038551] zbud: loaded
[    1.046551] NFS: Registering the id_resolver key type
[    1.051832] Key type id_resolver registered
[    1.056081] Key type id_legacy registered
[    1.060247] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067013] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.074380] fuse init (API version 7.23)
[    1.080465] Key type big_key registered
[    1.163130] Key type asymmetric registered
[    1.167313] Asymmetric key parser 'x509' registered
[    1.172431] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.179950] io scheduler noop registered
[    1.183948] io scheduler deadline registered
[    1.188334] io scheduler cfq registered (default)
[    1.193812] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.201789] console [ttyS0] disabled
[    1.205514] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.214200] console [ttyS0] enabled
[    1.214200] console [ttyS0] enabled
[    1.221263] bootconsole [earlycon0] disabled
[    1.221263] bootconsole [earlycon0] disabled
[    1.241372] loop: module loaded
[    1.247219] scsi host0: sata_oxnas
[    1.251415] scsi host1: sata_oxnas
[    1.255234] ata1: SATA max UDMA/133 irq 7
[    1.259230] ata2: SATA max UDMA/133 irq 7
[    1.263383] sata_oxnas: resetting SATA core
[    1.264450] nand: Could not find valid ONFI parameter page; aborting
[    1.264491] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.264499] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.264506] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.264524] Scanning device for bad blocks
[    1.429237] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.435770] Creating 2 MTD partitions on "41000000.nand":
[    1.441172] 0x000000000000-0x000000e00000 : "boot"
[    1.447864] 0x000000e00000-0x000010000000 : "data"
[    1.471285] oxnas-gmac 40400000.ethernet: no reset control found
[    1.477276] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.482347]  Ring mode enabled
[    1.485386]  DMA HW capability register supported
[    1.489920]  Enhanced/Alternate descriptors
[    1.494248]  Enabled extended descriptors
[    1.498234]  RX Checksum Offload Engine supported (type 2)
[    1.503710]  TX Checksum insertion supported
[    1.507957]  Wake-Up On Lan supported
[    1.511618]  Enable RX Mitigation via HW Watchdog Timer
[    1.532147] libphy: stmmac: probed
[    1.535544] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.542023] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.548712] PPP generic driver version 2.4.2
[    1.553617] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.560192] ehci-pci: EHCI PCI platform driver
[    1.565114] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.570739] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.578529] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.599810] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.606120] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.612935] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.620157] usb usb1: Product: EHCI Host Controller
[    1.625008] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.631439] usb usb1: SerialNumber: 40200100.ehci
[    1.637112] hub 1-0:1.0: USB hub found
[    1.640965] hub 1-0:1.0: 2 ports detected
[    1.646026] usbcore: registered new interface driver cdc_acm
[    1.651724] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.659832] usbcore: registered new interface driver cdc_wdm
[    1.665648] usbcore: registered new interface driver usb-storage
[    1.671877] usbcore: registered new interface driver usbserial
[    1.677767] usbcore: registered new interface driver usbserial_generic
[    1.684372] usbserial: USB Serial support registered for generic
[    1.690836] mousedev: PS/2 mouse device common for all mice
[    1.696555] i2c /dev entries driver
[    1.701150] hidraw: raw HID events driver (C) Jiri Kosina
[    1.706757] usbcore: registered new interface driver usbhid
[    1.712363] usbhid: USB HID core driver
[    1.718272] NET: Registered protocol family 10
[    1.740449] sit: IPv6 over IPv4 tunneling driver
[    1.746071] NET: Registered protocol family 17
[    1.751208] Key type dns_resolver registered
[    1.756874] registered taskstats version 1
[    1.761041] Loading compiled-in X.509 certificates
[    1.765931] zswap: loaded using pool lzo/zbud
[    1.784742] Key type encrypted registered
[    1.819991] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.827018] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.833781] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.841479] ata1.00: configured for UDMA/133
[    1.846440] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    1.855989] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.863672] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.868951] sata_oxnas: resetting SATA core
[    1.880414] sd 0:0:0:0: [sda] Write Protect is off
[    1.888942] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.900119] sata_oxnas: resetting SATA core
[    2.579985] ata2: SATA link down (SStatus 0 SControl 300)
[    2.659980] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.666841] ata1: hard resetting link
[    3.579970] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.587947] ata1.00: configured for UDMA/133
[    3.592294] ata1: EH complete
[    3.940679]  sda: sda1
[    3.944960] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.949957] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    4.131537] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.142845] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.143541] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.145848] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.146022] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.147074] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.153548] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.154598] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.155732] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.157068] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.453575] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   10.047390] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   10.366909] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   14.026647] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
done.
[ ok ] Waiting for /dev to be fully populated...done.
[   15.253383] random: nonblocking pool is initialized
[ ok ] Activating swap...done.
[   15.771837] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: Group descriptor 0 marked uninitialized without feature set.
FIXED.
rootfs: 14013/262144 files (8.5% non-contiguous), 149006/1048576 blocks
done.
[   21.094750] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   30.990095] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 2702 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1255 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1254 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:

Login incorrect
debian login: rot
Password:

Login incorrect
debian login: root
Password:
Last login: Fri May 15 21:08:31 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 0f200000 00020000 "data"
root@debian:~# fw_printenv
[   92.216670] __nand_correct_data: uncorrectable ECC error
[   92.222013] __nand_correct_data: uncorrectable ECC error
[   92.227299] __nand_correct_data: uncorrectable ECC error
[   92.232624] __nand_correct_data: uncorrectable ECC error
[   92.237913] __nand_correct_data: uncorrectable ECC error
[   92.243248] __nand_correct_data: uncorrectable ECC error
[   92.248540] __nand_correct_data: uncorrectable ECC error
[   92.254220] __nand_correct_data: uncorrectable ECC error
[   92.259509] __nand_correct_data: uncorrectable ECC error
[   92.264857] __nand_correct_data: uncorrectable ECC error
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:~# cd /tmp
root@debian:/tmp# wget ftp://admin:**********@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
--2020-05-16 07:52:31--  ftp://admin:*password*@192.168.68.1/HDD1/My-Station/Net
           => 'uboot.2015.10-tld-2.ox820.bodhi.tar'
Connecting to 192.168.68.1:21... connected.
Logging in as admin ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /HDD1/My-Station/Network Trashes Folder ... do
==> SIZE uboot.2015.10-tld-2.ox820.bodhi.tar ... 798720
==> PASV ... done.    ==> RETR uboot.2015.10-tld-2.ox820.bodhi.tar ... done.
Length: 798720 (780K) (unauthoritative)

uboot.2015.10-tld-2 100%[===================>] 780.00K  --.-KB/s    in 0.03s

2020-05-16 07:52:31 (26.9 MB/s) - 'uboot.2015.10-tld-2.ox820.bodhi.tar' saved [7

root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f5bef5c00000064 --  6 % complete
root@debian:/tmp# flash_erase /dev/mtd0 0x0 10000
Erasing 128 Kibyte @ 7f5ca0e800000001 -- 111 % complete libmtd: error!: bad eraseblock number 112, mtd0 has 112 eraseblocks
flash_erase: error!: /dev/mtd0: MTD get bad block failed
             error 22 (Invalid argument)
root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f577f5c00000064 --  6 % complete
root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
uboot.spl.2013.10.ox820.850mhz.mtd0.img: No such file or directory
nandwrite: error!: Data was only partially written due to error
           error 9 (Bad file descriptor)
root@debian:/tmp# tar -xvf uboot.2015.10-tld-2.ox820.bodhi.tar
uboot.2015.10-tld-2.ox820.mtd0.img
uboot.spl.2013.10.ox820.850mhz.mtd0.img
uboot.2015.10-tld-2.ox820.environment
uboot.2015.10-tld-2.ox820.environment.img
root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
Writing data to block 0 at offset 0x0
root@debian:/tmp# /usr/sbin/nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.img
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
root@debian:/tmp# /usr/sbin/flash_erase /dev/mtd0 0x00100000 1
Erasing 128 Kibyte @ 7f604f5c00000064 --  9 % complete
root@debian:/tmp# /usr/sbin/nandwrite -s 1048576 /dev/mtd0 uboot.2015.10-tld-2.ox820.environment.img
Writing data to block 8 at offset 0x100000
root@debian:/tmp# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
usb_custom_params=zswap.enabled=1
device=0:1
devices=usb ide
disks=0 1 2 3
ethaddr=52:3b:20:9c:11:51
ethact=mii0
if_netconsole=ping $serverip
ipaddr=192.168.0.222
serverip=192.168.0.220
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60510000  $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
root@debian:/tmp# cd
root@debian:~# halt

Broadcast message from root@debian (ttyS0) (Sat May 16 07:58:49 2020):

INIT: Send[info] Using makefile-style concurrent boot in runlevel 0.
[....] Stopping busybox' klogd implementation: klogd1254 (klogd)
Stopped klogd (pid 1254).
. ok
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1255 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.68.1 port 67
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[  561.984235] EXT4-fs (sda1): re-mounted. Opts: (null)
/etc/init.d/halt: 62: /etc/init.d/halt: /sbin/dhcpcd-bin: not found
[info] Will now halt.
[  564.281448] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  564.388707] sd 0:0:0:0: [sda] Stopping disk
[  565.234439] reboot: Power down


+
However, NAND cannot boot.


U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set

Same as the original post status.

And when I turned on this device, I noticed one thing :

HDD stops working intermittently.
When power is on, the hard is tik tik.
Kernel panic during boot.
Sudden tak and hard off at the end of the boot.

Is there a power supply shortage?
Or is it because the power plug is small?



Edited 1 time(s). Last edit at 05/16/2020 10:53AM by Kang Jinsu.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 04:47PM
Jinsu,

Quote

root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f577f5c00000064 -- 6 % complete

root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
uboot.spl.2013.10.ox820.850mhz.mtd0.img: No such file or directory
nandwrite: error!: Data was only partially written due to error
error 9 (Bad file descriptor)

At this point, you need to erase again before flashing

Quote

root@debian:/tmp# /usr/sbin/nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.img
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

So even though it seems OK, there is no guarantee that the u-boot image is good on NAND.


Quote

root@debian:/tmp# /usr/sbin/flash_erase /dev/mtd0 0x00100000 1
Erasing 128 Kibyte @ 7f604f5c00000064 -- 9 % complete

root@debian:/tmp# /usr/sbin/nandwrite -s 1048576 /dev/mtd0 uboot.2015.10-tld-2.ox820.environment.img
Writing data to block 8 at offset 0x100000

root@debian:/tmp# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
usb_custom_params=zswap.enabled=1
device=0:1
devices=usb ide
disks=0 1 2 3
ethaddr=52:3b:20:9c:11:51
ethact=mii0
if_netconsole=ping $serverip
ipaddr=192.168.0.222
serverip=192.168.0.220
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60510000 $filesize
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15

The envs image was successfully flashed above. So it is quite good.

Quote

U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)

And the SPL was started OK above.

And boot log show it regconnized the NAND chip

Quote

[ 1.264491] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[ 1.264499] nand: Hynix NAND 256MiB 3,3V 8-bit
[ 1.264506] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

So looks like this NAND chip works!

======

Please boot with HDD and repeat the flashing again.

The HDD seems to be not very good. When you hear tik tik like that, it is going to fail soon. After you got u-boot running, I would switch to boot USB, and then analyze the HDD with smartcontrol.

======

Bad power supply is also another possibility. If you have a meter, you can measure the voltage and apm. Or if you can get a new one which does not cost much, then get one anyway (like David has suggested). I have not had any power supply failure in any of my 8-years old plugs (more than 10 running), so the experience is varied.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/16/2020 04:49PM by bodhi.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 03:15AM
Here serial console logs.

1. Change HDD to low capacity and low power.
2. The power supply part has been modified.
(Dedicated adapter-> high current power supply, power plug-> extension)


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: ST9100824AS  Firm: 3.06 Ser#: 5PL2XPM1
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 95395.2 MB = 93.1 GB (195369455 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 1000 ms (4.4 MiB/s)
4594376 bytes read in 1017 ms (4.3 MiB/s)
7816 bytes read in 47 ms (162.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077422] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084126] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092042] Initializing cgroup subsys net_cls
[    0.096614] CPU: Testing write buffer coherency: ok
[    0.101995] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239928] Brought up 2 CPUs
[    0.242977] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250109] devtmpfs: initialized
[    0.258956] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.268902] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275374] prandom: seed boundary self test passed
[    0.284702] prandom: 100 self tests passed
[    0.288875] pinctrl core: initialized pinctrl subsystem
[    0.294973] NET: Registered protocol family 16
[    0.300083] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369236] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375132] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381242] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401185] vgaarb: loaded
[    0.404423] SCSI subsystem initialized
[    0.409067] usbcore: registered new interface driver usbfs
[    0.414789] usbcore: registered new interface driver hub
[    0.420334] usbcore: registered new device driver usb
[    0.425635] pps_core: LinuxPPS API ver. 1 registered
[    0.430702] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439946] PTP clock support registered
[    0.446080] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471344] NET: Registered protocol family 2
[    0.476631] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483742] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490321] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496819] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502778] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509360] NET: Registered protocol family 1
[    0.514347] RPC: Registered named UNIX socket transport module.
[    0.520373] RPC: Registered udp transport module.
[    0.525135] RPC: Registered tcp transport module.
[    0.529922] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536796] Unpacking initramfs...
[    1.014574] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.022046] Initialise system trusted keyring
[    1.040565] zbud: loaded
[    1.048391] NFS: Registering the id_resolver key type
[    1.053675] Key type id_resolver registered
[    1.057927] Key type id_legacy registered
[    1.062092] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.068858] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.076216] fuse init (API version 7.23)
[    1.082265] Key type big_key registered
[    1.163898] Key type asymmetric registered
[    1.168079] Asymmetric key parser 'x509' registered
[    1.173199] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.180712] io scheduler noop registered
[    1.184714] io scheduler deadline registered
[    1.189104] io scheduler cfq registered (default)
[    1.194595] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.202567] console [ttyS0] disabled
[    1.206287] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.214973] console [ttyS0] enabled
[    1.214973] console [ttyS0] enabled
[    1.222033] bootconsole [earlycon0] disabled
[    1.222033] bootconsole [earlycon0] disabled
[    1.242158] loop: module loaded
[    1.248028] scsi host0: sata_oxnas
[    1.252241] scsi host1: sata_oxnas
[    1.256056] ata1: SATA max UDMA/133 irq 7
[    1.260113] ata2: SATA max UDMA/133 irq 7
[    1.264199] sata_oxnas: resetting SATA core
[    1.265269] nand: Could not find valid ONFI parameter page; aborting
[    1.265313] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.265318] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.265326] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.265344] Scanning device for bad blocks
[    1.402222] Bad eraseblock 1699 at 0x00000d460000
[    1.434915] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.441438] Creating 2 MTD partitions on "41000000.nand":
[    1.446817] 0x000000000000-0x000000e00000 : "boot"
[    1.453491] 0x000000e00000-0x000010000000 : "data"
[    1.460974] oxnas-gmac 40400000.ethernet: no reset control found
[    1.466964] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.472035]  Ring mode enabled
[    1.475074]  DMA HW capability register supported
[    1.479577]  Enhanced/Alternate descriptors
[    1.483939]  Enabled extended descriptors
[    1.487925]  RX Checksum Offload Engine supported (type 2)
[    1.493404]  TX Checksum insertion supported
[    1.497648]  Wake-Up On Lan supported
[    1.501312]  Enable RX Mitigation via HW Watchdog Timer
[    1.521443] libphy: stmmac: probed
[    1.524843] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.531320] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.537999] PPP generic driver version 2.4.2
[    1.542906] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.549416] ehci-pci: EHCI PCI platform driver
[    1.554408] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.560053] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.567843] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.589811] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.596108] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.602926] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.610150] usb usb1: Product: EHCI Host Controller
[    1.615009] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.621440] usb usb1: SerialNumber: 40200100.ehci
[    1.627100] hub 1-0:1.0: USB hub found
[    1.630958] hub 1-0:1.0: 2 ports detected
[    1.636032] usbcore: registered new interface driver cdc_acm
[    1.641730] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.649840] usbcore: registered new interface driver cdc_wdm
[    1.655656] usbcore: registered new interface driver usb-storage
[    1.661877] usbcore: registered new interface driver usbserial
[    1.667765] usbcore: registered new interface driver usbserial_generic
[    1.674383] usbserial: USB Serial support registered for generic
[    1.680849] mousedev: PS/2 mouse device common for all mice
[    1.686566] i2c /dev entries driver
[    1.691192] hidraw: raw HID events driver (C) Jiri Kosina
[    1.696806] usbcore: registered new interface driver usbhid
[    1.702415] usbhid: USB HID core driver
[    1.708426] NET: Registered protocol family 10
[    1.714324] sit: IPv6 over IPv4 tunneling driver
[    1.720012] NET: Registered protocol family 17
[    1.724641] Key type dns_resolver registered
[    1.730672] registered taskstats version 1
[    1.734786] Loading compiled-in X.509 certificates
[    1.739673] zswap: loaded using pool lzo/zbud
[    1.758548] Key type encrypted registered
[    1.809960] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.819486] ata1.00: HPA detected: current 195369455, native 195371568
[    1.826078] ata1.00: ATA-7: ST9100824AS, 3.06, max UDMA/133
[    1.831651] ata1.00: 195369455 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    1.843517] ata1.00: configured for UDMA/133
[    1.860183] scsi 0:0:0:0: Direct-Access     ATA      ST9100824AS      3.06 PQ: 0 ANSI: 5
[    1.869690] sd 0:0:0:0: [sda] 195369455 512-byte logical blocks: (100 GB/93.2 GiB)
[    1.877652] sata_oxnas: resetting SATA core
[    1.890268] sd 0:0:0:0: [sda] Write Protect is off
[    1.895262] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.910090] sata_oxnas: resetting SATA core
[    2.589949] ata2: SATA link down (SStatus 0 SControl 300)
[    2.669944] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.676807] ata1: hard resetting link
[    3.589931] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.604807] ata1.00: configured for UDMA/133
[    3.609072] ata1: EH complete
[    3.885949]  sda: sda1
[    3.890490] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.895485] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    4.080414] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.091735] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.092098] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.094425] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.094594] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.095641] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.102087] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.103134] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.104284] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.105651] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.424363] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    9.979374] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   10.104273] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   14.840929] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   14.854387] random: nonblocking pool is initialized
done.
[   17.041241] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14009/6111232 files, 775297/24420921 blocks
done.
[   17.535872] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Activating lvm and md swap...[   19.491509] Adding 524284k swap on /swapfile1.  Priority:-1 extents:10 across:724032k FS
done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67
[   27.930094] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.68.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3558 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1252 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1251 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Tue Aug  1 17:15:07 PDT 2017 from 192.168.0.220 on pts/0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 0f200000 00020000 "data"
root@debian:~# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
usb_custom_params=zswap.enabled=1
device=0:1
devices=usb ide
disks=0 1 2 3
ethaddr=52:3b:20:9c:11:51
ethact=mii0
if_netconsole=ping $serverip
ipaddr=192.168.0.222
serverip=192.168.0.220
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60510000  $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
root@debian:~# cd /tmp
root@debian:/tmp# wget ftp://admin:********@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
--2020-05-17 01:05:22--  ftp://admin:*password*@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
           => 'uboot.2015.10-tld-2.ox820.bodhi.tar'
Connecting to 192.168.68.1:21... connected.
Logging in as admin ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /HDD1/My-Station/Network Trashes Folder ... done.
==> SIZE uboot.2015.10-tld-2.ox820.bodhi.tar ... 798720
==> PASV ... done.    ==> RETR uboot.2015.10-tld-2.ox820.bodhi.tar ... done.
Length: 798720 (780K) (unauthoritative)

uboot.2015.10-tld-2 100%[===================>] 780.00K  2.33MB/s    in 0.3s

2020-05-17 01:05:23 (2.33 MB/s) - 'uboot.2015.10-tld-2.ox820.bodhi.tar' saved [798720]

root@debian:/tmp# tar -xvf uboot.2015.10-tld-2.ox820.bodhi.tar
uboot.2015.10-tld-2.ox820.mtd0.img
uboot.spl.2013.10.ox820.850mhz.mtd0.img
uboot.2015.10-tld-2.ox820.environment
uboot.2015.10-tld-2.ox820.environment.img
root@debian:/tmp# dmesg | grep -i 'bad'
[    1.265344] Scanning device for bad blocks
[    1.402222] Bad eraseblock 1699 at 0x00000d460000
root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f5f9f5c00000064 --  6 % complete
root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
Writing data to block 0 at offset 0x0
root@debian:/tmp# nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.img
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
root@debian:/tmp# cd
root@debian:~# halt

Broadcast message from root@debian (ttyS0) (Sun May 17 01:07:55 2020):

INIT: Sending[info] Using makefile-style concurrent boot in runlevel 0.
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' klogd implementation: klogd1251 (klogd)
Stopped klogd (pid 1251).
. ok
[....] Stopping busybox' syslogd implementation: syslogd1252 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.68.1 port 67
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[  309.524008] EXT4-fs (sda1): re-mounted. Opts: (null)
/etc/init.d/halt: 62: /etc/init.d/halt: /sbin/dhcpcd-bin: not found
[info] Will now halt.
[  311.861347] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  311.867092] sd 0:0:0:0: [sda] Stopping disk
[  313.875645] reboot: Power down



NAND boot :


U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set



Edited 1 time(s). Last edit at 05/17/2020 04:11AM by Kang Jinsu.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 04:12AM
The flash erase did not go well:

Quote

root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f5f9f5c00000064 -- 6 % complete

Instead of erasing 6 blocks, try erase all (0 0 meaning the entire mtd0).

flash_erase /dev/mtd0 0 0

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 04:54AM
Here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: ST9100824AS  Firm: 3.06 Ser#: 5PL2XPM1
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 95395.2 MB = 93.1 GB (195369455 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'                                             OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 1021 ms (4.3 MiB/s)
4594376 bytes read in 1017 ms (4.3 MiB/s)
7816 bytes read in 46 ms (165 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000007] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012889] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077419] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084121] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092044] Initializing cgroup subsys net_cls
[    0.096619] CPU: Testing write buffer coherency: ok
[    0.101998] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239933] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250119] devtmpfs: initialized
[    0.259310] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269258] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275737] prandom: seed boundary self test passed
[    0.285061] prandom: 100 self tests passed
[    0.289231] pinctrl core: initialized pinctrl subsystem
[    0.295339] NET: Registered protocol family 16
[    0.300451] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329825] cpuidle: using governor ladder
[    0.359815] cpuidle: using governor menu
[    0.369131] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375022] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381117] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400826] vgaarb: loaded
[    0.404072] SCSI subsystem initialized
[    0.408762] usbcore: registered new interface driver usbfs
[    0.414481] usbcore: registered new interface driver hub
[    0.420039] usbcore: registered new device driver usb
[    0.425346] pps_core: LinuxPPS API ver. 1 registered
[    0.430412] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439631] PTP clock support registered
[    0.445818] clocksource: Switched to clocksource rps_clocksource_timer
[    0.470983] NET: Registered protocol family 2
[    0.476264] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483371] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489958] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496453] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502415] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.508992] NET: Registered protocol family 1
[    0.513986] RPC: Registered named UNIX socket transport module.
[    0.520007] RPC: Registered udp transport module.
[    0.524771] RPC: Registered tcp transport module.
[    0.529533] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536422] Unpacking initramfs...
[    1.014563] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.022033] Initialise system trusted keyring
[    1.039457] zbud: loaded
[    1.047472] NFS: Registering the id_resolver key type
[    1.052779] Key type id_resolver registered
[    1.057031] Key type id_legacy registered
[    1.061196] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067962] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075363] fuse init (API version 7.23)
[    1.081423] Key type big_key registered
[    1.162396] Key type asymmetric registered
[    1.166579] Asymmetric key parser 'x509' registered
[    1.171712] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.179169] io scheduler noop registered
[    1.183224] io scheduler deadline registered
[    1.187612] io scheduler cfq registered (default)
[    1.193059] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.201159] console [ttyS0] disabled
[    1.204884] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.213568] console [ttyS0] enabled
[    1.213568] console [ttyS0] enabled
[    1.220631] bootconsole [earlycon0] disabled
[    1.220631] bootconsole [earlycon0] disabled
[    1.240683] loop: module loaded
[    1.246451] scsi host0: sata_oxnas
[    1.250700] scsi host1: sata_oxnas
[    1.254515] ata1: SATA max UDMA/133 irq 7
[    1.258513] ata2: SATA max UDMA/133 irq 7
[    1.262668] sata_oxnas: resetting SATA core
[    1.263720] nand: Could not find valid ONFI parameter page; aborting
[    1.263761] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.263767] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.263777] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.263792] Scanning device for bad blocks
[    1.400573] Bad eraseblock 1699 at 0x00000d460000
[    1.433267] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.439787] Creating 2 MTD partitions on "41000000.nand":
[    1.445166] 0x000000000000-0x000000e00000 : "boot"
[    1.451829] 0x000000e00000-0x000010000000 : "data"
[    1.459264] oxnas-gmac 40400000.ethernet: no reset control found
[    1.465303] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.470351]  Ring mode enabled
[    1.473390]  DMA HW capability register supported
[    1.477895]  Enhanced/Alternate descriptors
[    1.482250]  Enabled extended descriptors
[    1.486238]  RX Checksum Offload Engine supported (type 2)
[    1.491714]  TX Checksum insertion supported
[    1.495959]  Wake-Up On Lan supported
[    1.499599]  Enable RX Mitigation via HW Watchdog Timer
[    1.519720] libphy: stmmac: probed
[    1.523174] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.529587] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.536291] PPP generic driver version 2.4.2
[    1.541209] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.547719] ehci-pci: EHCI PCI platform driver
[    1.552698] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.558210] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.566103] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.589813] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.596113] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.602928] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.610147] usb usb1: Product: EHCI Host Controller
[    1.615001] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.621432] usb usb1: SerialNumber: 40200100.ehci
[    1.627084] hub 1-0:1.0: USB hub found
[    1.630942] hub 1-0:1.0: 2 ports detected
[    1.636011] usbcore: registered new interface driver cdc_acm
[    1.641704] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.649815] usbcore: registered new interface driver cdc_wdm
[    1.655628] usbcore: registered new interface driver usb-storage
[    1.661841] usbcore: registered new interface driver usbserial
[    1.667732] usbcore: registered new interface driver usbserial_generic
[    1.674342] usbserial: USB Serial support registered for generic
[    1.680801] mousedev: PS/2 mouse device common for all mice
[    1.686520] i2c /dev entries driver
[    1.691130] hidraw: raw HID events driver (C) Jiri Kosina
[    1.696750] usbcore: registered new interface driver usbhid
[    1.702353] usbhid: USB HID core driver
[    1.708180] NET: Registered protocol family 10
[    1.714068] sit: IPv6 over IPv4 tunneling driver
[    1.719690] NET: Registered protocol family 17
[    1.724398] Key type dns_resolver registered
[    1.730434] registered taskstats version 1
[    1.734548] Loading compiled-in X.509 certificates
[    1.739438] zswap: loaded using pool lzo/zbud
[    1.758202] Key type encrypted registered
[    1.809968] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.818304] ata1.00: HPA detected: current 195369455, native 195371568
[    1.824890] ata1.00: ATA-7: ST9100824AS, 3.06, max UDMA/133
[    1.830458] ata1.00: 195369455 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    1.842347] ata1.00: configured for UDMA/133
[    1.847296] scsi 0:0:0:0: Direct-Access     ATA      ST9100824AS      3.06 PQ: 0 ANSI: 5
[    1.856865] sd 0:0:0:0: [sda] 195369455 512-byte logical blocks: (100 GB/93.2 GiB)
[    1.864806] sata_oxnas: resetting SATA core
[    1.879656] sd 0:0:0:0: [sda] Write Protect is off
[    1.884743] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.893898] sata_oxnas: resetting SATA core
[    2.569948] ata2: SATA link down (SStatus 0 SControl 300)
[    2.649955] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.656819] ata1: hard resetting link
[    3.569943] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.585162] ata1.00: configured for UDMA/133
[    3.589429] ata1: EH complete
[    3.875422]  sda: sda1
[    3.879854] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.884884] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    4.064235] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.075809] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.075852] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.078151] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.078318] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.079339] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.085788] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.086840] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.087974] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.089328] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.376732] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   10.062343] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   10.102254] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   14.876354] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   14.902131] random: nonblocking pool is initialized
done.
[   16.997498] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14011/6111232 files, 775305/24420921 blocks
done.
[   17.492200] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Activating lvm and md swap...[   19.456437] Adding 524284k swap on /swapfile1.  Priority:-1 extents:10 across:724032k FS
done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   27.799987] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 2921 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1239 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1242 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Sun May 17 02:05:07 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# flash_erase /dev/mtd0 0 0
Erasing 128 Kibyte @ 7f61ef5c00000064 -- 112 % complete
root@debian:~#

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 04:55AM
> Instead of erasing 6 blocks, try erase all (0 0
> meaning the entire mtd0).
>
>
> flash_erase /dev/mtd0 0 0
>

Or use flash_eraseall if "flash_erase 0 0" is not available in this rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 04:56AM
Quote

root@debian:~# flash_erase /dev/mtd0 0 0
Erasing 128 Kibyte @ 7f61ef5c00000064 -- 112 % complete

That does not look right, either!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 05:00AM
Here serial console logs.

root@debian:~# flash_eraseall
flash_eraseall has been replaced by `flash_erase <mtddev> 0 0`; please use it
flash_erase: error!: no MTD device specified
flash_erase: error!: no start erase block specified
flash_erase: error!: no erase block count specified
flash_erase: error!: Try `--help' for more information
root@debian:~# flash_eraseall /dev/mtd0
flash_eraseall has been replaced by `flash_erase <mtddev> 0 0`; please use it
Erasing 128 Kibyte @ 7f624f5c00000064 -- 112 % complete
root@debian:~#

umm, same...
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 05:00AM
Reboot.

Interrupt serial console and erase 6 blocks

nand erase 0x0 0xC0000

And enter envs to continue booting with HDD into Debian, and then try flashing again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 05:25AM
HDD freezes or does not tik tik, but continuous boot error ...


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: ST9100824AS  Firm: 3.06 Ser#: 5PL2XPM1
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 95395.2 MB = 93.1 GB (195369455 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # nand erase 0x0 0xC0000

NAND erase: device 0 offset 0x0, size 0xc0000
Erasing at 0xa0000 -- 100% complete.
OK
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 1012 ms (4.4 MiB/s)
4594376 bytes read in 1006 ms (4.4 MiB/s)
7816 bytes read in 46 ms (165 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077419] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084119] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092052] Initializing cgroup subsys net_cls
[    0.096624] CPU: Testing write buffer coherency: ok
[    0.102005] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239936] Brought up 2 CPUs
[    0.242984] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250127] devtmpfs: initialized
[    0.259450] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269401] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275893] prandom: seed boundary self test passed
[    0.285219] prandom: 100 self tests passed
[    0.289392] pinctrl core: initialized pinctrl subsystem
[    0.295485] NET: Registered protocol family 16
[    0.300587] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359815] cpuidle: using governor menu
[    0.369195] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375073] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381168] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401180] vgaarb: loaded
[    0.404413] SCSI subsystem initialized
[    0.409059] usbcore: registered new interface driver usbfs
[    0.414773] usbcore: registered new interface driver hub
[    0.420328] usbcore: registered new device driver usb
[    0.425630] pps_core: LinuxPPS API ver. 1 registered
[    0.430691] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439938] PTP clock support registered
[    0.446126] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471331] NET: Registered protocol family 2
[    0.476620] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483727] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490311] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496811] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502766] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509340] NET: Registered protocol family 1
[    0.514334] RPC: Registered named UNIX socket transport module.
[    0.520360] RPC: Registered udp transport module.
[    0.525122] RPC: Registered tcp transport module.
[    0.529914] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536778] Unpacking initramfs...
[    1.014448] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021893] Initialise system trusted keyring
[    1.040197] zbud: loaded
[    1.048168] NFS: Registering the id_resolver key type
[    1.053457] Key type id_resolver registered
[    1.057704] Key type id_legacy registered
[    1.061867] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.068628] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075996] fuse init (API version 7.23)
[    1.082037] Key type big_key registered
[    1.086246] alg: No test fo▒ cipher_null (cipher_null-generc@
[    1.093253] alg: hash: Test▒4 failed for sha256-generic
[    1.098544] 00000000:▒1d 66 63 3f 43 5c ea 16 c9 5c 85 79 44 4a 53 0d
[    1.105131] 00000010:47 e4 d6 b1 c7 94 d6 fc 09 14 39 46 29 cd cc 71
[    1.112043] alg: hash: Test▒4 failed for sha224-generi
[    1.117335] 00000000:▒88 e3 6e 01 4d 5c 7c e4 b5 35 fd 3c b2 58 06 01
[    1.123980] 00000010:▒2e a7 43 d6 4e c7 83 50 44 d9 cc e8
[    1.129815] alg: No test fo aes (aes-gener▒c
[    1.134645] alg: cipher: Test 1 failed on encryptio▒ for arc4-generic
[    1.141268] 00000000:`
[    1.143979] alg: skcipher: Test 1 failed (invalid result) oe encryption for▒ecb(arc4)-generc
[    1.152655] 00000000:75 b7 87 80 99 00 c5 96
[    1.157816] alg: comp: Compression test 1 failed fo deflate-generi▒: output len = ▒5
[    1.166804] alg: comp: Decompression test 1 failed for lzo-generic
[    1.173168] 00000000:▒54 68 69 73 20 64 6f 63 75 6d 65 6e 74 20 64 65
[    1.179665] 00000010:▒73 63 72 69 62 65 73 20 61 20 63 6f 6d 70 72 65
[    1.186250] 00000020:
[    1.188682] 00000030:
[    1.191203] 00000040:
[    1.193635] 00000050:
[    1.196062] 00000060:
[    1.198489] 00000070:
[    1.200988] 00000080:
[    1.203420] 00000090:
[    1.266306] DRBG: could not allocate digest TFM handle: hmac(sha256
[    1.272821] alg: drbg: Failed to reset rng
[    1.276994] alg: drbg: Test0 failed for drbg_pr_hmac_sha256
[    1.297267] DRBG: could not allocate digest TFM handle: hmac(sha256
[    1.303772] alg: drbg: Failed to reset rng
[    1.307939] alg: drbg: Test▒0 failed for drbg_nopr_hmac_sha256
[    1.316720] alg: hash: Chunking tes 1 failed for ghash-generic
[    1.322795] 00000000:8a ad aa ff 93 42 19 7c fb d3 f0 95 90 e3 19 73
[    1.329377] Key type asymmetric registered
[    1.333596] Asymmetric key parser 'x509' registered
[    1.338659] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.346170] io scheduler noop registered
[    1.350195] io scheduler deadline registered
[    1.354583] io scheduler cfq registered (default)
[    1.360081] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.367966] console [ttyS0] disabled
[    1.371750] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.380431] console [ttyS0] enabled
[    1.380431] console [ttyS0] enabled
[    1.387448] bootconsole [earlycon0] disabled
[    1.387448] bootconsole [earlycon0] disabled
[    1.427527] loop: module loaded
[    1.433553] scsi host0: sata_oxnas
[    1.437683] scsi host1: sata_oxnas
[    1.441556] ata1: SATA max UDMA/133 irq 7
[    1.445552] ata2: SATA max UDMA/133 irq 7
[    1.449648] sata_oxnas: resetting SATA coe
[    1.450759] nand: Could not find valid ONFI parameter page; aborting
[    1.450803] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.450805] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.450816] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.450833] Scanning device for bad blocks
[    1.588080] Bad eraseblock 1699 at 0x00000d460000
[    1.621120] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.627619] Creating 2 MTD partitions on "41000000.nand":
[    1.633024] 0x000000000000-0x000000e00000 : "boot"
[    1.639636] 0x000000e00000-0x000010000000 : "data"
[    1.647185] oxnas-gmac 40400000.ethernet: no reset control found
[    1.653224] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.658250]  Ring mode enabled
[    1.661312]  DMA HW capability register supported
[    1.665817]  Enhanced/Alternate descriptors
[    1.670172]  Enabled extended descriptors
[    1.674163]  RX Checksum Offload Engine supported (type 2)
[    1.679616]  TX Checksum insertion supported
[    1.683880]  Wake-Up On Lan supported
[    1.687523]  Enable RX Mitigation via HW Watchdog Timer
[    1.724984] libphy: stmmac: probed
[    1.728386] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.734845] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.741539] PPP generic driver version 2.4.2
[    1.746370] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.752988] ehci-pci: EHCI PCI platform driver
[    1.757900] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.763486] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.771345] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.789816] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.796121] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.802938] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.810163] usb usb1: Product: EHCI Host Controller
[    1.815019] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.821465] usb usb1: SerialNumber: 40200100.ehci
[    1.827095] hub 1-0:1.0: USB hub found
[    1.830950] hub 1-0:1.0: 2 ports detected
[    1.836029] usbcore: registered new interface driver cdc_acm
[    1.841725] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.849835] usbcore: registered new interface driver cdc_wdm
[    1.855651] usbcore: registered new interface driver usb-storage
[    1.861872] usbcore: registered new interface driver usbserial
[    1.867758] usbcore: registered new interface driver usbserial_generic
[    1.874370] usbserial: USB Serial support registered for generic
[    1.880808] mousedev: PS/2 mouse device common for all mice
[    1.886528] i2c /dev entries driver
[    1.891164] hidraw: raw HID events driver (C) Jiri Kosina
[    1.896770] usbcore: registered new interface driver usbhid
[    1.902374] usbhid: USB HID core driver
[    1.908188] NET: Registered protocol family 10
[    1.914083] sit: IPv6 over IPv4 tunneling driver
[    1.919690] NET: Registered protocol family 17
[    1.924372] Key type dns_resolver registered
[    1.930426] registered taskstats version 1
[    1.934543] Loading compiled-in X.509 certificates
[    1.952714] zswap: default compressor lzo not available
[    1.957921] zswap: pool creation failed
[    1.975288] UBIFS error (pid 1): cannot initialize compressor lzo, error -2
[    2.009006] encrypted_key: could not allocate crypto hmac(sha256)
[    2.019988] ata1: SATA link up 1.5 Gbps (SStatus 11R SControl 310(
[    2.029012] Eata1.00J HPA detected: current 19536945▒, nativ6 195371568
[    2.035983] ▒ata1.00 ATA-7: ST9100824AS, 3.6, max UDMA/133
[    2.041978] ▒ata1.00 195369455 sectors, multi 0: LBA48 NCQ (dept
[    2.053058] Eata1.00Q configured forUDMA/13▒
[    2.070246] scsi 0:0:0:0: Direct-Access     ATA      ST9100824AS      3.06 PQ: 0 ANSI: 5
[    2.080209] sata_oxnas: resetting SATA core
[    2.080256] s 0:0:0:0: [sda]31953694
[    2.080750] s 0:0:0:0: [sda]
[    2.080977] s 0:0:0:0: [sda]%Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.129943] sata_oxnas: resetting SATA core
[    2.809802] ata2: SATA link down (SStatus 0 SControl 300)
[    2.889981] ▒ata1: exception Emask 010 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.897016] Eata1: hard resetting li▒k
[    3.809973] ▒ata1: SATA link up 1.5 Gbps (SStatus 11n SControl 310)
[    3.825420] ata1.00d configured forUDMA/13
[    3.829859] Eata1: EH complete

[   35.119820] sata_oxnas: resetting SATA co▒e
[   35.479964] Eata1.00▒ exception Emask 0x0 SAct 0x0 SErr 0x0 action 0 6 froze
[   35.487160] ▒ata1.00▒ failed commandE READ D9A
[   35.491714] ▒ata1.00▒ cmd c800:01:0▒:00:00/0:00:00▒00:00/e▒ tag 8 dma 51n ▒▒
[   35▒491714]          res 0/00:00▒00:00:0▒/00:00:▒0:00:0000 Emask 0x4 (timeout)
[   35.506350] ▒ata1.00% status: { DRDYd}
[   35.510195] ▒ata1: hard resetting li9k
[   36.019944] pata1: SATA link up 1.5 Gbps (SStatus 11▒ SControl 310)
[   36.029294] ▒ata1.00Q configured forUDMA/13
[   36.033766] ata1.00G device reported invalid CHS sector 0
[   36.039216] ▒ata1: EH complee
[   67.039976] sata_oxnas: resetting SATA co9e
[   67.399969] ▒ata1.00d exception Emask 0x0 SAct 0x0 SErr 0x0 action 0 6 froze
[   67.407168] ▒ata1.00d failed command READ D9A
[   67.411722] ▒ata1.00d cmd c800:01:0:00:00/▒0:00:00▒00:00/e tag 20 dma 51n in
[   67.411722]          res▒40/00:0▒:00:00:▒0/00:00▒00:00:0/00 Emask 0x4 (timeout)
[   67.426449] ▒ata1.00e status: { DRDY▒}
[   67.430292] Eata1: hard resetting link
[   67.939955] ▒ata1: SATA link up 1.5 Gbps (SStatus 11▒ SControl 310)
[   67.949276] ▒ata1.00d configured forUDMA/13
[   67.953745] ▒ata1.00▒ device reported invalid CHS sector0
[   67.959362] ▒ata1: EH complete
[   98.079979] sata_oxnas: resetting SATA core
[   98.439974] ▒ata1.00i limiting speed to UDMA/100:PIO▒
[   98.445094] ▒ata1.00a exception Emask 0x0 SAct 0x0 SErr 0x0 action 06 frozed
[   98.452313] ▒ata1.00▒ failed command READ DA
[   98.456834] ▒ata1.00▒ cmd c800:01:07:00:00/▒0:00:0000:00/e0 tag 23 dma 51x in
[   9▒.456834▒          res40/00:0:00:00:e0/00:00:00:00:0/00 Emask 0x4 (timeout)
[   98.471554] ▒ata1.00▒ status: { DRDY9}
[   98.475379] ▒ata1: hard resetting link
[   98.979960] ata1: SATA link up 1.5 Gbps (SStatus 11R SControl 310)
[   98.989301] ata1.00▒ configured for▒UDMA/10
[   98.993774] ata1.00▒ device reported invalid CHS sector 0
[   98.999221] ▒ata1: EH completa
[   99.013445] ▒sda: detected capacity change from 0 to▒100029160960
[   99.020605] s▒ 0:0:0:0: [sda]rAttached SCSI dik
[   99.025697] Freeing unused kernel memory: 224K (c0828000 - c0860000)
[   99.026129] ▒sda: detected capacity change from 0 toA100029160960
[   99.041315] Kernel panic - not syncing: Attempted to kill init! exitcode=
[   99.048079] ▒CPU: 1 PID: 1 Comm: ini▒ Not tainted 4.4.54-oxnas-tld-1▒#2
[   99.054740] ▒Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[   99.061429] [c0010c6>] (unwind_backtrace) from [<c000cf8c>](show_stack+0x10/0x14)
[   99.069143] [c000cf8>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0
[   99.076336] [c02cf84>] (dump_stack) from [<c0091c78>] (pani)
[   99.082150] [c0091c78>] (panPc) from [<c001a5f0>] (do_exit+0x9b)
[   99.088217] [c001a5f0>] (do_exit) from [<c001b600>] zdo_group_exi)
[   99.094461] [c001b600>] (do_group_ex▒t) from [<c002452c>] (get_signal+0x200/0x5ec)
[   99.102087] [c002452c>] (get_signal) from [<c000c72c>] (do_signal+0x▒4/0x3b0)
[   99.109278] [c000c72c>] (do_signal) from [<c000cbcc>] (do_work_pending+0x94▒0xa4)
[   99.116815] [c000cbcc>] (do_work_pending) from [<c000a4ac>] slow_work_pending+0x▒/0x20)
[   99.124961] CPU0: stopping
[   99.127662] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.54-oxnas-tld-1 #2
[   99.134584] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[   99.141096] [<c0010c6c>] (unwind_backtrace) from [<c000cf8c>] (show_stack+0x10/0x14)
[   99.148810] [<c000cf8c>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[   99.156008] [<c02cf840>] (dump_stack) from [<c000fb84>] (handle_IPI+0x190/0x1c4)
[   99.163374] [<c000fb84>] (handle_IPI) from [<c0009468>] (gic_handle_irq+0x74/0x7c)
[   99.170910] [<c0009468>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[   99.178355] Exception stack(0xc0861f50 to 0xc0861f98)
[   99.183383] 1f40:                                     00000001 00000000 00000000 00000000
[   99.191521] 1f60: 00000000 c061c62c 00000000 c0861fa8 c085b2c4 c08686ac c0860000 00000000
[   99.199659] 1f80: 00000000 c0861fa0 c000af3c c000af40 60000013 ffffffff
[   99.206246] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[   99.213614] [<c000af40>] (arch_cpu_idle) from [<c004d348>] (cpu_startup_entry+0x14c/0x260)
[   99.221841] [<c004d348>] (cpu_startup_entry) from [<c0828bf8>] (start_kernel+0x338/0x3ac)
[   99.229985] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 05:47AM
Well, is it because the device is too hot?
Boots up after cooling.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: ST9100824AS  Firm: 3.06 Ser#: 5PL2XPM1
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 95395.2 MB = 93.1 GB (195369455 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 1000 ms (4.4 MiB/s)
4594376 bytes read in 1017 ms (4.3 MiB/s)
7816 bytes read in 47 ms (162.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077422] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084121] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092055] Initializing cgroup subsys net_cls
[    0.096627] CPU: Testing write buffer coherency: ok
[    0.102005] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239933] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250114] devtmpfs: initialized
[    0.259435] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269383] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275870] prandom: seed boundary self test passed
[    0.285191] prandom: 100 self tests passed
[    0.289364] pinctrl core: initialized pinctrl subsystem
[    0.295470] NET: Registered protocol family 16
[    0.300574] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369162] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375040] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381127] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401203] vgaarb: loaded
[    0.404436] SCSI subsystem initialized
[    0.409082] usbcore: registered new interface driver usbfs
[    0.414801] usbcore: registered new interface driver hub
[    0.420352] usbcore: registered new device driver usb
[    0.425669] pps_core: LinuxPPS API ver. 1 registered
[    0.430732] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439976] PTP clock support registered
[    0.446161] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471170] NET: Registered protocol family 2
[    0.476456] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483571] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490142] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496634] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502597] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509176] NET: Registered protocol family 1
[    0.514160] RPC: Registered named UNIX socket transport module.
[    0.520184] RPC: Registered udp transport module.
[    0.524951] RPC: Registered tcp transport module.
[    0.529710] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536591] Unpacking initramfs...
[    1.014960] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.022382] Initialise system trusted keyring
[    1.039715] zbud: loaded
[    1.047628] NFS: Registering the id_resolver key type
[    1.052851] Key type id_resolver registered
[    1.057100] Key type id_legacy registered
[    1.061281] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.068044] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075448] fuse init (API version 7.23)
[    1.081556] Key type big_key registered
[    1.164277] Key type asymmetric registered
[    1.168458] Asymmetric key parser 'x509' registered
[    1.173583] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.181096] io scheduler noop registered
[    1.185098] io scheduler deadline registered
[    1.189480] io scheduler cfq registered (default)
[    1.194954] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.202905] console [ttyS0] disabled
[    1.206632] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.215313] console [ttyS0] enabled
[    1.215313] console [ttyS0] enabled
[    1.222379] bootconsole [earlycon0] disabled
[    1.222379] bootconsole [earlycon0] disabled
[    1.242462] loop: module loaded
[    1.248279] scsi host0: sata_oxnas
[    1.252474] scsi host1: sata_oxnas
[    1.256291] ata1: SATA max UDMA/133 irq 7
[    1.260349] ata2: SATA max UDMA/133 irq 7
[    1.264440] sata_oxnas: resetting SATA core
[    1.265515] nand: Could not find valid ONFI parameter page; aborting
[    1.265556] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.265561] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.265571] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.265589] Scanning device for bad blocks
[    1.402741] Bad eraseblock 1699 at 0x00000d460000
[    1.435824] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.442344] Creating 2 MTD partitions on "41000000.nand":
[    1.447723] 0x000000000000-0x000000e00000 : "boot"
[    1.454397] 0x000000e00000-0x000010000000 : "data"
[    1.481303] oxnas-gmac 40400000.ethernet: no reset control found
[    1.487293] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.492364]  Ring mode enabled
[    1.495403]  DMA HW capability register supported
[    1.499932]  Enhanced/Alternate descriptors
[    1.504266]  Enabled extended descriptors
[    1.508252]  RX Checksum Offload Engine supported (type 2)
[    1.513725]  TX Checksum insertion supported
[    1.517969]  Wake-Up On Lan supported
[    1.521630]  Enable RX Mitigation via HW Watchdog Timer
[    1.541957] libphy: stmmac: probed
[    1.545354] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.551833] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.558510] PPP generic driver version 2.4.2
[    1.563425] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.570014] ehci-pci: EHCI PCI platform driver
[    1.574937] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.580556] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.588344] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.609812] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.616104] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.622924] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.630141] usb usb1: Product: EHCI Host Controller
[    1.634995] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.641425] usb usb1: SerialNumber: 40200100.ehci
[    1.647116] hub 1-0:1.0: USB hub found
[    1.650982] hub 1-0:1.0: 2 ports detected
[    1.656066] usbcore: registered new interface driver cdc_acm
[    1.661765] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.669875] usbcore: registered new interface driver cdc_wdm
[    1.675691] usbcore: registered new interface driver usb-storage
[    1.681917] usbcore: registered new interface driver usbserial
[    1.687813] usbcore: registered new interface driver usbserial_generic
[    1.694417] usbserial: USB Serial support registered for generic
[    1.700894] mousedev: PS/2 mouse device common for all mice
[    1.706616] i2c /dev entries driver
[    1.711239] hidraw: raw HID events driver (C) Jiri Kosina
[    1.716856] usbcore: registered new interface driver usbhid
[    1.722462] usbhid: USB HID core driver
[    1.728506] NET: Registered protocol family 10
[    1.734394] sit: IPv6 over IPv4 tunneling driver
[    1.740121] NET: Registered protocol family 17
[    1.744750] Key type dns_resolver registered
[    1.750743] registered taskstats version 1
[    1.754859] Loading compiled-in X.509 certificates
[    1.759802] zswap: loaded using pool lzo/zbud
[    1.778772] Key type encrypted registered
[    1.799987] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.809172] ata1.00: HPA detected: current 195369455, native 195371568
[    1.815764] ata1.00: ATA-7: ST9100824AS, 3.06, max UDMA/133
[    1.821419] ata1.00: 195369455 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    1.833195] ata1.00: configured for UDMA/133
[    1.838159] scsi 0:0:0:0: Direct-Access     ATA      ST9100824AS      3.06 PQ: 0 ANSI: 5
[    1.847687] sd 0:0:0:0: [sda] 195369455 512-byte logical blocks: (100 GB/93.2 GiB)
[    1.855690] sata_oxnas: resetting SATA core
[    1.870287] sd 0:0:0:0: [sda] Write Protect is off
[    1.875284] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.890076] sata_oxnas: resetting SATA core
[    2.569953] ata2: SATA link down (SStatus 0 SControl 300)
[    2.649953] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.656816] ata1: hard resetting link
[    3.569937] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.585246] ata1.00: configured for UDMA/133
[    3.589509] ata1: EH complete
[    3.875491]  sda: sda1
[    3.880012] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.884974] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    4.067358] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.078720] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.079784] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.082178] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.082344] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.083389] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.089725] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.090903] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.092026] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.093414] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.398407] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    9.978298] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[    9.999196] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   10.006172] EXT4-fs (sda1): write access will be enabled during recovery
[   10.157742] EXT4-fs (sda1): recovery complete
[   10.213470] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   14.855091] random: nonblocking pool is initialized
[   15.115379] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
done.
[   17.219461] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14013/6111232 files, 775312/24420921 blocks
done.
[   17.680801] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Activating lvm and md swap...[   19.600476] Adding 524284k swap on /swapfile1.  Priority:-1 extents:10 across:724032k FS
done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   28.869982] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3525 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1240 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1239 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Sun May 17 03:04:37 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

rk%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar1/HDD1/My-Station/Networ
--2020-05-17 03:44:27--  ftp://admin:*password*@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
           => 'uboot.2015.10-tld-2.ox820.bodhi.tar'
Connecting to 192.168.68.1:21... connected.
Logging in as admin ... Logged in!0-tld-2.ox820.bodhi.tar1/HDD1/My-Station/Networ
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /HDD1/My-Station/Network Trashes Folder ... done.
==> SIZE uboot.2015.10-tld-2.ox820.bodhi.tar ... 798720
==> PASV ... done.    ==> RETR uboot.2015.10-tld-2.ox820.bodhi.tar ... done.
Length: 798720 (780K) (unauthoritative)

uboot.2015.10-tld-2 100%[===================>] 780.00K  --.-KB/s    in 0.03s

2020-05-17 03:44:27 (25.8 MB/s) - 'uboot.2015.10-tld-2.ox820.bodhi.tar' saved [798720]

root@debian:/tmp# tar -xvf uboot.2015.10-tld-2.ox820.bodhi.tar
uboot.2015.10-tld-2.ox820.mtd0.img
uboot.spl.2013.10.ox820.850mhz.mtd0.img
uboot.2015.10-tld-2.ox820.environment
uboot.2015.10-tld-2.ox820.environment.img
root@debian:/tmp# nand_write /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
-bash: nand_write: command not found
root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
Writing data to block 0 at offset 0x0
mgot@debian:/tmp# nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.im
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
root@debian:/tmp# halt

Broadcast message from root@debian (ttyS0) (Sun May 17 03:46:35 2020):

INIT: Sending proce[info] Using makefile-style concurrent boot in runlevel 0.
[....] Stopping busybox' klogd implementation: klogd1239 (klogd)
Stopped klogd (pid 1239).
. ok
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1240 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.68.1 port 67
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[  223.664094] EXT4-fs (sda1): re-mounted. Opts: (null)
/etc/init.d/halt: 62: /etc/init.d/halt: /sbin/dhcpcd-bin: not found
[info] Will now halt.
[  226.001341] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  226.007191] sd 0:0:0:0: [sda] Stopping disk
[  228.015756] reboot: Power down

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 06:06AM
Kang Jinsu,

> Well, is it because the device is too hot?
> Boots up after cooling.

That could be the problem. The processor is overclocked to 850Mhz in this SPL. There is much less air ventilation for this box case comparing to the Pogo V3.

I think I need to find my 750Mhz SPL image for you. That will help with the heat problem and eliminate another variable. Whenever we overclock, there is potentially unstable behavior, similar to power supply problem. I recall someone asked for the 750Mhz SPL because his box is not stable, but I cannot remember if it was this Akitio box or other Oxans one.

=======

In the mean time this looks better:
OX820 # nand erase 0x0 0xC0000

NAND erase: device 0 offset 0x0, size 0xc0000
Erasing at 0xa0000 -- 100% complete.

UPDATE: looks like you did reflash. Let me take a look.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/17/2020 06:08AM by bodhi.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 06:12AM
Kang Jinsu,

- Erase 6 blocks in u-boot as before
- Boot into Debian, reflash SPL, u-boot.

and then

fw_printenv

Reboot.

I'll be back tomorrow!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 06:46AM
Here serial console logs.




U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: ST9100824AS  Firm: 3.06 Ser#: 5PL2XPM1
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 95395.2 MB = 93.1 GB (195369455 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # nand erase 0x0 0xC0000

NAND erase: device 0 offset 0x0, size 0xc0000
Erasing at 0xa0000 -- 100% complete.
OK
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 #
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 1010 ms (4.4 MiB/s)
4594376 bytes read in 1017 ms (4.3 MiB/s)
7816 bytes read in 47 ms (162.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008332] Console: colour dummy device 80x30
[    0.012889] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072588] pid_max: default: 32768 minimum: 301
[    0.077429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084131] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092044] Initializing cgroup subsys net_cls
[    0.096619] CPU: Testing write buffer coherency: ok
[    0.102000] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239936] Brought up 2 CPUs
[    0.242984] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250124] devtmpfs: initialized
[    0.259445] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269396] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275878] prandom: seed boundary self test passed
[    0.285199] prandom: 100 self tests passed
[    0.289372] pinctrl core: initialized pinctrl subsystem
[    0.295485] NET: Registered protocol family 16
[    0.300592] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359813] cpuidle: using governor menu
[    0.369121] gpio-oxnas 44000000.gpio: at address d0848000
[    0.374996] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381094] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401203] vgaarb: loaded
[    0.404449] SCSI subsystem initialized
[    0.409105] usbcore: registered new interface driver usbfs
[    0.414822] usbcore: registered new interface driver hub
[    0.420380] usbcore: registered new device driver usb
[    0.425684] pps_core: LinuxPPS API ver. 1 registered
[    0.430750] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439992] PTP clock support registered
[    0.446208] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471582] NET: Registered protocol family 2
[    0.476861] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483975] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490544] TCP: Hash tables configured (established 2048 bind 2048)
[    0.497044] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.503004] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509585] NET: Registered protocol family 1
[    0.514570] RPC: Registered named UNIX socket transport module.
[    0.520591] RPC: Registered udp transport module.
[    0.525355] RPC: Registered tcp transport module.
[    0.530140] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.537003] Unpacking initramfs...
[    1.014796] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.022341] Initialise system trusted keyring
[    1.039982] zbud: loaded
[    1.047833] NFS: Registering the id_resolver key type
[    1.053137] Key type id_resolver registered
[    1.057384] Key type id_legacy registered
[    1.061544] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.068311] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075704] fuse init (API version 7.23)
[    1.081853] Key type big_key registered
[    1.171776] Key type asymmetric registered
[    1.175956] Asymmetric key parser 'x509' registered
[    1.181089] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.188549] io scheduler noop registered
[    1.192606] io scheduler deadline registered
[    1.196994] io scheduler cfq registered (default)
[    1.202455] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.210434] console [ttyS0] disabled
[    1.214161] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.222868] console [ttyS0] enabled
[    1.222868] console [ttyS0] enabled
[    1.229946] bootconsole [earlycon0] disabled
[    1.229946] bootconsole [earlycon0] disabled
[    1.250160] loop: module loaded
[    1.255953] scsi host0: sata_oxnas
[    1.260200] scsi host1: sata_oxnas
[    1.264007] ata1: SATA max UDMA/133 irq 7
[    1.268003] ata2: SATA max UDMA/133 irq 7
[    1.272138] sata_oxnas: resetting SATA core
[    1.273208] nand: Could not find valid ONFI parameter page; aborting
[    1.273251] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.273256] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.273264] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.273282] Scanning device for bad blocks
[    1.438305] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.444833] Creating 2 MTD partitions on "41000000.nand":
[    1.450237] 0x000000000000-0x000000e00000 : "boot"
[    1.456872] 0x000000e00000-0x000010000000 : "data"
[    1.464417] oxnas-gmac 40400000.ethernet: no reset control found
[    1.470458] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.475484]  Ring mode enabled
[    1.478517]  DMA HW capability register supported
[    1.483046]  Enhanced/Alternate descriptors
[    1.487377]  Enabled extended descriptors
[    1.491384]  RX Checksum Offload Engine supported (type 2)
[    1.496837]  TX Checksum insertion supported
[    1.501102]  Wake-Up On Lan supported
[    1.504744]  Enable RX Mitigation via HW Watchdog Timer
[    1.525207] libphy: stmmac: probed
[    1.528601] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.535065] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.541813] PPP generic driver version 2.4.2
[    1.546652] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.553272] ehci-pci: EHCI PCI platform driver
[    1.558195] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.563778] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.571627] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.589816] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.596113] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.602931] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.610158] usb usb1: Product: EHCI Host Controller
[    1.615011] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.621455] usb usb1: SerialNumber: 40200100.ehci
[    1.627105] hub 1-0:1.0: USB hub found
[    1.630963] hub 1-0:1.0: 2 ports detected
[    1.636044] usbcore: registered new interface driver cdc_acm
[    1.641740] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.649845] usbcore: registered new interface driver cdc_wdm
[    1.655656] usbcore: registered new interface driver usb-storage
[    1.661877] usbcore: registered new interface driver usbserial
[    1.667778] usbcore: registered new interface driver usbserial_generic
[    1.674396] usbserial: USB Serial support registered for generic
[    1.680860] mousedev: PS/2 mouse device common for all mice
[    1.686581] i2c /dev entries driver
[    1.691189] hidraw: raw HID events driver (C) Jiri Kosina
[    1.696803] usbcore: registered new interface driver usbhid
[    1.702407] usbhid: USB HID core driver
[    1.708200] NET: Registered protocol family 10
[    1.714040] sit: IPv6 over IPv4 tunneling driver
[    1.719667] NET: Registered protocol family 17
[    1.724364] Key type dns_resolver registered
[    1.730393] registered taskstats version 1
[    1.734510] Loading compiled-in X.509 certificates
[    1.739399] zswap: loaded using pool lzo/zbud
[    1.758387] Key type encrypted registered
[    1.809966] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.819878] ata1.00: HPA detected: current 195369455, native 195371568
[    1.826470] ata1.00: ATA-7: ST9100824AS, 3.06, max UDMA/133
[    1.832043] ata1.00: 195369455 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    1.843906] ata1.00: configured for UDMA/133
[    1.848857] scsi 0:0:0:0: Direct-Access     ATA      ST9100824AS      3.06 PQ: 0 ANSI: 5
[    1.858383] sd 0:0:0:0: [sda] 195369455 512-byte logical blocks: (100 GB/93.2 GiB)
[    1.866347] sata_oxnas: resetting SATA core
[    1.880261] sd 0:0:0:0: [sda] Write Protect is off
[    1.885258] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.900072] sata_oxnas: resetting SATA core
[    2.579955] ata2: SATA link down (SStatus 0 SControl 300)
[    2.659952] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.666816] ata1: hard resetting link
[    3.579939] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.594119] ata1.00: configured for UDMA/133
[    3.598384] ata1: EH complete
[    3.897361]  sda: sda1
[    3.901890] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.906890] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    4.090754] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.101117] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.101839] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.122488] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.131927] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.142243] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.157893] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.168235] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.178641] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.189312] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.502328] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   10.150778] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   10.205857] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   14.979688] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   15.015375] random: nonblocking pool is initialized
done.
[   17.063692] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14014/6111232 files, 775319/24420921 blocks
done.
[   17.536281] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Activating lvm and md swap...[   19.468282] Adding 524284k swap on /swapfile1.  Priority:-1 extents:10 across:724032k FS
done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   28.820108] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3525 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1246 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1244 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Sun May 17 04:28:21 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
rk%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar1/HDD1/My-Station/Networ# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
--2020-05-17 04:37:13--  ftp://admin:*password*@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
           => 'uboot.2015.10-tld-2.ox820.bodhi.tar'oot.2015.10-tld-2.ox820.enviro
Connecting to 192.168.68.1:21... connected.
Logging in as admin ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /HDD1/My-Station/Network Trashes Folder ... done.
==> SIZE uboot.2015.10-tld-2.ox820.bodhi.tar ... 798720
==> PASV ... done.    ==> RETR uboot.2015.10-tld-2.ox820.bodhi.tar ... done.
Length: 798720 (780K) (unauthoritative)

uboot.2015.10-tld-2 100%[===================>] 780.00K  --.-KB/s    in 0.03s
root@debian:/tmp# nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.img
Writing data to block 2 at offset 0x40000ev/mtd0 uboot.2015.10-tld-2.ox820.enviro
Writing data to block 3 at offset 0x60000
root@debian:/tmp# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
usb_custom_params=zswap.enabled=1
device=0:1
devices=usb ide
disks=0 1 2 3
ethaddr=52:3b:20:9c:11:51
ethact=mii0
if_netconsole=ping $serverip
ipaddr=192.168.0.222
serverip=192.168.0.220
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60510000  $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
root@debian:/tmp#

The console program is strange, so it is cut off, but both spl and uboot are recorded.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 04:29PM
Shutdown:

shutdown -h now


And power up. See if you can see the whole log now.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 17, 2020 11:35PM
Here serial console logs.


U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set


Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 01:59AM
Kang Jinsu,

Ok so NAND u-boot could not start. The flash seems successul, but the image in NAND is apparently not good.

One last check.

Log in to Debian and try erase again.

flash_erase /dev/mtd0 0 0

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 02:15AM
Here serial console logs.

root@debian:~# flash_erase /dev/mtd0 0 0
Erasing 128 Kibyte @ 7f5dcf5c00000064 -- 112 % complete 
root@debian:~# 

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 02:45AM
Kang Jinsu,

> Here serial console logs.
>
>
> root@debian:~# flash_erase /dev/mtd0 0 0
> Erasing 128 Kibyte @ 7f5dcf5c00000064 -- 112 %
> complete 
> root@debian:~# 
> 
>

That did not look right.

I think we can say now that this NAND chip upgrade is not successful.

Perhaps it's time to concentrate to run with the HHD only. And revisit the NAND issue later in the future.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 03:16AM
Uh... Is that so?

Thank you for your advice.
It's only HDD boot.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 03:52AM
Kang Jinsu,

That was the same behavior with NAND.

But do try to refash u-boot again. See if it can start.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 09:41AM
I've tried NAND several times, but it doesn't work.


U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set

Enter all the commands in the post.
The results are the same.

+
And, another new thing

After erasing all NAND, booting HDD causes errors.
After writing U-BOOT to NAND, the error does not go well.

U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # nand erase 0 10000000

NAND erase: device 0 whole chip
Erasing at 0x5ea0000 --  37% complete.
nand0: MTD Erase failure: -5
Erasing at 0xd460000 --  83% complete.
nand0: MTD Erase failure: -5
Erasing at 0xffe0000 -- 100% complete.
OK
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 740 ms (6 MiB/s)
4594376 bytes read in 712 ms (6.2 MiB/s)
7816 bytes read in 49 ms (155.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077422] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084121] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092055] Initializing cgroup subsys net_cls
[    0.096627] CPU: Testing write buffer coherency: ok
[    0.102010] Setting up static identity map for 0x60008220 - 0x60008258
[   40.239874] Unable to handle kernelnNULL pointer dereferenco at virtual addres 0000000
[   00.239930] Brought up 2 CPUs
[   10.239941] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[   60.240616] devtmpfs: initialized
[   70.250347] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   00.250380] futex hash table entries: 512 (order: 2, 16384 bytes)
[   20.250662] prandom: seed boundary self test passed
[   10.255011] prandom: 100 self tests passed
[   70.255027] pinctrl core: initialized pinctrl subsystem
[   20.255872] NET: Registered protocol family 16
[   00.256430] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   0.30257] pgd = c000400
[   0.305350] [000000▒0] *pgd00000000
[   0.30917▒] Internal error:%Oos: 5 [#] PREEMPT SMP ARM
[   40.314532] Modules linked in:
[   ▒0.31765] CP1: 1 PID3 0 Comm swappe/1 Not tainted 4.4.54-oxnas-tl1#2
[   0.32466] Hardware name: PLX7ECH NAS782X SoC (Flattened Device Tree)
[   0.331238] ▒task: cf046d00 ti:cf06a000 task.t: cf06a▒0
[   ▒0.33686] PC is at _raw_spin_lo▒k+0x14/0x54
[   0.34128] LR is at _raw_spin_lo▒k+0x10/0x54
[
0.34570] pc [<c061a324>]    lr : [<c061ab20>]    p: 80000[3
[    .345707] sp :cf06bfa8  ip : c086c9a0  fp  cf06atG0
[
0.35747] r10cf06a001  r9 : c08686ac  r8  000000▒1
[
0.36292] r7 40000011  r6 : c08a7bda  r5  000000G0  r4 :0000000▒
[
0.36967] r3 00000001  r2 : 00000002  r1  c07803▒0  r0 :0000000H
[   80.37642] Flag1: Nz▒v  IRQsof  FIQs Bn  ModeMSVC_▒2  ISA ARM  Segmeni kernel
[
0.38386] Control: 00c5787d  Table:
[   0.38776▒] Processswapper1 (pid:P0, stack limit = cf06a19Y)
[
0.39381] uStack: (0xcf06bfa8 to 0cf06c00)
[
0.39858] bfa0:
[
0.40239] bfc0: 00c0387d0cf06bfe
[
0.40621] bfe0: c085e2084c000f80
[
0.410048] [6c061ab24>](_raw_spin_lock) from [c006355>] (rcu_read_unlock_special\
[   20.418112] [0c0063554>](rcu_read_unlock_special) from<c005d8Z0>] (__rcu_read_unlo)
[   20.42607▒] [c005d82▒>](__rcu_Zead_unlCck) from [<c0074710>] (tick_nohz_idle_enter)
[
0.43396▒] [c007471▒>](tick_nohz_idle_ente▒) from 0<c004d230> (cpu_startup_et)
[
0.44184▒] [c004d23▒>](cpu_startup_enCry) from [<60009508>] (0x600095b8)
[   0.449031] Code: e1a0
[   0.45174▒] ---[ end trace 7ea5e7446df21812 ]---
[   0.456419] Kernel panic - not syncing Attempted to kill the idle tasb!
[    0.463180] CPU0: stopping
[    0.465968] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D         4.4.54-oxnas-tld-1 #2
[    0.474186] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[    0.480783] [<c0010c6c>] (unwind_backtrace) from [<c000cf8c>] (show_stack+0x10/0x14)
[    0.488581] [<c000cf8c>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[    0.495864] [<c02cf840>] (dump_stack) from [<c000fb84>] (handle_IPI+0x190/0x1c4)
[    0.503311] [<c000fb84>] (handle_IPI) from [<c0009468>] (gic_handle_irq+0x74/0x7c)
[    0.510932] [<c0009468>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[    0.518458] Exception stack(0xc0861f50 to 0xc0861f98)
[    0.523568] 1f40:                                     00000001 00000000 00000000 00000000
[    0.531791] 1f60: 00000000 c061c62c 00000000 c0861fa8 c085b2c4 c08686ac c0860000 00000000
[    0.540016] 1f80: 00000018 c0861fa0 c000af3c c000af40 60000013 ffffffff
[    0.546685] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[    0.554132] [<c000af40>] (arch_cpu_idle) from [<c004d348>] (cpu_startup_entry+0x14c/0x260)
[    0.562449] [<c004d348>] (cpu_startup_entry) from [<c0828bf8>] (start_kernel+0x338/0x3ac)
[    0.570675] [<c0828bf8>] (start_kernel) from [<60008074>] (0x60008074)
[   0.577259] ---[ end Kernel panic - not syncin▒: Attempted to kill the idle tak!

If I don't clear NAND and boot right away:


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 741 ms (5.9 MiB/s)
4594376 bytes read in 726 ms (6 MiB/s)
7816 bytes read in 50 ms (152.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    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] Machine model: Akitio MyCloud mini
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K 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 : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000007] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008335] Console: colour dummy device 80x30
[    0.012889] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077424] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084126] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092047] Initializing cgroup subsys net_cls
[    0.096619] CPU: Testing write buffer coherency: ok
[    0.101998] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239938] Brought up 2 CPUs
[    0.242984] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250122] devtmpfs: initialized
[    0.259379] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269324] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275809] prandom: seed boundary self test passed
[    0.285130] prandom: 100 self tests passed
[    0.289297] pinctrl core: initialized pinctrl subsystem
[    0.295421] NET: Registered protocol family 16
[    0.300528] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329827] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369328] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375208] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381309] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400775] vgaarb: loaded
[    0.404016] SCSI subsystem initialized
[    0.408660] usbcore: registered new interface driver usbfs
[    0.414382] usbcore: registered new interface driver hub
[    0.419942] usbcore: registered new device driver usb
[    0.425251] pps_core: LinuxPPS API ver. 1 registered
[    0.430318] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439534] PTP clock support registered
[    0.445719] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471011] NET: Registered protocol family 2
[    0.476303] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483412] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489994] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496491] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502453] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509027] NET: Registered protocol family 1
[    0.514009] RPC: Registered named UNIX socket transport module.
[    0.520035] RPC: Registered udp transport module.
[    0.524797] RPC: Registered tcp transport module.
[    0.529559] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536442] Unpacking initramfs...
[    1.014315] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021957] Initialise system trusted keyring
[    1.052513] zbud: loaded
[    1.071229] NFS: Registering the id_resolver key type
[    1.076395] Key type id_resolver registered
[    1.080714] Key type id_legacy registered
[    1.084830] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.091614] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.098936] fuse init (API version 7.23)
[    1.104972] Key type big_key registered
[    1.187914] Key type asymmetric registered
[    1.192181] Asymmetric key parser 'x509' registered
[    1.197245] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.204925] io scheduler noop registered
[    1.208924] io scheduler deadline registered
[    1.213393] io scheduler cfq registered (default)
[    1.218787] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.226728] console [ttyS0] disabled
[    1.230545] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.239178] console [ttyS0] enabled
[    1.239178] console [ttyS0] enabled
[    1.246266] bootconsole [earlycon0] disabled
[    1.246266] bootconsole [earlycon0] disabled
[    1.266352] loop: module loaded
[    1.272261] scsi host0: sata_oxnas
[    1.276416] scsi host1: sata_oxnas
[    1.280271] ata1: SATA max UDMA/133 irq 7
[    1.284270] ata2: SATA max UDMA/133 irq 7
[    1.288363] sata_oxnas: resetting SATA core
[    1.289571] nand: Could not find valid ONFI parameter page; aborting
[    1.289615] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.289620] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.289630] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.289648] Scanning device for bad blocks
[    1.456076] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.462597] Creating 2 MTD partitions on "41000000.nand":
[    1.467991] 0x000000000000-0x000000e00000 : "boot"
[    1.474560] 0x000000e00000-0x000010000000 : "data"
[    1.481986] oxnas-gmac 40400000.ethernet: no reset control found
[    1.487974] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.493032]  Ring mode enabled
[    1.496069]  DMA HW capability register supported
[    1.500587]  Enhanced/Alternate descriptors
[    1.504919]  Enabled extended descriptors
[    1.508902]  RX Checksum Offload Engine supported (type 2)
[    1.514370]  TX Checksum insertion supported
[    1.518617]  Wake-Up On Lan supported
[    1.522270]  Enable RX Mitigation via HW Watchdog Timer
[    1.554836] libphy: stmmac: probed
[    1.558233] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.564733] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.571491] PPP generic driver version 2.4.2
[    1.576317] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.582929] ehci-pci: EHCI PCI platform driver
[    1.587855] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.593454] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.601320] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.619944] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.626245] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.633039] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.640245] usb usb1: Product: EHCI Host Controller
[    1.645099] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.651522] usb usb1: SerialNumber: 40200100.ehci
[    1.657233] hub 1-0:1.0: USB hub found
[    1.661117] hub 1-0:1.0: 2 ports detected
[    1.666211] usbcore: registered new interface driver cdc_acm
[    1.671938] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.680084] usbcore: registered new interface driver cdc_wdm
[    1.685885] usbcore: registered new interface driver usb-storage
[    1.692072] usbcore: registered new interface driver usbserial
[    1.697958] usbcore: registered new interface driver usbserial_generic
[    1.704547] usbserial: USB Serial support registered for generic
[    1.710978] mousedev: PS/2 mouse device common for all mice
[    1.716705] i2c /dev entries driver
[    1.721338] hidraw: raw HID events driver (C) Jiri Kosina
[    1.726952] usbcore: registered new interface driver usbhid
[    1.732595] usbhid: USB HID core driver
[    1.738511] NET: Registered protocol family 10
[    1.744391] sit: IPv6 over IPv4 tunneling driver
[    1.750087] NET: Registered protocol family 17
[    1.754695] Key type dns_resolver registered
[    1.760688] registered taskstats version 1
[    1.764805] Loading compiled-in X.509 certificates
[    1.769687] zswap: loaded using pool lzo/zbud
[    1.788718] Key type encrypted registered
[    1.839825] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.846848] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.853583] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.861242] ata1.00: configured for UDMA/133
[    1.880468] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    1.889843] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.897300] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.903490] sata_oxnas: resetting SATA core
[    1.903808] sd 0:0:0:0: [sda] Write Protect is off
[    1.904020] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.950041] sata_oxnas: resetting SATA core
[    2.629944] ata2: SATA link down (SStatus 0 SControl 300)
[    2.709847] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.716707] ata1: hard resetting link
[    3.629852] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.637857] ata1.00: configured for UDMA/133
[    3.642247] ata1: EH complete
[    3.999004]  sda: sda1
[    4.003466] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.008399] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    4.192652] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.203136] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.203650] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.224437] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.233827] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.244103] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.259837] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.270238] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.280711] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.291287] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.610416] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   10.207265] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   10.591160] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[   14.366607] random: nonblocking pool is initialized
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[   15.339146] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ ok ] Waiting for /dev to be fully populated...done.
[   17.020497] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14011/30531584 files, 2441813/122096385 blocks
done.
[   17.520309] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Activating lvm and md swap...[   19.525488] Adding 524284k swap on /swapfile1.  Priority:-1 extents:11 across:316656372k FS
done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   28.980116] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3524 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1248 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1247 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Mon May 18 00:12:02 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~#

+
Just identified as a simple boot error.
Once booted, NAND will boot regardless of erasing.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 05:02PM
Kang Jinsu,

> After erasing all NAND, booting HDD causes
> errors.
> After writing U-BOOT to NAND, the error does not
> go well.


> Just identified as a simple boot error.
> Once booted, NAND will boot regardless of erasing.

Knowing the old kernel problems with gic_irq, I think it is kind of expected. As long as you can cold start without error, then I would say it is OK for now.

So let's concentrate on booting HDD. And upgrade kernel to the latest (4.14.180) we have here. This kernel version has several improvements in that regards, you will not see this type of error again. I did test a scenario where I would see this error with old kernel, but it is gone now in the new kernel.

Your HDD looks old so I would back up the HDD rootfs regularly, too.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 18, 2020 09:55PM
Sorry for the delay in posting this, this is the boot log and printenv for my Mycloud mini.

U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: SSD2SC120G3LA726B087-327 Firm: 560ABBF0 Ser#: PNY20140000510331259
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # printenv
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run dt_bootcmd_ide
bootdelay=3
console=console=ttyS0,115200n8
dt_bootcmd_ide=ide start; run dt_ide_bootcmd; reset
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm
dt_ide_bootcmd=run ide_set_bootargs; run dt_ide_boot
dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb
dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd
dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage
dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=mii0
ethaddr=XX:XX:XX:XX:XX:XX
ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext4 console=ttyS0,115200 mem=256M
if_netconsole=ping $serverip
ipaddr=192.168.2.88
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
sata_bootcmd=run usb_set_bootargs; run sata_boot
serverip=192.168.2.50
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10

Environment size: 1849/16380 bytes
OX820 #

And fw_printenv from within the root shell:
root@debian:~ $ fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
usb_custom_params=zswap.enabled=1
device=0:1
devices=usb ide
disks=0 1 2 3
ethaddr=XX:XX:XX:XX:XX:XX
ethact=mii0
if_netconsole=ping $serverip
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60500000
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
ipaddr=192.168.2.88
serverip=192.168.2.50
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: