Welcome! Log In Create A New Profile

Advanced

Lenovo ix2-ng to put Debian Stretch and OMV4

Posted by codier 
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 03, 2021 10:55PM
It does.

root@ix2:/# cat /etc/fw_env.config
/dev/mtd1         0x0             0x1000          0x1000
/dev/mtd2         0x0             0x1000          0x1000
root@ix2:/# fw_printenv
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
ethact=egiga0
console=console=ttyS0,115200
bootargs_root=root=/dev/ram0
bootargs_mtd=mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
kernelimage=zImage
initrdimage=mfginitrd
ipaddr=192.168.1.2
mfgmodel=ix2
preroot_ver=0.0.2
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; bootm 0x40000 0x900000;
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
uboot_ver=0.0.8
serial_number=5563Y01001G4130044CJ0D1
ethaddr=00:D0:B8:28:76:76
serialNo=SM10G0885942200209
modelname=SM10G08859
fw_ver=4.0.8.23976
serialno=0,01fCt+rC6JS6RqbhasnbzGZRgdN+gIw6GJr8x5N2mfDwoThRpoo00APsDyzEtS72UY,SM10G0885942200209,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
pre_path=IX2/1.1.0/download_runin.sh
pre_path_conf=IX2/1.1.0/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX2/1.1.0
serverip=192.168.32.4
bootcmd=ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2

Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 03, 2021 11:16PM
root@ix2:/# cat /etc/fw_env.config
/dev/mtd1         0x0             0x1000          0x1000
/dev/mtd2         0x0             0x1000          0x1000

So our 1st try was correct!

Quote
https://forum.doozan.com/read.php?2,122039,122439#msg-122439

setenv bootargs_mtd 'mtdparts=spi0.0:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)'
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial'

And repeat the other setenvs in serial console like before. And boot into Debian.


2. After booted into Debian, edit the fw_env.config file to have this conntent (this is same as posted before)
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd1 0x0 0x1000 0x1000

And then check the mtd partitions to see if they are what we expected (should be 3 mtds)
cat /proc/mtd

And try to list the envs
fw_printenv

If you can see the envs listed correctly like in serial console, then it's all good.

The error in dmesg was why you still see the CRC error.

[    8.310171][    T1] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    8.315700][    T1] 3 cmdlinepart partitions found on MTD device spi0.0
[    8.322383][    T1] Creating 3 MTD partitions on "spi0.0":
[    8.327898][    T1] 0x000000000000-0x00000007e000 : "u-boot"
[    8.333596][    T1] mtd: partition "u-boot" doesn't end on an erase/write block -- force read-only
[    8.343631][    T1] 0x00000007f000-0x000000080000 : "env"
[    8.349093][    T1] mtd: partition "env" doesn't start on an erase/write block boundary -- force read-only
[    8.359761][    T1] 0x00000007e000-0x00000007f000 : "env2"
[    8.365269][    T1] mtd: partition "env2" doesn't start on an erase/write block boundary -- force read-only

Now the error above did not make any sense!

0x00000007e000 = 516096  = 126 * 4*1024

If the kernel thinks it is 4K sector then it would fit on 4K block boundary. The error indicates that the kernel thinks this SPI flash has 64KB sector, so it does not end on boundary

0x00000007e000 / 64 /1024 = 7.875
I need to take a look at the kernel code for this SPI flash

[    8.310171][    T1] m25p80 spi0.0: mx25l8005 (1024 Kbytes)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 03, 2021 11:31PM
Codier,

So the kernel indeed does not know this SPI flash is 4K sector compatible. Note the last column for mx25l8005.

