Quantcast
Channel: Linux Device Hacking
Viewing all 47002 articles
Browse latest View live

RN10400

$
0
0
Hello,

i have a old Netgear readynas model name RN10400 model no RND-4D. Well okay, This nas i have a problem with because it not start up. it is 4x3Tb HD. disks. And every disk start up and runing well. But i can't get enything out of it.
And in the display is standing. "Boot from USB failure....."

I don't know what ReadyNas os ver. firmware is installed. But i have read from netgear support that shall be first updated to ReadyNas Os 6.2.5 or 6.3.5 then upgard to ReadyNas os 6.5.2 and to 6.10.X or else it go broken.

And the netgear say this product/software is end of life.

So is there enyone who can help me with this.? And help me make a USB so i can upgard my Nas and get it up and going again.
Netgear not support enything, Not sell new motherboard nothing. I saw on internet a shop in England who had new motherboard to my RN10400 but they was out of stock. Mayby not so strange when they go broken very fast.

Well can somebody help me with this. I hope so.

Thanks..

NSA320 | Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).

$
0
0
Hello, please excuse my bad english.

I have try to use Debin on a NSA320 like https://forum.doozan.com/read.php?2,12096

I have Installed the uboot

uboot
version 
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:52:06 -0700)
ZyXEL NSA320 2-Bay Power Media Server
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25"]


For USB Stick i have used Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2
in another Try Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2

at every start i get the following error message and the system freezes

starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            31297536        1592d73c-01     83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
3821592 bytes read in 488 ms (7.5 MiB/s)
7245696 bytes read in 652 ms (10.6 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.

can it be that the kernel is not for the nsa320?

greetings armin

Re: Debian on Netgear RN102

$
0
0
whitepawn,

Quote

mtdparts=mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs)

Quote

Environment size: 2624/131068 bytes

The bootlog indicated that the envs size is 0x20000 (128K = 131072 bytes). And NAND sector size is also 128K

So the correct env definition is:

cat /etc/fw_env.config
# MTD device name	Device offset	Env. size	   Flash sector size	Number of sectors
/dev/mtd1                0x00000          0x20000           0x20000

Re: NSA320 | Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).

$
0
0
merlin2k11,

> can it be that the kernel is not for the nsa320?

That's the correct kernel. Old version, but it should boot OK.

It seems your u-boot envs are messed up. You've must have made a mistake somewhere during installation.

Power up, interreupt serial console and

printenv
And post the entire serial console log here (don't excerpt it, just post the whole log).

Re: NSA320 | Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).

$
0
0
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:52:06 -0700)
ZyXEL NSA320 2-Bay Power Media Server

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
NSA320> printenv
arcNumber=3956
baudrate=115200
bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=b6:d0:5e:0f:a1:17
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
partition=nand0,2
rootdelay=10
rootfstype=ext2
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; do for disknum in 0; do run uenv_read_disk; done; done
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1

Environment size: 2076/131068 bytes
NSA320>

Re: RN10400

$
0
0
AkkJaa,

Normally people come here to replace stock FW with the latest Linux system on old boxes. So I dont know much about stock FW.

> So is there enyone who can help me with this.? And
> help me make a USB so

ReadyNAS has a Reset button so you can reset everything to factory condition:

https://kb.netgear.com/22891/How-do-I-access-the-boot-menu-on-my-ReadyNAS-104-204-214-or-314

Have you tried that yet? if you have a lot of data on the HDDs you want to keep then be careful doing reset (I would remove them out of the slots before trying). Usually thi s process does not touch data, but good to prevent it any way.

And also, usually they have a way to rescue the system by USB that was specially prepared to be loaded and re-install the stock FW.

=====

After trying all of the above, if you still cannot rescue it, then you will need to open the case and to connect a serial console in order to see what's going on and interact with the system during boot. Most of the time, this will allow you to rescue the system easily.

Re: NSA320 | Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).

$
0
0
merlin2k11,

Yes, the envs were old. Not the default envs provided in the installation for this version of u-boot.

https://forum.doozan.com/read.php?3,29362,29390#msg-29390

Quote

B. Flashing default u-boot envs image

This default envs image supports booting with multiple disk drives (and hubs) attached. The disk drives could be any type (usb, sata, sd card). The scanning logic and default envs were set to automatically boot the box with the following required configuration:

For whatever reason, if you can't set up your configuration to satisfy the following 4 requirements, then don't flash this defaut envs image. It might not boot properly. In this case, section C below can be used to tailor the envs to your specific configuration.

r1. There must be only one partition among all partitions from all drives that contains the kernel files. The 2 kernel files are /boot/uImage and /boot/uInitrd.
r2. The partition that contains the 2 kernel files must be partition 1 in a disk drive
r3. The partition that contains the rootfs must be labeled rootfs
r4. The rootfs partition is recommended to be type Ext3 (this is not a hard requirement, ext4 should boot OK, but Ext3 will ensure no problem).

So the bottom line is if you have only one rootfs in a single Ext3 partition, which is labeled as rootfs, then you're all set.

a. Download the default u-boot envs at Dropbox:

uboot.2016.05-tld-1.environment.bodhi.tar
md5:
3823eef10011b864859d31a76470e0e3
sha256:
c8db95a4225e8d78bdaaaa372bd5a87e4b98f3448dd9c62fc96c72b2df1a997c

This tarball includes 3 files:

uboot.2016.05-tld-1.environment.img (the default envs image to be flashed)
uboot.2016.05-tld-1.environment (the content of the default envs in text format)
uboot.2016.05-tld-1.environment.64K.img (small envs image to be flashed on HP T5325 only).

So, there are a few different ways to make it right. However, best that you make it consistent by loading the default envs from a script, like what I described here (the script is attached to the post):

https://forum.doozan.com/read.php?3,29362,29390#msg-29390

And you would just use regular serial console like you have now to load the script. And the command to load dtb_file is

setenv dtb_file '/boot/dts/kirkwood-nsa320.dtb'

Please post the serial console log here, and I will double check for you to make sure everything is OK.

Re: NSA320 | Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).


Re: NSA320 | Error: unrecognized/unsupported machine ID (r1 = 0x00000f74).

Re: Linux Kernel 5.5.1 Kirkwood package and Debian rootfs

$
0
0
Kernel linux-5.8.3-kirkwood-tld-1 package has been uploaded. The following features were added/updated:

- BFQ IO Scheduler is now the default in the kernel. This is an improvement in making the system more responsive when under memory stress (Note: use a large swap space to avoid OOM killer).
- Added ISCSI Target capability (as loadable module).
- Updated Zyxel NSA320S capabilty to bring up 3.5" HDD in 2nd slot.


Please see the 1st post for download link.

Re: Debian on Netgear RN102

$
0
0
In default (stock) /etc/fw_env.config file env size is 0x80000, i edited it to 0x20000 with nano and your tests work perfectly:)Debian can read/write operations to mtd1.

Since i am impatient i have already installed omv so please ignore kernel warning messages about watchdog.If you need full stock rootfs and stock envs bootlog please tell me.Anyway here are the logs:

debian login: root
Password:
Last login: Sun Aug 23 22:40:59 PDT 2020 on ttyS0
Linux debian 4.20.6-mvebu-mirabox-tld-12 #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019 armv7l

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.
debian
192.168.1.218
NETGEAR ReadyNAS 102
Linux version 4.20.6-mvebu-mirabox-tld-12 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019
Debian 9.1
Sun Aug 23 23:17:57 PDT 2020 up 7 minutes
root@debian:~# fw_printenv
AC_Power_fail_detect=open
CASset=min
HW_version=MVT
MALLOC_len=5
Manufacturer=NETGEAR
Product=ReadyNAS 102
SKUNum=RN102
SerialNum=MASKED
Startup=Normal
UUID=adaf7396-2c8f-11e5-81d4-e8fcafe67a08
Version=V1.0
autoload=no
bootargs=console=ttyS0,115200
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read 0x2000000 0x200000 0x400000; nand read 0x3000000 0x800000 0x400000; bootm 0x2000000 0x3000000 0x1000000
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000
bootdelay=0
cacheShare=no
console=console=ttyS0,115200
disL2Cache=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=yes
enaExtDisk=no
enaFPU=no
enaMonExt=no
enaWrAllo=no
envver=3
eth1addr=MASKED
eth1mtu=1500
ethact=egiga1
ethaddr=MASKED
ethmtu=1500
ethprime=egiga1
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-370-db.dtb
image_name=uImage
initrd_name=uInitrd
load_addr=0x02000000
loadaddr=0x02000000
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs)
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
mv_pon_addr=MASKED
nandEcc=1bit
netbsd_en=no
netretry=no
pcieTune=no
pexMode=rc
pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
rcvrip=169.254.100.100
sata_delay_reset=0
sata_dma_mode=yes
setL2CacheWT=no
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usb1Mode=host
usb2Mode=device
usbActive=0
vxworks_en=no
yuk_ethaddr=MASKED
root@debian:~# fw_setenv test_rn102 yes
root@debian:~# fw_printenv test_rn102
test_rn102=yes
root@debian:~# init 0
         Stopping ACPI event daemon...
[  OK  ] Stopped target RPC Port Mapper.
         Starting Beep before system shutdown...
[  OK  ] Stopped target Graphical Interface.
         Stopping pNFS block layout mapping daemon...
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily apt upgrade and clean activities.
[  OK  ] Stopped Clean PHP session files every 30 mins.
[  OK  ] Stopped Trigger anacron every hour.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped Daily apt download activities.
[  OK  ] Stopped target Multi-User System.
         Stopping LSB: Starts ProFTPD daemon...
         Stopping LSB: set CPUFreq kernel parameters...
         Stopping System Logging Service...
         Stopping OpenBSD Secure Shell server...
