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