static const struct flash_info macronix_parts[] = {
        /* Macronix */
        { "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },
        { "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },
        { "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K | SPI_NOR_HAS_LOCK) },
        { "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },

....

The driver in stock OS apparently has this SPI flash driver patched to recognize 4K sector.

That was the rationale why I wanted to try to define the whole flash = mtd0 (I tried to get past the kernel check in case it thinks the flash is 64K sector). But apparently later that 64K-sector still come into play when you do fw_printenv.

Let's wait until I release the next kernel, I will patch the driver to have 4K sector

{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, SECT_4K) },


and then you can try again.

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



Edited 1 time(s). Last edit at 07/03/2021 11:32PM by bodhi.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 03, 2021 11:58PM
Sounds good.

Thanks Bodhi. This is a nice lesson and I have learned alot.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 05, 2021 08:56PM
Hi Bodhi,

Is there another way to set boot with systemd before your patch?

Thanks
Codier
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 06, 2021 12:26AM
See note2 in the installation instruction.

https://forum.doozan.com/read.php?2,12096

Quote

Updated 25 Aug 2019:

Basic Debian buster Kirkwood rootfs for most Kirwood plugs:

- tarball size: 209M
- install size: 536M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, and mtd-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2

md5:
cd8ad170aa1a9fdc2a0a1c43ab1c0721
sha256:
8ccbbced367b4c2bf3728262e882f8232aff0fecd1c0c767219a0cab49a0b9bf


And remember to check the hash of what you download, as always.

Installation:

Installation can be done on any Linux box, with a fresh USB drive (SD card or HDD would work fine too).

Note: all steps below must be done while logging in as root user (not sudo). If you are not the root user then don't continue, because the rootfs will not work.

1. Format a new USB drive with a single Ext3 partition, and label it rootfs.

2. Mount the drive on a Linux box. cd to top level directory and extract it. It is assuming the USB drive is mounted at /media/sdb1
cd /media/sdb1
tar -xjf Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2

3. Adjust fstab (optional).

Edit /media/sdb1/etc/fstab entry for root device to match the rootfstype of your rootfstype if you use Ext4 or Ext2. However, you can keep it as is without problem in booting since the kernel will figure out which file system the rootfs was formatted.

LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Do not do this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
sync

If your Linux box does not have mkimage, then install it

apt-get install u-boot-tools

5. Done. Take this USB rootfs to your plug and cold start. After booted into Debian, see Note1 and Note2 below. It is very important that you do Note1 steps to secure your box.

Note1:

After logging in this rootf the first time, remember to generate new SSH key to make it your own unique rootfs. And also update your rootfs to get the latest Debian package security updates:
rm /etc/ssh/ssh_host*
ssh-keygen -A

apt-get update
apt-get upgrade

Warning: Watch the apt-get upgrade progress. If the apt-get upgrade results in a new initramfs, the log would shows this message:

update-initramfs: Generating /boot/initrd.img-5.2.9-kirkwood-tld-1

Then you need to regenerate the uInitrd boot file:
cd /boot
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uInitrd

Note2:

To boot with systemd, add parameter init=/bin/systemd to your u-boot env bootargs (beware that in later Debian distribution, the location of systemd binary might have changed).

- For example,
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd'

- Or, if you are booting with my latest u-boot images you can also use the uEnv.txt capability to do this. In the default envs, custom_params is a variable that allows you to add extra bootargs. So add the following line to uEnv.txt:
custom_params=init=/bin/systemd

If that's still not possible to run systemd, you might want to install it again:
apt-get install systemd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 06, 2021 10:33AM
Hi Bodhi,

According to my situation
root@debian:/media/omv5# fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd'
Warning: Bad CRC, using default environment

Can I set it via serial by using following? then just boot it to test?
setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd

Thanks
Codier



Edited 1 time(s). Last edit at 07/06/2021 10:34AM by codier.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 06, 2021 03:45PM
Codier,

> Can I set it via serial by using following? then
> just boot it to test?

Yes, set it in serial console, but your current env is

usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial

so change it to

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'

andn then boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 07, 2021 11:03AM
Hi Bodhi,

The systemd was working on my system so I think the guide is still valid.

It stopped working after I installed OMV5 (Since your debian version is Buster now and only OMV5 can be installed). My USB is newly built so there is nothing. basically I will start from beginning and I will redo the steps to see if there is anything wrong.

Just want to know if I am safe to saveenv for the following variables.
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

Thanks
Codier



Edited 2 time(s). Last edit at 07/07/2021 02:32PM by codier.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 07, 2021 03:36PM
codier,

After testing these new envs and know that it works each time you boot the system, you'd want to set it up so stock OS can be run as rescue system. In case the USB drive is not attached or corrupted, it will boot into stock and then you can log in through SSH and repair it.

So redefine the stock boocmd as bootcmd_stock and then add it to the new bootcmd as a fallback system

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop; reset'

setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'

setenv bootcmd 'run bootcmd_debian; run bootcmd_stock'

Test these envs a few times, booting alternatively Debian and stock OS (by removing the USB drive). And then after tesing, do a saveenv in serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 07, 2021 11:41PM
Hi Bodhi,

The new set of envs didn't work.
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'run bootcmd_debian; run bootcmd_stock'
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
T Device NOT ready
   Request Sense returned 00 00 00
1 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
stopping USB..

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix2-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:18:22) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Found ADT7473, program PWM1 ... OK
[1024kB@f8000000] Flash:  1 MB

When I changed to the old sets it worked.
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................

4976325 bytes read
....
.
...................
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
....................................................................................................................................................................................................................................................................................................................................................................................................................
....
............................................................................................................................

9713936 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2021-07-08   4:02:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4976261 Bytes =  4.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    8.251688][    T1] printk: console [ttyS0] enabled
[    8.261472][    T1] printk: bootconsole [earlycon0] disabled
[    8.278724][    T1] loop: module loaded
[    8.283039][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.290761][    T1] scsi host0: sata_mv
[    8.295060][    T1] scsi host1: sata_mv
[    8.299187][    T1] ata1: SATA max UDMA/133 irq 34
[    8.303999][    T1] ata2: SATA max UDMA/133 irq 34
[    8.310229][    T1] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    8.315776][    T1] 3 fixed-partitions partitions found on MTD device spi0.0
[    8.322895][    T1] Creating 3 MTD partitions on "spi0.0":
[    8.328410][    T1] 0x000000000000-0x00000007e000 : "u-boot"
[    8.334109][    T1] mtd: partition "u-boot" doesn't end on an erase/write block -- force read-only
[    8.344159][    T1] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    8.350315][    T1] mtd: partition "u-boot env2" doesn't start on an erase/write block boundary -- force read-only
[    8.361700][    T1] 0x00000007f000-0x000000080000 : "u-boot env"
[    8.367733][    T1] mtd: partition "u-boot env" doesn't start on an erase/write block boundary -- force read-only
[    8.379966][    T1] libphy: Fixed MDIO Bus: probed
[    8.385381][    T1] libphy: orion_mdio_bus: probed
[    8.401173][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.409141][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    8.416828][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:28:76:76
[    8.426429][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.433784][    T1] ehci-pci: EHCI PCI platform driver
[    8.439031][    T1] ehci-orion: EHCI orion driver
[    8.443896][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.450172][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.458729][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    8.488600][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.495537][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    8.504557][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.512528][    T1] usb usb1: Product: EHCI Host Controller
[    8.518128][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[    8.525484][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.531402][    T1] hub 1-0:1.0: USB hub found
[    8.535894][    T1] hub 1-0:1.0: 1 port detected
[    8.541116][    T1] usbcore: registered new interface driver usb-storage
[    8.548149][    T1] mousedev: PS/2 mouse device common for all mice
[    8.554949][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    8.560716][    T1] i2c /dev entries driver
[    8.566094][    T1] device-mapper: uevent: version 1.0.3
[    8.571736][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    8.581257][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.588549][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.595939][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.603374][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.610230][    T1] device-mapper: raid: Loading target version 1.14.0
[    8.617901][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    8.624319][    T1] drop_monitor: Initializing network drop monitor service
[    8.631591][    T1] NET: Registered protocol family 17
[    8.636970][    T1] Key type dns_resolver registered
[    8.642731][    T1] registered taskstats version 1
[    8.647548][    T1] Loading compiled-in X.509 certificates
[    8.653240][    T1] zswap: loaded using pool lzo/zbud
[    8.728187][    T1] Key type big_key registered
[    8.764837][    T1] Key type encrypted registered
[    8.771356][    T1] rtc-mv f1010300.rtc: setting system clock to 2021-07-08T04:32:09 UTC (1625718729)
[    8.808608][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.818067][  T112] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    8.825523][  T112] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.835569][  T112] ata1.00: configured for UDMA/133
[    8.851069][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    8.860667][  T116] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.869548][  T116] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.875589][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    8.881242][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.908601][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.971209][  T116]  sda: sda1 sda2
[    8.976073][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.112484][   T15] usb 1-1: New USB device found, idVendor=13fe, idProduct=4100, bcdDevice= 1.00
[    9.121437][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.129350][   T15] usb 1-1: Product: USB DISK 2.0
[    9.134161][   T15] usb 1-1: Manufacturer:
[    9.139095][   T15] usb 1-1: SerialNumber: 070239F129000800
[    9.145387][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[    9.152601][   T15] scsi host2: usb-storage 1-1:1.0
[    9.368609][  T114] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.378022][  T114] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.385478][  T114] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.395522][  T114] ata2.00: configured for UDMA/133
[    9.410920][   T23] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.420493][  T116] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.429262][  T116] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    9.435272][  T116] sd 1:0:0:0: [sdb] Write Protect is off
[    9.440904][  T116] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.518117][  T116] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    9.526273][  T116] GPT:3907029166 != 3907029167
[    9.530923][  T116] GPT:Alternate GPT header not at the end of the disk.
[    9.537650][  T116] GPT:3907029166 != 3907029167
[    9.542295][  T116] GPT: Use GNU Parted to correct GPT errors.
[    9.548210][  T116]  sdb: sdb1 sdb2
[    9.553039][  T116] sd 1:0:0:0: [sdb] Attached SCSI disk
[    9.561347][    T1] Freeing unused kernel memory: 1024K
[    9.578995][    T1] Checked W+X mappings: passed, no W+X pages found
[    9.585376][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   10.181087][  T116] scsi 2:0:0:0: Direct-Access              USB DISK 2.0          PQ: 0 ANSI: 4
[   10.202034][   T23] sd 2:0:0:0: [sdc] 15124992 512-byte logical blocks: (7.74 GB/7.21 GiB)
[   10.224037][   T23] sd 2:0:0:0: [sdc] Write Protect is off
[   10.235030][   T23] sd 2:0:0:0: [sdc] No Caching mode page found
[   10.247197][   T23] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[   10.264741][   T23]  sdc: sdc1
[   10.273027][   T23] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   10.360625][  T170] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1
rootfs: recovering journal
rootfs: clean, 15075/473280 files, 201821/1890304 blocks
done.
[   22.523527][  T195] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   22.585357][  T195] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
run-init: can't execute '/bin/systemd': No such file or directory
Target filesystem doesn't have requested /bin/systemd.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[....] Synthesizing the initial hotplug events (subsystems)...[   24.608645][    C0] random: crng init done
done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[   25.387321][  T389] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   25.414589][  T388] systemd-udevd[388]: Using default interface naming scheme 'v240'.
[   25.484638][  T388] systemd-udevd[388]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   25.746753][  T386] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   25.781345][  T376] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   25.819417][  T386] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   25.891955][  T376] adt7475 0-002e: ADT7473 device, revision 0
[   25.909096][  T386] orion_wdt: Initial timeout 21 sec
[   25.931878][  T376] adt7475 0-002e: Optional features: fan4 pwm2
[   26.006463][  T385] marvell-cesa f1030000.crypto: CESA device successfully registered
[   26.029104][  T389] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.063246][  T389] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   26.090360][  T389] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   26.322039][  T376] systemd-udevd[376]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   27.973285][  T596] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:d0:b8:28:76:76
Sending on   LPF/eth0/00:d0:b8:28:76:76
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[   33.832185][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPOFFER of 10.0.0.100 from 10.0.0.31
DHCPREQUEST for 10.0.0.100 on eth0 to 255.255.255.255 port 67
DHCPACK of 10.0.0.100 from 10.0.0.31
bound to 10.0.0.100 -- renewal in 328190 seconds.
[   60.856984][ T1150] NET: Registered protocol family 10
[   60.863671][ T1150] Segment Routing with IPv6
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1344 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1371 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

Thanks
Codier
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 08, 2021 04:00AM
Codier,

The command is basically the same. But this time you have a USB drive problem.

Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'run bootcmd_debian; run bootcmd_stock'
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
T Device NOT ready
   Request Sense returned 00 00 00
1 Storage Device(s) found

Shutdown, unplug the power, and then power up, try again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 08, 2021 11:03AM
Strange. I use the same USB drive but with different set of variables. Maybe it's the coincidence.

I changed to a new USB and confirmed the new envs are working.

Should I regenerate the uInitrd boot file everytime if I see the following message?

update-initramfs: Generating /boot/initrd.img-5.2.9-kirkwood-tld-1

Thanks
Codier



Edited 1 time(s). Last edit at 07/08/2021 11:42AM by codier.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 08, 2021 03:42PM
codier,

> Strange. I use the same USB drive but with
> different set of variables. Maybe it's the
> coincidence.
>
> I changed to a new USB and confirmed the new envs
> are working.

Sometime the stock u-boot is flaky in "spinning up" the drive. To make sure it works with a certain USB drive you would do a cold boot.

>
> Should I regenerate the uInitrd boot file
> everytime if I see the following message?
>
>
> update-initramfs: Generating
> /boot/initrd.img-5.2.9-kirkwood-tld-1
>

Yes, you should. Eventhough you should be able to boot with the old initrd, but it does not have the latest hooks for things that you've installed (that change causes the message to show up).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 08, 2021 04:52PM
Hi Bodhi,

Got ya.

I found an problem in my ix2-ng as there is always an extra USB device being detected. I have no clue what is this extra USB device.

When I insert the Uboot USB there shows totally 2 USB devices. This way works for booting up the USB uboot. Below is the success boot log
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'run bootcmd_debian; run bootcmd_stock'
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................

4976325 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
....................................................................................................................................................................................................................................................................................................................................................................................................................
....
....................................................................................................................................

9790511 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2021-07-08  16:01:07 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4976261 Bytes =  4.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2021-07-08  16:39:51 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9790447 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    8.251677][    T1] printk: console [ttyS0] enabled
[    8.261454][    T1] printk: bootconsole [earlycon0] disabled
[    8.278693][    T1] loop: module loaded
[    8.283013][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.290747][    T1] scsi host0: sata_mv
[    8.295044][    T1] scsi host1: sata_mv
[    8.299170][    T1] ata1: SATA max UDMA/133 irq 34
[    8.303985][    T1] ata2: SATA max UDMA/133 irq 34
[    8.310196][    T1] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    8.315744][    T1] 3 fixed-partitions partitions found on MTD device spi0.0
[    8.322864][    T1] Creating 3 MTD partitions on "spi0.0":
[    8.328379][    T1] 0x000000000000-0x00000007e000 : "u-boot"
[    8.334076][    T1] mtd: partition "u-boot" doesn't end on an erase/write block -- force read-only
[    8.344127][    T1] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    8.350289][    T1] mtd: partition "u-boot env2" doesn't start on an erase/write block boundary -- force read-only
[    8.361672][    T1] 0x00000007f000-0x000000080000 : "u-boot env"
[    8.367710][    T1] mtd: partition "u-boot env" doesn't start on an erase/write block boundary -- force read-only
[    8.379943][    T1] libphy: Fixed MDIO Bus: probed
[    8.385359][    T1] libphy: orion_mdio_bus: probed
[    8.401273][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.409231][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    8.416929][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:28:76:76
[    8.426528][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.433891][    T1] ehci-pci: EHCI PCI platform driver
[    8.439139][    T1] ehci-orion: EHCI orion driver
[    8.444004][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.450277][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.458833][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    8.488613][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.495550][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    8.504576][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.512540][    T1] usb usb1: Product: EHCI Host Controller
[    8.518140][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[    8.525496][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.531422][    T1] hub 1-0:1.0: USB hub found
[    8.535912][    T1] hub 1-0:1.0: 1 port detected
[    8.541135][    T1] usbcore: registered new interface driver usb-storage
[    8.548163][    T1] mousedev: PS/2 mouse device common for all mice
[    8.554957][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    8.560720][    T1] i2c /dev entries driver
[    8.566110][    T1] device-mapper: uevent: version 1.0.3
[    8.571759][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    8.581279][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.588570][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.595960][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.603396][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.610249][    T1] device-mapper: raid: Loading target version 1.14.0
[    8.617934][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    8.624359][    T1] drop_monitor: Initializing network drop monitor service
[    8.631625][    T1] NET: Registered protocol family 17
[    8.636998][    T1] Key type dns_resolver registered
[    8.642768][    T1] registered taskstats version 1
[    8.647577][    T1] Loading compiled-in X.509 certificates
[    8.653264][    T1] zswap: loaded using pool lzo/zbud
[    8.728318][    T1] Key type big_key registered
[    8.765100][    T1] Key type encrypted registered
[    8.771620][    T1] rtc-mv f1010300.rtc: setting system clock to 2021-07-08T18:29:42 UTC (1625768982)
[    8.808619][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.818074][  T112] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    8.825526][  T112] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.835587][  T112] ata1.00: configured for UDMA/133
[    8.851088][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    8.860691][  T116] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.869578][  T116] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.875621][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    8.881282][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.908612][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.970819][  T116]  sda: sda1 sda2
[    8.975661][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.110839][   T15] usb 1-1: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[    9.119791][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.127692][   T15] usb 1-1: Product: DataTraveler SE9
[    9.132885][   T15] usb 1-1: Manufacturer: Kingston
[    9.137783][   T15] usb 1-1: SerialNumber: F46D04613D6BCCA029202460
[    9.144744][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[    9.151953][   T15] scsi host2: usb-storage 1-1:1.0
[    9.368619][  T114] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.378034][  T114] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.385488][  T114] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.395533][  T114] ata2.00: configured for UDMA/133
[    9.410931][   T23] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.420516][  T116] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.429290][  T116] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    9.435301][  T116] sd 1:0:0:0: [sdb] Write Protect is off
[    9.440931][  T116] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.513392][  T116] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    9.521547][  T116] GPT:3907029166 != 3907029167
[    9.526185][  T116] GPT:Alternate GPT header not at the end of the disk.
[    9.532927][  T116] GPT:3907029166 != 3907029167
[    9.537565][  T116] GPT: Use GNU Parted to correct GPT errors.
[    9.543491][  T116]  sdb: sdb1 sdb2
[    9.548296][  T116] sd 1:0:0:0: [sdb] Attached SCSI disk
[    9.556621][    T1] Freeing unused kernel memory: 1024K
[    9.569011][    T1] Checked W+X mappings: passed, no W+X pages found
[    9.575394][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   10.127728][  T166] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.196443][  T116] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler SE9 1.00 PQ: 0 ANSI: 4
[   10.215014][   T23] sd 2:0:0:0: [sdc] 15148608 512-byte logical blocks: (7.76 GB/7.22 GiB)
[   10.231764][   T23] sd 2:0:0:0: [sdc] Write Protect is off
[   10.243413][   T23] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.267592][   T23]  sdc: sdc1
[   10.275630][   T23] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   10.328238][  T166] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1
rootfs: clean, 15968/473280 files, 284784/1893120 blocks
done.
[   21.148411][  T197] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   21.319594][  T197] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   22.554821][    T1] systemd[1]: Inserted module 'autofs4'
[   22.611728][    T1] NET: Registered protocol family 10
[   22.617867][    T1] Segment Routing with IPv6
[   22.661791][    T1] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTM                                                                              P +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   22.687631][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

[   22.729954][    T1] systemd[1]: Set hostname to <debian>.
[   23.799804][    T1] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=                                                                              any), but the local system does not support BPF/cgroup based firewalling.
[   23.817741][    T1] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded uni                                                                              t using IP firewalling.)
[   23.837396][    C0] random: crng init done
[   24.268232][    T1] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var                                                                              /run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[   24.373784][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   24.409457][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   24.448869][    T1] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[   24.463613][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Mounting NFSD configuration filesystem...
[  OK  ] Reached target System Time Synchronized.
         Mounting Kernel Debug File System...
         Mounting POSIX Message Queue File System...
         Starting Load Kernel Modules...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Swap.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Create list of re…odes for the current kernel...
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
         Starting Journal Service...
[  OK  ] Listening on RPCbind Server Activation Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK     25.219780][  T233] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
m] Reached target Local Encrypted Volumes.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of req… nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Journal Service.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Starting Flush Journal to Persistent Storage...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting pNFS block layout mapping daemon...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[   26.070536][  T231] systemd-journald[231]: Received request to flush runtime journal from PID 1
[  OK  ] Started udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Preprocess NFS configuration...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting RPC bind portmap service...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
[   28.934331][  T264] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   29.052094][  T262] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_regis                                                                              ter_with_info().
[   29.360033][  T264] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   29.409921][  T261] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.434717][  T250] marvell-cesa f1030000.crypto: CESA device successfully registered
[   29.498802][  T262] adt7475 0-002e: ADT7473 device, revision 0
[   29.504671][  T262] adt7475 0-002e: Optional features: fan4 pwm2
[  OK  ] Found device /dev/ttyS0.
[   29.553305][  T264] orion_wdt: Initial timeout 21 sec
[  OK  ] Started    29.575452][  T261] sd 1:0:0:0: Attached scsi generic sg1 type 0
;39mLogin Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   29.682687][  T261] sd 2:0:0:0: Attached scsi generic sg2 type 0
[  OK  ] Started Helper to synchronize boot up for ifupdown.
         Starting Raise network interfaces...