[  OK  ] Stopped Generate the prelogin message.
         Stopping Login Service...
         Stopping A high performance web server and a reverse proxy server...
         Stopping LSB: Starts klogd...
         Stopping LSB: service and resource monitoring daemon...
         Stopping D-Bus System Message Bus...
         Stopping LSB: Start NTP daemon...
[  OK  ] Stopped target Login Prompts.
         Stopping Getty on tty1...
         Stopping Avahi mDNS/DNS-SD Stack...
         Stopping Statistics collection and monitoring daemon...
[  OK  ] Stopped The OpenMediaVault engine d…on that processes the RPC request.
         Stopping Regular background program processing daemon...
         Stopping The PHP 7.0          Stopping Serial Getty on ttyS0...
         Stopping Self Monitoring and Reporting Technology (SMART) Daemon...
[  OK  ] Stopped pNFS block layout mapping daemon.
[  OK  ] Stopped Self Monitoring and Reporting Technology (SMART) Daemon.
[  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped ACPI event daemon.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped Login Service.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped The PHP 7.0 FastCGI Process Manager.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped Statistics collection and monitoring daemon.
[  OK  ] Started Beep before system shutdown.
[  OK  ] Stopped A high performance web server and a reverse proxy server.
[  OK  ] Stopped LSB: Starts klogd.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
         Stopping LSB: Starts syslogd...
         Stopping LSB: start or stop rrdcached...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
[  OK  ] Stopped /etc/rc.local Compatibility.
         Stopping Permit User Sessions...
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: Starts ProFTPD daemon.
[  OK  ] Stopped LSB: Starts syslogd.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped LSB: service and resource monitoring daemon.
[  OK  ] Stopped LSB: start or stop rrdcached.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
         Stopping NFS server and services...
[  OK  ] Stopped target NFS client services.
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped target System Time Synchronized.
[  930.285405] nfsd: last server has exited, flushing export cache
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped ACPI Events Check.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Closed ACPID Listen Socket.
[  OK  ] Closed Syslog Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Encrypted Volumes.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped target Swap.
         Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped NFS server and services.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Create Volatile Files and Directories.
         Stopping NFSv4 ID-name mapping service...
         Stopping NFS Mount Daemon...
[  OK  ] Stopped NFSv4 ID-name mapping service.
[  OK  ] Stopped NFS Mount Daemon.
[  OK  ] Stopped target Network.
         Stopping ifup for eth0...
         Stopping Raise network interfaces...
         Unmounting RPC Pipe File System...
[  OK  ] Unmounted RPC Pipe File System.
[  OK  ] Stopped Raise network interfaces.
[  933.072489] mvneta d0074000.ethernet eth0: Link is Down
[  OK  ] Stopped ifup for eth0.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Stopped target Local File Systems.
         Unmounting /tmp...
[  OK  ] Unmounted /tmp.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
         Stopping Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[  934.189504] printk: systemd-shutdow: 53 output lines suppressed due to ratelimiting
[  936.136883] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  936.163997] systemd-journald[1461]: Received SIGTERM from PID 1 (systemd-shutdow).
[  936.206404] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  936.231573] systemd-shutdown[1]: Unmounting file systems.
[  936.238412] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro'.
[  936.288420] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[  936.309235] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro'.
[  936.317629] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[  936.323204] systemd-shutdown[1]: All filesystems unmounted.
[  936.328637] systemd-shutdown[1]: Deactivating swaps.
[  936.333467] systemd-shutdown[1]: All swaps deactivated.
[  936.338516] systemd-shutdown[1]: Detaching loop devices.
[  936.351882] systemd-shutdown[1]: All loop devices detached.
[  936.431567] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  936.436778] sd 0:0:0:0: [sda] Stopping disk
[  936.715628] reboot: Power down


BootROM 1.08
Booting from NAND flash


General initialization - Version: 1.0.0

High speed PHY - Version: 2.1.4 (COM-PHY-V20)
Update PEX Device ID 0x6710
High speed PHY - Ended Successfully
0000
DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run without PBS.
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED
l
 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1
06/23/2015 ReadyNAS-102 V2.0

Board: DB-88F6710-BP
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 600 [MHz]
       DDR 16Bit Width, FastPath Memory Access
DRAM:  512 MiB

Map:   Code:            0x1feef000:0x1ff9ef34
       BSS:             0x1ffef0a0
       Stack:           0x1f9eeef8
       Heap:            0x1f9ef000:0x1feef000

NAND:  (ID 0xf12c)      128 MiB
MMC:   MRVL_MMC: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01

Initialize and scan all PCI interfaces
PEX unit.port(active IF[-first bus]):
------------------------------------------
PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0
PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Shutting down unused interfaces:
       GBE0
       SDIO
       AUDIO
       TDM
Modules/Interfaces Detected:
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
       SATA0 (Lane 2)
       SATA1 (Lane 3)
Net:   , egiga1 [PRIME]
Power On!