[   34.533565][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   34.544187][   T15] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting /etc/rc.local Compatibility...
         Starting Network Time Service...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Network Time Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[   44.600628][  T389] NFSD: Using UMH upcall client tracking operations.
[   44.607224][  T389] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Permit User Sessions...
         Starting LSB: Starts syslogd...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 10 debian ttyS0

When I unplug the USB drive(to test the if it could boot into the stock OS) then it still detects one USB. This way it doesn't boot into the stock uboot so I am wonder if I save the envs it will cause an endless loop. Below is the boot log. Is there a solution to solve it?

Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>>
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop; reset'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'run bootcmd_debian; run bootcmd_stock'
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
stopping USB..

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix2-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:18:22) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Found ADT7473, program PWM1 ... OK
[1024kB@f8000000] Flash:  1 MB

Thanks
Codier



Edited 1 time(s). Last edit at 07/08/2021 04:54PM by codier.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 08, 2021 05:35PM
Codier,

The 2nd USB drive you saw was the USB hub. It's always there as a device. But not a storage device. So it was perfectly OK to see several errors before the reset.

But we need to change the logic a little bit. I'll come back later and post the fix for that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 08, 2021 10:22PM
Codier,


OK, so we change 2 envs below. Move the reset from bootcmd_debian to bootcmd. And also add outputs to make it clear when each booting sequence starts.

Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'

setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop'

Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'

setenv bootcmd 'echo Booting Debian...; run bootcmd_debian; echo Booting Stock...; run bootcmd_stock; reset'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 10, 2021 07:40PM
Thanks Bodhi, everything is working great.
Just want to confirm if I saved those envs as long as I serial cable connection then I could rescue it anytime if those envs messed up.

Codier
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 10, 2021 10:26PM
Codier,

The only way to be safe is:

- Try UART booting (Where you load the u-boot image over serial connection). You can dump the mtd0 on this box to a file, and then use kwboot to connect and load it, execute it. This will be a good excercise.

- If UART booting does not work, then be very careful when you change envs. The current envs settings like we did to boot Debian on USB are quite safe.

Any more changes in envs must be reviewed thoroughly before you commit the changes with saveenv. Because there are some u-boot commands (if use wrong value) could cause the box to stop before the countdown. And then UART booting is needed to recover.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 11, 2021 01:49AM
Example of UART booting with kwboot:

https://forum.doozan.com/read.php?3,51739,51919#msg-51919

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
July 21, 2021 08:01PM
Hi bodhi,

Thanks for the information. I have no knowledge for UART booting so I think I will just stick with the current env. I will wait for your next kernel, finalize the env and then save it after then.

Codier
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 08, 2021 04:42PM
Codier,

Try the new kernel linux-5.13.6-kirkwood-tld-1 to see if your SPI flash is working.

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



Edited 1 time(s). Last edit at 08/20/2021 10:09PM by bodhi.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 20, 2021 08:16PM
Hi bodhi,

Can mvebu and kirkwood kernel interchangable?
I am currently using kirkwood 5.2.9.

Thanks
Codier
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 20, 2021 10:08PM
codier,

I've mistyped the name :) should be:

linux-5.13.6-kirkwood-tld-1

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 21, 2021 11:23PM
Hi bodhi,

I was thinking it might be the typo. haha

I've updated the kernel but unfortunately problem still exist.
Please see the boot log. 3 MTD partitions seems good now but I still have bad CRC warning when access fw_printenv.

Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'echo Booting Debian...; run bootcmd_debian; echo Booting Stock...; run bootcmd_stock; reset'
Marvell>> boot
Booting Debian...
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.....................................................................................................................

5448541 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
.........................................................................................................................................................................................................................................................................................................................................................................................................................
................................................................

13295836 bytes read
## Booting image at 00800000 ...
   Image Name:   5.13.6-kirkwood-tld-1
   Created:      2021-08-22   4:08:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5448477 Bytes =  5.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-08-22   4:08:20 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    13295772 Bytes = 12.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    8.163152][    T1] printk: console [ttyS0] enabled
[    8.172924][    T1] printk: bootconsole [earlycon0] disabled
[    8.191198][    T1] loop: module loaded
[    8.195732][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.204471][    T1] scsi host0: sata_mv
[    8.208855][    T1] scsi host1: sata_mv
[    8.212963][    T1] ata1: SATA max UDMA/133 irq 34
[    8.217787][    T1] ata2: SATA max UDMA/133 irq 34
[    8.224096][    T1] spi-nor spi0.0: mx25l8005 (1024 Kbytes)
[    8.229804][    T1] 3 fixed-partitions partitions found on MTD device spi0.0
[    8.236892][    T1] Creating 3 MTD partitions on "spi0.0":
[    8.242425][    T1] 0x000000000000-0x00000007e000 : "u-boot"
[    8.249387][    T1] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    8.256671][    T1] 0x00000007f000-0x000000080000 : "u-boot env"
[    8.264240][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.272842][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.284108][    T1] libphy: Fixed MDIO Bus: probed
[    8.290138][    T1] libphy: orion_mdio_bus: probed
[    8.308331][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.317816][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:28:76:76
[    8.327463][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.334798][    T1] ehci-pci: EHCI PCI platform driver
[    8.340055][    T1] ehci-orion: EHCI orion driver
[    8.344952][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.351236][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.359878][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    8.389155][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.396123][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.405150][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.413122][    T1] usb usb1: Product: EHCI Host Controller
[    8.418722][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.426167][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.432145][    T1] hub 1-0:1.0: USB hub found
[    8.436649][    T1] hub 1-0:1.0: 1 port detected
[    8.441974][    T1] usbcore: registered new interface driver usb-storage
[    8.449059][    T1] mousedev: PS/2 mouse device common for all mice
[    8.456224][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    8.461917][    T1] rtc-mv f1010300.rtc: setting system clock to 2021-08-22T04:12:37 UTC (1629605557)
[    8.471470][    T1] i2c /dev entries driver
[    8.477172][    T1] device-mapper: uevent: version 1.0.3
[    8.482806][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.492368][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.499689][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.507061][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.514497][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.521355][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.529562][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.535938][    T1] drop_monitor: Initializing network drop monitor service
[    8.543352][    T1] NET: Registered protocol family 10
[    8.549658][    T1] Segment Routing with IPv6
[    8.554162][    T1] RPL Segment Routing with IPv6
[    8.558961][    T1] NET: Registered protocol family 17
[    8.564336][    T1] Key type dns_resolver registered
[    8.569852][    T1] registered taskstats version 1
[    8.574675][    T1] Loading compiled-in X.509 certificates
[    8.580680][    T1] zswap: loaded using pool lzo/zbud
[    8.586041][    T1] Key type ._fscrypt registered
[    8.590838][    T1] Key type .fscrypt registered
[    8.595485][    T1] Key type fscrypt-provisioning registered
[    8.602725][    T1] Key type big_key registered
[    8.631790][    T1] Key type encrypted registered
[    8.719162][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.728604][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    8.736082][  T106] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.743538][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.753719][   T94] ata1.00: configured for UDMA/133
[    8.769206][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    8.779044][   T80] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.787932][   T80] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.794014][   T80] sd 0:0:0:0: [sda] Write Protect is off
[    8.799683][   T80] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.846347][   T80] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.951387][  T106] usb 1-1: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[    8.960336][  T106] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.968223][  T106] usb 1-1: Product: DataTraveler SE9
[    8.973401][  T106] usb 1-1: Manufacturer: Kingston
[    8.978302][  T106] usb 1-1: SerialNumber: F46D04613D6BCCA029202460
[    8.985288][  T106] usb-storage 1-1:1.0: USB Mass Storage device detected
[    8.992620][  T106] scsi host2: usb-storage 1-1:1.0
[    9.289156][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.298591][   T96] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.306047][   T96] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.316104][   T96] ata2.00: configured for UDMA/133
[    9.331529][   T58] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.341337][   T80] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.350130][   T80] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    9.356159][   T80] sd 1:0:0:0: [sdb] Write Protect is off
[    9.361810][   T80] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.402003][   T80] sd 1:0:0:0: [sdb] Attached SCSI disk
[    9.410436][    T1] Freeing unused kernel memory: 1024K
[    9.429711][    T1] Checked W+X mappings: passed, no W+X pages found
[    9.436114][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   10.027244][   T80] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler SE9 1.00 PQ: 0 ANSI: 4
[   10.055563][   T58] sd 2:0:0:0: [sdc] 15148608 512-byte logical blocks: (7.76 GB/7.22 GiB)
[   10.080065][   T58] sd 2:0:0:0: [sdc] Write Protect is off
[   10.092347][   T58] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.124381][   T58]  sdc: sdc1
[   10.141418][   T58] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   10.164183][  T141] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.563920][  T142] usbcore: registered new interface driver uas
[   10.871604][  T156] md/raid1:md0: active with 2 out of 2 mirrors
[   10.909283][  T156] md0: detected capacity change from 0 to 3906764928
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 ... [   22.375733][  T182] Btrfs loaded, crc32c=crc32c-generic, zoned=no
Scanning for Btrfs filesystems
done.
[   22.640397][  T194] process '/usr/bin/fstype' started with executable stack
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1
rootfs: clean, 51841/473280 files, 448245/1893120 blocks
done.
[   22.910066][  T203] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   23.096873][  T203] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   23.979545][    C0] random: crng init done
[   24.139311][    T1] systemd[1]: Inserted module 'autofs4'
[   24.248146][    T1] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   24.270930][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

[   24.310518][    T1] systemd[1]: Set hostname to <omv>.
[   25.860310][    T1] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   25.878302][    T1] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   26.225745][    T1] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[   26.281480][    T1] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[   26.397370][    T1] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[   26.514037][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   26.549762][    T1] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Swap.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Slices.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Listening on Journal Socket.
         Starting Create list of re…odes for the current kernel...
         Starting udev Coldplug all Devices...
         Mounting Kernel Debug File System...
         Starting Monitoring of LVM…meventd or progress polling...
         Starting Remount Root and Kernel File Systems...
         Mounting RPC Pipe File System...
         Starting Journal Service...
         Mounting POSIX Message Queue File System...
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Reached target Paths.
         Mounting NFSD configuration filesystem...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[   27.613607][  T250] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
         Starting Availability of block devices...
         Starting Load Kernel Modules...
[  OK  ] Started Create list of req… nodes for the current kernel.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Journal Service.
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Started Availability of block devices.
[  OK  ] Started Load Kernel Modules.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Starting pNFS block layout mapping daemon...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Create System Users...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create System Users.
[   28.588560][  T248] systemd-journald[248]: Received request to flush runtime journal from PID 1
         Starting Create Static Device Nodes in /dev...
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Mount /tmp as tmp…e access to the root device...
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
         Starting Cleanup monit state file...
         Starting Cleanup PHP session files...
         Starting Preprocess NFS configuration...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
         Starting NFSv4 ID-name mapping service...
         Starting Network Service...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started NFSv4 ID-name mapping service.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
         Starting RPC bind portmap service...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
[  OK  ] Started Self Monitoring an…ing Technology (SMART) Daemon.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Run anacron jobs.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting Login Service...
         Starting System Logging Service...
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Network Service.
[  OK  ] Started System Logging Service.
[   31.329989][  T282] orion_wdt: Initial timeout 21 sec
[   31.464093][  T276] adt7475 0-002e: ADT7473 device, revision 0
[   31.678351][  T276] adt7475 0-002e: Optional features: fan4 pwm2
[   31.790875][  T328] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Login Service.
[   31.950727][  T328] sd 1:0:0:0: Attached scsi generic sg1 type 0
         Starting Network Name Resolution...
         Starting Wait for Network to be Configured...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started WPA supplicant.
[   32.320791][  T328] sd 2:0:0:0: Attached scsi generic sg2 type 0
[  OK  ] Started Raise network interfaces.
[   32.395110][  T271] marvell-cesa f1030000.crypto: CESA device successfully registered
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
         Starting The PHP 7.3 FastCGI Process Manager...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