FDT loaded successfully
Hit any key to stop autoboot:  0
Marvell>> <INTERRUPT>
Marvell>> <INTERRUPT>
Marvell>> <INTERRUPT>
Marvell>> <INTERRUPT>
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x2000000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x3000000 /boot/uInitrd'
Marvell>> setenv usb_boot 'run load_uimage; if run load_uinitrd; then bootm 0x2000000 0x3000000; else bootm 0x2000000; fi'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> setenv fdt_skip_update yes
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs)'
Marvell>> boot
(Re)start USB...
USB:   Active port:     0
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 ()
4076885 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 ()
7070236 bytes read
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.20.6-mvebu-mirabox-tld-1
   Created:      2020-08-19  18:36:11 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4076821 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.6-mvebu-mirabox-tld-12 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: NETGEAR ReadyNAS 102
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4c4 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41548 r8192 d23988 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) earlyprintk=serial init=/bin/systemd mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) reason=normal bdtype=rn102
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 499364K/524288K available (8192K kernel code, 731K rwdata, 2072K rodata, 1024K init, 320K bss, 24924K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 732 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 321 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086300 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114537122277ns
[    0.007239] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 101938038664 ns
[    0.018005] Console: colour dummy device 80x30
[    0.022088] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.49 BogoMIPS (lpj=187492)
[    0.031579] pid_max: default: 32768 minimum: 301
[    0.035960] LSM: Security Framework initializing
[    0.040286] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.046329] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053615] CPU: Testing write buffer coherency: ok
[    0.058440] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.117367] Setting up static identity map for 0x100000 - 0x100060
[    0.123335] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1
[    0.128191] mvebu-pmsu: Initializing Power Management Service Unit
[    0.147298] rcu: Hierarchical SRCU implementation.
[    0.187299] smp: Bringing up secondary CPUs ...
[    0.191444] smp: Brought up 1 node, 1 CPU
[    0.195104] SMP: Total of 1 processors activated (37.49 BogoMIPS).
[    0.200777] CPU: All CPU(s) started in SVC mode.
[    0.205792] devtmpfs: initialized
[    0.217567] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.225123] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.234418] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.240309] prandom: seed boundary self test passed
[    0.247205] prandom: 100 self tests passed
[    0.251121] pinctrl core: initialized pinctrl subsystem
[    0.258058] NET: Registered protocol family 16
[    0.262863] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.270410] audit: initializing netlink subsys (disabled)
[    0.275660] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.284718] cpuidle: using governor ladder
[    0.289669] cpuidle: using governor menu
[    0.293526] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.388346] vgaarb: loaded
[    0.391152] SCSI subsystem initialized
[    0.398081] usbcore: registered new interface driver usbfs
[    0.403138] usbcore: registered new interface driver hub
[    0.409474] usbcore: registered new device driver usb
[    0.415189] pps_core: LinuxPPS API ver. 1 registered
[    0.420288] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.428867] PTP clock support registered
[    0.435023] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.496229] VFS: Disk quotas dquot_6.6.0
[    0.499890] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.529963] NET: Registered protocol family 2
[    0.536503] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.543510] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.550319] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.556402] TCP: Hash tables configured (established 4096 bind 4096)
[    0.562325] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.567730] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.573663] NET: Registered protocol family 1
[    0.608540] RPC: Registered named UNIX socket transport module.
[    0.613948] RPC: Registered udp transport module.
[    0.618335] RPC: Registered tcp transport module.
[    0.622629] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.628750] Unpacking initramfs...
[    1.032742] Freeing initrd memory: 6908K
[    1.036670] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.042977] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.053599] Initialise system trusted keyrings
[    1.058995] Key type blacklist registered
[    1.062868] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.068996] zbud: loaded
[    1.082286] NFS: Registering the id_resolver key type
[    1.087141] Key type id_resolver registered
[    1.090961] Key type id_legacy registered
[    1.094631] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.100844] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.224417] Key type asymmetric registered
[    1.228409] Asymmetric key parser 'x509' registered
[    1.233098] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.240162] io scheduler noop registered
[    1.243745] io scheduler deadline registered
[    1.247750] io scheduler cfq registered (default)
[    1.254581] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    1.269429] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    1.275977] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.280990] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    1.287602] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.295544] PCI: bus0: Fast back to back transfers disabled
[    1.300645] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.308235] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.316474] pci 0000:00:01.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.346154] PCI: bus1: Fast back to back transfers disabled
[    1.352118] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.386144] PCI: bus2: Fast back to back transfers disabled
[    1.391330] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    1.397687] pci 0000:00:01.0: BAR 15: assigned [mem 0xf8100000-0xf81fffff pref]
[    1.404361] pci 0000:00:02.0: BAR 14: assigned [mem 0xf8200000-0xf82fffff]
[    1.410685] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    1.416532] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    1.423128] pci 0000:00:02.0: BAR 6: assigned [mem 0xf8400000-0xf84007ff pref]
[    1.429748] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8100000-0xf810ffff pref]
[    1.436361] pci 0000:01:00.0: BAR 5: assigned [mem 0xf8000000-0xf80001ff]
[    1.442562] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    1.448304] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    1.454028] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    1.459769] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    1.465510] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    1.471235] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.475785] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    1.481510] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    1.487724] pci 0000:00:01.0:   bridge window [mem 0xf8100000-0xf81fffff pref]
[    1.494324] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8200000-0xf820ffff 64bit]
[    1.501022] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8210000-0xf8210fff 64bit]
[    1.507718] pci 0000:02:00.0: BAR 4: assigned [mem 0xf8211000-0xf8211fff 64bit]
[    1.514396] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.518948] pci 0000:00:02.0:   bridge window [mem 0xf8200000-0xf82fffff]
[    1.525278] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    1.531125] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    1.538035] mv_xor d0060800.xor: Marvell shared XOR driver
[    1.606149] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.613297] mv_xor d0060900.xor: Marvell shared XOR driver
[    1.676139] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.840209] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.851022] printk: console [ttyS0] disabled
[    1.876400] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 19, base_baud = 12500000) is a 16550A
[    1.884646] printk: console [ttyS0] enabled
[    1.884646] printk: console [ttyS0] enabled
[    1.892550] printk: bootconsole [earlycon0] disabled
[    1.892550] printk: bootconsole [earlycon0] disabled
[    1.903642] ahci 0000:01:00.0: enabling device (0146 -> 0147)
[    1.909980] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    1.917528] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.937861] scsi host0: ahci
[    1.951516] scsi host1: ahci
[    1.954635] ata1: SATA max UDMA/133 abar m512@0xf8000000 port 0xf8000100 irq 42
[    1.961667] ata2: SATA max UDMA/133 abar m512@0xf8000000 port 0xf8000180 irq 42
[    1.969384] sata_mv d00a0000.sata: slots 32 ports 1
[    1.985267] scsi host2: sata_mv
[    1.988608] ata3: SATA max UDMA/133 irq 27
[    1.993923] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1
[    2.000036] nand: Micron MT29F1G08ABADAWP
[    2.003736] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.011468] Bad block table found at page 65472, version 0x01
[    2.017646] Bad block table found at page 65408, version 0x01
[    2.023145] 5 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    2.029235] Creating 5 MTD partitions on "pxa3xx_nand-0":
[    2.034217] 0x000000000000-0x000000180000 : "u-boot"
[    2.040606] 0x000000180000-0x0000001a0000 : "u-boot-env"
[    2.047779] 0x000000200000-0x000000800000 : "uImage"
[    2.054401] 0x000000800000-0x000000c00000 : "minirootfs"
[    2.061412] 0x000000c00000-0x000008000000 : "ubifs"
[    2.072828] libphy: Fixed MDIO Bus: probed
[    2.080827] libphy: orion_mdio_bus: probed
[    2.092204] mvneta d0074000.ethernet eth0: Using random mac address be:b2:40:49:ff:57
[    2.103534] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.110317] ehci-pci: EHCI PCI platform driver
[    2.114639] ehci-orion: EHCI orion driver
[    2.118991] orion-ehci d0050000.usb: EHCI Host Controller
[    2.123996] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    2.131378] orion-ehci d0050000.usb: irq 25, io mem 0xd0050000
[    2.165034] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    2.170785] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    2.178432] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.185156] usb usb1: Product: EHCI Host Controller
[    2.189653] usb usb1: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 ehci_hcd
[    2.196358] usb usb1: SerialNumber: d0050000.usb
[    2.201511] hub 1-0:1.0: USB hub found
[    2.205303] hub 1-0:1.0: 1 port detected
[    2.210250] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    2.215584] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    2.223172] xhci_hcd 0000:02:00.0: hcc params 0x200073a1 hci version 0x100 quirks 0x0000000000080010
[    2.232474] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    2.240306] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.247050] usb usb2: Product: xHCI Host Controller
[    2.251546] usb usb2: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 xhci-hcd
[    2.258280] usb usb2: SerialNumber: 0000:02:00.0
[    2.263438] hub 2-0:1.0: USB hub found
[    2.267232] hub 2-0:1.0: 2 ports detected
[    2.271718] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    2.276871] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    2.283762] xhci_hcd 0000:02:00.0: Host supports USB 3.0  SuperSpeed
[    2.289823] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.297374] ata2: SATA link down (SStatus 0 SControl 300)
[    2.302663] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[    2.310375] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.317119] ata3: SATA link down (SStatus 0 SControl F300)
[    2.322331] usb usb3: Product: xHCI Host Controller
[    2.326870] usb usb3: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 xhci-hcd
[    2.333549] usb usb3: SerialNumber: 0000:02:00.0
[    2.338635] hub 3-0:1.0: USB hub found
[    2.342331] hub 3-0:1.0: 2 ports detected
[    2.347639] usbcore: registered new interface driver usblp
[    2.353446] usbcore: registered new interface driver usb-storage
[    2.359803] mousedev: PS/2 mouse device common for all mice
[    2.366775] i2c /dev entries driver
[    2.373902] rtc-ds1307 0-0068: 'wakeup-source' is set, request for an IRQ is disabled!
[    2.385848] rtc-ds1307 0-0068: registered as rtc0
[    2.416508] orion_wdt: Initial timeout 229 sec
[    2.471219] marvell-cesa d0090000.crypto: CESA device successfully registered
[    2.478725] hidraw: raw HID events driver (C) Jiri Kosina
[    2.484791] usbcore: registered new interface driver usbhid
[    2.490043] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.496255] usbhid: USB HID core driver
[    2.500350] drop_monitor: Initializing network drop monitor service
[    2.506267] ata1.00: ATA-7: ST940210AS, 3.ALC, max UDMA/100
[    2.511404] ata1.00: 78140160 sectors, multi 0: LBA48 NCQ (depth 32)
[    2.518155] NET: Registered protocol family 10
[    2.528119] ata1.00: configured for UDMA/100
[    2.533732] Segment Routing with IPv6
[    2.537613] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.544022] scsi 0:0:0:0: Direct-Access     ATA      ST940210AS       C    PQ: 0 ANSI: 5
[    2.554918] NET: Registered protocol family 17
[    2.562827] sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.3 GiB)
[    2.572710] 8021q: 802.1Q VLAN Support v1.8
[    2.576934] Key type dns_resolver registered
[    2.581147] ThumbEE CPU extension supported.
[    2.585347] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.592136] sd 0:0:0:0: [sda] Write Protect is off
[    2.597167] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.605755] Registering SWP/SWPB emulation handler
[    2.612568] registered taskstats version 1
[    2.620543] Loading compiled-in X.509 certificates
[    2.625279] zswap: loaded using pool lzo/zbud
[    2.671842] Key type big_key registered
[    2.697111] Key type encrypted registered
[    2.705807] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.714723] rtc-ds1307 0-0068: setting system clock to 2020-08-24 06:31:58 UTC (1598250718)
[    2.787069]  sda: sda1 sda2 sda3
[    2.795274] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    2.803101] Freeing unused kernel memory: 1024K
[    2.808656] usb 1-1: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[    2.816504] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.823091] usb 1-1: Product: Ultra Fit
[    2.828406] Checked W+X mappings: passed, no W+X pages found
[    2.833640] Run /init as init process
[    2.837186] usb 1-1: Manufacturer: SanDisk
[    2.840972] usb 1-1: SerialNumber: MASKED
[    2.853660] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.884341] scsi host3: usb-storage 1-1:1.0
Loading, please wait...
starting version 232
[    3.052134] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.076464] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.083233] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.947254] scsi 3:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[    3.980890] sd 3:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    4.000607] sd 3:0:0:0: [sdb] Write Protect is off
[    4.022131] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.075184]  sdb: sdb1
[    4.091463] sd 3:0:0:0: [sdb] Attached SCSI removable disk
[    6.260978] random: fast init done
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.
Warning: fsck not present, so skipping root file system
[   17.029775] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   17.060891] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   17.904440] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   17.922110] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 9 (stretch)!

[   17.957634] systemd[1]: Set hostname to <debian>.
[   19.436835] systemd[1]: Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[   19.476077] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   19.515708] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   19.547454] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   19.587163] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   19.625908] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   19.670871] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[  OK  ] Listening on Journal Audit Socket.
         Mounting NFSD configuration filesystem...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
         Mounting POSIX Message Queue File System...
[  OK  ] Listening on Journal Socket.
         Starting Create Static Device Nodes in /dev...
         Mounting Debug File System...
         Starting Nameserver information manager...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
         Starting Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
         Starting Journal Service...
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Slices.
[  OK  ] Listening on LVM2 poll daemon socket.
         Starting Load Kernel Modules...
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting File System Check on Root Device...
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Nameserver information manager.
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started LVM2 metadata daemon.
         Starting Apply Kernel Variables...
         Starting udev Kernel Device Manager...
         Starting pNFS block layout mapping daemon...
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Apply Kernel Variables.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Journal Service.
[  OK  ] Started pNFS block layout mapping daemon.
[   21.672156] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Initial Check File System Quotas...
[  OK  ] Mounted /tmp.
[  OK  ] Started Load/Save Random Seed.
[   22.421767] systemd-journald[1471]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[   22.676336] random: crng init done
[   22.679492] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Reached target Local File Systems.
         Starting Cleanup PHP session files...
         Starting Cleanup monit state file...
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
[  OK  ] Started Initial Check File System Quotas.
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started ACPI event daemon.
[  OK  ] Started Run anacron jobs.
         Starting RPC Remote Quota Server...
         Starting System Logging Service...
[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started System Logging Service.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
[  OK  ] Started RPC Remote Quota Server.
[   28.581108] mvneta d0074000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1318S]
[   28.598658] mvneta d0074000.ethernet eth0: configuring for phy/rgmii-id link mode
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started ifup for eth0.
[   30.665815] mvneta d0074000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting A high performance web server and a reverse proxy server...
         Starting The OpenMediaVault engine … that processes the RPC request...
         Starting The PHP 7.0 FastCGI Process Manager...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting Generate the prelogin message...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Started OpenBSD Secure Shell server.
[   43.352338] NFSD: starting 45-second grace period (net f0000021)
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Start NTP daemon...
         Starting LSB: Starts syslogd...
         Starting Permit User Sessions...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Starts ProFTPD daemon...
         Starting LSB: start or stop rrdcached...
         Starting LSB: service and resource monitoring daemon...
[  OK  ] Started The OpenMediaVault engine d…on that processes the RPC request.
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started The PHP 7.0 FastCGI Process Manager.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: service and resource monitoring daemon.
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started A high performance web server and a reverse proxy server.
[  OK  ] Started LSB: start or stop rrdcached.
         Starting Statistics collection and monitoring daemon...
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: Starts ProFTPD daemon.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Statistics collection and monitoring daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started Generate the prelogin message.
[  OK  ] Reached target Multi-User System.
         Starting Beep after system start...
         Starting watchdog daemon...
[FAILED] Failed to start watchdog daemon.
See 'systemctl status watchdog.service' for details.
         Starting watchdog keepalive daemon...
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[FAILED] Failed to start watchdog keepalive daemon.
See 'systemctl status wd_keepalive.service' for details.
[  OK  ] Started Beep after system start.
[  OK  ] Started Update UTMP about System Runlevel Changes.
[   50.517702] fbcon: Taking over console

openmediavault 4.1.35-1 (Arrakis) debian ttyS0
Copyright (C) 2009-2020 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 192.168.1.218

By default the web control panel administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the web control panel or using the 'omv-firstaid' CLI
command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

debian login: root
Password:
Last login: Sun Aug 23 23:17:56 PDT 2020 on ttyS0
Linux debian 4.20.6-mvebu-mirabox-tld-12 #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019 armv7l

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.
debian
192.168.1.218
NETGEAR ReadyNAS 102
Linux version 4.20.6-mvebu-mirabox-tld-12 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019
Debian 9.1
Sun Aug 23 23:32:55 PDT 2020 up
root@debian:~# fw_printenv
AC_Power_fail_detect=open
CASset=min
HW_version=MVT
MALLOC_len=5
Manufacturer=NETGEAR
Product=ReadyNAS 102
SKUNum=RN102
SerialNum=MASKED
Startup=Normal
UUID=adaf7396-2c8f-11e5-81d4-e8fcafe67a08
Version=V1.0
autoload=no
bootargs=console=ttyS0,115200
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read 0x2000000 0x200000 0x400000; nand read 0x3000000 0x800000 0x400000; bootm 0x2000000 0x3000000 0x1000000
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000
bootdelay=0
cacheShare=no
console=console=ttyS0,115200
disL2Cache=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=yes
enaExtDisk=no
enaFPU=no
enaMonExt=no
enaWrAllo=no
envver=3
eth1addr=MASKED
eth1mtu=1500
ethact=egiga1
ethaddr=MASKED
ethmtu=1500
ethprime=egiga1
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-370-db.dtb
image_name=uImage
initrd_name=uInitrd
load_addr=0x02000000
loadaddr=0x02000000
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs)
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
mv_pon_addr=MASKED
nandEcc=1bit
netbsd_en=no
netretry=no
pcieTune=no
pexMode=rc
pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
rcvrip=169.254.100.100
sata_delay_reset=0
sata_dma_mode=yes
setL2CacheWT=no
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usb1Mode=host
usb2Mode=device
usbActive=0
vxworks_en=no
yuk_ethaddr=MASKED
test_rn102=yes
root@debian:~# fw_setenv test_rn102
root@debian:~# fw_printenv
AC_Power_fail_detect=open
CASset=min
HW_version=MVT
MALLOC_len=5
Manufacturer=NETGEAR
Product=ReadyNAS 102
SKUNum=RN102
SerialNum=MASKED
Startup=Normal
UUID=adaf7396-2c8f-11e5-81d4-e8fcafe67a08
Version=V1.0
autoload=no
bootargs=console=ttyS0,115200
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read 0x2000000 0x200000 0x400000; nand read 0x3000000 0x800000 0x400000; bootm 0x2000000 0x3000000 0x1000000
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_ubi=ubi part ubifs; ubifsmount rootfs; ubifsload 0x2000000 kernel; ubifsload 0x3000000 initrd.gz; bootm 0x2000000 0x3000000 0x1000000
bootdelay=0
cacheShare=no
console=console=ttyS0,115200
disL2Cache=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=yes
enaExtDisk=no
enaFPU=no
enaMonExt=no
enaWrAllo=no
envver=3
eth1addr=MASKED
eth1mtu=1500
ethact=egiga1
ethaddr=MASKED
ethmtu=1500
ethprime=egiga1
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-370-db.dtb
image_name=uImage
initrd_name=uInitrd
load_addr=0x02000000
loadaddr=0x02000000
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs)
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
mv_pon_addr=MASKED
nandEcc=1bit
netbsd_en=no
netretry=no
pcieTune=no
pexMode=rc
pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
rcvrip=169.254.100.100
sata_delay_reset=0
sata_dma_mode=yes
setL2CacheWT=no
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usb1Mode=host
usb2Mode=device
usbActive=0
vxworks_en=no
yuk_ethaddr=MASKED
root@debian:~#

Will this box needs anything to be tested left bodhi?I can test it before actually using as a home nas server.
BTW:I have a one week trip from today, so i will be away from box, later that i can test if anything needed.
Regards.

Re: Debian on Netgear RN102

$
0
0
All,

Looks very good! We are almost done with this box. Except LEDs control and RTC.

1. It seems that this box or the RN104 has RTC. But it is not activated by the DTS (not sure the reason). So if you know from the specs that is indeed available, then we can revisit it sometime in the future (this is not that big a deal).

2. LEDs control.

In the rootfs /etc/rc.local, I have some LEDs control examples for other boxes. That should be used as a guide to set up your box.

So list the leds

ls -l /sys/class/leds

You should see the following LED names under the /sys/class/leds:
rn102:blue:pwr
rn102:blue:sata1
rn102:blue:sata2
rn102:blue:backup

And will be able to turn on/off the LEDs or make it flash.

The power LED should be set to ON after the kernel booted (/etc/rc.local).

echo default-on >  /sys/class/leds/rn102:blue:pwr/trigger


For the SATA LEDs, the setting should be set so that any read/write access will blink the LED:

echo ide-disk1  > /sys/class/leds/rn102:blue:sata1/trigger
echo ide-disk2  > /sys/class/leds/rn102:blue:sata2/trigger

Re: Debian on Netgear RN102

$
0
0
Hi bodhi,

Reunited with my box. I can confirm whitepawn's findings on the mtd partitions. My test session listing is attached as a file.

I wondered if u-boot would find a USB-stick on the USB3 connectors at the back if the stick was USB2, so I tried this. It made no difference.

A working real-time clock to wake up the NAS after a power failure is important, since the unit does not boot at power up until the Power button is pushed. The first time I booted my ReadyNAS RN102 (before modifying the boot environment and adding a USB-stick), I got this on the console:

Marvell>> boot

NAND read: device 0 offset 0x200000, size 0x400000
 4194304 bytes read: OK

NAND read: device 0 offset 0x800000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.4.140.armada.1
   Created:      2018-07-17  15:56:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3478912 Bytes = 3.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs
   Created:      2018-09-02   7:12:34 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    3390695 Bytes = 3.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Kernel Image ... OK
   Using Ramdisk in place at 03000040, end 0333bd27
   Using Device Tree in place at 01000000, end 01006617
Updating device tree successful

Starting kernel ...

[    4.072201] rtc-isl12057 0-0068: _isl12057_rtc_read_time: oscillator failure bit set, continuing anyway
[    4.084075] rtc-isl12057 0-0068: _isl12057_rtc_read_time: oscillator failure bit set, continuing anyway
[    4.095438] rtc-isl12057 0-0068: _isl12057_rtc_read_time: oscillator failure bit set, continuing anyway
[    4.150062] rtc-isl12057 0-0068: _isl12057_rtc_read_time: oscillator failure bit set, continuing anyway

Starting the boot process...
Detected system type: RN102
Loading kernel modules...done
Boot mode: Normal
UBI device number 0, total 918 LEBs (116563968 bytes, 111.2 MiB), available 9 LEBs (1142784 bytes, 1.1 MiB), LEB size 126976 bytes)
Bringing up network...done
Bringing up RAID arrays...done
e2fsck 1.42.13 (17-May-2015)
0e347394_root: clean, 11164/1048576 files, 158729/1047552 blocks
Switching root to RAID device.


Welcome to ReadyNASOS 6.9.4!