[   33.254588][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   33.265287][  T106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
         Starting The OpenMediaVaul…t processes the RPC request...
[  OK  ] Reached target Host and Network Name Lookups.
         Starting A high performanc… and a reverse proxy server...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Found device /dev/disk/by-…d-4fb1-4d18-965c-8b0fa303776a.
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started The PHP 7.3 FastCGI Process Manager.
[   35.993481][  T429] NFSD: Using UMH upcall client tracking operations.
[   36.023274][  T429] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Started MD array monitor.
         Starting File System Check…4fb1-4d18-965c-8b0fa303776a...
[  OK  ] Started NFS server and services.
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Web Services Dynamic Discovery host daemon.
         Starting Samba NMB Daemon...
         Starting Generate the prelogin message...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check …d-4fb1-4d18-965c-8b0fa303776a.
         Mounting /srv/dev-disk-by-…4fb1-4d18-965c-8b0fa303776a...
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
[   40.041743][  T461] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl. Quota mode: journalled.
[  OK  ] Mounted /srv/dev-disk-by-u…d-4fb1-4d18-965c-8b0fa303776a.
         Starting File System Quota Check...
[  OK  ] Started File System Quota Check.
         Starting Enable File System Quotas...
[  OK  ] Started Enable File System Quotas.
[  OK  ] Reached target Remote File Systems.
         Starting LSB: service and resource monitoring daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: start or stop rrdcached...
         Starting Permit User Sessions...
         Starting LSB: Starts syslogd...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: service and resource monitoring daemon.
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started LSB: start or stop rrdcached.
         Starting Statistics collection and monitoring daemon...
[  OK  ] Started Statistics collection and monitoring daemon.
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Samba SMB Daemon.

fw_printenv
root@omv:~# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=run distro_bootcmd
bootdelay=2
baudrate=115200
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi
scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi
scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi
virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_syslinux_conf=extlinux/extlinux.conf
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000

dmesg
root@omv:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lenovo IX2-ng
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial init=/bin/systemd
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 227508K/262144K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 34636K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008517] Switching to timer-based delay loop, resolution 5ns
[    0.015762] Console: colour dummy device 80x30
[    0.020958] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032172] pid_max: default: 32768 minimum: 301
[    0.037761] LSM: Security Framework initializing
[    0.043219] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051242] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060779] CPU: Testing write buffer coherency: ok
[    0.068151] Setting up static identity map for 0x100000 - 0x100058
[    0.075271] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081355] rcu: Hierarchical SRCU implementation.
[    0.087840] devtmpfs: initialized
[    0.097015] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.107592] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.143144] prandom32: self test passed (less than 6 bits correlated)
[    0.150293] prandom: seed boundary self test passed
[    0.159015] prandom: 100 self tests passed
[    0.163792] pinctrl core: initialized pinctrl subsystem
[    0.170971] NET: Registered protocol family 16
[    0.176729] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.185044] audit: initializing netlink subsys (disabled)
[    0.192230] thermal_sys: Registered thermal governor 'step_wise'
[    0.192513] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.207712] cpuidle: using governor ladder
[    0.212595] cpuidle: using governor menu
[    0.217614] Feroceon L2: Enabling L2
[    0.221941] Feroceon L2: Cache support initialised.
[    0.235971] No ATAGs?
[    2.568522] random: fast init done
[    3.888779] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.914960] wait_for_initramfs() called before rootfs_initcalls
[    4.108644] raid6: int32x8  gen()   150 MB/s
[    4.278638] raid6: int32x8  xor()    91 MB/s
[    4.448655] raid6: int32x4  gen()   146 MB/s
[    4.618601] raid6: int32x4  xor()    95 MB/s
[    4.788642] raid6: int32x2  gen()   187 MB/s
[    4.958551] raid6: int32x2  xor()   113 MB/s
[    5.128564] raid6: int32x1  gen()   131 MB/s
[    5.298592] raid6: int32x1  xor()    77 MB/s
[    5.303535] raid6: using algorithm int32x2 gen() 187 MB/s
[    5.309613] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315157] raid6: using intx1 recovery algorithm
[    5.320757] vgaarb: loaded
[    5.324580] SCSI subsystem initialized
[    5.329217] libata version 3.00 loaded.
[    5.329442] usbcore: registered new interface driver usbfs
[    5.335642] usbcore: registered new interface driver hub
[    5.341697] usbcore: registered new device driver usb
[    5.347569] pps_core: LinuxPPS API ver. 1 registered
[    5.353214] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.363025] PTP clock support registered
[    5.369123] clocksource: Switched to clocksource orion_clocksource
[    5.459645] VFS: Disk quotas dquot_6.6.0
[    5.464325] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.495541] NET: Registered protocol family 2
[    5.509271] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    5.529486] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.538524] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    5.559199] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    5.566940] TCP: Hash tables configured (established 2048 bind 2048)
[    5.589371] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.597312] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.619157] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.626972] NET: Registered protocol family 1
[    5.649683] RPC: Registered named UNIX socket transport module.
[    5.656273] RPC: Registered udp transport module.
[    5.669141] RPC: Registered tcp transport module.
[    5.674520] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699144] PCI: CLS 0 bytes, default 32
[    5.704027] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.711507] Trying to unpack rootfs image as initramfs...
[    7.435154] Freeing initrd memory: 12988K
[    7.581561] Initialise system trusted keyrings
[    7.586717] Key type blacklist registered
[    7.591664] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    7.598852] zbud: loaded
[    7.603296] NFS: Registering the id_resolver key type
[    7.609042] Key type id_resolver registered
[    7.613961] Key type id_legacy registered
[    7.618670] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.626063] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.634131] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.641395] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.649492] fuse: init (API version 7.34)
[    7.654493] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.661780] orangefs_init: module version upstream loaded
[    7.667846] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.755630] xor: measuring software checksum speed
[    7.767787]    arm4regs        :  1485 MB/sec
[    7.783955]    8regs           :   890 MB/sec
[    7.796611]    32regs          :  1296 MB/sec
[    7.801678] xor: using function: arm4regs (1485 MB/sec)
[    7.807576] async_tx: api initialized (async)
[    7.812642] Key type asymmetric registered
[    7.817414] Asymmetric key parser 'x509' registered
[    7.823035] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.831166] io scheduler bfq registered
[    7.985132] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.994943] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.059993] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.070014] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.129970] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.140265] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.148366] printk: console [ttyS0] disabled
[    8.153453] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    8.163152] printk: console [ttyS0] enabled
[    8.172924] printk: bootconsole [earlycon0] disabled
[    8.191198] loop: module loaded
[    8.195329] sata_mv f1080000.sata: version 1.28
[    8.195732] sata_mv f1080000.sata: slots 32 ports 2
[    8.204471] scsi host0: sata_mv
[    8.208855] scsi host1: sata_mv
[    8.212963] ata1: SATA max UDMA/133 irq 34
[    8.217787] ata2: SATA max UDMA/133 irq 34
[    8.224096] spi-nor spi0.0: mx25l8005 (1024 Kbytes)
[    8.229804] 3 fixed-partitions partitions found on MTD device spi0.0
[    8.236892] Creating 3 MTD partitions on "spi0.0":
[    8.242425] 0x000000000000-0x00000007e000 : "u-boot"
[    8.249387] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    8.256671] 0x00000007f000-0x000000080000 : "u-boot env"
[    8.264240] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.272842] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.284108] libphy: Fixed MDIO Bus: probed
[    8.290138] libphy: orion_mdio_bus: probed
[    8.308331] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.317816] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:28:76:76
[    8.327463] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.334798] ehci-pci: EHCI PCI platform driver
[    8.340055] ehci-orion: EHCI orion driver
[    8.344952] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.351236] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.359878] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    8.389155] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.396123] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.405150] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.413122] usb usb1: Product: EHCI Host Controller
[    8.418722] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.426167] usb usb1: SerialNumber: f1050000.ehci
[    8.432145] hub 1-0:1.0: USB hub found
[    8.436649] hub 1-0:1.0: 1 port detected
[    8.441974] usbcore: registered new interface driver usb-storage
[    8.449059] mousedev: PS/2 mouse device common for all mice
[    8.456224] rtc-mv f1010300.rtc: registered as rtc0
[    8.461917] rtc-mv f1010300.rtc: setting system clock to 2021-08-22T04:12:37 UTC (1629605557)
[    8.471470] i2c /dev entries driver
[    8.476237] i2c i2c-0: Not using recovery: no suitable method provided
[    8.477172] device-mapper: uevent: version 1.0.3
[    8.482806] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.492368] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.499689] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.507061] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.514497] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.521355] device-mapper: raid: Loading target version 1.15.1
[    8.529562] hid: raw HID events driver (C) Jiri Kosina
[    8.535938] drop_monitor: Initializing network drop monitor service
[    8.543352] NET: Registered protocol family 10
[    8.549658] Segment Routing with IPv6
[    8.554162] RPL Segment Routing with IPv6
[    8.558961] NET: Registered protocol family 17
[    8.564336] Key type dns_resolver registered
[    8.569852] registered taskstats version 1
[    8.574675] Loading compiled-in X.509 certificates
[    8.580680] zswap: loaded using pool lzo/zbud
[    8.586041] Key type ._fscrypt registered
[    8.590838] Key type .fscrypt registered
[    8.595485] Key type fscrypt-provisioning registered
[    8.602725] Key type big_key registered
[    8.631790] Key type encrypted registered
[    8.719162] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.728604] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    8.736082] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.743538] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.753719] ata1.00: configured for UDMA/133
[    8.769206] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    8.779044] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.787932] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.794014] sd 0:0:0:0: [sda] Write Protect is off
[    8.799577] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.799683] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.846347] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.951387] usb 1-1: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[    8.960336] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.968223] usb 1-1: Product: DataTraveler SE9
[    8.973401] usb 1-1: Manufacturer: Kingston
[    8.978302] usb 1-1: SerialNumber: F46D04613D6BCCA029202460
[    8.985288] usb-storage 1-1:1.0: USB Mass Storage device detected
[    8.992620] scsi host2: usb-storage 1-1:1.0
[    9.289156] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.298591] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.306047] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.316104] ata2.00: configured for UDMA/133
[    9.331529] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.341337] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.350130] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    9.356159] sd 1:0:0:0: [sdb] Write Protect is off
[    9.361705] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    9.361810] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.402003] sd 1:0:0:0: [sdb] Attached SCSI disk
[    9.410436] Freeing unused kernel memory: 1024K
[    9.429711] Checked W+X mappings: passed, no W+X pages found
[    9.436114] Run /init as init process
[    9.440509]   with arguments:
[    9.440518]     /init
[    9.440524]   with environment:
[    9.440530]     HOME=/
[    9.440535]     TERM=linux
[   10.027244] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler SE9 1.00 PQ: 0 ANSI: 4
[   10.055563] sd 2:0:0:0: [sdc] 15148608 512-byte logical blocks: (7.76 GB/7.22 GiB)
[   10.080065] sd 2:0:0:0: [sdc] Write Protect is off
[   10.085599] sd 2:0:0:0: [sdc] Mode Sense: 45 00 00 00
[   10.092347] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.124381]  sdc: sdc1
[   10.141418] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   10.164183] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.563920] usbcore: registered new interface driver uas
[   10.871604] md/raid1:md0: active with 2 out of 2 mirrors
[   10.909283] md0: detected capacity change from 0 to 3906764928
[   22.375733] Btrfs loaded, crc32c=crc32c-generic, zoned=no
[   22.640397] process '/usr/bin/fstype' started with executable stack
[   22.910066] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   23.096873] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   23.979545] random: crng init done
[   24.139311] systemd[1]: Inserted module 'autofs4'
[   24.248146] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   24.270930] systemd[1]: Detected architecture arm.
[   24.310518] systemd[1]: Set hostname to <omv>.
[   25.860310] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   25.878302] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   26.225745] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[   26.281480] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[   26.397370] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[   26.514037] systemd[1]: Listening on Syslog Socket.
[   26.549762] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[   27.613607] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[   28.588560] systemd-journald[248]: Received request to flush runtime journal from PID 1
[   31.329989] orion_wdt: Initial timeout 21 sec
[   31.464093] adt7475 0-002e: ADT7473 device, revision 0
[   31.678351] adt7475 0-002e: Optional features: fan4 pwm2
[   31.790875] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   31.950727] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   32.320791] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   32.395110] marvell-cesa f1030000.crypto: CESA device successfully registered
[   33.254588] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   33.265287] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.993481] NFSD: Using UMH upcall client tracking operations.
[   36.023274] NFSD: starting 90-second grace period (net f000001c)
[   40.041743] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl. Quota mode: journalled.
[  116.632723] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[  116.642165] softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0