So the stock kernel initializes a 'rtc-isl12057'. The complaints were triggered by an empty RTC battery, I assume. The device tree source file 'armada-370-netgear-rn102.dts' sais 'rtc@10300 { status = "disabled"; };', but further down, under 'i2c@11000', you find 'isl12057: rtc@68 { compatible = "isil,isl12057"; reg = <0x68>; wakeup-source; };'. The first entry was added and disabled by this commit

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/armada-370-netgear-rn102.dts?id=784693def2d36f525d2d259394fd39ac87fc4449

The commit message is
By default, armada-370-xp.dtsi file has internal RTC enabled.
NETGEAR ReadyNAS 102, 104 and 2120 all use an Intersil ISL12057
I2C RTC chip. The internal RTC not being disabled in the .dts
files of those devices result in the following useless first
line during boot:

[    4.500056] rtc-mv d0010300.rtc: internal RTC not ticking
[    4.505684] i2c /dev entries driver
[    4.513246] rtc-isl12057 0-0068: rtc core: registered rtc-isl12057 as rtc0

This patch marks Armada internal RTC as disabled in individual .dts
files of those devices.

So the disabled rtc@10300 is an RTC without wake-up capability internal to the Armada 370 SoC.

I tested you LED suggestions. Spot on! With one exception: The initial state of all the LEDs is 'on', but, apparently, the shadow variables of the driver are initially off:

echo none       > /sys/class/leds/rn102:blue:pwr/trigger                                                             
echo none       > /sys/class/leds/rn102:blue:pwr/trigger
echo default-on > /sys/class/leds/rn102:blue:pwr/trigger
echo none       > /sys/class/leds/rn102:blue:pwr/trigger

Only after the last command the Power LED is switched off. The first two commands makes no difference. The other LEDs behave the same. A workaround in user-land is easy, but fixing the driver is better.

In the device tree source file 'armada-370-netgear-rn102.dts' the 'default-state' is 'keep' for the Power LED, and 'on' for the others. This seems correct, so where does this go wrong? After connecting power and before hitting the power button, this is the output from u-boot on the console:

BootROM 1.08
Booting from NAND flash


General initialization - Version: 1.0.0

High speed PHY - Version: 2.1.4 (COM-PHY-V20) 
Update PEX Device ID 0x6710
High speed PHY - Ended Successfully
0001
DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run without PBS.
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 
06/23/2015 ReadyNAS-102 V2.0

Board: DB-88F6710-BP
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 600 [MHz]
       DDR 16Bit Width, FastPath Memory Access
DRAM:  512 MiB

Map:   Code:            0x1feef000:0x1ff9ef34
       BSS:             0x1ffef0a0
       Stack:           0x1f9eeef8
       Heap:            0x1f9ef000:0x1feef000

NAND:  (ID 0xf1ad)      128 MiB
MMC:   MRVL_MMC: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x000001820000
nand_read_bbt: Bad block at 0x000001f00000

Initialize and scan all PCI interfaces
PEX unit.port(active IF[-first bus]):
------------------------------------------
PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0
PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Shutting down unused interfaces:
       GBE0
       SDIO
       AUDIO
       TDM
Modules/Interfaces Detected:
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
       SATA0 (Lane 2)
       SATA1 (Lane 3)
Net:   , egiga1 [PRIME]
Power supply plug on, please press power button!

At this stage, all the LEDs are off. Hitting the power button and interrupting u-boot, this is added to the console:

BootROM 1.08
Booting from NAND flash


General initialization - Version: 1.0.0

High speed PHY - Version: 2.1.4 (COM-PHY-V20) 
Update PEX Device ID 0x6710
High speed PHY - Ended Successfully
0000
DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run without PBS.
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 
06/23/2015 ReadyNAS-102 V2.0

Board: DB-88F6710-BP
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 600 [MHz]
       DDR 16Bit Width, FastPath Memory Access
DRAM:  512 MiB

Map:   Code:            0x1feef000:0x1ff9ef34
       BSS:             0x1ffef0a0
       Stack:           0x1f9eeef8
       Heap:            0x1f9ef000:0x1feef000

NAND:  (ID 0xf1ad)      128 MiB
MMC:   MRVL_MMC: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x000001820000
nand_read_bbt: Bad block at 0x000001f00000

Initialize and scan all PCI interfaces
PEX unit.port(active IF[-first bus]):
------------------------------------------
PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0
PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Shutting down unused interfaces:
       GBE0
       SDIO
       AUDIO
       TDM
Modules/Interfaces Detected:
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
       SATA0 (Lane 2)
       SATA1 (Lane 3)
Net:   , egiga1 [PRIME]
Power On!

FDT loaded successfully
Hit any key to stop autoboot:  0 
Marvell>>

Now the Power LED is blinking at, say, 2 Hz. The Backup LED is off. The Sata1 and Sata2 LEDs are on if the corresponding disk slot is occupied, otherwise they are off.

During boot, all the LEDs are switched on. Trying to find out when this happens, I disconnected the power cable as soon as the LEDs where switched on. Before loosing power, the console said:

Marvell>> boot
(Re)start USB...
USB:   Active port:     0
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
4076885 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
8717087 bytes read
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.20.6-mvebu-mirabox-tld-1
   Created:      2020-08-21  19:33:05 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4076821 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-4.20.6-mvebu-tld-1
   Created:      2020-08-22   9:41:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8717023 Bytes = 8.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.6-mvebu-mirabox-tld-12 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04
)) #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: NETGEAR ReadyNAS 102
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4c4 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41548 r8192 d23988 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0
x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) earlyprintk=serial mtdparts=pxa3xx_nan
d-0:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) reason=normal 
bdtype=rn102
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 497756K/524288K available (8192K kernel code, 731K rwdata, 2072K rodata, 1024K init, 320K bss, 26532K reserv
ed, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 732 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 321 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086300 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114537122277ns
[    0.007239] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 101938038664 ns
[    0.018006] Console: colour dummy device 80x30
[    0.022090] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.49 BogoMIPS (lpj=187492)
[    0.031582] pid_max: default: 32768 minimum: 301
[    0.035962] LSM: Security Framework initializing
[    0.040287] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.046331] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053619] CPU: Testing write buffer coherency: ok
[    0.058440] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.117367] Setting up static identity map for 0x100000 - 0x100060
[    0.123335] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1
[    0.128190] mvebu-pmsu: Initializing Power Management Service Unit
[    0.147298] rcu: Hierarchical SRCU implementation.
[    0.187299] smp: Bringing up secondary CPUs ...
[    0.191444] smp: Brought up 1 node, 1 CPU
[    0.195104] SMP: Total of 1 processors activated (37.49 BogoMIPS).
[    0.200774] CPU: All CPU(s) started in SVC mode.
[    0.205794] devtmpfs: initialized
[    0.217547] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.225108] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.234398] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.240294] prandom: seed boundary self test passed
[    0.247191] prandom: 100 self tests passed
[    0.251111] pinctrl core: initialized pinctrl subsystem
[    0.258050] NET: Registered protocol family 16
[    0.262853] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.270399] audit: initializing netlink subsys (disabled)
[    0.275654] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.284711] cpuidle: using governor ladder
[    0.289658] cpuidle: using governor menu
[    0.293497] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.388341] vgaarb: loaded
[    0.391156] SCSI subsystem initialized
[    0.398072] usbcore: registered new interface driver usbfs
[    0.403129] usbcore: registered new interface driver hub
[    0.409467] usbcore: registered new device driver usb
[    0.415183] pps_core: LinuxPPS API ver. 1 registered
[    0.420289] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.428867] PTP clock support registered
[    0.434995] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.496142] VFS: Disk quotas dquot_6.6.0
[    0.499804] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.531367] NET: Registered protocol family 2
[    0.537221] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.544227] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.551073] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.557156] TCP: Hash tables configured (established 4096 bind 4096)
[    0.563080] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.568484] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.574417] NET: Registered protocol family 1
[    0.609303] RPC: Registered named UNIX socket transport module.
[    0.614712] RPC: Registered udp transport module.
[    0.619096] RPC: Registered tcp transport module.
[    0.623390] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.629513] Unpacking initramfs...
[    1.114703] Freeing initrd memory: 8516K
[    1.118641] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.124951] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.135623] Initialise system trusted keyrings
[    1.139720] Key type blacklist registered
[    1.144838] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.150976] zbud: loaded
[    1.164283] NFS: Registering the id_resolver key type
[    1.169142] Key type id_resolver registered
[    1.172961] Key type id_legacy registered
[    1.176734] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.182850] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.318115] Key type asymmetric registered
[    1.321864] Asymmetric key parser 'x509' registered
[    1.326754] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.333516] io scheduler noop registered
[    1.337346] io scheduler deadline registered
[    1.341289] io scheduler cfq registered (default)
[    1.348192] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    1.362838] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    1.369411] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.374424] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    1.381052] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.388916] PCI: bus0: Fast back to back transfers disabled
[    1.394017] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.401629] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.409928] pci 0000:00:01.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.446120] PCI: bus1: Fast back to back transfers disabled
[    1.452079] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.486119] PCI: bus2: Fast back to back transfers disabled
[    1.491305] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    1.497658] pci 0000:00:01.0: BAR 15: assigned [mem 0xf8100000-0xf81fffff pref]
[    1.504333] pci 0000:00:02.0: BAR 14: assigned [mem 0xf8200000-0xf82fffff]
[    1.510657] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    1.516505] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    1.523101] pci 0000:00:02.0: BAR 6: assigned [mem 0xf8400000-0xf84007ff pref]
[    1.529723] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8100000-0xf810ffff pref]
[    1.536335] pci 0000:01:00.0: BAR 5: assigned [mem 0xf8000000-0xf80001ff]
[    1.542536] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    1.548278] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    1.554003] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    1.559745] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    1.565486] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    1.571210] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.575760] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    1.581486] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    1.587700] pci 0000:00:01.0:   bridge window [mem 0xf8100000-0xf81fffff pref]
[    1.594300] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8200000-0xf820ffff 64bit]
[    1.600997] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8210000-0xf8210fff 64bit]
[    1.607694] pci 0000:02:00.0: BAR 4: assigned [mem 0xf8211000-0xf8211fff 64bit]
[    1.614373] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.618924] pci 0000:00:02.0:   bridge window [mem 0xf8200000-0xf82fffff]
[    1.625253] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    1.631100] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    1.638021] mv_xor d0060800.xor: Marvell shared XOR driver
[    1.706124] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.713276] mv_xor d0060900.xor: Marvell shared XOR driver
[    1.776125] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.940494] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.951006] printk: console [ttyS0] disabled
[    1.976458] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 19, base_baud = 12500000) is a 16550A
[    1.984707] printk: console [ttyS0] enabled
[    1.984707] printk: console [ttyS0] enabled
[    1.992608] printk: bootconsole [earlycon0] disabled
[    1.992608] printk: bootconsole [earlycon0] disabled
[    2.003711] ahci 0000:01:00.0: enabling device (0146 -> 0147)
[    2.010036] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    2.017590] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    2.037919] scsi host0: ahci
[    2.051570] scsi host1: ahci
[    2.054686] ata1: SATA max UDMA/133 abar m512@0xf8000000 port 0xf8000100 irq 42
[    2.061719] ata2: SATA max UDMA/133 abar m512@0xf8000000 port 0xf8000180 irq 42
[    2.069440] sata_mv d00a0000.sata: slots 32 ports 1
[    2.085331] scsi host2: sata_mv
[    2.088679] ata3: SATA max UDMA/133 irq 27
[    2.093993] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.100101] nand: Hynix H27U1G8F2BTR-BC
[    2.103641] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.111483] Bad block table found at page 65472, version 0x01
[    2.117708] Bad block table found at page 65408, version 0x01
[    2.123166] nand_read_bbt: bad block at 0x000001820000
[    2.127982] nand_read_bbt: bad block at 0x000001f00000
[    2.132774] 5 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    2.138870] Creating 5 MTD partitions on "pxa3xx_nand-0":
[    2.143851] 0x000000000000-0x000000180000 : "u-boot"
[    2.150286] 0x000000180000-0x0000001a0000 : "u-boot-env"
[    2.157314] 0x000000200000-0x000000800000 : "uImage"
[    2.163914] 0x000000800000-0x000000c00000 : "minirootfs"
[    2.170945] 0x000000c00000-0x000008000000 : "ubifs"
[    2.182378] libphy: Fixed MDIO Bus: probed
[    2.190404] libphy: orion_mdio_bus: probed
[    2.202279] mvneta d0074000.ethernet eth0: Using random mac address 52:c8:ca:a2:a5:83
[    2.213661] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.220341] ehci-pci: EHCI PCI platform driver
[    2.224643] ehci-orion: EHCI orion driver
[    2.228972] orion-ehci d0050000.usb: EHCI Host Controller
[    2.233974] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    2.241354] orion-ehci d0050000.usb: irq 25, io mem 0xd0050000
[    2.275007] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    2.280756] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    2.288456] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.295163] usb usb1: Product: EHCI Host Controller
[    2.299660] usb usb1: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 ehci_hcd
[    2.306381] usb usb1: SerialNumber: d0050000.usb
[    2.311548] hub 1-0:1.0: USB hub found
[    2.315333] hub 1-0:1.0: 1 port detected
[    2.320223] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    2.325560] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    2.333146] xhci_hcd 0000:02:00.0: hcc params 0x200073a1 hci version 0x100 quirks 0x0000000000080010
[    2.342465] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    2.350302] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.357049] usb usb2: Product: xHCI Host Controller
[    2.361546] usb usb2: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 xhci-hcd
[    2.368283] usb usb2: SerialNumber: 0000:02:00.0
[    2.373438] hub 2-0:1.0: USB hub found
[    2.377233] hub 2-0:1.0: 2 ports detected
[    2.381717] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    2.386868] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    2.393760] xhci_hcd 0000:02:00.0: Host supports USB 3.0  SuperSpeed
[    2.399699] ata2: SATA link down (SStatus 0 SControl 300)
[    2.404741] ata1: SATA link down (SStatus 0 SControl 300)
[    2.409885] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.417441] ata3: SATA link down (SStatus 0 SControl F300)
[    2.422833] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[    2.430630] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.437392] usb usb3: Product: xHCI Host Controller
[    2.441889] usb usb3: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 xhci-hcd
[    2.448564] usb usb3: SerialNumber: 0000:02:00.0
[    2.453640] hub 3-0:1.0: USB hub found
[    2.457424] hub 3-0:1.0: 2 ports detected
[    2.462622] usbcore: registered new interface driver usblp
[    2.468490] usbcore: registered new interface driver usb-storage
[    2.474861] mousedev: PS/2 mouse device common for all mice
[    2.481628] i2c /dev entries driver
[    2.489244] rtc-ds1307 0-0068: 'wakeup-source' is set, request for an IRQ is disabled!
[    2.501074] rtc-ds1307 0-0068: registered as rtc0
[    2.536664] orion_wdt: Initial timeout 229 sec
[    2.595776] marvell-cesa d0090000.crypto: CESA device successfully registered
[    2.603091] hidraw: raw HID events driver (C) Jiri Kosina
[    2.609292] usbcore: registered new interface driver usbhid
[    2.614433] usbhid: USB HID core driver
[    2.619049] drop_monitor: Initializing network drop monitor service
[    2.625646] NET: Registered protocol family 10
[    2.640954] Segment Routing with IPv6
[    2.644410] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.652045] NET: Registered protocol family 17
[    2.667187] 8021q: 802.1Q VLAN Support v1.8
[    2.671168] Key type dns_resolver registered
[    2.675601] ThumbEE CPU extension supported.
[    2.679566] Registering SWP/SWPB emulation handler
[    2.685240] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.692849] registered taskstats version 1
[    2.697638] Loading compiled-in X.509 certificates
[    2.702269] zswap: loaded using pool lzo/zbud
[    2.752951] Key type big_key registered
[    2.780095] Key type encrypted registered
[    2.788906] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.798570] rtc-ds1307 0-0068: setting system clock to 2020-08-25 18:28:16 UTC (1598380096)
[    2.809450] Freeing unused k

I did the same a second time, not interrupting u-boot this time:

Power supply plug on, please press power button!


BootROM 1.08
Booting from NAND flash


General initialization - Version: 1.0.0

High speed PHY - Version: 2.1.4 (COM-PHY-V20) 
Update PEX Device ID 0x6710
High speed PHY - Ended Successfully
0000
DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run without PBS.
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 
06/23/2015 ReadyNAS-102 V2.0

Board: DB-88F6710-BP
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU    @ 1200 [MHz]
       L2     @ 600 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 600 [MHz]
       DDR 16Bit Width, FastPath Memory Access
DRAM:  512 MiB

Map:   Code:            0x1feef000:0x1ff9ef34
       BSS:             0x1ffef0a0
       Stack:           0x1f9eeef8
       Heap:            0x1f9ef000:0x1feef000

NAND:  (ID 0xf1ad)      128 MiB
MMC:   MRVL_MMC: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x000001820000
nand_read_bbt: Bad block at 0x000001f00000

Initialize and scan all PCI interfaces
PEX unit.port(active IF[-first bus]):
------------------------------------------
PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0
PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Shutting down unused interfaces:
       GBE0
       SDIO
       AUDIO
       TDM
Modules/Interfaces Detected:
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
       SATA0 (Lane 2)
       SATA1 (Lane 3)
Net:   , egiga1 [PRIME]
Power On!