codier



Edited 2 time(s). Last edit at 08/22/2021 10:55AM by codier.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 22, 2021 04:43PM
codier,

Looks like the SPI flash is working correctly.

But you've missed the bootargs_mtd env.
setenv bootargs_mtd 'mtdparts=spi0.0:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)'

and then
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'echo Booting Debian...; run bootcmd_debian; echo Booting Stock...; run bootcmd_stock; reset'
Marvell>> boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 22, 2021 10:28PM
Hi bodhi,

It's still the same.

Marvell>> setenv bootargs_mtd 'mtdparts=spi0.0:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd_debian 'usb start; run usb_bootcmd; usb stop'
Marvell>> setenv bootcmd_stock 'ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2'
Marvell>> setenv bootcmd 'echo Booting Debian...; run bootcmd_debian; echo Booting Stock...; run bootcmd_stock; reset'
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
ethact=egiga0
console=console=ttyS0,115200
bootargs_root=root=/dev/ram0
kernelimage=zImage
initrdimage=mfginitrd
ipaddr=192.168.1.2
mfgmodel=ix2
preroot_ver=0.0.2
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; bootm 0x40000 0x900000;
uboot_ver=0.0.8
serial_number=5563Y01001G4130044CJ0D1
ethaddr=00:D0:B8:28:76:76
serialNo=SM10G0885942200209
modelname=SM10G08859
fw_ver=4.0.8.23976
serialno=0,01fCt+rC6JS6RqbhasnbzGZRgdN+gIw6GJr8x5N2mfDwoThRpoo00APsDyzEtS72UY,SM10G0885942200209,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
pre_path=IX2/1.1.0/download_runin.sh
pre_path_conf=IX2/1.1.0/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX2/1.1.0
serverip=192.168.32.4
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
bootargs_mtd=mtdparts=spi0.0:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial init=/bin/systemd
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd_debian=usb start; run usb_bootcmd; usb stop
bootcmd_stock=ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2
bootcmd=echo Booting Debian...; run bootcmd_debian; echo Booting Stock...; run bootcmd_stock; reset

Environment size: 2532/4091 bytes
Marvell>> boot
Booting Debian...
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.....................................................................................................................

5448541 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
.........................................................................................................................................................................................................................................................................................................................................................................................................................
................................................................

13295836 bytes read
## Booting image at 00800000 ...
   Image Name:   5.13.6-kirkwood-tld-1
   Created:      2021-08-22   4:08:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5448477 Bytes =  5.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-08-22   4:08:20 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    13295772 Bytes = 12.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    8.163041][    T1] printk: console [ttyS0] enabled
[    8.172812][    T1] printk: bootconsole [earlycon0] disabled
[    8.191079][    T1] loop: module loaded
[    8.195605][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.204330][    T1] scsi host0: sata_mv
[    8.208717][    T1] scsi host1: sata_mv
[    8.212828][    T1] ata1: SATA max UDMA/133 irq 34
[    8.217649][    T1] ata2: SATA max UDMA/133 irq 34
[    8.223959][    T1] spi-nor spi0.0: mx25l8005 (1024 Kbytes)
[    8.229647][    T1] 3 cmdlinepart partitions found on MTD device spi0.0
[    8.236300][    T1] Creating 3 MTD partitions on "spi0.0":
[    8.241832][    T1] 0x000000000000-0x00000007e000 : "u-boot"
[    8.248713][    T1] 0x00000007f000-0x000000080000 : "env"
[    8.255279][    T1] 0x00000007e000-0x00000007f000 : "env2"
[    8.262282][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.270890][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.282155][    T1] libphy: Fixed MDIO Bus: probed
[    8.288147][    T1] libphy: orion_mdio_bus: probed
[    8.306391][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.315881][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:28:76:76
[    8.325528][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.332864][    T1] ehci-pci: EHCI PCI platform driver
[    8.338077][    T1] ehci-orion: EHCI orion driver
[    8.343015][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.349302][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.357892][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    8.389109][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.396095][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.405126][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.413097][    T1] usb usb1: Product: EHCI Host Controller
[    8.418698][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.426142][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.432123][    T1] hub 1-0:1.0: USB hub found
[    8.436632][    T1] hub 1-0:1.0: 1 port detected
[    8.441959][    T1] usbcore: registered new interface driver usb-storage
[    8.449040][    T1] mousedev: PS/2 mouse device common for all mice
[    8.456201][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    8.461893][    T1] rtc-mv f1010300.rtc: setting system clock to 2021-08-23T03:25:08 UTC (1629689108)
[    8.471456][    T1] i2c /dev entries driver
[    8.477161][    T1] device-mapper: uevent: version 1.0.3
[    8.482789][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.492361][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.499681][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.507054][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.514489][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.521347][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.529568][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.535940][    T1] drop_monitor: Initializing network drop monitor service
[    8.543351][    T1] NET: Registered protocol family 10
[    8.549663][    T1] Segment Routing with IPv6
[    8.554165][    T1] RPL Segment Routing with IPv6
[    8.558963][    T1] NET: Registered protocol family 17
[    8.564340][    T1] Key type dns_resolver registered
[    8.569865][    T1] registered taskstats version 1
[    8.574684][    T1] Loading compiled-in X.509 certificates
[    8.580685][    T1] zswap: loaded using pool lzo/zbud
[    8.586043][    T1] Key type ._fscrypt registered
[    8.590846][    T1] Key type .fscrypt registered
[    8.595486][    T1] Key type fscrypt-provisioning registered
[    8.602726][    T1] Key type big_key registered
[    8.631837][    T1] Key type encrypted registered
[    8.719119][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.728553][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    8.736033][  T106] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.743488][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.753618][   T94] ata1.00: configured for UDMA/133
[    8.769074][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    8.778943][   T80] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.787828][   T80] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.793911][   T80] sd 0:0:0:0: [sda] Write Protect is off
[    8.799578][   T80] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.857942][   T80] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.951401][  T106] usb 1-1: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[    8.960347][  T106] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.968235][  T106] usb 1-1: Product: DataTraveler SE9
[    8.973420][  T106] usb 1-1: Manufacturer: Kingston
[    8.978322][  T106] usb 1-1: SerialNumber: F46D04613D6BCCA029202460
[    8.985298][  T106] usb-storage 1-1:1.0: USB Mass Storage device detected
[    8.992629][  T106] scsi host2: usb-storage 1-1:1.0
[    9.289113][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.298551][   T96] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.306012][   T96] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.316070][   T96] ata2.00: configured for UDMA/133
[    9.331496][   T58] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.341312][   T80] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.350099][   T80] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    9.356126][   T80] sd 1:0:0:0: [sdb] Write Protect is off
[    9.361779][   T80] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.410377][   T80] sd 1:0:0:0: [sdb] Attached SCSI disk
[    9.418752][    T1] Freeing unused kernel memory: 1024K
[    9.439669][    T1] Checked W+X mappings: passed, no W+X pages found
[    9.446073][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   10.027005][   T80] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler SE9 1.00 PQ: 0 ANSI: 4
[   10.062708][   T58] sd 2:0:0:0: [sdc] 15148608 512-byte logical blocks: (7.76 GB/7.22 GiB)
[   10.079701][   T58] sd 2:0:0:0: [sdc] Write Protect is off
[   10.101787][   T58] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.134164][   T58]  sdc: sdc1
[   10.152540][  T144] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.162447][   T58] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   10.348502][  T144] usbcore: registered new interface driver uas
[   10.701218][  T155] md/raid1:md0: active with 2 out of 2 mirrors
[   10.779321][  T155] md0: detected capacity change from 0 to 3906764928
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 ... [   22.370587][  T183] Btrfs loaded, crc32c=crc32c-generic, zoned=no
Scanning for Btrfs filesystems
done.
[   22.628706][  T195] process '/usr/bin/fstype' started with executable stack
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1
rootfs: clean, 51847/473280 files, 448477/1893120 blocks
done.
[   22.842082][  T204] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   22.988684][  T204] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... [   23.103994][    C0] random: crng init done
done.
[   24.036376][    T1] systemd[1]: Inserted module 'autofs4'
[   24.147451][    T1] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   24.170305][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

[   24.210527][    T1] systemd[1]: Set hostname to <omv>.
[   25.770423][    T1] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   25.788380][    T1] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   26.177668][    T1] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[   26.233897][    T1] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[   26.350005][    T1] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[   26.460622][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   26.499803][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Paths.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on Journal Socket.
         Mounting RPC Pipe File System...
         Starting Journal Service...
         Starting Monitoring of LVM…meventd or progress polling...
         Starting udev Coldplug all Devices...
         Mounting POSIX Message Queue File System...
         Mounting NFSD configuration filesystem...
         Starting Create list of re…odes for the current kernel...
         Starting Availability of block devices...
         Starting Load Kernel Modules...
         Mounting Kernel Debug File System...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Started Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Started Journal Service.
[   27.893522][  T255] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[  OK  ] Started Create list of req… nodes for the current kernel.
[  OK  ] Started Availability of block devices.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
         Starting pNFS block layout mapping daemon...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Create System Users.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started pNFS block layout mapping daemon.
[   28.648886][  T244] systemd-journald[244]: Received request to flush runtime journal from PID 1
         Starting Create Static Device Nodes in /dev...
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Mount /tmp as tmp…e access to the root device...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Cleanup monit state file...
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Cleanup PHP session files...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Started Cleanup PHP session files.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
         Starting Network Service...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Reached target System Time Synchronized.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Network Service.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[   30.821686][  T279] adt7475 0-002e: ADT7473 device, revision 0
[  OK  ] Reached target Basic System.
         Starting Login[   30.882825][  T284] orion_wdt: Initial timeout 21 sec
 Service...
[  OK  ] Started Self Monitoring an…ing Te[   30.950676][  T279] adt7475 0-002e: Optional features: fan4 pwm2
chnology (SMART) Daemon.
[  OK  ] Started Run anacron jobs.
         Starting System Logging Service...
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Network Name Resolution...
         Starting Wait for Network to be Configured...
[  OK  ] Started System Logging Service.
[  OK  ] Started Raise network interfaces.
[  OK  ] Found device /dev/ttyS0.
[   32.263113][  T303] marvell-cesa f1030000.crypto: CESA device successfully registered
[   32.435853][  T340] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Started Avahi mDNS/DNS-SD Stack[   32.517995][  T340] sd 1:0:0:0: Attached scsi generic sg1 type 0
.
[  OK  ] Started Login Service.
[  OK  ] Started WPA supplicant.
[   32.685659][  T340] sd 2:0:0:0: Attached scsi generic sg2 type 0
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
         Starting NFS Mount Daemon...
         Starting The PHP 7.3 FastCGI Process Manager...
         Starting The OpenMediaVaul…t processes the RPC request...
[   33.189140][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   33.199806][  T106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Host and Network Name Lookups.
         Starting A high performanc… and a reverse proxy server...
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Started NFS Mount Daemon.
[  OK  ] Found device /dev/disk/by-…d-4fb1-4d18-965c-8b0fa303776a.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started MD array monitor.
         Starting File System Check…4fb1-4d18-965c-8b0fa303776a...
         Starting NFS server and services...
[  OK  ] Reached target Network is Online.
         Starting Generate the prelogin message...
[  OK  ] Started Web Services Dynamic Discovery host daemon.
         Starting Samba NMB Daemon...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started The PHP 7.3 FastCGI Process Manager.
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check …d-4fb1-4d18-965c-8b0fa303776a.
         Mounting /srv/dev-disk-by-…4fb1-4d18-965c-8b0fa303776a...
[  OK  ] Started A high performance…er and a reverse proxy server.
[   38.584708][  T446] NFSD: Using UMH upcall client tracking operations.
[   38.619180][  T446] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
[   41.205318][  T451] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl. Quota mode: journalled.
[  OK  ] Mounted /srv/dev-disk-by-u…d-4fb1-4d18-965c-8b0fa303776a.
         Starting File System Quota Check...
[  OK  ] Started File System Quota Check.
         Starting Enable File System Quotas...
[  OK  ] Started Enable File System Quotas.
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting LSB: start or stop rrdcached...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting Permit User Sessions...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: service and resource monitoring daemon...
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: service and resource monitoring daemon.
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started LSB: start or stop rrdcached.
         Starting Statistics collection and monitoring daemon...
[  OK  ] Started Statistics collection and monitoring daemon.
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Started LSB: set CPUFreq kernel parameters.

dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lenovo IX2-ng
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial init=/bin/systemd
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 227508K/262144K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 34636K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008517] Switching to timer-based delay loop, resolution 5ns
[    0.015760] Console: colour dummy device 80x30
[    0.020959] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032170] pid_max: default: 32768 minimum: 301
[    0.037766] LSM: Security Framework initializing
[    0.043219] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051244] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060777] CPU: Testing write buffer coherency: ok
[    0.068152] Setting up static identity map for 0x100000 - 0x100058
[    0.075270] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081355] rcu: Hierarchical SRCU implementation.
[    0.087832] devtmpfs: initialized
[    0.097026] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.107601] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.143151] prandom32: self test passed (less than 6 bits correlated)
[    0.150300] prandom: seed boundary self test passed
[    0.159015] prandom: 100 self tests passed
[    0.163792] pinctrl core: initialized pinctrl subsystem
[    0.170971] NET: Registered protocol family 16
[    0.176729] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.185041] audit: initializing netlink subsys (disabled)
[    0.192227] thermal_sys: Registered thermal governor 'step_wise'
[    0.192516] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.207723] cpuidle: using governor ladder
[    0.212602] cpuidle: using governor menu
[    0.217625] Feroceon L2: Enabling L2
[    0.221950] Feroceon L2: Cache support initialised.
[    0.235976] No ATAGs?
[    2.568522] random: fast init done
[    3.888967] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.915193] wait_for_initramfs() called before rootfs_initcalls
[    4.108695] raid6: int32x8  gen()   150 MB/s
[    4.278656] raid6: int32x8  xor()    91 MB/s
[    4.448604] raid6: int32x4  gen()   146 MB/s
[    4.618556] raid6: int32x4  xor()    95 MB/s
[    4.788537] raid6: int32x2  gen()   183 MB/s
[    4.958547] raid6: int32x2  xor()   113 MB/s
[    5.128587] raid6: int32x1  gen()   131 MB/s
[    5.298542] raid6: int32x1  xor()    80 MB/s
[    5.303484] raid6: using algorithm int32x2 gen() 183 MB/s
[    5.309561] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315105] raid6: using intx1 recovery algorithm
[    5.320711] vgaarb: loaded
[    5.324532] SCSI subsystem initialized
[    5.329173] libata version 3.00 loaded.
[    5.329396] usbcore: registered new interface driver usbfs
[    5.335591] usbcore: registered new interface driver hub
[    5.341646] usbcore: registered new device driver usb
[    5.347518] pps_core: LinuxPPS API ver. 1 registered
[    5.353171] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.362984] PTP clock support registered
[    5.369080] clocksource: Switched to clocksource orion_clocksource
[    5.459606] VFS: Disk quotas dquot_6.6.0
[    5.464282] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.495463] NET: Registered protocol family 2
[    5.509226] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    5.529443] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.538481] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    5.559153] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    5.566888] TCP: Hash tables configured (established 2048 bind 2048)
[    5.589324] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.597256] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.619114] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.626933] NET: Registered protocol family 1
[    5.649639] RPC: Registered named UNIX socket transport module.
[    5.656230] RPC: Registered udp transport module.
[    5.669098] RPC: Registered tcp transport module.
[    5.674477] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699102] PCI: CLS 0 bytes, default 32
[    5.703978] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.711454] Trying to unpack rootfs image as initramfs...
[    7.434783] Freeing initrd memory: 12988K
[    7.581134] Initialise system trusted keyrings
[    7.586304] Key type blacklist registered
[    7.591258] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    7.598448] zbud: loaded
[    7.602889] NFS: Registering the id_resolver key type
[    7.608633] Key type id_resolver registered
[    7.613553] Key type id_legacy registered
[    7.618264] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.625649] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.633717] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.640974] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.649048] fuse: init (API version 7.34)
[    7.654080] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.661367] orangefs_init: module version upstream loaded
[    7.667432] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.751945] xor: measuring software checksum speed
[    7.764119]    arm4regs        :  1485 MB/sec
[    7.780283]    8regs           :   890 MB/sec
[    7.792940]    32regs          :  1296 MB/sec
[    7.797973] xor: using function: arm4regs (1485 MB/sec)
[    7.803903] async_tx: api initialized (async)
[    7.808935] Key type asymmetric registered
[    7.813744] Asymmetric key parser 'x509' registered
[    7.819362] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.827467] io scheduler bfq registered
[    7.981452] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.991260] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.059954] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.069999] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.129933] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.140156] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.148253] printk: console [ttyS0] disabled
[    8.153340] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    8.163041] printk: console [ttyS0] enabled
[    8.172812] printk: bootconsole [earlycon0] disabled
[    8.191079] loop: module loaded
[    8.195204] sata_mv f1080000.sata: version 1.28
[    8.195605] sata_mv f1080000.sata: slots 32 ports 2
[    8.204330] scsi host0: sata_mv
[    8.208717] scsi host1: sata_mv
[    8.212828] ata1: SATA max UDMA/133 irq 34
[    8.217649] ata2: SATA max UDMA/133 irq 34
[    8.223959] spi-nor spi0.0: mx25l8005 (1024 Kbytes)
[    8.229647] 3 cmdlinepart partitions found on MTD device spi0.0
[    8.236300] Creating 3 MTD partitions on "spi0.0":
[    8.241832] 0x000000000000-0x00000007e000 : "u-boot"
[    8.248713] 0x00000007f000-0x000000080000 : "env"
[    8.255279] 0x00000007e000-0x00000007f000 : "env2"
[    8.262282] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.270890] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.282155] libphy: Fixed MDIO Bus: probed
[    8.288147] libphy: orion_mdio_bus: probed
[    8.306391] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.315881] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:28:76:76
[    8.325528] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.332864] ehci-pci: EHCI PCI platform driver
[    8.338077] ehci-orion: EHCI orion driver
[    8.343015] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.349302] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.357892] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    8.389109] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.396095] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.405126] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.413097] usb usb1: Product: EHCI Host Controller
[    8.418698] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.426142] usb usb1: SerialNumber: f1050000.ehci
[    8.432123] hub 1-0:1.0: USB hub found
[    8.436632] hub 1-0:1.0: 1 port detected
[    8.441959] usbcore: registered new interface driver usb-storage
[    8.449040] mousedev: PS/2 mouse device common for all mice
[    8.456201] rtc-mv f1010300.rtc: registered as rtc0
[    8.461893] rtc-mv f1010300.rtc: setting system clock to 2021-08-23T03:25:08 UTC (1629689108)
[    8.471456] i2c /dev entries driver
[    8.476233] i2c i2c-0: Not using recovery: no suitable method provided
[    8.477161] device-mapper: uevent: version 1.0.3
[    8.482789] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.492361] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.499681] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.507054] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.514489] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.521347] device-mapper: raid: Loading target version 1.15.1
[    8.529568] hid: raw HID events driver (C) Jiri Kosina
[    8.535940] drop_monitor: Initializing network drop monitor service
[    8.543351] NET: Registered protocol family 10
[    8.549663] Segment Routing with IPv6
[    8.554165] RPL Segment Routing with IPv6
[    8.558963] NET: Registered protocol family 17
[    8.564340] Key type dns_resolver registered
[    8.569865] registered taskstats version 1
[    8.574684] Loading compiled-in X.509 certificates
[    8.580685] zswap: loaded using pool lzo/zbud
[    8.586043] Key type ._fscrypt registered
[    8.590846] Key type .fscrypt registered
[    8.595486] Key type fscrypt-provisioning registered
[    8.602726] Key type big_key registered
[    8.631837] Key type encrypted registered
[    8.719119] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.728553] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    8.736033] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.743488] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.753618] ata1.00: configured for UDMA/133
[    8.769074] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    8.778943] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.787828] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.793911] sd 0:0:0:0: [sda] Write Protect is off
[    8.799472] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.799578] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.857942] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.951401] usb 1-1: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[    8.960347] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.968235] usb 1-1: Product: DataTraveler SE9
[    8.973420] usb 1-1: Manufacturer: Kingston
[    8.978322] usb 1-1: SerialNumber: F46D04613D6BCCA029202460
[    8.985298] usb-storage 1-1:1.0: USB Mass Storage device detected
[    8.992629] scsi host2: usb-storage 1-1:1.0
[    9.289113] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.298551] ata2.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.306012] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.316070] ata2.00: configured for UDMA/133
[    9.331496] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.341312] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.350099] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    9.356126] sd 1:0:0:0: [sdb] Write Protect is off
[    9.361673] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    9.361779] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.410377] sd 1:0:0:0: [sdb] Attached SCSI disk
[    9.418752] Freeing unused kernel memory: 1024K
[    9.439669] Checked W+X mappings: passed, no W+X pages found
[    9.446073] Run /init as init process
[    9.450469]   with arguments:
[    9.450478]     /init
[    9.450484]   with environment:
[    9.450489]     HOME=/
[    9.450495]     TERM=linux
[   10.027005] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler SE9 1.00 PQ: 0 ANSI: 4
[   10.062708] sd 2:0:0:0: [sdc] 15148608 512-byte logical blocks: (7.76 GB/7.22 GiB)
[   10.079701] sd 2:0:0:0: [sdc] Write Protect is off
[   10.085251] sd 2:0:0:0: [sdc] Mode Sense: 45 00 00 00
[   10.101787] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   10.134164]  sdc: sdc1
[   10.152540] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.162447] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   10.348502] usbcore: registered new interface driver uas
[   10.701218] md/raid1:md0: active with 2 out of 2 mirrors
[   10.779321] md0: detected capacity change from 0 to 3906764928
[   22.370587] Btrfs loaded, crc32c=crc32c-generic, zoned=no
[   22.628706] process '/usr/bin/fstype' started with executable stack
[   22.842082] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   22.988684] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   23.103994] random: crng init done
[   24.036376] systemd[1]: Inserted module 'autofs4'
[   24.147451] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   24.170305] systemd[1]: Detected architecture arm.
[   24.210527] systemd[1]: Set hostname to <omv>.
[   25.770423] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   25.788380] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   26.177668] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[   26.233897] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[   26.350005] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[   26.460622] systemd[1]: Listening on Journal Audit Socket.
[   26.499803] systemd[1]: Listening on udev Kernel Socket.
[   27.893522] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[   28.648886] systemd-journald[244]: Received request to flush runtime journal from PID 1
[   30.821686] adt7475 0-002e: ADT7473 device, revision 0
[   30.882825] orion_wdt: Initial timeout 21 sec
[   30.950676] adt7475 0-002e: Optional features: fan4 pwm2
[   32.263113] marvell-cesa f1030000.crypto: CESA device successfully registered
[   32.435853] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   32.517995] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   32.685659] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   33.189140] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   33.199806] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.584708] NFSD: Using UMH upcall client tracking operations.
[   38.619180] NFSD: starting 90-second grace period (net f000001c)
[   41.205318] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl. Quota mode: journalled.
[  116.445581] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[  116.455047] softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0