FDT loaded successfully
Hit any key to stop autoboot:  0 
(Re)start USB...
USB:   Active port:     0
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
4076885 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
8717087 bytes read
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.20.6-mvebu-mirabox-tld-1
   Created:      2020-08-21  19:33:05 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4076821 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-4.20.6-mvebu-tld-1
   Created:      2020-08-22   9:41:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8717023 Bytes = 8.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.6-mvebu-mirabox-tld-12 (root@tldDebianVM) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04
)) #6 SMP PREEMPT Wed Mar 13 14:43:16 PDT 2019
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: NETGEAR ReadyNAS 102
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4c4 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41548 r8192 d23988 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0
x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) earlyprintk=serial mtdparts=pxa3xx_nan
d-0:0x180000@0(u-boot),0x20000@0x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) reason=normal 
bdtype=rn102
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 497756K/524288K available (8192K kernel code, 731K rwdata, 2072K rodata, 1024K init, 320K bss, 26532K reserv
ed, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 732 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 321 kB)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086300 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 53ns
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114537122277ns
[    0.007239] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 101938038664 ns
[    0.018008] Console: colour dummy device 80x30
[    0.022091] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.49 BogoMIPS (lpj=187492)
[    0.031583] pid_max: default: 32768 minimum: 301
[    0.035963] LSM: Security Framework initializing
[    0.040289] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.046331] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053617] CPU: Testing write buffer coherency: ok
[    0.058439] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.117367] Setting up static identity map for 0x100000 - 0x100060
[    0.123336] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1
[    0.128191] mvebu-pmsu: Initializing Power Management Service Unit
[    0.147298] rcu: Hierarchical SRCU implementation.
[    0.187301] smp: Bringing up secondary CPUs ...
[    0.191446] smp: Brought up 1 node, 1 CPU
[    0.195107] SMP: Total of 1 processors activated (37.49 BogoMIPS).
[    0.200778] CPU: All CPU(s) started in SVC mode.
[    0.205796] devtmpfs: initialized
[    0.217548] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.225104] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.234397] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.240290] prandom: seed boundary self test passed
[    0.247186] prandom: 100 self tests passed
[    0.251105] pinctrl core: initialized pinctrl subsystem
[    0.258049] NET: Registered protocol family 16
[    0.262839] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.270388] audit: initializing netlink subsys (disabled)
[    0.275642] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.284714] cpuidle: using governor ladder
[    0.289671] cpuidle: using governor menu
[    0.293511] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.388355] vgaarb: loaded
[    0.391162] SCSI subsystem initialized
[    0.398081] usbcore: registered new interface driver usbfs
[    0.403138] usbcore: registered new interface driver hub
[    0.409504] usbcore: registered new device driver usb
[    0.415234] pps_core: LinuxPPS API ver. 1 registered
[    0.420340] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.428920] PTP clock support registered
[    0.435053] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.496233] VFS: Disk quotas dquot_6.6.0
[    0.499894] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.531154] NET: Registered protocol family 2
[    0.537031] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.544039] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.550868] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.556947] TCP: Hash tables configured (established 4096 bind 4096)
[    0.562868] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.568275] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.574208] NET: Registered protocol family 1
[    0.609091] RPC: Registered named UNIX socket transport module.
[    0.614499] RPC: Registered udp transport module.
[    0.618876] RPC: Registered tcp transport module.
[    0.623169] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.629294] Unpacking initramfs...
[    1.113954] Freeing initrd memory: 8516K
[    1.117883] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.124196] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.134815] Initialise system trusted keyrings
[    1.140209] Key type blacklist registered
[    1.144093] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.150251] zbud: loaded
[    1.163528] NFS: Registering the id_resolver key type
[    1.168388] Key type id_resolver registered
[    1.172208] Key type id_legacy registered
[    1.175977] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.182094] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.317064] Key type asymmetric registered
[    1.320813] Asymmetric key parser 'x509' registered
[    1.325704] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.332466] io scheduler noop registered
[    1.336298] io scheduler deadline registered
[    1.340242] io scheduler cfq registered (default)
[    1.347198] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    1.361705] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    1.368345] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.373358] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    1.379983] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.387859] PCI: bus0: Fast back to back transfers disabled
[    1.392960] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.400569] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.408854] pci 0000:00:01.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.446181] PCI: bus1: Fast back to back transfers disabled
[    1.452144] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring
[    1.486178] PCI: bus2: Fast back to back transfers disabled
[    1.491362] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    1.497718] pci 0000:00:01.0: BAR 15: assigned [mem 0xf8100000-0xf81fffff pref]
[    1.504393] pci 0000:00:02.0: BAR 14: assigned [mem 0xf8200000-0xf82fffff]
[    1.510716] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    1.516561] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    1.523157] pci 0000:00:02.0: BAR 6: assigned [mem 0xf8400000-0xf84007ff pref]
[    1.529778] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8100000-0xf810ffff pref]
[    1.536390] pci 0000:01:00.0: BAR 5: assigned [mem 0xf8000000-0xf80001ff]
[    1.542592] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    1.548333] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    1.554057] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    1.559798] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    1.565539] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    1.571263] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.575812] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    1.581537] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    1.587751] pci 0000:00:01.0:   bridge window [mem 0xf8100000-0xf81fffff pref]
[    1.594351] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8200000-0xf820ffff 64bit]
[    1.601049] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8210000-0xf8210fff 64bit]
[    1.607745] pci 0000:02:00.0: BAR 4: assigned [mem 0xf8211000-0xf8211fff 64bit]
[    1.614424] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.618976] pci 0000:00:02.0:   bridge window [mem 0xf8200000-0xf82fffff]
[    1.625306] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    1.631156] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    1.638072] mv_xor d0060800.xor: Marvell shared XOR driver
[    1.706196] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.713358] mv_xor d0060900.xor: Marvell shared XOR driver
[    1.776186] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.942417] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.953136] printk: console [ttyS0] disabled
[    1.978578] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 19, base_baud = 12500000) is a 16550A
[    1.987008] printk: console [ttyS0] enabled
[    1.987008] printk: console [ttyS0] enabled
[    1.994710] printk: bootconsole [earlycon0] disabled
[    1.994710] printk: bootconsole [earlycon0] disabled
[    2.005967] ahci 0000:01:00.0: enabling device (0146 -> 0147)
[    2.011499] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    2.019652] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    2.039976] scsi host0: ahci
[    2.053635] scsi host1: ahci
[    2.056846] ata1: SATA max UDMA/133 abar m512@0xf8000000 port 0xf8000100 irq 42
[    2.063584] ata2: SATA max UDMA/133 abar m512@0xf8000000 port 0xf8000180 irq 42
[    2.071539] sata_mv d00a0000.sata: slots 32 ports 1
[    2.087383] scsi host2: sata_mv
[    2.090729] ata3: SATA max UDMA/133 irq 27
[    2.096154] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.102013] nand: Hynix H27U1G8F2BTR-BC
[    2.105787] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.112999] Bad block table found at page 65472, version 0x01
[    2.119212] Bad block table found at page 65408, version 0x01
[    2.124668] nand_read_bbt: bad block at 0x000001820000
[    2.130010] nand_read_bbt: bad block at 0x000001f00000
[    2.134805] 5 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    2.140901] Creating 5 MTD partitions on "pxa3xx_nand-0":
[    2.145956] 0x000000000000-0x000000180000 : "u-boot"
[    2.152283] 0x000000180000-0x0000001a0000 : "u-boot-env"
[    2.159423] 0x000000200000-0x000000800000 : "uImage"
[    2.166154] 0x000000800000-0x000000c00000 : "minirootfs"
[    2.173043] 0x000000c00000-0x000008000000 : "ubifs"
[    2.184477] libphy: Fixed MDIO Bus: probed
[    2.192479] libphy: orion_mdio_bus: probed
[    2.204341] mvneta d0074000.ethernet eth0: Using random mac address a6:22:22:3d:fc:09
[    2.216010] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.222078] ehci-pci: EHCI PCI platform driver
[    2.227030] ehci-orion: EHCI orion driver
[    2.230938] orion-ehci d0050000.usb: EHCI Host Controller
[    2.236154] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1
[    2.243386] orion-ehci d0050000.usb: irq 25, io mem 0xd0050000
[    2.275080] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00
[    2.280830] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    2.288477] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.295204] usb usb1: Product: EHCI Host Controller
[    2.299700] usb usb1: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 ehci_hcd
[    2.306406] usb usb1: SerialNumber: d0050000.usb
[    2.311564] hub 1-0:1.0: USB hub found
[    2.315363] hub 1-0:1.0: 1 port detected
[    2.320301] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    2.325616] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    2.333194] xhci_hcd 0000:02:00.0: hcc params 0x200073a1 hci version 0x100 quirks 0x0000000000080010
[    2.342507] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[    2.350338] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.357083] usb usb2: Product: xHCI Host Controller
[    2.361580] usb usb2: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 xhci-hcd
[    2.368316] usb usb2: SerialNumber: 0000:02:00.0
[    2.373474] hub 2-0:1.0: USB hub found
[    2.377270] hub 2-0:1.0: 2 ports detected
[    2.381754] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    2.386902] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    2.393795] xhci_hcd 0000:02:00.0: Host supports USB 3.0  SuperSpeed
[    2.399854] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.407407] ata2: SATA link down (SStatus 0 SControl 300)
[    2.412449] ata1: SATA link down (SStatus 0 SControl 300)
[    2.417686] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[    2.425380] ata3: SATA link down (SStatus 0 SControl F300)
[    2.430663] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.437388] usb usb3: Product: xHCI Host Controller
[    2.441946] usb usb3: Manufacturer: Linux 4.20.6-mvebu-mirabox-tld-12 xhci-hcd
[    2.448622] usb usb3: SerialNumber: 0000:02:00.0
[    2.453682] hub 3-0:1.0: USB hub found
[    2.457455] hub 3-0:1.0: 2 ports detected
[    2.462679] usbcore: registered new interface driver usblp
[    2.468549] usbcore: registered new interface driver usb-storage
[    2.474918] mousedev: PS/2 mouse device common for all mice
[    2.481683] i2c /dev entries driver
[    2.489297] rtc-ds1307 0-0068: 'wakeup-source' is set, request for an IRQ is disabled!
[    2.501133] rtc-ds1307 0-0068: registered as rtc0
[    2.536708] orion_wdt: Initial timeout 229 sec
[    2.595787] marvell-cesa d0090000.crypto: CESA device successfully registered
[    2.603091] hidraw: raw HID events driver (C) Jiri Kosina
[    2.609288] usbcore: registered new interface driver usbhid
[    2.614426] usbhid: USB HID core driver
[    2.619022] drop_monitor: Initializing network drop monitor service
[    2.625562] NET: Registered protocol family 10
[    2.640875] Segment Routing with IPv6
[    2.644331] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.651971] NET: Registered protocol family 17
[    2.667108] 8021q: 802.1Q VLAN Support v1.8
[    2.671093] Key type dns_resolver registered
[    2.675521] ThumbEE CPU extension supported.
[    2.679485] Registering SWP/SWPB emulation handler
[    2.685240] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.692916] registered taskstats version 1
[    2.697692] Loading compiled-in X.509 certificates
[    2.702327] zswap: loaded using pool lzo/zbud
[    2.752921] Key type big_key registered
[    2.779757] Key type encrypted registered
[    2.788527] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.798172] rtc-ds1307 0-0068: setting system clock to 2020-08-25 18:32:04 UTC (1598380324)
[    2.809039] Freeing unused kernel memory: 1024K
[    2.836894] Checked W+X mappings: passed, no W+X pages found
[    2.842130] Run /init as init process

Apparently, my reaction time was marginally longer this time. It makes sense that the LEDs are turned on at:

[    2.788xxx] input: gpio-keys as /devices/platform/gpio-keys/input/input0

On the other hand, I cannot believe I reacted within a few 1/100 of a second, but maybe there is a delay somewhere? After this they remain on "forever".

To avoid getting random mac addresses at boot, I edited '/etc/network/config' as whitepawn suggested:

$ cat /etc/network/config
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
        hwaddress ether 12:34:56:78:90:00

Preferably, the mac address should be read from the hardware, alternatively from the U-boot environment, so USB-sticks can be swapped between units.

Regards,
Trond Melen

Re: Debian on Netgear RN102

$
0
0
Trond,

Quote

I wondered if u-boot would find a USB-stick on the USB3 connectors at the back if the stick was USB2, so I tried this. It made no difference.

Yes. I expected that, this u-boot is a little too old so I need to dig into it a bit when I have time.

Quote

Only after the last command the Power LED is switched off. The first two commands makes no difference. The other LEDs behave the same. A workaround in user-land is easy, but fixing the driver is better.

Actually the behavior you saw was correct. What we want to do is to change the DTS to make it easier to manipulate. The default "keep" is not a very good, IMO.

Quote

[ 2.798570] rtc-ds1307 0-0068: setting system clock to 2020-08-25 18:28:16 UTC (1598380096)

So the RTC is working, cool!


Quote

Preferably, the mac address should be read from the hardware, alternatively from the U-boot environment, so USB-sticks can be swapped between units.

This is a known problem for a few MVEBU boxes. I had a better work around, which I've included in the rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2. This work around uses the u-boot env ethaddr to set the MAC address, so the rootfs is portable to all boxes of its kind..

Quote

Note3:

To enable the network dynamic IP to stay consistent after each reboot, and also for faster boot. In this rootfs, a script is executed during kernel booting (in /etc/rc.local), to detect if a local MAC address was assigned during boot, and then set the persistent MAC address to what is currently defined in u-boot env ethaddr.

/root/set_persistent_mac_address

But I will post a new version for the DTS/DTB and you can test it to see if we can fix this random MAC problem.

Quote

At this stage, all the LEDs are off. Hitting the power button and interrupting u-boot, this is added to the console:

Regarding the Power button. Since we are booting with stock u-boot, it will remain working like that in u-boot. But in Debian, it will no longer have that stock behavior. We will need to use esekeyd to control this button and do whatever we want to with it.

See the Wiki thread:
Quote
https://forum.doozan.com/read.php?2,23630
Key daemon (button control)

Multimedia keyboard daemon for Linux
How to use set up button to reboot or shutdown with Key Daemon (esekeyd)

Re: Howto: pi-hole ad-blocker on Seagate Dockstar

$
0
0
Hi and thanks for the tutorial. It helped a lot, and finally my old dockstar has again something to do.

Just ran into the mentioned error described in
NOTE : If it still runs out of RAM during the make ( e.g. gcc dies unexpectedly after 10 min with something like
cc: fatal error: Killed signal terminated program cc1
   compilation terminated.
   make: *** [Makefile:146: build/database/sqlite3.o] Error 1
but could not change the compile options due to the change in FTL from make to cmake.

My solution was to follow the instructions on https://docs.pi-hole.net/ftldns/compile/ (especially additionally install libidn11-dev and cmake) and install swapspace
sudo apt-get install swapspace
afterward the FTL ./build.sh script ran about more than half a day (mainly at 98% on the sqlite3 step) but in the end suceeded.

-yafbu

Re: Debian installation on Netgear RN102

$
0
0
Hi bodhi,

I think 'keep' as 'defualt-state' in the dts-file is a good thing if is to be interpreted as "read the current state of this LED and align the driver's shadow variable with it", but maybe 'keep' means something else? 'keep' as 'default-state' cannot be blamed here because the Backup LED, which 'default-state' in 'on', behaves the same way as the Power LED:
echo none       > /sys/class/leds/rn102:blue:backup/trigger
echo none       > /sys/class/leds/rn102:blue:backup/trigger
echo default-on > /sys/class/leds/rn102:blue:backup/trigger
echo none       > /sys/class/leds/rn102:blue:backup/trigger
Again, only after the last command is the Backup LED switched off. The first two commands make no difference.

The Activity LED irritates me. It is on by default if there is at least a disk in one of the two bays, and off for short moments when there is disk activity. This is the opposite of the Sata1 and Sata2 LEDs, and I would be happy to see the behaviour inverted. I belive this LED is driven by the Sata controller rather than the Armada 370 SoC. Does this mean that nothing can be done about it?

Since the Activity LED currently behaves more or less like a power on indicator, I chose to turn the Power LED off after boot if the Activity LED is already on. This is from my /etc/rc.local:
if [ -d /sys/class/leds/rn102:blue:pwr ]; then

   # Switch all the LEDs on to bring driver's shadow variables in sync with the LEDs
   echo default-on > /sys/class/leds/rn102:blue:pwr/trigger
   echo default-on > /sys/class/leds/rn102:blue:sata1/trigger
   echo default-on > /sys/class/leds/rn102:blue:sata2/trigger
   echo default-on > /sys/class/leds/rn102:blue:backup/trigger

   # Switch the Power LED off if the Activity LED is on (one power indicator is enough)
   if grep scsi1 /proc/scsi/scsi > /dev/null; then
      echo none    > /sys/class/leds/rn102:blue:pwr/trigger
   fi
   if grep scsi2 /proc/scsi/scsi > /dev/null; then
      echo none    > /sys/class/leds/rn102:blue:pwr/trigger
   fi

   # Make Sata1 and Sata2 LEDs indicate disk activity
   echo ide-disk1  > /sys/class/leds/rn102:blue:sata1/trigger
   echo ide-disk2  > /sys/class/leds/rn102:blue:sata2/trigger

   # Switch the Backup LED off
   echo none       > /sys/class/leds/rn102:blue:backup/trigger
fi

The ability to do an orderly shutdown just by pushing the power button for, say, 5 seconds is very valuable. I always missed that on the NetgearStora.

Regards,
Trond Melen

Re: RN10400

$
0
0
Hi Bodhi,

Thank you for list up for me what to try on my RN10400. Yes it's very much data on the HD's on it. So i want to keep that. Now it is 4 x 3 Tb. HD's. in it. But i can replace them with 4 x 500 Gb. new empty HD's if it's must be HD's in it when i do the reset.

Well okay thanks i will try what you have write up for me now and see.

Then i will come back to you and tell you what happend.

Thanks again.

AkkJaa....

Re: RN10400

$
0
0
Hi Bodhi,

Now i have try it. I take out the HDDs and i connect the power line. the first who standing in the display is.: Netgear Storage Welcome. this message is for 1 - 2 sec. Then come this in the display.: Boot from USB Failed! and that's all.

I can't turn the RN10400 off. it go on right away when i connect the power line. And i can't reset it, because if i hold in reset and push power then it are already start up when i connect the power line. and i get every time the message.: Netgear Storage Welcome. Then message.: Boot from USB Failed!

I also try to hold in Reset and Power when i connect the power line but just the same as before. And in the display is standing Boot from USB Failed! and the Power and backup button's blinking very fast all the time.

And that was the same when the HDDs was in the cabinet. But then the light for HHDs was on and i coud hear the HDDs war running. So here is mayby something who hanging in the motherboard. I also try to remove the backup battery and put it inn again but just the same.

So then i have try all what you have told me. So then i need to try to connect a serial console to see what's going on and interact with the system during boot. You say.

Yes, what do i need to do that.? And where can i buy it.?

Okay hope to hear from you again.

Thanks again.

AkkJaa....

Re: RN10400

$
0
0
AkkJaa,

See this thread for serial console parts discussion:

https://forum.doozan.com/read.php?8,13263

If you can find it in Amazon at your locale (e.g. Amazon Europe) then it is quicker shipping but cost a little more. If you buy from eBay shipping from China then it will take about 2-3 weeks.

Either the CP or PL chip would work.

CP2102
PL3xxx

An example of the CP2102 on Amazon. It comes with the 4 wires, but you must use only 3 wires: RXD, TXD, and GND (do not connect 3.3V).

https://www.amazon.com/Qunqi-CP2102-Module-Download-Converter/dp/B014PBYER4

Re: Debian installation on Netgear RN102

$
0
0
Trond,

The "keep" property is what made the manipulation is a little awkward.

I will update the DTS to make everything default similar to other Kirkwood and MVEBU boxes. And you will not need to use userspace echos to trigger them.

Basically everything is off during kernel booting. Once the kernel completed booting, the System LED is on. And SATA1 and SATA2 will be off. When the each disk is accessed, its SATA LED will flash during the activity, and go back to off again.

> The ability to do an orderly shutdown just by
> pushing the power button for, say, 5 seconds is
> very valuable. I always missed that on the
> NetgearStora.

Yes, I've mentioned esekeyd above. That's how we execute some commands/scripts when a button is pushed. All 3 buttons: Power, Reset, Backup can be used on this RN102 box.
Viewing all 47002 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>