fw_printenv
root@omv:~# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=run distro_bootcmd
bootdelay=2
baudrate=115200
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi
scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi
scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi
virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_syslinux_conf=extlinux/extlinux.conf
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000

Thanks
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 23, 2021 01:26AM
codier,

List the mtds

cat /proc/mtd

And then check the fw_env.config

cat /etc/fw_env.config

Does the fw_env.config say:
/dev/mtd1         0x0             0x1000          0x1000
/dev/mtd2         0x0             0x1000          0x1000

If both mtd1 and mtd2 are listed in fw_env.config, remove the 2nd one.

And

fw_printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 23, 2021 09:46AM
Hi bodhi,

fw_env.config doesn't show mtd1 nor mtd2 only mtd0.

root@omv:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 0007e000 00001000 "u-boot"
mtd1: 00001000 00001000 "env"
mtd2: 00001000 00001000 "env2"
root@omv:~# cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

Thanks



Edited 1 time(s). Last edit at 08/23/2021 10:10AM by codier.
Re: Lenovo ix2-ng to put Debian Stretch and OMV4
August 23, 2021 04:12PM
codier,

Replace that mtd0 line with:

/dev/mtd1         0x0             0x1000          0x1000
/dev/mtd2         0x0             0x1000          0x1000

And then test it:
fw_printenv

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

Subject:


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