luo
Lenovo IX2 DL
July 27, 2021 04:46AM
Hi Bodhi, I need your help

Sorry, I have a bad English level to communicate with you. All of the contents I have described are translated by software

I have a Lenovo IX2 DL box. Because the official support has stopped, many programs cannot be installed. I tried. There are two ideas that should solve the current problem:

1. Make uboot so that uboot supports zimage, initrd and DTB startup without file header. I can run Debian by using kernel + rootfs in the forum through cat DTB > > kernel mkimage and other operations. However, after installing some Debian applications, initrd needs to be updated, resulting in installation failure. In addition, the IX2 DL DTB file in the forum does not work without the description of PWM fan and led.

2. Run IX2 DL into the synology DSM system. I use the original kernel + ds212 initrd to start. Because the original kernel version (2.6.31.8) is inconsistent with the DSM kernel version (2.6.32), many drivers cannot be mounted. I downloaded the GPL source code from Lenovo and compiled the 2.6.31.8 patch of kernel.org to start the kernel. Therefore, I want to upgrade the kernel to 2.6.32 in the patch, However, the compilation cannot be completed.

I have the official GPL source code of Lenovo. It seems that the uboot folder is incomplete. The kernel patch can start the kernel after compiling the kernel-2.6.31.8.gz patch of kernel.org.

I want to upload the source code, but the forum is limited to 1000KB



Edited 1 time(s). Last edit at 07/27/2021 05:18AM by luo.
Re: Lenovo IX2 DL
July 27, 2021 05:45PM
luo,

> I can
> run Debian by using kernel + rootfs in the forum
> through cat DTB > > kernel mkimage and other
> operations. However, after installing some Debian
> applications, initrd needs to be updated,
> resulting in installation failure.

Let me reconfirm: you have successfully run Debian rootfs Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 on USB. Is that correct? or are you running this rootfs on HDD?

And later, you need to update initrd. The system failed to boot because the uInitrd size has changed?

> In addition,
> the IX2 DL DTB file in the forum does not work
> without the description of PWM fan and led.

Fan and LEDs are not important. You can run the system perfectly OK without them. If the fan is not running, we will need to find out if it is GPIO controlled or not. This can be found in the GPL source.

You should upload the GPL source to Dropbox or Google Drive or MS One Drive. When I have sometime, I will download and take a look.

=========

In the mean time, don't try to describe the problem in details. You can just post the entire serial console boot log. If there are more information that I need, I will ask you to post them. Most of the time, the serial console boot log is all I need to see the status of your box, and how to fix error during boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
July 27, 2021 07:29PM
Because I am in China, the services of www.dropbox.com and Google are blocked by the firewall. I can't download the kernel and rootfs you published. I run from http://ftp.debian.org/debian/dists/Debian10.10/main/installer-armel/current/images/kirkwood/netboot/ The downloaded vmlinuz-4.19.0-17-marvell and initrd.gz files go through cat DTB > > kernel mkimage

Onedrive link of linux-feroceon_5_1_3_KW.zip:https://1drv.ms/u/s!Ai1gMvIEjh5BgXuMpGG9a94aZp0D?e=AVXE7v Coverage kernel2.6.31.8

Onedrive link of Lenovo IX2 DL patch file:https://1drv.ms/u/s!Ai1gMvIEjh5BgX1RDmFvrbA4E57p?e=9kMo9L

Onedrive link of u-boot-3.6.1(U-Boot source code patch (for u-boot-1.1.4) version 3.6.1).zip:https://1drv.ms/u/s!Ai1gMvIEjh5BgXwUSySCimFIKdJ2?e=i1uOkf
I don't know whether the content of uboot file is complete


If it's convenient, can you share your linux-5.12.6-kirkwood-tld-1-bodhi.tar.bz2 on onedrive



Edited 2 time(s). Last edit at 07/27/2021 08:15PM by luo.
Re: Lenovo IX2 DL
July 27, 2021 08:16PM
luo,

> Because I am in China, the services of
> www.dropbox.com and Google are blocked by the
> firewall.

Ah. I did not know that.

> If it's convenient, can you share your
> linux-5.12.6-kirkwood-tld-1-bodhi.tar.bz2 on
> onedrive

Sure I will make it available on One Drive. I have not used it at all for anything, but will get that going. The kernel patch and the rootfs are GPL V2 compliant.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
July 27, 2021 09:27PM
kirkwood-lenovo-ix2-dl-full.dts has a definition of serial:
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "/ocp@f1000000/serial@12100";
};

This is a little different from other boards,

In addition, the IX2 patch in onedrive provided by me has a patch on the I2C read-write adt7473 control fan
Re: Lenovo IX2 DL
July 27, 2021 11:51PM
> kirkwood-lenovo-ix2-dl-full.dts has a definition
> of serial:
> chosen {
> bootargs = "console=ttyS0,115200";
> stdout-path =
> "/ocp@f1000000/serial@12100";
> };
>
> This is a little different from other boards,

That's interesting! perhaps you can try kwboot with that baudrate and see if you can load u-boot image over serial connection. That would be great , where we know it is available as a rescue mechanism for this box.

Example:

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

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
July 28, 2021 05:49AM
Unfortunately, the serial interface from this box is uart1. When I use kwboot to test, it does not respond to the signal of kwboot (I can transmit uboot and start from UART by connecting Linksys ea4500 under the same conditions).

I think the only way to test a new uboot is
Start the board from the original uboot > TFTP test uboot > > go ram addr
luo
Re: Lenovo IX2 DL
July 28, 2021 06:10AM
vmlinuz-4.19.0-17-marvell and initrd.gz is downloaded from http://ftp.debian.org/debian/dists/Debian10.10/main/installer-armel/current/images/kirkwood/netboot/
luo@luo-virtual-machine:~/rd$ cat kirkwood-lenovo-ix2-dl.dtb >> vmlinuz-4.19.0-17-marvell 
luo@luo-virtual-machine:~/rd$ mkimage -A arm -O linux -T kernel -C none -a 0x80000 -e 0x80000 -n debian-kernel -d vmlinuz-4.19.0-17-marvell uImage
Image Name:   debian-kernel
Created:      Wed Jul 28 19:01:21 2021
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2069360 Bytes = 2020.86 KiB = 1.97 MiB
Load Address: 00080000
Entry Point:  00080000
luo@luo-virtual-machine:~/rd$ mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d initrd.gz rd.bin
Image Name:   initramfs
Created:      Wed Jul 28 18:52:16 2021
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    12512735 Bytes = 12219.47 KiB = 11.93 MiB
Load Address: 00000000
Entry Point:  00000000



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

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

U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC

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

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
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash:  0 kB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
  Device 1 @ 0 1:
Model: ST3500413AS                              Firm: JC45     Ser#:             Z2A5MFBE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 475436.0 MB = 464.2 GB (973692977 x 512)


CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x400000

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> pri
baudrate=115200
loads_echo=0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
kernel_size=0x300000
loadzimage=nand read.e 0x40000 $(kernel_start) $(kernel_size);
loadinitrd=nand read.e 0x900000 $(initrd_start) $(initrd_size);
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethaddr=00:50:43:3e:39:0a
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
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
uboot_ver=0.0.8
mfgtest_state=board_tested_fail
kernelimage=zImage
initrdimage=mfginitrd
boardtest=1
lcd0_enable=0
lcd0_params=640x480-16@60
ethact=egiga0
arcNumber=1680
ehtadder=00:11:22:33:44:56
bootcmd=run loadzimage; run loadinitrd; run mk_mtdparts; setenv bootargs $(console) $(bootargs_root) $(bootargs_end) $(mtdparts); bootm 0x40000 0x900000
rootpath=/srv/ubuntu
mk_mtdparts=setenv mtdparts mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
initrd_size=0x400000
mfgmodel=ix2
console=console=ttyS0,115200
serialno=0,01PF6iK2LUqPtDENAaa6cHbNDwAHr753B1X/OTdTPgCK3Oidtov8Lueznw6Pldu3MT,LXAC210046,
serialNo=LXAC210046
serial_number=5563Y01011G2210005BJ0C1
pre_path=IX2/1.0.3/download_runin.sh
pre_path_conf=IX2/1.0.3/download_runin.conf
filesize=1f93b0
fileaddr=40000
netmask=255.255.255.0
ipaddr=10.0.0.200
serverip=10.0.0.10
bootargs_root=root=/dev/sda1
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
kernel_start=0x100000
initrd_start=0x400000
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no

Environment size: 2063/131067 bytes
Marvell>> tftp 0x40000 uImage
Using egiga0 device
TFTP from server 10.0.0.10; our IP address is 10.0.0.200
Filename 'uImage'.
Load address: 0x40000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############
done
Bytes transferred = 2069424 (1f93b0 hex)
Marvell>> tftp 0x900000 rd.bin
Using egiga0 device
TFTP from server 10.0.0.10; our IP address is 10.0.0.200
Filename 'rd.bin'.
Load address: 0x900000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################################
done
Bytes transferred = 12512799 (beee1f hex)
Marvell>> run mk_mtdparts; setenv bootargs $(console) $(bootargs_root) $(bootargs_end) $(mtdparts); bootm 0x40000 0x900000
## Booting image at 00040000 ...
   Image Name:   debian-kernel
   Created:      2021-07-28  11:01:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2069360 Bytes =  2 MB
   Load Address: 00080000
   Entry Point:  00080000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00900000 ...
   Image Name:   initramfs
   Created:      2021-07-28  10:52:16 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    12512735 Bytes = 11.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.0-17-marvell (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 Debian 4.19.194-1 (2021-06-10)
[    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-dl
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4ac with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 :::DB88FXX81:eth0:none mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 241508K/262144K available (3985K kernel code, 342K rwdata, 1036K rodata, 316K init, 220K bss, 20636K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (3986 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   ( 316 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 343 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 221 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 18970 entries in 38 pages
[    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.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000030] Switching to timer-based delay loop, resolution 5ns
[    0.000107] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000124] pid_max: default: 32768 minimum: 301
[    0.000322] Security Framework initialized
[    0.000337] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.000434] AppArmor: AppArmor initialized
[    0.000533] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000550] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001298] CPU: Testing write buffer coherency: ok
[    0.002071] Setting up static identity map for 0x8200 - 0x823c
[    0.002265] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.003620] devtmpfs: initialized
[    0.006696] VFP support v0.3: not present
[    0.006828] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.006848] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.007064] pinctrl core: initialized pinctrl subsystem
[    0.007948] NET: Registered protocol family 16
[    0.008278] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.008759] audit: initializing netlink subsys (disabled)
[    0.009386] cpuidle: using governor ladder
[    0.009400] cpuidle: using governor menu
[    0.009676] Feroceon L2: Enabling L2
[    0.009708] Feroceon L2: Cache support initialised.
[    0.009905] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.012070] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1
[    0.012905] No ATAGs?
[    0.016356] clocksource: Switched to clocksource orion_clocksource
[    0.033892] VFS: Disk quotas dquot_6.6.0
[    0.033963] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.034353] AppArmor: AppArmor Filesystem Enabled
[    0.035220] NET: Registered protocol family 2
[    0.035757] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.035782] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.035812] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.035840] TCP: Hash tables configured (established 2048 bind 2048)
[    0.035910] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.035931] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.036088] NET: Registered protocol family 1
[    0.036293] Unpacking initramfs...
[    0.794776] Freeing initrd memory: 12220K
[    0.795511] Initialise system trusted keyrings
[    0.795557] Key type blacklist registered
[    0.795699] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.799252] zbud: loaded
[    0.800664] Key type asymmetric registered
[    0.800674] Asymmetric key parser 'x509' registered
[    0.800720] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.800841] io scheduler noop registered
[    0.801031] io scheduler cfq registered (default)
[    0.802164] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.803495] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.833035] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.833187] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.861016] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.861297] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.862047] console [ttyS0] disabled
[    0.862097] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 26, base_baud = 12500000) is a 16550A
[    1.223462] random: fast init done
[    1.389063] console [ttyS0] enabled
[    1.393133] libphy: Fixed MDIO Bus: probed
[    1.397267] i2c /dev entries driver
[    1.401851] ledtrig-cpu: registered to indicate activity on CPUs
[    1.408628] registered taskstats version 1
[    1.412757] Loading compiled-in X.509 certificates
[    1.433554] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    1.442475] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[    1.452754] AppArmor: AppArmor sha1 policy hashing enabled
[    1.459521] hctosys: unable to open rtc device (rtc0)
[    1.466872] Freeing unused kernel memory: 316K
[    1.471367] This architecture does not have kernel memory protection.
[    1.477847] Run /init as init process
[    1.669254] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[    1.675671] nand: Samsung NAND 1GiB 3,3V 8-bit
[    1.680144] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.726723] libphy: orion_mdio_bus: probed
[    1.733919] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.771145] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    1.780285] usbcore: registered new interface driver usbfs
[    1.801097] Scanning device for bad blocks
[    1.811036] Bad eraseblock 97 at 0x000000c20000
[    1.822387] Bad eraseblock 212 at 0x000001a80000
[    1.928676] Bad eraseblock 1927 at 0x00000f0e0000
[    1.962418] Bad eraseblock 2417 at 0x000012e20000
[    1.973110] Bad eraseblock 2518 at 0x000013ac0000
[    2.056794] Bad eraseblock 3850 at 0x00001e140000
[    2.128314] Bad eraseblock 4977 at 0x000026e20000
[    2.330287] usbcore: registered new interface driver hub
[    2.337669] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3e:39:0a
[    2.369101] usbcore: registered new device driver usb
[    2.392801] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.405125] ehci-orion: EHCI orion driver
[    2.415016] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.420592] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.428439] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    2.444657] 6 fixed-partitions partitions found on MTD device orion_nand
[    2.451412] Creating 6 MTD partitions on "orion_nand":
[    2.456636] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.462849] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    2.471170] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.478435] usb usb1: Product: EHCI Host Controller
[    2.483343] usb usb1: Manufacturer: Linux 4.19.0-17-marvell ehci_hcd
[    2.489735] usb usb1: SerialNumber: f1050000.ehci
[    2.494491] 0x000000000000-0x000000080000 : "uboot"
[    2.500442] 0x0000000a0000-0x0000000c0000 : "env"
[    2.506108] 0x0000000c0000-0x0000000e0000 : "env2"
[    2.511865] 0x000000100000-0x000000400000 : "uImage"
[    2.517805] 0x000000400000-0x000000800000 : "initrd"
[    2.523777] 0x000000800000-0x000040000000 : "boot"
[    2.533156] hub 1-0:1.0: USB hub found
[    2.536976] hub 1-0:1.0: 1 port detected
Starting system log daemon: syslogd, klogd.

luo
Re: Lenovo IX2 DL
July 28, 2021 06:35AM
I see that the synlogy ds212 is the same SOC as this box. I start it with the original kernel and synlogy rd.bin. The log is as follows:

Marvell>> tftp 0x40000 kernel
Using egiga0 device
TFTP from server 10.0.0.10; our IP address is 10.0.0.200
Filename 'kernel'.
Load address: 0x40000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
done
Bytes transferred = 2502644 (262ff4 hex)
Marvell>> tftp 0x900000 rd.bin
Using egiga0 device
TFTP from server 10.0.0.10; our IP address is 10.0.0.200
Filename 'rd.bin'.
Load address: 0x900000
Loading: #################################################################
         #################################################################
         ################################################################
done
Bytes transferred = 993065 (f2729 hex)
Marvell>> bootm 0x40000 0x900000
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2016-02-10  15:45:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2502580 Bytes =  2.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00900000 ...
   Image Name:   synology_88f6281_212j 25556
   Created:      2021-03-04  11:24:06 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    993001 Bytes = 969.7 kB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Linux version 2.6.31.8 (soho@bsoho165.iomegacorp.com) (gcc version 4.7.2 (crosstool-NG 1.20.0) ) Wed Feb 10 10:45:22 EST 2016 v0.0.9 Wed Feb 10 10:45:22 EST 2016
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 64960
Kernel command line: console=ttyS0,115200
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 246272KB available (4592K code, 365K data, 136K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1589.24 BogoMIPS (lpj=7946240)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1447.200 MB/sec
   8regs     :   867.600 MB/sec
   32regs    :  1120.800 MB/sec
xor: using function: arm4regs (1447.200 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
PEX1_MEM ....base e8000000, size 128MB 
PEX1_IO ....base f2100000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_5.1.3_patch25)-- DB-88F6282A-BP  Soc: 88F6282 A1 LE

 Detected Tclk 200000000 and SysClk 533333333 
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c8040740
PEX0 interface detected no Link.
PEX1 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1    125 MB/s
raid6: int32x2    157 MB/s
raid6: int32x4    162 MB/s
raid6: int32x8    159 MB/s
raid6: using algorithm int32x4 (162 MB/s)
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 968K
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000ed58)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering unionfs 2.5.11 (for 2.6.31.14)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
msgmni has been set to 483
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012100 (irq = 34) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Integrated Sata device found
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 1:0:0:0: Direct-Access     Seagate  ST3500413AS      JC45 PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sda] 973692977 512-byte logical blocks: (498 GB/464 GiB)
sd 1:0:0:0: [sda] 0-byte physical blocks
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] Write Protect is off
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o 2 Giga ports supported
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload (TSO) supported
  o Large Receive offload (LRO) supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Proc tool API enabled
  o Rx descripors: q0=256
  o Tx descripors: q0=532
  o Loading network interface(s):
     o register under mv88fx_eth platform
     o eth0, ifindex = 2, GbE port = 0

Warning: Giga 1 is Powered Off

tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 1:0:0:0: [sda] Sector size 0 reported, assuming 512.
mvSFlashInit ERROR: Unknown SPI flash device!
ERROR: sflash_probe - Failed to initialize the SFlash.Using Hamming 1-bit ECC for NAND device
NAND flash model -> K9K8G08U0D.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 97 at 0x000000c20000
Bad eraseblock 212 at 0x000001a80000
Bad eraseblock 1927 at 0x00000f0e0000
Bad eraseblock 2417 at 0x000012e20000
Bad eraseblock 2518 at 0x000013ac0000
Bad eraseblock 3850 at 0x00001e140000
Bad eraseblock 4977 at 0x000026e20000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000300000 : "uImage"
0x000000300000-0x000040000000 : "root"
 sda:
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
 sda1 sda2 sda3 < sda5 >
sd 1:0:0:0: [sda] Sector size 0 reported, assuming 512.
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
sd 1:0:0:0: [sda] Attached SCSI disk
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
adt7473 0-002e: adt7473 chip found
iBoard_model 2
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 5
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2021-07-28 11:19:24 UTC (1627471164)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: lzma image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
mount: mounting none on /dev failed: No such device
Insert basic USB modules...
:: Loading module usbcoreusbcore: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module ehci-hcdehci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module ohci-hcdohci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module xhci-hcdxhci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
etxhci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
insmod: can't insert '/lib/modules/etxhci-hcd.ko': invalid module format
Insertds212j_synobios: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 net driver(Mindspeed only)...
insmod: can't insert '/lib/modules/synobios.ko': invalid module format
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 255
Exit on error [12] /dev/md0 is not ready(status: clear), go to junior mode....
Wed Jul 28 11:19:25 UTC 2021
sys /sys sysfs rw,relatime 0 0
/dev/root.old / ext2 rw,relatime,errors=continue 0 0
umount: can't umount /dev: Invalid argument
proc /proc proc rw,relatime 0 0
linuxrc.syno failed on 12
starting pid 760, tty '': '/etc/rc'
:: Starting /etc/rc
:: Mounting procfs ... [  OK  ]
:: Mounting tmpfs ... [  OK  ]
:: Mounting devtmpfs ... [FAILED]
:: Mounting devpts ... [  OK  ]
:: Mounting sysfs ... [  OK  ]
mdadm: error opening /dev/md1: No such file or directory
rc: Use all internal disk as swap.
rc: No assigned swap disk (sda2) can be assembled, use all instead.
rc: Use all internal disk as swap.
rc: No disk (sda2) can be assembled.
swapon: can't stat '/dev/md1': No such file or directory
:: Loading module usbcoreusbcore: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module fatfat: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module vfatvfat: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Mounting usbfs ... [  OK  ]
:: Loading module sky2sky2: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module synobiosds212j_synobios: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
cat: can't open '/proc/sys/kernel/syno_internal_netif_num': No such file or directory
cat: can't open '/proc/sys/kernel/syno_skip_vender_mac_interfaces': No such file or directory
eth0: link down
eth0: started
udhcpc (v1.16.1) started
eth0      Link encap:Ethernet  HWaddr 00:50:43:3E:39:0A  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0: link up, full duplex, speed 1 Gbps
:: Starting syslogd ... [  OK  ]
/etc/rc: line 305: /usr/syno/bin/syno_pstore_collect: not found
:: Starting scemd
:: Starting services in background
Starting findhostd in flash_rd...
findhostd.c:487 exit with 1
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
:: Loading module ehci-hcdehci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module ohci-hcdohci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module xhci-hcdxhci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module etxhci-hcdetxhci_hcd: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
:: Loading module usb-storageusb_storage: version magic '2.6.32.12 mod_unload ARMv5 ' should be '2.6.31.8 mod_unload ARMv5 '
 ... [FAILED]
Excution Error
============ Date ============
Wed Jul 28 11:19:37 UTC 2021
==================
Wed Jul 28 11:19:38 2021

DiskStation login:

The login prompt can appear, but there is no user name and password, and you can't search in synology assistant
I found in the router that I had obtained the IP through DHCP



Edited 1 time(s). Last edit at 07/28/2021 06:39AM by luo.
Re: Lenovo IX2 DL
July 28, 2021 04:17PM
Luo,

I've uploaded the tarball to OneDrive. Please verify the hash.

Quote

linux-5.12.6-kirkwood-tld-1-bodhi.tar.bz2

Download at OneDrive:
https://1drv.ms/u/s!AqTe2Kh5fjXmasTetdK6BpnIoeE?e=Us99s3

md5:
f32ef0c1cd596f896cd76440d203774d
sha256
d99d5c633d2d025315d6596514ce91e290dcf517f1b25c61c5c43655c102ddc5

===
Edited: Onedrive link

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



Edited 1 time(s). Last edit at 07/28/2021 07:03PM by bodhi.
luo
Re: Lenovo IX2 DL
July 28, 2021 10:43PM
Use zImage-5.12.6-kirkwood-tld-1 and kirkwood-lenovo-ix2-dl.dtb to make uimage, but there is no rootfs in the file you share

The startup log is as follows:


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

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

U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC

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

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
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash:  0 kB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
  Device 1 @ 0 1:
Model: ST3500413AS                              Firm: JC45     Ser#:             Z2A5MFBE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 475436.0 MB = 464.2 GB (973692977 x 512)


CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x400000

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> 
Marvell>> 
Marvell>> 
Marvell>> 
Marvell>> 
Marvell>> 
Marvell>> 
Marvell>> 
Marvell>> pri
baudrate=115200
loads_echo=0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
kernel_size=0x300000
loadzimage=nand read.e 0x40000 $(kernel_start) $(kernel_size);
loadinitrd=nand read.e 0x900000 $(initrd_start) $(initrd_size);
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethaddr=00:50:43:3e:39:0a
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
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
uboot_ver=0.0.8
mfgtest_state=board_tested_fail
kernelimage=zImage
initrdimage=mfginitrd
boardtest=1
lcd0_enable=0
lcd0_params=640x480-16@60
ethact=egiga0
arcNumber=1680
ehtadder=00:11:22:33:44:56
bootcmd=run loadzimage; run loadinitrd; run mk_mtdparts; setenv bootargs $(console) $(bootargs_root) $(bootargs_end) $(mtdparts); bootm 0x40000 0x900000
rootpath=/srv/ubuntu
mk_mtdparts=setenv mtdparts mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
initrd_size=0x400000
mfgmodel=ix2
console=console=ttyS0,115200
serialno=0,01PF6iK2LUqPtDENAaa6cHbNDwAHr753B1X/OTdTPgCK3Oidtov8Lueznw6Pldu3MT,LXAC210046,
serialNo=LXAC210046
serial_number=5563Y01011G2210005BJ0C1
pre_path=IX2/1.0.3/download_runin.sh
pre_path_conf=IX2/1.0.3/download_runin.conf
filesize=1f93b0
fileaddr=40000
netmask=255.255.255.0
ipaddr=10.0.0.200
serverip=10.0.0.10
bootargs_root=root=/dev/sda1
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
kernel_start=0x100000
initrd_start=0x400000
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no

Environment size: 2063/131067 bytes
Marvell>> tftp 0x40000 uImage
Using egiga0 device
TFTP from server 10.0.0.10; our IP address is 10.0.0.200
Filename 'uImage'.
Load address: 0x40000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############
done
Bytes transferred = 5395080 (525288 hex)
Marvell>> run mk_mtdparts; setenv bootargs $(console) $(bootargs_root) $(bootargs_end) $(mtdparts); bootm 0x40000
## Booting image at 00040000 ...
   Image Name:   debian-kernel
   Created:      2021-07-29   3:34:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5395016 Bytes =  5.1 MB
   Load Address: 00080000
   Entry Point:  00080000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.12.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 May 22 16:43:11 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Lenovo IX2-dl
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda1 :::DB88FXX81:eth0:none mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 241524K/262144K available (10240K kernel code, 1550K rwdata, 4228K rodata, 1024K init, 307K bss, 20620K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000043][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000676][    T0] Console: colour dummy device 80x30
[    0.000732][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000765][    T0] pid_max: default: 32768 minimum: 301
[    0.001071][    T0] LSM: Security Framework initializing
[    0.001208][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001243][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002322][    T0] CPU: Testing write buffer coherency: ok
[    0.004075][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004315][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.004568][    T1] rcu: Hierarchical SRCU implementation.
[    0.005585][    T1] devtmpfs: initialized
[    0.010226][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010265][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.038357][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.038391][    T1] prandom: seed boundary self test passed
[    0.041574][    T1] prandom: 100 self tests passed
[    0.041598][    T1] pinctrl core: initialized pinctrl subsystem
[    0.042815][    T1] NET: Registered protocol family 16
[    0.043430][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.044135][    T1] audit: initializing netlink subsys (disabled)
[    0.045249][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.045534][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.045656][    T1] cpuidle: using governor ladder
[    0.045731][    T1] cpuidle: using governor menu
[    0.046140][    T1] Feroceon L2: Enabling L2
[    0.046181][    T1] Feroceon L2: Cache support initialised.
[    0.054384][    T1] No ATAGs?
[    2.560049][    C0] random: fast init done
[    3.699752][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.900250][    T1] raid6: int32x8  gen()   150 MB/s
[    4.070113][    T1] raid6: int32x8  xor()    91 MB/s
[    4.240131][    T1] raid6: int32x4  gen()   146 MB/s
[    4.410071][    T1] raid6: int32x4  xor()    95 MB/s
[    4.580170][    T1] raid6: int32x2  gen()   190 MB/s
[    4.750113][    T1] raid6: int32x2  xor()   113 MB/s
[    4.920130][    T1] raid6: int32x1  gen()   130 MB/s
[    5.090088][    T1] raid6: int32x1  xor()    80 MB/s
[    5.090103][    T1] raid6: using algorithm int32x2 gen() 190 MB/s
[    5.090114][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.090124][    T1] raid6: using intx1 recovery algorithm
[    5.090343][    T1] vgaarb: loaded
[    5.090794][    T1] SCSI subsystem initialized
[    5.091206][    T1] usbcore: registered new interface driver usbfs
[    5.091275][    T1] usbcore: registered new interface driver hub
[    5.091321][    T1] usbcore: registered new device driver usb
[    5.091483][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.091497][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.091523][    T1] PTP clock support registered
[    5.092950][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163499][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163592][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.179110][    T1] NET: Registered protocol family 2
[    5.179251][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    5.180109][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.180157][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    5.180201][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    5.180238][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    5.180426][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.180502][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.180535][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.180714][    T1] NET: Registered protocol family 1
[    5.193280][    T1] RPC: Registered named UNIX socket transport module.
[    5.193300][    T1] RPC: Registered udp transport module.
[    5.193311][    T1] RPC: Registered tcp transport module.
[    5.193320][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.193334][    T1] PCI: CLS 0 bytes, default 32
[    5.193700][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.278962][    T1] Initialise system trusted keyrings
[    6.279022][    T1] Key type blacklist registered
[    6.279233][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    6.279335][    T1] zbud: loaded
[    6.280479][    T1] NFS: Registering the id_resolver key type
[    6.280512][    T1] Key type id_resolver registered
[    6.280524][    T1] Key type id_legacy registered
[    6.280559][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.280579][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.280592][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.280840][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.281239][    T1] fuse: init (API version 7.33)
[    6.281565][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.281742][    T1] orangefs_init: module version upstream loaded
[    6.281759][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    6.360435][    T1] xor: measuring software checksum speed
[    6.367118][    T1]    arm4regs        :  1485 MB/sec
[    6.378218][    T1]    8regs           :   890 MB/sec
[    6.385892][    T1]    32regs          :  1296 MB/sec
[    6.385908][    T1] xor: using function: arm4regs (1485 MB/sec)
[    6.385927][    T1] async_tx: api initialized (async)
[    6.385943][    T1] Key type asymmetric registered
[    6.385954][    T1] Asymmetric key parser 'x509' registered
[    6.386006][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.386112][    T1] io scheduler bfq registered
[    6.535681][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.537453][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.593779][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.595663][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.653775][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.655873][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.656953][    T1] printk: console [ttyS0] disabled
[    6.657032][    T1] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 26, base_baud = 12500000) is a 16550A
[    7.494182][    T1] printk: console [ttyS0] enabled
[    7.505809][    T1] loop: module loaded
[    7.510346][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    7.519017][    T1] scsi host0: sata_mv
[    7.523445][    T1] scsi host1: sata_mv
[    7.527506][    T1] ata1: SATA max UDMA/133 irq 33
[    7.532324][    T1] ata2: SATA max UDMA/133 irq 33
[    7.538128][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[    7.545319][    T1] nand: Samsung NAND 1GiB 3,3V 8-bit
[    7.550486][    T1] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.558961][    T1] Scanning device for bad blocks
[    7.569578][    T1] Bad eraseblock 97 at 0x000000c20000
[    7.581659][    T1] Bad eraseblock 212 at 0x000001a80000
[    7.688705][    T1] Bad eraseblock 1927 at 0x00000f0e0000
[    7.723180][    T1] Bad eraseblock 2417 at 0x000012e20000
[    7.734569][    T1] Bad eraseblock 2518 at 0x000013ac0000
[    7.819144][    T1] Bad eraseblock 3850 at 0x00001e140000
[    7.875245][   T93] ata1: SATA link down (SStatus 0 SControl F300)
[    7.897803][    T1] Bad eraseblock 4977 at 0x000026e20000
[    8.093956][    T1] 6 fixed-partitions partitions found on MTD device orion_nand
[    8.101390][    T1] Creating 6 MTD partitions on "orion_nand":
[    8.107270][    T1] 0x000000000000-0x000000080000 : "uboot"
[    8.114079][    T1] 0x0000000a0000-0x0000000c0000 : "env"
[    8.120598][    T1] 0x0000000c0000-0x0000000e0000 : "env2"
[    8.127293][    T1] 0x000000100000-0x000000400000 : "uImage"
[    8.134154][    T1] 0x000000400000-0x000000800000 : "initrd"
[    8.141003][    T1] 0x000000800000-0x000040000000 : "boot"
[    8.151706][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.160319][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.171723][    T1] libphy: Fixed MDIO Bus: probed
[    8.177751][    T1] libphy: orion_mdio_bus: probed
[    8.183860][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.193369][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3e:39:0a
[    8.203058][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.210370][    T1] ehci-pci: EHCI PCI platform driver
[    8.215654][    T1] ehci-orion: EHCI orion driver
[    8.220537][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.226824][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.235454][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.262968][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.269944][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.12
[    8.278969][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.286942][    T1] usb usb1: Product: EHCI Host Controller
[    8.292542][    T1] usb usb1: Manufacturer: Linux 5.12.6-kirkwood-tld-1 ehci_hcd
[    8.299985][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.305952][    T1] hub 1-0:1.0: USB hub found
[    8.310467][    T1] hub 1-0:1.0: 1 port detected
[    8.315757][    T1] usbcore: registered new interface driver usb-storage
[    8.322807][    T1] mousedev: PS/2 mouse device common for all mice
[    8.329942][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    8.335635][    T1] rtc-mv f1010300.rtc: setting system clock to 2021-07-29T03:37:27 UTC (1627529847)
[    8.345058][    T1] i2c /dev entries driver
[    8.350822][    T1] device-mapper: uevent: version 1.0.3
[    8.356431][    T1] device-mapper: ioctl: 4.44.0-ioctl (2021-02-01) initialised: dm-devel@redhat.com
[    8.365993][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.373308][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.380659][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.388099][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.394940][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.403013][   T95] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.410248][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.416686][    T1] drop_monitor: Initializing network drop monitor service
[    8.423803][   T95] ata2.00: HPA detected: current 973692977, native 976773168
[    8.431073][   T95] ata2.00: ATA-8: ST3500413AS, JC45, max UDMA/133
[    8.438709][    T1] NET: Registered protocol family 10
[    8.444854][    T1] Segment Routing with IPv6
[    8.449240][    T1] RPL Segment Routing with IPv6
[    8.454018][   T95] ata2.00: 973692977 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    8.461667][    T1] NET: Registered protocol family 17
[    8.467223][    T1] Key type dns_resolver registered
[    8.472835][    T1] registered taskstats version 1
[    8.477778][   T95] ata2.00: configured for UDMA/133
[    8.482810][    T1] Loading compiled-in X.509 certificates
[    8.488689][    T1] zswap: loaded using pool lzo/zbud
[    8.494136][   T58] scsi 1:0:0:0: Direct-Access     ATA      ST3500413AS      JC45 PQ: 0 ANSI: 5
[    8.503302][    T1] Key type ._fscrypt registered
[    8.508039][    T1] Key type .fscrypt registered
[    8.512677][    T1] Key type fscrypt-provisioning registered
[    8.519398][    T7] sd 1:0:0:0: [sda] 973692977 512-byte logical blocks: (499 GB/464 GiB)
[    8.527998][    T7] sd 1:0:0:0: [sda] Write Protect is off
[    8.535068][    T1] Key type big_key registered
[    8.539903][    T7] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.553555][    T1] Key type encrypted registered
[    8.589178][    T7]  sda: sda1 sda2 sda3 < sda5 >
[    8.595680][    T7] sd 1:0:0:0: [sda] Attached SCSI disk
[    8.601104][    T1] md: Waiting for all devices to be available before autodetect
[    8.608696][    T1] md: If you don't use raid, use raid=noautodetect
[    8.615128][    T1] md: Autodetecting RAID arrays.
[    8.619942][    T1] md: autorun ...
[    8.623474][    T1] md: ... autorun DONE.
[    8.655849][    T1] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null). Quota mode: none.
[    8.665369][    T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[    8.672975][    T1] devtmpfs: error mounting -2
[    8.680503][    T1] Freeing unused kernel memory: 1024K
[    8.686347][    T1] Checked W+X mappings: passed, no W+X pages found
[    8.692751][    T1] Run /sbin/init as init process
[    8.697817][    T1] Run /etc/init as init process
[    8.702720][    T1] Run /bin/init as init process
[    8.707673][    T1] Run /bin/sh as init process
[    8.712377][    T1] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    8.727313][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.12.6-kirkwood-tld-1 #1.0
[    8.735272][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.742273][    T1] [<8010dfdc>] (unwind_backtrace) from [<8010a7e0>] (show_stack+0x10/0x14)
[    8.750770][    T1] [<8010a7e0>] (show_stack) from [<80ae78bc>] (panic+0xfc/0x328)
[    8.758392][    T1] [<80ae78bc>] (panic) from [<80af31cc>] (kernel_init+0xe0/0x118)
[    8.766099][    T1] [<80af31cc>] (kernel_init) from [<80100148>] (ret_from_fork+0x14/0x2c)
[    8.774408][    T1] Exception stack(0x8189ffb0 to 0x8189fff8)
[    8.780183][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[    8.789096][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.798007][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    8.805357][    T1] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---

Re: Lenovo IX2 DL
July 29, 2021 03:26AM
Excellent! the kernel booted fine.

I was uploading the rootfs after I post that kernel link. Here is the rootfs link.


Quote

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

Download at OneDrive:

https://1drv.ms/u/s!AqTe2Kh5fjXmbqjEGubPIrsIFkw?e=7EGaKc

md5:
cd8ad170aa1a9fdc2a0a1c43ab1c0721
sha256:
8ccbbced367b4c2bf3728262e882f8232aff0fecd1c0c767219a0cab49a0b9bf

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
August 04, 2021 06:19AM
bodhi, thank you. I refer to your tutorial in the forum, use your shared kernel and rootfs, and then install omv5 and transmission-daemon. It is running normally. The startup log is as follows:
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** ix2-nand ** ** uboot_ver:0.0.8 **

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

U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC

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

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
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash:  0 kB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
  Device 1 @ 0 1:
Model: ST3500413AS                              Firm: JC45     Ser#:             Z2A5MFBE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 475436.0 MB = 464.2 GB (973692977 x 512)


CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x400000

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 
(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
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................

4976808 bytes read
....
..............................................
....................................................................................................................................................................................
...........
...................................................
........................................................................................................................
...................................................................................
......................................................................................................................................................................................................................................................................................................................................
.........................................................................................................................................................................................................................................................................................................................................................................................................................
...........................................................

13237284 bytes read
## Booting image at 00800000 ...
   Image Name:   debian-kernel
   Created:      2021-07-30   7:42:03 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4976744 Bytes =  4.7 MB
   Load Address: 00080000
   Entry Point:  00080000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2021-08-03  13:02:51 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    13237220 Bytes = 12.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    8.461965][    T1] printk: console [ttyS0] enabled
[    8.471742][    T1] printk: bootconsole [earlycon0] disabled
[    8.488976][    T1] loop: module loaded
[    8.493308][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.501044][    T1] scsi host0: sata_mv
[    8.505343][    T1] scsi host1: sata_mv
[    8.509472][    T1] ata1: SATA max UDMA/133 irq 33
[    8.514281][    T1] ata2: SATA max UDMA/133 irq 33
[    8.519895][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[    8.527053][    T1] nand: Samsung NAND 1GiB 3,3V 8-bit
[    8.532243][    T1] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.540666][    T1] Scanning device for bad blocks
[    8.551263][    T1] Bad eraseblock 97 at 0x000000c20000
[    8.563300][    T1] Bad eraseblock 212 at 0x000001a80000
[    8.670075][    T1] Bad eraseblock 1927 at 0x00000f0e0000
[    8.704449][    T1] Bad eraseblock 2417 at 0x000012e20000
[    8.715827][    T1] Bad eraseblock 2518 at 0x000013ac0000
[    8.800137][    T1] Bad eraseblock 3850 at 0x00001e140000
[    8.851143][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[    8.878590][    T1] Bad eraseblock 4977 at 0x000026e20000
[    9.074250][    T1] 6 fixed-partitions partitions found on MTD device orion_nand
[    9.081690][    T1] Creating 6 MTD partitions on "orion_nand":
[    9.087555][    T1] 0x000000000000-0x000000080000 : "uboot"
[    9.094209][    T1] 0x0000000a0000-0x0000000c0000 : "env"
[    9.100669][    T1] 0x0000000c0000-0x0000000e0000 : "env2"
[    9.107155][    T1] 0x000000100000-0x000000400000 : "uImage"
[    9.113855][    T1] 0x000000400000-0x000000800000 : "initrd"
[    9.120554][    T1] 0x000000800000-0x000040000000 : "boot"
[    9.130864][    T1] libphy: Fixed MDIO Bus: probed
[    9.136319][    T1] libphy: orion_mdio_bus: probed
[    9.152533][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.160514][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    9.168447][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3e:39:0a
[    9.178066][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.185420][    T1] ehci-pci: EHCI PCI platform driver
[    9.190671][    T1] ehci-orion: EHCI orion driver
[    9.195547][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.201837][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.210471][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.238853][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.245805][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    9.254829][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.262798][    T1] usb usb1: Product: EHCI Host Controller
[    9.268396][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[    9.275755][    T1] usb usb1: SerialNumber: f1050000.ehci
[    9.281673][    T1] hub 1-0:1.0: USB hub found
[    9.286178][    T1] hub 1-0:1.0: 1 port detected
[    9.291384][    T1] usbcore: registered new interface driver usb-storage
[    9.298382][    T1] mousedev: PS/2 mouse device common for all mice
[    9.305165][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    9.310923][    T1] i2c /dev entries driver
[    9.316262][    T1] device-mapper: uevent: version 1.0.3
[    9.321870][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    9.331379][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.338635][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.346031][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.353458][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.360299][    T1] device-mapper: raid: Loading target version 1.14.0
[    9.367974][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    9.374374][    T1] drop_monitor: Initializing network drop monitor service
[    9.381422][  T114] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.388794][    T1] NET: Registered protocol family 17
[    9.394394][    T1] Key type dns_resolver registered
[    9.399495][  T114] ata2.00: HPA detected: current 973692977, native 976773168
[    9.406755][  T114] ata2.00: ATA-8: ST3500413AS, JC45, max UDMA/133
[    9.414047][    T1] registered taskstats version 1
[    9.418886][    T1] Loading compiled-in X.509 certificates
[    9.424455][    T1] zswap: loaded using pool lzo/zbud
[    9.429563][  T114] ata2.00: 973692977 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.443858][  T114] ata2.00: configured for UDMA/133
[    9.464043][   T23] scsi 1:0:0:0: Direct-Access     ATA      ST3500413AS      JC45 PQ: 0 ANSI: 5
[    9.480092][   T23] sd 1:0:0:0: [sda] 973692977 512-byte logical blocks: (499 GB/464 GiB)
[    9.492926][   T23] sd 1:0:0:0: [sda] Write Protect is off
[    9.508762][   T23] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.552262][    T1] Key type big_key registered
[    9.566505][   T23]  sda: sda1
[    9.573697][   T23] sd 1:0:0:0: [sda] Attached SCSI disk
[    9.601664][    T1] Key type encrypted registered
[    9.607923][    T1] rtc-mv f1010300.rtc: setting system clock to 2021-08-04T11:10:21 UTC (1628075421)
[    9.620642][    T1] Freeing unused kernel memory: 1024K
[    9.639235][    T1] Checked W+X mappings: passed, no W+X pages found
[    9.645622][    T1] Run /init as init process
[    9.668926][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
Loading, please wait...
Starting version 241
[    9.879993][   T15] usb 1-1: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.27
[    9.897467][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.923518][   T15] usb 1-1: Product: Cruzer Fit
[    9.928162][   T15] usb 1-1: Manufacturer: SanDisk
[    9.952345][   T15] usb 1-1: SerialNumber: 4C530011560701110241
[    9.972036][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[   10.008929][   T15] scsi host2: usb-storage 1-1:1.0
[   10.274090][  T161] usbcore: registered new interface driver uas
[   10.292630][  T167] input: gpio-keys as /devices/platform/gpio-keys/input/input0
Begin: Loading essential drivers ... done.
[   11.050179][   T23] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.27 PQ: 0 ANSI: 6
[   11.064154][    T7] sd 2:0:0:0: [sdb] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[   11.077888][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   11.084126][    T7] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.100838][    T7]  sdb: sdb1 sdb2
[   11.115883][    T7] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [   21.031588][  T200] Btrfs loaded, crc32c=crc32c-generic
Scanning for Btrfs filesystems
[   21.045073][  T202] __nand_correct_data: uncorrectable ECC error
[   21.052659][  T202] __nand_correct_data: uncorrectable ECC error
[   21.058696][  T202] print_req_error: I/O error, dev mtdblock0, sector 8 flags 80700
[   21.068247][  T202] __nand_correct_data: uncorrectable ECC error
[   21.074325][  T202] __nand_correct_data: uncorrectable ECC error
[   21.080397][  T202] print_req_error: I/O error, dev mtdblock0, sector 8 flags 0
[   21.087740][  T202] Buffer I/O error on dev mtdblock0, logical block 1, async page read
done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext4 (1) -- /dev/sdb1] fsck.ext4 -a -C0 /dev/sdb1 
rootfs: clean, 51335/431632 files, 433851/1710031 blocks
done.
[   21.558237][  T217] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   22.834812][    T1] systemd[1]: Inserted module 'autofs4'
[   22.884427][    T1] NET: Registered protocol family 10
[   22.890645][    T1] Segment Routing with IPv6
[   22.932641][    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)
[   22.958533][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

[   23.020472][    T1] systemd[1]: Set hostname to <openmediavault>.
[   23.761127][    C0] random: crng init done
[   24.910192][    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.
[   24.928141][    T1] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   25.281310][    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.
[   25.338083][    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.
[   25.479312][    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.
[   25.585439][    T1] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   25.619335][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Journal Socket.
         Mounting NFSD configuration filesystem...
         Starting Create list of re…odes for the current kernel...
         Mounting Kernel Debug File System...
         Starting Load Kernel Modules...
         Mounting POSIX Message Queue File System...
         Starting Journal Service...
         Mounting RPC Pipe File System...
         Starting Remount Root and Kernel File Systems...
         Starting Monitoring of LVM…meventd or progress polling...
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
         Starting Availability of block devices...
[  OK  ] Reached target Slices.
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Started Create list of req… nodes for the current kernel.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Load Kernel Modules.
[   26.808960][  T265] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Availability of block devices.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Starting pNFS block layout mapping daemon...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[  OK  ] Started Journal Service.
[  OK  ] Started Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Started Create System Users.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted FUSE Control File System.
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Create Static Device Nodes in /dev.
[   27.770439][  T259] systemd-journald[259]: Received request to flush runtime journal from PID 1
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Mount /tmp as tmp…e access to the root device...
         Starting udev Kernel Device Manager...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[  OK  ] Started Network Service.
         Starting Wait for Network to be Configured...
[  OK  ] Found device /dev/ttyS0.
[   29.271359][  T292] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   29.300953][  T285] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   29.413037][  T292] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   29.500888][  T285] adt7475 0-002e: ADT7473 device, revision 0
[   29.506751][  T285] adt7475 0-002e: Optional features: fan4 pwm2
[   29.578919][  T282] marvell-cesa f1030000.crypto: CESA device successfully registered
[   29.596098][  T292] orion_wdt: Initial timeout 21 sec
[   29.617063][  T288] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   29.659326][  T288] sd 2:0:0:0: Attached scsi generic sg1 type 0
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Found device Cruzer_Fit boot.
[  OK  ] Found device ST3500413AS tr.
         Starting File System Check…7276-4c8c-82a3-76c0d678c7d4...
         Mounting /boot...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Cleanup monit state file...
         Starting Cleanup PHP session files...
         Starting Preprocess NFS configuration...
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started File System Check …6-7276-4c8c-82a3-76c0d678c7d4.
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Preprocess NFS configuration.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
         Mounting /srv/dev-disk-by-…7276-4c8c-82a3-76c0d678c7d4...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Name Resolution...
[   32.287203][  T384] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
[  OK  ] Started RPC bind portmap service.
[  OK  ] Mounted /srv/dev-disk-by-u…6-7276-4c8c-82a3-76c0d678c7d4.
         Starting File System Quota Check...
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Run anacron jobs.
         Starting System Logging Service...
[  OK  ] Started Self Monitoring an…ing Technology (SMART) Daemon.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
         Starting Login Service...
[  OK  ] Started System Logging Service.
[  OK  ] Started File System Quota Check.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Enable File System Quotas...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Login Service.
[  OK  ] Started Enable File System Quotas.
[   35.420259][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   35.430869][  T267] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting The PHP 7.3 FastCGI Process Manager...
         Starting chrony, an NTP client/server...
         Starting The OpenMediaVaul…t processes the RPC request...
         Starting NFS Mount Daemon...
         Starting A high performanc… and a reverse proxy server...
         Starting Transmission BitTorrent Daemon...
[  OK  ] Reached target Network is Online.
         Starting Generate the prelogin message...
         Starting Samba NMB Daemon...
         Starting Daily apt download activities...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Web Services Dynamic Discovery host daemon.
[FAILED] Failed to start chrony, an NTP client/server.
See 'systemctl status chrony.service' for details.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Transmission BitTorrent Daemon.
[   42.385803][  T519] NFSD: Using UMH upcall client tracking operations.
[   42.392541][  T519] 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 LSB: service and resource monitoring daemon...
         Starting Permit User Sessions...
         Starting LSB: start or stop rrdcached...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting LSB: Starts syslogd...
         Starting LSB: Starts ProFTPD daemon...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started The PHP 7.3 FastCGI Process Manager.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Started LSB: service and resource monitoring daemon.
         Starting LSB: Starts klogd...
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started LSB: start or stop rrdcached.
         Starting Statistics collection and monitoring daemon...
[  OK  ] Started LSB: Starts ProFTPD daemon.
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB 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.

openmediavault 5.6.13-1 (Usul) openmediavault ttyS0
Copyright (C) 2009-2021 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 10.0.0.119
eth0: fe80::250:43ff:fe3e:390a

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

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

openmediavault login: 
openmediavault login: root
Password: 
Last login: Tue Aug  3 13:06:11 PDT 2021 on ttyS0
Linux openmediavault 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@openmediavault:~# [  108.637341][  T825] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)

root@openmediavault:~# cat /etc/fw_env.config 
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1 0x0000 0x20000 0x20000
/dev/mtd2 0x0000 0x20000 0x20000
root@openmediavault:~# fw_printenv
baudrate=115200
loads_echo=0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
kernel_size=0x300000
loadzimage=nand read.e 0x40000 $(kernel_start) $(kernel_size);
loadinitrd=nand read.e 0x900000 $(initrd_start) $(initrd_size);
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethaddr=00:50:43:3e:39:0a
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
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
uboot_ver=0.0.8
mfgtest_state=board_tested_fail
kernelimage=zImage
initrdimage=mfginitrd
boardtest=1
lcd0_enable=0
lcd0_params=640x480-16@60
ethact=egiga0
arcNumber=1680
ehtadder=00:11:22:33:44:56
rootpath=/srv/ubuntu
mk_mtdparts=setenv mtdparts mtdparts=nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
initrd_size=0x400000
mfgmodel=ix2
console=console=ttyS0,115200
serialno=0,01PF6iK2LUqPtDENAaa6cHbNDwAHr753B1X/OTdTPgCK3Oidtov8Lueznw6Pldu3MT,LXAC210046,
serialNo=LXAC210046
serial_number=5563Y01011G2210005BJ0C1
pre_path=IX2/1.0.3/download_runin.sh
pre_path_conf=IX2/1.0.3/download_runin.conf
filesize=943910
fileaddr=900000
netmask=255.255.255.0
ipaddr=10.0.0.200
serverip=10.0.0.10
bootargs_root=root=/dev/sdb1
usb_bootcsetenv=bootcmd usb start; run usb_bootcmd; usb stop; reset
bootargs=console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 earlyprintk=serial
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=usb start; run usb_bootcmd; usb stop; resetsetenv bootcmd usb start; run usb_bootcmd; usb stop; reset
load_uimage=ext2load usb 0:2 0x800000 /uImage
load_uinitrd=ext2load usb 0:2 0x2100000 /rd.bin
bootcm=usb start; run usb_bootcmd
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial init=/bin/systemd nand_mtd:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
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
kernel_start=0x100000
initrd_start=0x400000
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
root@openmediavault:~#

/etc/fw_env.config must consist of two items. When using either item, fw_printenv cannot read the same value as the printenv command output in uboot
root@openmediavault:~# cat /etc/fw_env.config 
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd1 0x0000 0x20000 0x20000
/dev/mtd2 0x0000 0x20000 0x20000
luo
Re: Lenovo IX2 DL
August 04, 2021 08:31AM
The fan and led cannot be controlled. Is there an incorrect configuration in the DTB file?

I want to make initrd and rootfs based on the original kernel (2.6.31.8). Can you tell me what to do
Re: Lenovo IX2 DL
August 04, 2021 06:29PM
luo,

Your serial log got cutoff at the beginning when the kernel starts. So please get the complete kernel bootlog and repost it here.
dmesg

1. The bootargs needs adjustment:

Quote

usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial init=/bin/systemd mtdparts=orion_nand:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)


2. LED control

Please attach the Lenovo IX2-dl DTS to a post here (or post this DTS content).

It is normal for LED to have different GPIOs from box to another, even if they are in the same family (i.e. not all Lenovo ix- boxes have same LED GPIOs).

3. Fan control

Same thing. I need to look at the ix2-dl DTS to see why it did not work.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
August 04, 2021 07:02PM
dmesg
root@openmediavault:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    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-dl
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    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 earlyprintk=serial init=/bin/systemd mtdparts=orion_nand:0x80000@0(uboot),0x20000@0xa0000(env),0x20000@0xc0000(env2),0x300000@0x100000(uImage),0x300000@0x400000(initrd),0x3f800000@0x800000(boot),1024m@0x0(flash)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 231340K/262144K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 30804K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  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.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008509] Switching to timer-based delay loop, resolution 5ns
[    0.015661] Console: colour dummy device 80x30
[    0.020835] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032037] pid_max: default: 32768 minimum: 301
[    0.037599] LSM: Security Framework initializing
[    0.043059] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050376] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.058775] *** VALIDATE proc ***
[    0.062955] *** VALIDATE cgroup1 ***
[    0.067212] *** VALIDATE cgroup2 ***
[    0.071558] CPU: Testing write buffer coherency: ok
[    0.078414] Setting up static identity map for 0x100000 - 0x100058
[    0.085538] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.091572] rcu: Hierarchical SRCU implementation.
[    0.099482] devtmpfs: initialized
[    0.108322] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118866] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.125844] xor: measuring software checksum speed
[    0.228531]    arm4regs  :  1443.200 MB/sec
[    0.328532]    8regs     :   868.000 MB/sec
[    0.428530]    32regs    :  1260.400 MB/sec
[    0.433391] xor: using function: arm4regs (1443.200 MB/sec)
[    0.439658] prandom: seed boundary self test passed
[    0.448345] prandom: 100 self tests passed
[    0.453140] pinctrl core: initialized pinctrl subsystem
[    0.460154] NET: Registered protocol family 16
[    0.465706] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.473902] audit: initializing netlink subsys (disabled)
[    0.480962] audit: type=2000 audit(0.460:1): state=initialized audit_enabled=0 res=1
[    0.489474] cpuidle: using governor ladder
[    0.494300] cpuidle: using governor menu
[    0.499397] Feroceon L2: Enabling L2
[    0.503669] Feroceon L2: Cache support initialised.
[    0.514012] No ATAGs?
[    2.578515] random: fast init done
[    4.965211] alg: No test for lzo-rle (lzo-rle-generic)
[    4.971397] alg: No test for lzo-rle (lzo-rle-scomp)
[    5.148766] raid6: int32x8  gen()   170 MB/s
[    5.318662] raid6: int32x8  xor()   115 MB/s
[    5.488641] raid6: int32x4  gen()   171 MB/s
[    5.658623] raid6: int32x4  xor()   111 MB/s
[    5.828772] raid6: int32x2  gen()   176 MB/s
[    5.998599] raid6: int32x2  xor()   125 MB/s
[    6.168704] raid6: int32x1  gen()   133 MB/s
[    6.338618] raid6: int32x1  xor()    91 MB/s
[    6.343553] raid6: using algorithm int32x2 gen() 176 MB/s
[    6.349621] raid6: .... xor() 125 MB/s, rmw enabled
[    6.355165] raid6: using intx1 recovery algorithm
[    6.360740] vgaarb: loaded
[    6.364513] SCSI subsystem initialized
[    6.369141] libata version 3.00 loaded.
[    6.369352] usbcore: registered new interface driver usbfs
[    6.375542] usbcore: registered new interface driver hub
[    6.381612] usbcore: registered new device driver usb
[    6.387468] pps_core: LinuxPPS API ver. 1 registered
[    6.393112] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.402919] PTP clock support registered
[    6.408609] clocksource: Switched to clocksource orion_clocksource
[    7.192748] VFS: Disk quotas dquot_6.6.0
[    7.197410] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.212541] NET: Registered protocol family 2
[    7.218220] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    7.226619] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    7.234298] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    7.241366] TCP: Hash tables configured (established 2048 bind 2048)
[    7.248448] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    7.254979] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    7.262108] NET: Registered protocol family 1
[    7.267635] RPC: Registered named UNIX socket transport module.
[    7.274286] RPC: Registered udp transport module.
[    7.279671] RPC: Registered tcp transport module.
[    7.285045] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.292157] PCI: CLS 0 bytes, default 32
[    7.296935] Trying to unpack rootfs image as initramfs...
[    8.146096] Freeing initrd memory: 12928K
[    8.151033] NetWinder Floating Point Emulator V0.97 (double precision)
[    8.159254] Initialise system trusted keyrings
[    8.164397] Key type blacklist registered
[    8.169303] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    8.176469] zbud: loaded
[    8.180603] NFS: Registering the id_resolver key type
[    8.186338] Key type id_resolver registered
[    8.191254] Key type id_legacy registered
[    8.195945] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    8.203328] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    8.210579] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    8.218454] fuse: init (API version 7.31)
[    8.223462] orangefs_debugfs_init: called with debug mask: :none: :0:
[    8.230728] orangefs_init: module version upstream loaded
[    8.236793] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    8.258713] async_tx: api initialized (async)
[    8.263746] Key type asymmetric registered
[    8.268510] Asymmetric key parser 'x509' registered
[    8.274162] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    8.283408] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.293047] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.359264] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.368811] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.429238] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.439019] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.447017] printk: console [ttyS0] disabled
[    8.452061] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 26, base_baud = 12500000) is a 16550A
[    8.461740] printk: console [ttyS0] enabled
[    8.471518] printk: bootconsole [earlycon0] disabled
[    8.488781] loop: module loaded
[    8.492889] sata_mv f1080000.sata: version 1.28
[    8.493107] sata_mv f1080000.sata: slots 32 ports 2
[    8.500830] scsi host0: sata_mv
[    8.505129] scsi host1: sata_mv
[    8.509255] ata1: SATA max UDMA/133 irq 33
[    8.514066] ata2: SATA max UDMA/133 irq 33
[    8.519686] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[    8.526844] nand: Samsung NAND 1GiB 3,3V 8-bit
[    8.532026] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.540449] Scanning device for bad blocks
[    8.551049] Bad eraseblock 97 at 0x000000c20000
[    8.563066] Bad eraseblock 212 at 0x000001a80000
[    8.669861] Bad eraseblock 1927 at 0x00000f0e0000
[    8.704237] Bad eraseblock 2417 at 0x000012e20000
[    8.715610] Bad eraseblock 2518 at 0x000013ac0000
[    8.799923] Bad eraseblock 3850 at 0x00001e140000
[    8.850932] ata1: SATA link down (SStatus 0 SControl F300)
[    8.878405] Bad eraseblock 4977 at 0x000026e20000
[    9.074050] 7 cmdlinepart partitions found on MTD device orion_nand
[    9.081054] Creating 7 MTD partitions on "orion_nand":
[    9.086911] 0x000000000000-0x000000080000 : "uboot"
[    9.093572] 0x0000000a0000-0x0000000c0000 : "env"
[    9.099997] 0x0000000c0000-0x0000000e0000 : "env2"
[    9.106476] 0x000000100000-0x000000400000 : "uImage"
[    9.113162] 0x000000400000-0x000000700000 : "initrd"
[    9.119846] 0x000000800000-0x000040000000 : "boot"
[    9.129102] 0x000000000000-0x000040000000 : "flash"
[    9.139502] libphy: Fixed MDIO Bus: probed
[    9.144974] libphy: orion_mdio_bus: probed
[    9.161132] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.169114] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    9.176884] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3e:39:0a
[    9.186502] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.193868] ehci-pci: EHCI PCI platform driver
[    9.199173] ehci-orion: EHCI orion driver
[    9.204047] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.210322] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.218897] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.248643] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.255574] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    9.264593] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.272556] usb usb1: Product: EHCI Host Controller
[    9.278157] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[    9.285513] usb usb1: SerialNumber: f1050000.ehci
[    9.291409] hub 1-0:1.0: USB hub found
[    9.295908] hub 1-0:1.0: 1 port detected
[    9.301130] usbcore: registered new interface driver usb-storage
[    9.308131] mousedev: PS/2 mouse device common for all mice
[    9.314914] rtc-mv f1010300.rtc: registered as rtc0
[    9.320675] i2c /dev entries driver
[    9.326025] device-mapper: uevent: version 1.0.3
[    9.331648] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    9.341147] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.348403] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.355797] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.363227] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.370092] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.377222] device-mapper: raid: Loading target version 1.14.0
[    9.385154] hidraw: raw HID events driver (C) Jiri Kosina
[    9.391375] ata2.00: HPA detected: current 973692977, native 976773168
[    9.398892] drop_monitor: Initializing network drop monitor service
[    9.406123] NET: Registered protocol family 17
[    9.411420] ata2.00: ATA-8: ST3500413AS, JC45, max UDMA/133
[    9.417720] ata2.00: 973692977 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.425360] Key type dns_resolver registered
[    9.431207] registered taskstats version 1
[    9.436205] Loading compiled-in X.509 certificates
[    9.442008] zswap: loaded using pool lzo/zbud
[    9.447155] ata2.00: configured for UDMA/133
[    9.469129] scsi 1:0:0:0: Direct-Access     ATA      ST3500413AS      JC45 PQ: 0 ANSI: 5
[    9.483228] sd 1:0:0:0: [sda] 973692977 512-byte logical blocks: (499 GB/464 GiB)
[    9.498841] sd 1:0:0:0: [sda] Write Protect is off
[    9.504365] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    9.507890] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.561750] Key type big_key registered
[    9.578206]  sda: sda1
[    9.583248] sd 1:0:0:0: [sda] Attached SCSI disk
[    9.611130] Key type encrypted registered
[    9.617392] rtc-mv f1010300.rtc: setting system clock to 2021-08-04T23:54:49 UTC (1628121289)
[    9.630120] Freeing unused kernel memory: 1024K
[    9.649022] Checked W+X mappings: passed, no W+X pages found
[    9.655407] Run /init as init process
[    9.668691] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.869661] usb 1-1: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.27
[    9.878598] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.916540] usb 1-1: Product: Cruzer Fit
[    9.928713] usb 1-1: Manufacturer: SanDisk
[    9.933536] usb 1-1: SerialNumber: 4C530011560701110241
[    9.969606] usb-storage 1-1:1.0: USB Mass Storage device detected
[    9.990232] scsi host2: usb-storage 1-1:1.0
[   10.286281] usbcore: registered new interface driver uas
[   10.322388] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   11.060481] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.27 PQ: 0 ANSI: 6
[   11.073577] sd 2:0:0:0: [sdb] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[   11.087940] sd 2:0:0:0: [sdb] Write Protect is off
[   11.093528] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[   11.094178] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.111391]  sdb: sdb1 sdb2
[   11.126185] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   21.007601] Btrfs loaded, crc32c=crc32c-generic
[   21.021112] __nand_correct_data: uncorrectable ECC error
[   21.030420] __nand_correct_data: uncorrectable ECC error
[   21.036462] print_req_error: I/O error, dev mtdblock0, sector 8 flags 80700
[   21.044317] __nand_correct_data: uncorrectable ECC error
[   21.050367] __nand_correct_data: uncorrectable ECC error
[   21.056401] print_req_error: I/O error, dev mtdblock0, sector 8 flags 0
[   21.063759] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[   21.127777] __nand_correct_data: uncorrectable ECC error
[   21.133875] __nand_correct_data: uncorrectable ECC error
[   21.139987] print_req_error: I/O error, dev mtdblock6, sector 0 flags 80700
[   21.147769] __nand_correct_data: uncorrectable ECC error
[   21.153820] __nand_correct_data: uncorrectable ECC error
[   21.159871] print_req_error: I/O error, dev mtdblock6, sector 0 flags 0
[   21.167215] Buffer I/O error on dev mtdblock6, logical block 0, async page read
[   22.575524] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[   23.892986] systemd[1]: Inserted module 'autofs4'
[   23.944264] NET: Registered protocol family 10
[   23.950472] Segment Routing with IPv6
[   23.994934] 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.017675] systemd[1]: Detected architecture arm.
[   24.028584] random: crng init done
[   24.091774] systemd[1]: Set hostname to <openmediavault>.
[   26.024661] 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.
[   26.042618] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   26.424365] 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.483255] 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.629895] 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.741808] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   26.778917] systemd[1]: Reached target System Time Synchronized.
[   27.578735] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[   28.840507] systemd-journald[264]: Received request to flush runtime journal from PID 1
[   30.602324] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   30.636864] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   30.764643] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   30.847854] adt7475 0-002e: ADT7473 device, revision 0
[   30.864645] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   30.874580] orion_wdt: Initial timeout 21 sec
[   30.898134] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.936064] adt7475 0-002e: Optional features: fan4 pwm2
[   30.965879] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   32.342213] EXT2-fs (sdb2): warning: mounting unchecked fs, running e2fsck is recommended
[   34.113266] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
[   37.113687] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.124302] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.364607] NFSD: Using UMH upcall client tracking operations.
[   45.424953] NFSD: starting 90-second grace period (net f000001c)
[  113.781323] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
root@openmediavault:~#
I didn't use the DTS file. I downloaded the kirkwood-lenovo-ix2-dl.dtb file from this forum. The attachment is the DTB file I used
Attachments:
open | download - kirkwood-lenovo-ix2-dl.dtb (12.8 KB)
luo
Re: Lenovo IX2 DL
August 04, 2021 07:13PM
linux-feroceon_5_1_3_KW-30-gpio_setting.patch content in my shared patch file:
diff -Naur linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h linux-feroceon_5_1_3_KW_patch/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h
--- linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h	2011-05-05 10:22:27.535269814 +0800
+++ linux-feroceon_5_1_3_KW_patch/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h	2011-05-05 10:31:27.433670640 +0800
@@ -166,25 +166,17 @@
 
 
 /* DB-88F6282A-BP */
-#if defined(MV_NAND)
-    #define DB_88F6282A_MPP0_7                   	0x21111111
-#else
-    #define DB_88F6282A_MPP0_7                   	0x21112220
-#endif
-#define DB_88F6282A_MPP8_15                   	0x11113311
-#define DB_88F6282A_MPP16_23                   	0x00551111
-#define DB_88F6282A_MPP24_31                   	0x00000000
-#define DB_88F6282A_MPP32_39                   	0x00000000
-#define DB_88F6282A_MPP40_47                   	0x00000000
-#define DB_88F6282A_MPP48_55                   	0x00000000
-#define DB_88F6282A_OE_LOW                       0x0
-#if defined(MV_TDM_5CHANNELS)
-	#define DB_88F6282A_OE_HIGH		(BIT6)
-#else
-#define DB_88F6282A_OE_HIGH                      0x0
-#endif
-#define DB_88F6282A_OE_VAL_LOW                   0x0
-#define DB_88F6282A_OE_VAL_HIGH                  0x0
+#define DB_88F6282A_MPP0_7                     0x01111111
+#define DB_88F6282A_MPP8_15                    0x033b2211
+#define DB_88F6282A_MPP16_23                   0x55551100
+#define DB_88F6282A_MPP24_31                   0x00000000
+#define DB_88F6282A_MPP32_39                   0x00000000
+#define DB_88F6282A_MPP40_47                   0x00000000
+#define DB_88F6282A_MPP48_55                   0x00000000
+#define DB_88F6282A_OE_LOW                     (~(BIT17+BIT24+BIT25+BIT26))
+#define DB_88F6282A_OE_HIGH                    (~(BIT1+BIT4+BIT5+BIT7+BIT8+BIT9+BIT10+BIT17))
+#define DB_88F6282A_OE_VAL_LOW                 (BIT17)
+#define DB_88F6282A_OE_VAL_HIGH                (BIT17)
 
 /* RD-88F6282 */
 #define RD_88F6282A_MPP0_7                   	0x21111111


linux-feroceon_5_1_3_KW-32-board_setting.patch content in my shared patch file:
diff -Naur linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/core.c linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/core.c
--- linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/core.c	2011-05-04 21:11:44.515180385 +0800
+++ linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/core.c	2011-05-02 13:36:19.000000000 +0800
@@ -319,7 +319,8 @@
 static void serial_initialize(void)
 {
 	mv_uart0_data[0].uartclk = mv_uart1_data[0].uartclk = mvTclk;
-	if((mvBoardIdGet() == DB_88F6280A_BP_ID) || (mvBoardIdGet() == RD_88F6282A_ID))
+	if((mvBoardIdGet() == DB_88F6280A_BP_ID) || (mvBoardIdGet() == RD_88F6282A_ID) ||
+		(mvBoardIdGet() == DB_88F6282A_BP_ID))
 	{
 		mv_uart.dev.platform_data = mv_uart1_data;
 		mv_uart.resource = mv_uart1_resources;

diff -Naur linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c
--- linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c	2011-05-04 21:12:03.224981206 +0800
+++ linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.c	2011-05-02 15:45:44.000000000 +0800
@@ -914,7 +914,7 @@
 
 #define DB_88F6282A_BOARD_PCI_IF_NUM            0x0
 #define DB_88F6282A_BOARD_TWSI_DEF_NUM		    0x7
-#define DB_88F6282A_BOARD_MAC_INFO_NUM		    0x2
+#define DB_88F6282A_BOARD_MAC_INFO_NUM		    0x1
 #define DB_88F6282A_BOARD_GPP_INFO_NUM		    0x1
 #define DB_88F6282A_BOARD_MPP_CONFIG_NUM		0x1
 #define DB_88F6282A_BOARD_MPP_GROUP_TYPE_NUM	0x1
@@ -946,8 +946,8 @@
 MV_BOARD_MAC_INFO db88f6282AInfoBoardMacInfo[] = 
 	/* {{MV_BOARD_MAC_SPEED	boardMacSpeed, MV_U8 boardEthSmiAddr}} */
 	{
-	{BOARD_MAC_SPEED_AUTO, 0x8},
-	{BOARD_MAC_SPEED_AUTO, 0x9}
+	{BOARD_MAC_SPEED_AUTO, 0x0},
+//	{BOARD_MAC_SPEED_AUTO, 0x9}
 	}; 
 
 MV_BOARD_MPP_TYPE_INFO db88f6282AInfoBoardMppTypeInfo[] = 

diff -Naur linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/nand.c linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/nand.c
--- linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/nand.c	2010-05-06 19:56:00.000000000 +0800
+++ linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/nand.c	2011-05-02 13:56:49.000000000 +0800
@@ -161,7 +161,7 @@
 	else
 #endif
 	this->ecc.mode = NAND_ECC_SOFT;
-	this->chip_delay = 30;
+	this->chip_delay = 35;
 	if(nand_scan(mv_mtd,1)) {
 		err = -ENXIO;
 		goto out_ior;

diff -Naur linux-feroceon_5_1_3_KW_org/arch/arm/kernel/process.c linux-feroceon_5_1_3_KW/arch/arm/kernel/process.c
--- linux-feroceon_5_1_3_KW_org/arch/arm/kernel/process.c	2009-12-15 00:14:26.000000000 +0800
+++ linux-feroceon_5_1_3_KW/arch/arm/kernel/process.c	2011-05-05 13:44:44.089678863 +0800
@@ -192,6 +192,8 @@
 
 void machine_halt(void)
 {
+	if (pm_power_off)
+		pm_power_off();
 }
 
 
diff -Naur linux-feroceon_5_1_3_KW_org/arch/arm/mach-feroceon-kw/core.c linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/core.c
--- linux-feroceon_5_1_3_KW_org/arch/arm/mach-feroceon-kw/core.c	2011-05-05 13:26:38.000000000 +0800
+++ linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/core.c	2011-05-05 13:48:32.875418301 +0800
@@ -44,6 +44,7 @@
 #include <asm/serial.h>
 #include <plat/cache-feroceon-l2.h>
 
+#include <linux/pm.h>
 #include <mach/serial.h>
 
 #include "ctrlEnv/mvCtrlEnvLib.h"
@@ -107,6 +108,8 @@
 #endif
 unsigned int support_wait_for_interrupt = 0x1;
 
+static void power_off_proc(void);
+
 u32 mvTclk = 166666667;
 u32 mvSysclk = 200000000;
 u32 mvIsUsbHost = 1;
@@ -657,9 +660,21 @@
 	if (MV_TRUE == mvCtrlPwrClckGet(LCD_UNIT_ID, 0))
 		clcd_platform_init(&kw_lcd0_dmi, &kw_lcd0_vid_dmi, NULL);
 #endif
+	pm_power_off=power_off_proc;
 	return;
 }
 
+#define GPP_GROUP(gpp)  gpp/32
+#define GPP_ID(gpp)     gpp%32
+#define GPP_BIT(gpp)    0x1 << GPP_ID(gpp)
+#define SHUTDOWN_PIN    33
+static void power_off_proc(void)
+{
+	mvGppValueSet(GPP_GROUP(SHUTDOWN_PIN),
+			GPP_BIT(SHUTDOWN_PIN), 1 << GPP_ID(SHUTDOWN_PIN));
+}
+
+
 #ifdef CONFIG_FB_DOVE_OPTIMIZED_FB_MEM_ALLOC
 /*
  * This fixup function is used to reserve memory for the GPU and VPU engines

diff -Naur linux-feroceon_5_1_3_KW_org/scripts/mkcompile_h linux-feroceon_5_1_3_KW/scripts/mkcompile_h
--- linux-feroceon_5_1_3_KW_org/scripts/mkcompile_h	2011-05-12 10:28:01.478984453 +0800
+++ linux-feroceon_5_1_3_KW/scripts/mkcompile_h	2011-05-12 10:57:56.983142336 +0800
@@ -3,6 +3,7 @@
 SMP=$3
 PREEMPT=$4
 CC=$5
+KRNL_VER=v0.0.1
 
 vecho() { [ "${quiet}" = "silent_" ] || echo "$@" ; }
 
@@ -41,7 +42,7 @@
 	TIMESTAMP=$KBUILD_BUILD_TIMESTAMP
 fi
 
-UTS_VERSION="#$VERSION"
+UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP $KRNL_VER"
 CONFIG_FLAGS=""
 if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi
 if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi




linux-feroceon_5_1_3_KW-34-led.patch content in my shared patch file:
--- linux-feroceon_5_1_3_KW/drivers/hwmon/Makefile	2009-12-15 00:14:26.000000000 +0800
+++ linux/drivers/hwmon/Makefile	2011-05-10 02:29:26.675629312 +0800
@@ -92,6 +92,7 @@
 obj-$(CONFIG_SENSORS_W83627EHF)	+= w83627ehf.o
 obj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
 obj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
+obj-$(CONFIG_HWMON)		+= led.o
 
 ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y)
 EXTRA_CFLAGS += -DDEBUG

--- linux-feroceon_5_1_3_KW/drivers/hwmon/led.c	1970-01-01 08:00:00.000000000 +0800
+++ linux/drivers/hwmon/led.c	2011-05-10 02:25:20.281606336 +0800
@@ -0,0 +1,354 @@
+#include <linux/types.h>
+#include <linux/errno.h>
+#include <linux/version.h>
+#include <linux/module.h>
+#include <linux/mm.h>
+#include <linux/sched.h>
+#include <linux/delay.h>
+#include <linux/pci.h>
+#include <linux/timer.h>
+#include <linux/proc_fs.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/mman.h>
+#include <linux/pagemap.h>
+#include <linux/slab.h>
+#include <linux/signal.h>
+#include <linux/module.h>
+#include <linux/seq_file.h>
+#include <linux/ctype.h>
+#include <linux/nas.h>
+
+#include <linux/platform_device.h>
+#include <linux/cdev.h>
+#include "boardEnv/mvBoardEnvLib.h"
+#include "gpp/mvGpp.h"
+
+#include <asm/uaccess.h>
+#include <asm/io.h>
+
+//==== Global definition ====
+#define LED_PINS	4
+#define MPP_GROUP(mpp)  mpp/8
+#define MPP_ID(mpp)     mpp%8
+#define MPP_BITS(mpp)   0xf << (MPP_ID(mpp)*4)
+#define GPP_GROUP(gpp)  gpp/32
+#define GPP_ID(gpp)     gpp%32
+#define GPP_BIT(gpp)    0x1 << GPP_ID(gpp)
+
+#define PWR_WHITE_PIN	39
+#define SYS_RED_PIN	37
+#define HDD1_RED_PIN	25
+#define HDD2_RED_PIN	24
+#define HDD_LINK_PIN	26
+#define LED_DIMM1	40
+#define LED_DIMM2	41
+
+//==== Global structure ====
+typedef struct
+{
+	unsigned int bit_mask;
+	unsigned char status;	//0==>ON 1==>OFF
+	unsigned int mode;	//0==>off 1==>on 3==>blink
+	unsigned int wait_sync;	//0==>no wait for blink sync 1==>wait blink sync
+} led_ctrl_t;
+static led_ctrl_t led_ctrl_tbl[LED_PINS] =
+{
+	{PWR_WHITE_PIN, 0, 0, 0},
+	{SYS_RED_PIN, 0, 0, 0},
+	{HDD1_RED_PIN, 0, 0, 0},
+	{HDD2_RED_PIN, 0, 0, 0}
+};
+
+static int blink_tbl[3] =
+{
+	HZ/4,
+	HZ/2,
+	HZ
+};
+
+enum
+{
+	PWR_WHITE,
+	SYS_RED,
+	HDD1_RED,
+	HDD2_RED,
+};
+
+enum
+{
+	LED_OFF,
+	LED_ON,
+	LED_BLINK,
+};
+
+enum
+{
+	LED_BRIGHTNESS_LOW,
+	LED_BRIGHTNESS_MEDIUM,
+	LED_BRIGHTNESS_HIGH,
+};
+
+enum
+{
+	LED_RATE_05HZ,
+	LED_RATE_10HZ,
+	LED_RATE_20HZ,
+};
+
+//==== Global variable ====
+static struct timer_list led_timer;
+static struct class *nasled_class = NULL;
+static int nasled_blinkrate = 0;
+static int nasled_brightness = 0;
+
+//==== Function start ====
+static inline MV_U32 gpio_getvalue(int pin)
+{
+	MV_U32 value;
+	value = MV_REG_READ(GPP_DATA_OUT_REG(GPP_GROUP(pin)));
+	value = value >> GPP_ID(pin);
+	return value;
+}
+static inline void gpio_setvalue(int pin, int value)
+{
+	mvGppValueSet(GPP_GROUP(pin), GPP_BIT(pin),
+		(value & 0x01) << GPP_ID(pin));
+}
+
+static void led_timer_proc(unsigned long data)
+{
+	int i;
+	unsigned char tmp;
+
+	tmp=0;
+	/* Check status and act LED */
+	for ( i=0; i< LED_PINS; i++)
+	{
+		if(led_ctrl_tbl.mode == LED_BLINK)
+		{
+			led_ctrl_tbl.status = (led_ctrl_tbl.status) ? 0 : 1;
+			mvGppValueSet(GPP_GROUP(led_ctrl_tbl.bit_mask),
+			GPP_BIT(led_ctrl_tbl.bit_mask),
+			led_ctrl_tbl.status << GPP_ID(led_ctrl_tbl.bit_mask));
+		}
+	}
+        mod_timer(&led_timer, jiffies + blink_tbl[nasled_blinkrate]);
+}
+
+static ssize_t show_pwr(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", led_ctrl_tbl[PWR_WHITE].mode);
+}
+static ssize_t set_pwr(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > LED_BLINK)
+		return -EINVAL;
+
+	led_ctrl_tbl[PWR_WHITE].mode = value;
+	if (value == LED_BLINK)
+	{
+		led_ctrl_tbl[PWR_WHITE].wait_sync = 1;
+	}
+	else
+	{
+		led_ctrl_tbl[PWR_WHITE].status = value;
+		led_ctrl_tbl[PWR_WHITE].wait_sync = 0;
+		gpio_setvalue(PWR_WHITE_PIN, value);
+	}
+	
+	return count;
+}
+
+static ssize_t show_sysred(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", led_ctrl_tbl[SYS_RED].mode);
+}
+
+static ssize_t set_sysred(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > LED_BLINK)
+		return -EINVAL;
+
+	led_ctrl_tbl[SYS_RED].mode = value;
+	if (value == LED_BLINK)
+	{
+		led_ctrl_tbl[SYS_RED].wait_sync = 1;
+	}
+	else
+	{
+		led_ctrl_tbl[SYS_RED].status = value;
+		led_ctrl_tbl[SYS_RED].wait_sync = 0;
+		gpio_setvalue(SYS_RED_PIN, value);
+	}
+
+	return count;
+}
+
+static ssize_t show_hdd1_red(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", led_ctrl_tbl[HDD1_RED].mode);
+}
+
+static ssize_t set_hdd1_red(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > LED_BLINK)
+		return -EINVAL;
+
+	led_ctrl_tbl[HDD1_RED].mode = value;
+	if (value == LED_BLINK)
+	{
+		led_ctrl_tbl[HDD1_RED].wait_sync = 1;
+	}
+	else
+	{
+		led_ctrl_tbl[HDD1_RED].status = value;
+		led_ctrl_tbl[HDD1_RED].wait_sync = 0;
+		gpio_setvalue(HDD1_RED_PIN, value);
+	}
+
+	return count;
+}
+
+static ssize_t show_hdd2_red(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", led_ctrl_tbl[HDD2_RED].mode);
+}
+
+static ssize_t set_hdd2_red(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > LED_BLINK)
+		return -EINVAL;
+
+	led_ctrl_tbl[HDD1_RED].mode = value;
+	if (value == LED_BLINK)
+	{
+		led_ctrl_tbl[HDD2_RED].wait_sync = 1;
+	}
+	else
+	{
+		led_ctrl_tbl[HDD2_RED].status = value;
+		led_ctrl_tbl[HDD2_RED].wait_sync = 0;
+		gpio_setvalue(HDD2_RED_PIN, value);
+	}
+
+	return count;
+}
+
+static ssize_t show_link(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", gpio_getvalue(HDD_LINK_PIN));
+}
+
+static ssize_t set_link(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > LED_ON)
+		return -EINVAL;
+
+	gpio_setvalue(HDD_LINK_PIN, value);
+	return count;
+}
+
+static ssize_t show_blinkrate(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", nasled_blinkrate);
+}
+
+static ssize_t set_blinkrate(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > LED_RATE_20HZ)
+		return -EINVAL;
+
+	nasled_blinkrate = value;
+	return count;
+}
+
+static ssize_t show_brightness(struct class *class, char *buf)
+{
+	return sprintf(buf, "%d\n", nasled_brightness);
+}
+
+static ssize_t set_brightness(struct class *class, const char *buf, size_t count)
+{
+	int value;
+	if (strict_strtol(buf, 10, &value))
+		return -EINVAL;
+	if (value > 2)
+		return -EINVAL;
+	switch(value)
+	{
+		case 0:
+			nasled_brightness = 3;
+			break;
+		case 1:
+			nasled_brightness = 1;
+			break;
+		case 2:
+			nasled_brightness = 0;
+			break;
+	}
+	gpio_setvalue(LED_DIMM1, nasled_brightness & 0x01);
+	gpio_setvalue(LED_DIMM2, (nasled_brightness & 0x02) >> 1);
+	nasled_brightness = value;
+	return count;
+}
+
+CLASS_ATTR(pwr_white_led, S_IWUSR | S_IRUGO, show_pwr, set_pwr);
+CLASS_ATTR(system_red_led, S_IWUSR | S_IRUGO, show_sysred, set_sysred);
+CLASS_ATTR(hdd1_red_led, S_IWUSR | S_IRUGO, show_hdd1_red, set_hdd1_red);
+CLASS_ATTR(hdd2_red_led, S_IWUSR | S_IRUGO, show_hdd2_red, set_hdd2_red);
+CLASS_ATTR(led_brightness, S_IWUSR | S_IRUGO, show_brightness, set_brightness);
+CLASS_ATTR(led_blinkrate, S_IWUSR | S_IRUGO, show_blinkrate, set_blinkrate);
+CLASS_ATTR(hdd1_link, S_IWUSR | S_IRUGO, show_link, set_link);
+
+static int __init gpio_init(void)
+{
+	printk("iBoard_model %d\n", iBoard_model);
+
+	nasled_class = class_create(THIS_MODULE, "nasled");
+	class_create_file(nasled_class, &class_attr_pwr_white_led);
+	class_create_file(nasled_class, &class_attr_system_red_led);
+	class_create_file(nasled_class, &class_attr_hdd1_red_led);
+	if(iBoard_model == MODEL_2BAY)
+		class_create_file(nasled_class, &class_attr_hdd2_red_led);
+	class_create_file(nasled_class, &class_attr_led_brightness);
+	class_create_file(nasled_class, &class_attr_led_blinkrate);
+	class_create_file(nasled_class, &class_attr_hdd1_link);
+
+	//add timer for led
+	nasled_blinkrate = LED_RATE_10HZ;
+	led_timer.function = led_timer_proc;
+	led_timer.data = &led_ctrl_tbl;
+        init_timer(&led_timer);
+        mod_timer(&led_timer, jiffies + blink_tbl[nasled_blinkrate]);
+
+	return 0;
+}
+
+static void __exit gpio_exit(void) {
+	del_timer(&led_timer);
+	class_destroy(nasled_class);
+}
+
+MODULE_DESCRIPTION("GPIO Module for Wistron SXM");
+MODULE_LICENSE("GPL");
+module_init(gpio_init);
+module_exit(gpio_exit);

linux-feroceon_5_1_3_KW-41-adt7473_setting.patch content in my shared patch file:
diff -Naur linux-feroceon_5_1_3_KW-org/drivers/hwmon/adt7473.c linux-feroceon_5_1_3_KW/drivers/hwmon/adt7473.c
--- linux-feroceon_5_1_3_KW-org/drivers/hwmon/adt7473.c	2011-06-03 00:51:47.000000000 +0800
+++ linux-feroceon_5_1_3_KW/drivers/hwmon/adt7473.c	2011-08-03 12:19:28.996610771 +0800
@@ -44,6 +44,9 @@
 
 #define ADT7473_REG_TEMP_BASE_ADDR		0x25
 #define ADT7473_REG_TEMP_LIMITS_BASE_ADDR	0x4E
+#define ADT7473_REG_TEMP_RANGES_BASE_ADDR	0x5F
+#define		ADT7473_TEMP_RANGE_SHIFT	4
+#define		ADT7473_TEMP_RANGE_MASK		0xF0
 #define ADT7473_REG_TEMP_TMIN_BASE_ADDR		0x67
 #define ADT7473_REG_TEMP_TMAX_BASE_ADDR		0x6A
 
@@ -105,6 +108,7 @@
 #define ADT7473_REG_TEMP_MIN(x) (ADT7473_REG_TEMP_LIMITS_BASE_ADDR + ((x) * 2))
 #define ADT7473_REG_TEMP_MAX(x) (ADT7473_REG_TEMP_LIMITS_BASE_ADDR + \
 				((x) * 2) + 1)
+#define ADT7473_REG_TEMP_RANGE(x) (ADT7473_REG_TEMP_RANGES_BASE_ADDR + (x))
 #define ADT7473_REG_TEMP_TMIN(x)	(ADT7473_REG_TEMP_TMIN_BASE_ADDR + (x))
 #define ADT7473_REG_TEMP_TMAX(x)	(ADT7473_REG_TEMP_TMAX_BASE_ADDR + (x))
 
@@ -218,6 +222,54 @@
 		/* start monitoring */
 		i2c_smbus_write_byte_data(client, ADT7473_REG_CFG1,
 					  reg | ADT7473_CFG1_START);
+		/* set min pwm duty cycle to 0 */
+		i2c_smbus_write_byte_data(client, ADT7473_REG_PWM_MIN(0), 0);
+		/* set max pwm duty cycle to 255(100%) */
+		i2c_smbus_write_byte_data(client, ADT7473_REG_PWM_MAX(0), 255);
+		/* set therm  to 80C */
+		i2c_smbus_write_byte_data(client, ADT7473_REG_TEMP_TMAX(0), 80+64);
+		i2c_smbus_write_byte_data(client, ADT7473_REG_TEMP_TMAX(2), 80+64);
+		/* set min of Remote1 temperature to 67C */
+		i2c_smbus_write_byte_data(client, ADT7473_REG_TEMP_TMIN(0), 67+64);
+		/* set Trange to 8 */
+        	reg = i2c_smbus_read_byte_data(client, ADT7473_REG_TEMP_RANGE(0));
+		reg = ( 6 << ADT7473_TEMP_RANGE_SHIFT) | (reg & ~ADT7473_TEMP_RANGE_MASK);
+		i2c_smbus_write_byte_data(client, ADT7473_REG_TEMP_RANGE(0), reg);
+
+		/* set pwm1 running at pwm1 minimum duty cycle */
+        	reg = i2c_smbus_read_byte_data(client, 0x62);
+                reg |= 0x20;
+		i2c_smbus_write_byte_data(client,0x62, reg);
+
+		/* set hystereis to 2C */
+        	reg = i2c_smbus_read_byte_data(client, 0x6d);
+		reg &= 0xf0;
+		reg |= 0x02;
+		i2c_smbus_write_byte_data(client,0x6d, reg);
+
+        	reg = i2c_smbus_read_byte_data(client, 0x6e);
+		reg &= 0x0f;
+		reg |= 0x20;
+		i2c_smbus_write_byte_data(client,0x6e, reg);
+
+		/* set thermal shutdown */
+		reg = i2c_smbus_read_byte_data(client, ADT7473_REG_CFG4);
+		reg &= 0xe0;
+		reg |= 0x12;
+		i2c_smbus_write_byte_data(client,ADT7473_REG_CFG4, reg);
+
+		reg = i2c_smbus_read_byte_data(client, ADT7473_REG_CFG5);
+		reg |= 0x30;
+		i2c_smbus_write_byte_data(client, ADT7473_REG_CFG5, reg);
+
+		/* set to automatic fan control */
+        	reg = i2c_smbus_read_byte_data(client,
+                                       ADT7473_REG_PWM_BHVR(0));
+        	reg = (0 << ADT7473_PWM_BHVR_SHIFT) | (reg & ~ADT7473_PWM_BHVR_MASK);
+        	i2c_smbus_write_byte_data(client, ADT7473_REG_PWM_BHVR(0), reg);
+		/* dummy read */
+		reg = adt7473_read_word_data(client, ADT7473_REG_FAN(0));
+
 	}
 }
 
Re: Lenovo IX2 DL
August 04, 2021 07:20PM
luo,

> I didn't use the DTS file. I downloaded the
> kirkwood-lenovo-ix2-dl.dtb file from this forum.
> The attachment is the DTB file I used

Cool! thanks to you I realized that I forgot to include this kirkwood-lenovo-ix2-dl.dtb in the kernel release thread.

Could you post the link of the post where you found this DTB in this forum? Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo IX2 DL
August 04, 2021 07:23PM
LED GPIOs

Quote

+//==== Global definition ====
+#define LED_PINS 4
+#define MPP_GROUP(mpp) mpp/8
+#define MPP_ID(mpp) mpp%8
+#define MPP_BITS(mpp) 0xf << (MPP_ID(mpp)*4)
+#define GPP_GROUP(gpp) gpp/32
+#define GPP_ID(gpp) gpp%32
+#define GPP_BIT(gpp) 0x1 << GPP_ID(gpp)
+
+#define PWR_WHITE_PIN 39
+#define SYS_RED_PIN 37
+#define HDD1_RED_PIN 25
+#define HDD2_RED_PIN 24
+#define HDD_LINK_PIN 26
+#define LED_DIMM1 40
+#define LED_DIMM2 41

Nice, these are values we can use to modify the DTS to complete the LED GPIOs nodes.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo IX2 DL
August 04, 2021 07:26PM
Fan control.


[   30.636864] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   30.764643] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   30.847854] adt7475 0-002e: ADT7473 device, revision 0
[   30.864645] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   30.874580] orion_wdt: Initial timeout 21 sec
[   30.898134] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.936064] adt7475 0-002e: Optional features: fan4 pwm2
[   30.965879] sd 2:0:0:0: Attached scsi generic sg1 type 0

So the fan sensor is recognized as adt7475.

Let wait for the DTB link info that you will post and I'll come back to modify this post.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
August 04, 2021 07:45PM
Re: Lenovo IX2 DL
August 04, 2021 09:50PM
So did you use hippi-viking's version?

https://forum.doozan.com/read.php?3,19216,86919#msg-86919

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
luo
Re: Lenovo IX2 DL
August 10, 2021 08:40AM
Yes, I use hippi-viking's version

I modified the DTC file of XX (only the NAND partition) and compiled openwrt-19.07. At present, it runs normally. The LED can be configured on Luci, but I can't write the fan control script. Can you help me? I think the fan script written by adt7473 under Linux can run on different distributions

DTC file modification: name the mtd4 partition UBI, increase the partition capacity to 512MB, and mount the UBI rootfs of openwrt
/dts-v1/;

/ {
	#address-cells = < 0x01 >;
	#size-cells = < 0x01 >;
	compatible = "lenovo,ix2\0marvell,kirkwood-88f6282\0marvell,kirkwood";
	interrupt-parent = < 0x01 >;
	model = "Lenovo IX2-dl";

	chosen {
		bootargs = "console=ttyS0,115200";
		stdout-path = "/ocp@f1000000/serial@12100";
	};

	aliases {
		gpio0 = "/ocp@f1000000/gpio@10100";
		gpio1 = "/ocp@f1000000/gpio@10140";
		i2c0 = "/ocp@f1000000/i2c@11000";
	};

	memory {
		device_type = "memory";
		reg = < 0x00 0x10000000 >;
	};

	cpus {
		#address-cells = < 0x01 >;
		#size-cells = < 0x00 >;

		cpu@0 {
			device_type = "cpu";
			compatible = "marvell,feroceon";
			reg = < 0x00 >;
			clocks = < 0x02 0x01 0x02 0x03 0x03 0x0b >;
			clock-names = "cpu_clk\0ddrclk\0powersave";
		};
	};

	mbus@f1000000 {
		compatible = "marvell,kirkwood-mbus\0simple-bus";
		#address-cells = < 0x02 >;
		#size-cells = < 0x01 >;
		ranges = < 0xf0010000 0x00 0xf1000000 0x100000 0x12f0000 0x00 0xf4000000 0x10000 0x3010000 0x00 0xf5000000 0x10000 >;
		controller = < 0x04 >;
		pcie-mem-aperture = < 0xe0000000 0x10000000 >;
		pcie-io-aperture = < 0xf2000000 0x100000 >;

		nand@12f {
			#address-cells = < 0x01 >;
			#size-cells = < 0x01 >;
			cle = < 0x00 >;
			ale = < 0x01 >;
			bank-width = < 0x01 >;
			compatible = "marvell,orion-nand";
			reg = < 0x12f0000 0x00 0x400 >;
			chip-delay = < 0x23 >;
			clocks = < 0x03 0x07 >;
			pinctrl-0 = < 0x05 >;
			pinctrl-names = "default";
			status = "okay";

			partition@0 {
				label = "uboot";
				reg = < 0x0000000 0x0080000 >;
				read-only;
			};

			partition@0a0000 {
				label = "uboot_env";
				reg = < 0x00a0000 0x0020000 >;
			};

			partition@0c0000 {
				label = "uboot_env2";
				reg = < 0x00c0000 0x0020000 >;
			};

			partition@100000 {
				label = "kernel";
				reg = < 0x0100000 0x0300000 >;
			};

			partition@400000 {
				label = "ubi";
				reg = < 0x0400000 0x020000000 >;
			};
		};

		sa-sram@301 {
			compatible = "mmio-sram";
			reg = < 0x3010000 0x00 0x800 >;
			clocks = < 0x03 0x11 >;
			#address-cells = < 0x01 >;
			#size-cells = < 0x01 >;
			phandle = < 0x0b >;
		};

		pcie@82000000 {
			compatible = "marvell,kirkwood-pcie";
			status = "disabled";
			device_type = "pci";
			#address-cells = < 0x03 >;
			#size-cells = < 0x02 >;
			bus-range = < 0x00 0xff >;
			ranges = < 0x82000000 0x00 0x40000 0xf0010000 0x40000 0x00 0x2000 0x82000000 0x00 0x44000 0xf0010000 0x44000 0x00 0x2000 0x82000000 0x00 0x80000 0xf0010000 0x80000 0x00 0x2000 0x82000000 0x01 0x00 0x4e80000 0x00 0x01 0x00 0x81000000 0x01 0x00 0x4e00000 0x00 0x01 0x00 0x82000000 0x02 0x00 0x4d80000 0x00 0x01 0x00 0x81000000 0x02 0x00 0x4d00000 0x00 0x01 0x00 >;

			pcie@1,0 {
				device_type = "pci";
				assigned-addresses = < 0x82000800 0x00 0x40000 0x00 0x2000 >;
				reg = < 0x800 0x00 0x00 0x00 0x00 >;
				#address-cells = < 0x03 >;
				#size-cells = < 0x02 >;
				#interrupt-cells = < 0x01 >;
				ranges = < 0x82000000 0x00 0x00 0x82000000 0x01 0x00 0x01 0x00 0x81000000 0x00 0x00 0x81000000 0x01 0x00 0x01 0x00 >;
				bus-range = < 0x00 0xff >;
				interrupt-map-mask = < 0x00 0x00 0x00 0x00 >;
				interrupt-map = < 0x00 0x00 0x00 0x00 0x01 0x09 >;
				marvell,pcie-port = < 0x00 >;
				marvell,pcie-lane = < 0x00 >;
				clocks = < 0x03 0x02 >;
				status = "disabled";
			};

			pcie@2,0 {
				device_type = "pci";
				assigned-addresses = < 0x82001000 0x00 0x44000 0x00 0x2000 >;
				reg = < 0x1000 0x00 0x00 0x00 0x00 >;
				#address-cells = < 0x03 >;
				#size-cells = < 0x02 >;
				#interrupt-cells = < 0x01 >;
				ranges = < 0x82000000 0x00 0x00 0x82000000 0x02 0x00 0x01 0x00 0x81000000 0x00 0x00 0x81000000 0x02 0x00 0x01 0x00 >;
				bus-range = < 0x00 0xff >;
				interrupt-map-mask = < 0x00 0x00 0x00 0x00 >;
				interrupt-map = < 0x00 0x00 0x00 0x00 0x01 0x0a >;
				marvell,pcie-port = < 0x01 >;
				marvell,pcie-lane = < 0x00 >;
				clocks = < 0x03 0x12 >;
				status = "disabled";
			};
		};
	};

	ocp@f1000000 {
		compatible = "simple-bus";
		ranges = < 0x00 0xf1000000 0x100000 >;
		#address-cells = < 0x01 >;
		#size-cells = < 0x01 >;

		pin-controller@10000 {
			reg = < 0x10000 0x20 >;
			compatible = "marvell,88f6282-pinctrl";

			pmx-ge1 {
				marvell,pins = "mpp20\0mpp21\0mpp22\0mpp23\0mpp24\0mpp25\0mpp26\0mpp27\0mpp30\0mpp31\0mpp32\0mpp33";
				marvell,function = "ge1";
				phandle = < 0x0d >;
			};

			pmx-nand {
				marvell,pins = "mpp0\0mpp1\0mpp2\0mpp3\0mpp4\0mpp5\0mpp18\0mpp19";
				marvell,function = "nand";
				phandle = < 0x05 >;
			};

			pmx-spi {
				marvell,pins = "mpp0\0mpp1\0mpp2\0mpp3";
				marvell,function = "spi";
				phandle = < 0x06 >;
			};

			pmx-twsi0 {
				marvell,pins = "mpp8\0mpp9";
				marvell,function = "twsi0";
				phandle = < 0x07 >;
			};

			pmx-uart0 {
				marvell,pins = "mpp10\0mpp11";
				marvell,function = "uart0";
				phandle = < 0x08 >;
			};

			pmx-uart1 {
				marvell,pins = "mpp13\0mpp14";
				marvell,function = "uart1";
				phandle = < 0x09 >;
			};

			pmx-sata0 {
				marvell,pins = "mpp5\0mpp21\0mpp23";
				marvell,function = "sata0";
			};

			pmx-sata1 {
				marvell,pins = "mpp4\0mpp20\0mpp22";
				marvell,function = "sata1";
			};

			pmx-twsi1 {
				marvell,pins = "mpp36\0mpp37";
				marvell,function = "twsi1";
				phandle = < 0x0e >;
			};

			pmx-sdio {
				marvell,pins = "mpp12\0mpp13\0mpp14\0mpp15\0mpp16\0mpp17";
				marvell,function = "sdio";
				phandle = < 0x11 >;
			};

			pmx-power-off {
				marvell,pins = "mpp36";
				marvell,function = "gpio";
				phandle = < 0x12 >;
			};

			pmx-sata1-power {
				marvell,pins = "mpp17";
				marvell,function = "gpio";
				phandle = < 0x1d >;
			};

			pmx-btn-power {
				marvell,pins = "mpp15";
				marvell,function = "gpio";
				phandle = < 0x14 >;
			};

			pmx-btn-reset {
				marvell,pins = "mpp29";
				marvell,function = "gpio";
				phandle = < 0x15 >;
			};

			pmx-led-sys-white {
				marvell,pins = "mpp39";
				marvell,function = "gpio";
				phandle = < 0x17 >;
			};

			pmx-led-sys-red {
				marvell,pins = "mpp37";
				marvell,function = "gpio";
				phandle = < 0x18 >;
			};

			pmx-led-hdd-blue {
				marvell,pins = "mpp26";
				marvell,function = "gpio";
				phandle = < 0x19 >;
			};

			pmx-led-hdd1-red {
				marvell,pins = "mpp25";
				marvell,function = "gpio";
				phandle = < 0x1a >;
			};

			pmx-led-hdd2-red {
				marvell,pins = "mpp24";
				marvell,function = "gpio";
				phandle = < 0x1b >;
			};

			pmx-led-brightness {
				marvell,pins = "mpp40\0mpp41";
				marvell,function = "gpio";
				phandle = < 0x1c >;
			};
		};

		core-clocks@10030 {
			compatible = "marvell,kirkwood-core-clock";
			reg = < 0x10030 0x04 >;
			#clock-cells = < 0x01 >;
			phandle = < 0x02 >;
		};

		spi@10600 {
			compatible = "marvell,orion-spi";
			#address-cells = < 0x01 >;
			#size-cells = < 0x00 >;
			cell-index = < 0x00 >;
			interrupts = < 0x17 >;
			reg = < 0x10600 0x28 >;
			clocks = < 0x03 0x07 >;
			pinctrl-0 = < 0x06 >;
			pinctrl-names = "default";
			status = "disabled";
		};

		gpio@10100 {
			compatible = "marvell,orion-gpio";
			#gpio-cells = < 0x02 >;
			gpio-controller;
			reg = < 0x10100 0x40 >;
			ngpios = < 0x20 >;
			interrupt-controller;
			#interrupt-cells = < 0x02 >;
			interrupts = < 0x23 0x24 0x25 0x26 >;
			clocks = < 0x03 0x07 >;
			phandle = < 0x16 >;
		};

		gpio@10140 {
			compatible = "marvell,orion-gpio";
			#gpio-cells = < 0x02 >;
			gpio-controller;
			reg = < 0x10140 0x40 >;
			ngpios = < 0x12 >;
			interrupt-controller;
			#interrupt-cells = < 0x02 >;
			interrupts = < 0x27 0x28 0x29 >;
			clocks = < 0x03 0x07 >;
			phandle = < 0x13 >;
		};

		i2c@11000 {
			compatible = "marvell,mv64xxx-i2c";
			reg = < 0x11000 0x20 >;
			#address-cells = < 0x01 >;
			#size-cells = < 0x00 >;
			interrupts = < 0x1d >;
			clock-frequency = < 0x186a0 >;
			clocks = < 0x03 0x07 >;
			pinctrl-0 = < 0x07 >;
			pinctrl-names = "default";
			status = "okay";

			adt7473@2e {
				compatible = "adi,adt7473";
				reg = < 0x2e >;
			};
		};

		serial@12000 {
			compatible = "ns16550a";
			reg = < 0x12000 0x100 >;
			reg-shift = < 0x02 >;
			interrupts = < 0x21 >;
			clocks = < 0x03 0x07 >;
			pinctrl-0 = < 0x08 >;
			pinctrl-names = "default";
			status = "disabled";
		};

		serial@12100 {
			compatible = "ns16550a";
			reg = < 0x12100 0x100 >;
			reg-shift = < 0x02 >;
			interrupts = < 0x22 >;
			clocks = < 0x03 0x07 >;
			pinctrl-0 = < 0x09 >;
			pinctrl-names = "default";
			status = "okay";
		};

		mbus-controller@20000 {
			compatible = "marvell,mbus-controller";
			reg = < 0x20000 0x80 0x1500 0x20 >;
			phandle = < 0x04 >;
		};

		system-controller@20000 {
			compatible = "marvell,orion-system-controller";
			reg = < 0x20000 0x120 >;
		};

		bridge-interrupt-ctrl@20110 {
			compatible = "marvell,orion-bridge-intc";
			interrupt-controller;
			#interrupt-cells = < 0x01 >;
			reg = < 0x20110 0x08 >;
			interrupts = < 0x01 >;
			marvell,#interrupts = < 0x06 >;
			phandle = < 0x0a >;
		};

		clock-gating-control@2011c {
			compatible = "marvell,kirkwood-gating-clock";
			reg = < 0x2011c 0x04 >;
			clocks = < 0x02 0x00 >;
			#clock-cells = < 0x01 >;
			phandle = < 0x03 >;
		};

		l2-cache@20128 {
			compatible = "marvell,kirkwood-cache";
			reg = < 0x20128 0x04 >;
		};

		main-interrupt-ctrl@20200 {
			compatible = "marvell,orion-intc";
			interrupt-controller;
			#interrupt-cells = < 0x01 >;
			reg = < 0x20200 0x10 0x20210 0x10 >;
			phandle = < 0x01 >;
		};

		timer@20300 {
			compatible = "marvell,orion-timer";
			reg = < 0x20300 0x20 >;
			interrupt-parent = < 0x0a >;
			interrupts = < 0x01 0x02 >;
			clocks = < 0x02 0x00 >;
		};

		watchdog-timer@20300 {
			compatible = "marvell,orion-wdt";
			reg = < 0x20300 0x28 0x20108 0x04 >;
			interrupt-parent = < 0x0a >;
			interrupts = < 0x03 >;
			clocks = < 0x03 0x07 >;
			status = "okay";
		};

		crypto@30000 {
			compatible = "marvell,kirkwood-crypto";
			reg = < 0x30000 0x10000 >;
			reg-names = "regs";
			interrupts = < 0x16 >;
			clocks = < 0x03 0x11 >;
			marvell,crypto-srams = < 0x0b >;
			marvell,crypto-sram-size = < 0x800 >;
			status = "okay";
		};

		ehci@50000 {
			compatible = "marvell,orion-ehci";
			reg = < 0x50000 0x1000 >;
			interrupts = < 0x13 >;
			clocks = < 0x03 0x03 >;
			status = "okay";
		};

		xor@60800 {
			compatible = "marvell,orion-xor";
			reg = < 0x60800 0x100 0x60a00 0x100 >;
			status = "okay";
			clocks = < 0x03 0x08 >;

			xor00 {
				interrupts = < 0x05 >;
				dmacap,memcpy;
				dmacap,xor;
			};

			xor01 {
				interrupts = < 0x06 >;
				dmacap,memcpy;
				dmacap,xor;
				dmacap,memset;
			};
		};

		xor@60900 {
			compatible = "marvell,orion-xor";
			reg = < 0x60900 0x100 0x60b00 0x100 >;
			status = "okay";
			clocks = < 0x03 0x10 >;

			xor00 {
				interrupts = < 0x07 >;
				dmacap,memcpy;
				dmacap,xor;
			};

			xor01 {
				interrupts = < 0x08 >;
				dmacap,memcpy;
				dmacap,xor;
				dmacap,memset;
			};
		};

		ethernet-controller@72000 {
			compatible = "marvell,kirkwood-eth";
			#address-cells = < 0x01 >;
			#size-cells = < 0x00 >;
			reg = < 0x72000 0x4000 >;
			clocks = < 0x03 0x00 >;
			marvell,tx-checksum-limit = < 0x640 >;
			status = "okay";

			ethernet0-port@0 {
				compatible = "marvell,kirkwood-eth-port";
				reg = < 0x00 >;
				interrupts = < 0x0b >;
				local-mac-address = [ 00 00 00 00 00 00 ];
				phy-handle = < 0x0c >;
			};
		};

		mdio-bus@72004 {
			compatible = "marvell,orion-mdio";
			#address-cells = < 0x01 >;
			#size-cells = < 0x00 >;
			reg = < 0x72004 0x84 >;
			interrupts = < 0x2e >;
			clocks = < 0x03 0x00 >;
			status = "okay";

			ethernet-phy@0 {
				reg = < 0x00 >;
				phandle = < 0x0c >;
			};
		};

		ethernet-controller@76000 {
			compatible = "marvell,kirkwood-eth";
			#address-cells = < 0x01 >;
			#size-cells = < 0x00 >;
			reg = < 0x76000 0x4000 >;
			clocks = < 0x03 0x13 >;
			marvell,tx-checksum-limit = < 0x640 >;
			pinctrl-0 = < 0x0d >;
			pinctrl-names = "default";
			status = "disabled";

			ethernet1-port@0 {
				compatible = "marvell,kirkwood-eth-port";
				reg = < 0x00 >;
				interrupts = < 0x0f >;
				local-mac-address = [ 00 00 00 00 00 00 ];
			};
		};

		sata-phy@82000 {
			compatible = "marvell,mvebu-sata-phy";
			reg = < 0x82000 0x334 >;
			clocks = < 0x03 0x0e >;
			clock-names = "sata";
			#phy-cells = < 0x00 >;
			status = "ok";
			phandle = < 0x0f >;
		};

		sata-phy@84000 {
			compatible = "marvell,mvebu-sata-phy";
			reg = < 0x84000 0x334 >;
			clocks = < 0x03 0x0f >;
			clock-names = "sata";
			#phy-cells = < 0x00 >;
			status = "ok";
			phandle = < 0x10 >;
		};

		audio-controller@a0000 {
			compatible = "marvell,kirkwood-audio";
			#sound-dai-cells = < 0x00 >;
			reg = < 0xa0000 0x2210 >;
			interrupts = < 0x18 >;
			clocks = < 0x03 0x09 >;
			clock-names = "internal";
			status = "disabled";
		};

		thermal@10078 {
			compatible = "marvell,kirkwood-thermal";
			reg = < 0x10078 0x04 >;
			status = "okay";
		};

		rtc@10300 {
			compatible = "marvell,kirkwood-rtc\0marvell,orion-rtc";
			reg = < 0x10300 0x20 >;
			interrupts = < 0x35 >;
			clocks = < 0x03 0x07 >;
			status = "okay";
		};

		i2c@11100 {
			compatible = "marvell,mv64xxx-i2c";
			reg = < 0x11100 0x20 >;
			#address-cells = < 0x01 >;
			#size-cells = < 0x00 >;
			interrupts = < 0x20 >;
			clock-frequency = < 0x186a0 >;
			clocks = < 0x03 0x07 >;
			pinctrl-0 = < 0x0e >;
			pinctrl-names = "default";
			status = "disabled";
		};

		sata@80000 {
			compatible = "marvell,orion-sata";
			reg = < 0x80000 0x5000 >;
			interrupts = < 0x15 >;
			clocks = < 0x03 0x0e 0x03 0x0f >;
			clock-names = < 0x30003100 >;
			phys = < 0x0f 0x10 >;
			phy-names = "port0\0port1";
			status = "okay";
			nr-ports = < 0x02 >;
		};

		mvsdio@90000 {
			compatible = "marvell,orion-sdio";
			reg = < 0x90000 0x200 >;
			interrupts = < 0x1c >;
			clocks = < 0x03 0x04 >;
			pinctrl-0 = < 0x11 >;
			pinctrl-names = "default";
			bus-width = < 0x04 >;
			cap-sdio-irq;
			cap-sd-highspeed;
			cap-mmc-highspeed;
			status = "disabled";
		};
	};

	gpio-poweroff {
		compatible = "gpio-poweroff";
		pinctrl-0 = < 0x12 >;
		pinctrl-names = "default";
		gpios = < 0x13 0x04 0x00 >;
	};

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = < 0x01 >;
		#size-cells = < 0x00 >;
		pinctrl-0 = < 0x14 0x15 >;
		pinctrl-names = "default";

		power {
			label = "Power Button";
			linux,code = < 0x74 >;
			gpios = < 0x16 0x0f 0x00 >;
		};

		reset {
			label = "Reset Button";
			linux,code = < 0x198 >;
			gpios = < 0x16 0x1d 0x01 >;
		};
	};

	gpio-leds {
		compatible = "gpio-leds";
		pinctrl-0 = < 0x17 0x18 0x19 0x1a 0x1b >;
		pinctrl-names = "default";

		white-sys {
			label = "ix2:white:sys";
			gpios = < 0x13 0x07 0x00 >;
			default-state = "keep";
		};

		red-sys {
			label = "ix2:red:sys";
			gpios = < 0x13 0x05 0x00 >;
		};

		blue-hdd {
			label = "ix2:blue:hdd";
			gpios = < 0x16 0x1a 0x00 >;
		};

		red-hdd1 {
			label = "ix2:red:hdd1";
			gpios = < 0x16 0x19 0x00 >;
		};

		red-hdd2 {
			label = "ix2:red:hdd2";
			gpios = < 0x16 0x18 0x00 >;
		};
	};

	regulators {
		compatible = "simple-bus";
		#address-cells = < 0x01 >;
		#size-cells = < 0x00 >;
		pinctrl-0 = < 0x1c 0x1d >;
		pinctrl-names = "default";

		regulator@1 {
			compatible = "regulator-gpio";
			reg = < 0x01 >;
			regulator-name = "LED brightness";
			regulator-type = "voltage";
			regulator-min-microvolt = < 0x10c8e0 >;
			regulator-max-microvolt = < 0x325aa0 >;
			gpios = < 0x13 0x09 0x00 0x13 0x08 0x00 >;
			gpios_states = < 0x01 0x01 >;
			state = < 0x325aa0 0x03 0x2191c0 0x01 0x10c8e0 0x00 >;
			regulator-always-on;
			regulator-boot-on;
			enable-active-high;
		};

		regulator@2 {
			compatible = "regulator-fixed";
			reg = < 0x02 >;
			regulator-name = "SATA1 Power";
			regulator-min-microvolt = < 0x4c4b40 >;
			regulator-max-microvolt = < 0x4c4b40 >;
			regulator-always-on;
			regulator-boot-on;
			enable-active-high;
			gpio = < 0x16 0x11 0x00 >;
		};
	};
};

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

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

U-Boot 1.1.4 (Oct 28 2011 - 15:19:29) Marvell version: 3.6.1 - EMC

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

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
NAND:1024 MB
Found ADT7473, program PWM1 ... OK
Flash:  0 kB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 1 0]: Enable DMA mode (6)
  Device 1 @ 0 1:
Model: ST500DM002-1BD142                        Firm: KC45     Ser#:             Z3T7DVT3
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)


CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x100000
Found initrd at 0x460000

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.
 3145728 bytes read: OK
Unknown command ';' - try 'help'
## Booting image at 00800000 ...
   Image Name:   ARM OpenWrt Linux-4.14.236
   Created:      2021-07-02  15:15:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2156432 Bytes =  2.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.236 (luo@luo-virtual-machine) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 unknown)) #0 Fri Jul 2 15:15:44 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-dl
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: get_random_bytes called from start_kernel+0x70/0x428 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200console=ttyS0,115200 rootdelay=10 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 252224K/262144K available (4650K kernel code, 154K rwdata, 1204K rodata, 1024K init, 203K bss, 9920K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc058a800   (5642 kB)
[    0.000000]       .init : 0xc0700000 - 0xc0800000   (1024 kB)
[    0.000000]       .data : 0xc0800000 - 0xc0826820   ( 155 kB)
[    0.000000]        .bss : 0xc0826820 - 0xc08597bc   ( 204 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000029] Switching to timer-based delay loop, resolution 5ns
[    0.000088] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000105] pid_max: default: 32768 minimum: 301
[    0.000203] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000219] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000629] CPU: Testing write buffer coherency: ok
[    0.001201] Setting up static identity map for 0x100000 - 0x10003c
[    0.001395] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.004199] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004217] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.004276] pinctrl core: initialized pinctrl subsystem
[    0.004930] NET: Registered protocol family 16
[    0.005285] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.006023] cpuidle: using governor ladder
[    0.006303] Feroceon L2: Enabling L2
[    0.006336] Feroceon L2: Cache support initialised.
[    0.006523] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.009481] No ATAGs?
[    0.021974] SCSI subsystem initialized
[    0.022484] usbcore: registered new interface driver usbfs
[    0.022532] usbcore: registered new interface driver hub
[    0.022571] usbcore: registered new device driver usb
[    0.023959] clocksource: Switched to clocksource orion_clocksource
[    0.024550] NET: Registered protocol family 2
[    0.024934] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.024966] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.024993] TCP: Hash tables configured (established 2048 bind 2048)
[    0.025053] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.025072] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.025178] NET: Registered protocol family 1
[    0.026053] Crashlog allocated RAM at address 0x3f00000
[    0.027538] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.030732] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.030742] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.036306] io scheduler noop registered
[    0.036317] io scheduler deadline registered (default)
[    0.037218] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.038329] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.038801] console [ttyS0] disabled
[    0.038851] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 26, base_baud = 12500000) is a 16550A
[    0.460929] console [ttyS0] enabled
[    0.465246] sata_mv f1080000.sata: slots 32 ports 2
[    0.472581] scsi host0: sata_mv
[    0.476137] scsi host1: sata_mv
[    0.479396] ata1: SATA max UDMA/133 irq 33
[    0.483508] ata2: SATA max UDMA/133 irq 33
[    0.487980] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[    0.494383] nand: Samsung NAND 1GiB 3,3V 8-bit
[    0.498846] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.506546] Scanning device for bad blocks
[    0.510706] Bad eraseblock 0 at 0x000000000000
[    0.522767] Bad eraseblock 97 at 0x000000c20000
[    0.536337] Bad eraseblock 212 at 0x000001a80000
[    0.675969] Bad eraseblock 1927 at 0x00000f0e0000
[    0.719235] Bad eraseblock 2417 at 0x000012e20000
[    0.731869] Bad eraseblock 2518 at 0x000013ac0000
[    0.841437] Bad eraseblock 3850 at 0x00001e140000
[    0.934867] Bad eraseblock 4977 at 0x000026e20000
[    1.192677] 5 fixed-partitions partitions found on MTD device orion_nand
[    1.199413] Creating 5 MTD partitions on "orion_nand":
[    1.204587] 0x000000000000-0x000000080000 : "uboot"
[    1.209892] 0x0000000a0000-0x0000000c0000 : "uboot_env"
[    1.215519] 0x0000000c0000-0x0000000e0000 : "uboot_env2"
[    1.221218] 0x000000100000-0x000000400000 : "kernel"
[    1.226591] 0x000000400000-0x000020400000 : "ubi"
[    1.233477] libphy: Fixed MDIO Bus: probed
[    1.237796] libphy: orion_mdio_bus: probed
[    1.244655] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.252813] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3e:39:0a
[    1.261628] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.268199] ehci-orion: EHCI orion driver
[    1.272358] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.277900] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.285698] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.313968] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.320415] hub 1-0:1.0: USB hub found
[    1.324346] hub 1-0:1.0: 1 port detected
[    1.328612] usbcore: registered new interface driver usb-storage
[    1.334933] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.341889] i2c /dev entries driver
[    1.346375] orion_wdt: Initial timeout 21 sec
[    1.355286] marvell-cesa f1030000.crypto: CESA device successfully registered
[    1.363074] NET: Registered protocol family 10
[    1.368763] Segment Routing with IPv6
[    1.372494] NET: Registered protocol family 17
[    1.377003] 8021q: 802.1Q VLAN Support v1.8
[    1.383342] UBI: auto-attach mtd4
[    1.386708] ubi0: attaching mtd4
[    1.399953] UBI: EOF marker found, PEBs from 92 will be erased
[    1.408094] ubi0: scanning is finished
[    1.430225] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 3843 LEBs
[    1.437461] ubi0: attached mtd4 (name "ubi", size 512 MiB)
[    1.442971] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.449900] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.456638] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    1.463452] ubi0: good PEBs: 4090, bad PEBs: 6, corrupted PEBs: 0
[    1.469575] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.476840] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 759188971
[    1.485935] ubi0: available PEBs: 0, total reserved PEBs: 4090, PEBs reserved for bad PEB handling: 154
[    1.495868] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.501376] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.508543] rtc-mv f1010300.rtc: setting system clock to 2021-08-10 13:17:28 UTC (1628601448)
[    1.517402] ubi0: background thread "ubi_bgt0d" started, PID 444
[    1.600600] Waiting 10 sec before mounting root device...
[    1.626439] ata1: SATA link down (SStatus 0 SControl F300)
[    2.103962] random: fast init done
[    2.124042] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    2.146289] ata2.00: ATA-8: ST500DM002-1BD142, KC45, max UDMA/133
[    2.152414] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    2.178552] ata2.00: configured for UDMA/133
[    2.183108] scsi 1:0:0:0: Direct-Access     ATA      ST500DM002-1BD14 KC45 PQ: 0 ANSI: 5
[    2.204714] sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    2.212232] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    2.223984] sd 1:0:0:0: [sda] Write Protect is off
[    2.234014] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.267184]  sda: sda1
[    2.270312] sd 1:0:0:0: [sda] Attached SCSI disk
[   12.006775] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[   12.016874] Freeing unused kernel memory: 1024K
[   12.192517] init: Console is alive
[   12.196089] init: - watchdog -
[   12.410798] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   12.444209] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   12.451245] ohci-platform: OHCI generic platform driver
[   12.457058] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   12.466925] init: - preinit -
[   12.708018] random: jshn: uninitialized urandom read (4 bytes read)
[   12.750162] random: jshn: uninitialized urandom read (4 bytes read)
[   12.771168] random: jshn: uninitialized urandom read (4 bytes read)
[   12.824041] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   12.833925] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   12.840714] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   15.942620] mount_root: loading kmods from internal overlay
[   15.957986] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   15.965479] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   15.992888] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   16.009115] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.018098] __nand_correct_data: uncorrectable ECC error
[   16.023436] __nand_correct_data: uncorrectable ECC error
[   16.028797] print_req_error: I/O error, dev mtdblock0, sector 0
[   16.034818] __nand_correct_data: uncorrectable ECC error
[   16.040152] __nand_correct_data: uncorrectable ECC error
[   16.045557] print_req_error: I/O error, dev mtdblock0, sector 8
[   16.051567] __nand_correct_data: uncorrectable ECC error
[   16.056908] __nand_correct_data: uncorrectable ECC error
[   16.062243] print_req_error: I/O error, dev mtdblock0, sector 16
[   16.068353] __nand_correct_data: uncorrectable ECC error
[   16.073680] __nand_correct_data: uncorrectable ECC error
[   16.079021] print_req_error: I/O error, dev mtdblock0, sector 24
[   16.085204] __nand_correct_data: uncorrectable ECC error
[   16.090536] __nand_correct_data: uncorrectable ECC error
[   16.095882] print_req_error: I/O error, dev mtdblock0, sector 0
[   16.101822] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   16.193104] UBIFS (ubi0:1): default file-system created
[   16.198902] urandom_read: 2 callbacks suppressed
[   16.198907] random: procd: uninitialized urandom read (4 bytes read)
[   16.219519] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 540
[   16.248332] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   16.256227] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   16.266198] UBIFS (ubi0:1): FS size: 493774848 bytes (470 MiB, 3827 LEBs), journal size 24772608 bytes (23 MiB, 192 LEBs)
[   16.277207] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   16.283855] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 6109DDE2-3EC1-4229-A936-0A22452E572C, small LPT model
[   16.295489] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   16.302577] block: unable to load configuration (fstab: Entry not found)
[   16.309374] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   16.315929] block: unable to load configuration (fstab: Entry not found)
[   16.322694] block: attempting to load /etc/config/fstab
[   16.328050] block: unable to load configuration (fstab: Entry not found)
[   16.334822] block: no usable configuration
[   16.342686] UBIFS (ubi0:1): un-mount UBI device 0
[   16.347440] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   16.366129] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 543
[   16.394681] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   16.402550] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   16.412532] UBIFS (ubi0:1): FS size: 493774848 bytes (470 MiB, 3827 LEBs), journal size 24772608 bytes (23 MiB, 192 LEBs)
[   16.423538] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   16.430194] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 6109DDE2-3EC1-4229-A936-0A22452E572C, small LPT model
[   16.445475] __nand_correct_data: uncorrectable ECC error
[   16.450813] __nand_correct_data: uncorrectable ECC error
[   16.456174] print_req_error: I/O error, dev mtdblock0, sector 0
[   16.462184] __nand_correct_data: uncorrectable ECC error
[   16.467522] __nand_correct_data: uncorrectable ECC error
[   16.472858] print_req_error: I/O error, dev mtdblock0, sector 8
[   16.478881] __nand_correct_data: uncorrectable ECC error
[   16.484217] __nand_correct_data: uncorrectable ECC error
[   16.489549] print_req_error: I/O error, dev mtdblock0, sector 16
[   16.495657] __nand_correct_data: uncorrectable ECC error
[   16.500986] __nand_correct_data: uncorrectable ECC error
[   16.506328] print_req_error: I/O error, dev mtdblock0, sector 24
[   16.512474] __nand_correct_data: uncorrectable ECC error
[   16.517878] __nand_correct_data: uncorrectable ECC error
[   16.523219] print_req_error: I/O error, dev mtdblock0, sector 0
[   16.529164] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   16.577295] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   16.584397] block: unable to load configuration (fstab: Entry not found)
[   16.591170] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   16.597734] block: unable to load configuration (fstab: Entry not found)
[   16.604514] block: attempting to load /etc/config/fstab
[   16.609823] block: unable to load configuration (fstab: Entry not found)
[   16.616601] block: no usable configuration
[   16.621734] mount_root: overlay filesystem has not been fully initialized yet
[   16.629218] mount_root: switching to ubifs overlay
[   16.645657] urandom-seed: Seed file not found (/etc/urandom.seed)
[   16.687193] procd: - early -
[   16.690136] procd: - watchdog -
[   17.241229] procd: - watchdog -
[   17.244563] procd: - ubus -
[   17.268983] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.307702] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.314382] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.321504] procd: - init -
Please press Enter to activate this console.
[   17.543144] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.621502] urngd: v1.0.2 started.
[   17.631921] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.654864] Netfilter messages via NETLINK v0.30.
[   17.661203] ip_set: protocol 6
[   17.708312] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.731419] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   17.744413] random: crng init done
[   17.747826] random: 1 urandom warning(s) missed due to ratelimiting
[   17.755226] ctnetlink v0.93: registering with nfnetlink.
[   17.816645] xt_time: kernel timezone is -0000
[   17.837999] adt7475 0-002e: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   17.850243] adt7475 0-002e: ADT7473 device, revision 0
[   17.855420] adt7475 0-002e: Optional features: fan4 pwm2
[   17.895665] PPP generic driver version 2.4.2
[   17.904659] NET: Registered protocol family 24
[   17.915868] kmodloader: done loading kernel modules from /etc/modules.d/*
[   23.824092] __nand_correct_data: uncorrectable ECC error
[   23.829433] __nand_correct_data: uncorrectable ECC error
[   23.834789] print_req_error: I/O error, dev mtdblock0, sector 0
[   23.840804] __nand_correct_data: uncorrectable ECC error
[   23.846153] __nand_correct_data: uncorrectable ECC error
[   23.851488] print_req_error: I/O error, dev mtdblock0, sector 8
[   23.857512] __nand_correct_data: uncorrectable ECC error
[   23.862847] __nand_correct_data: uncorrectable ECC error
[   23.868189] print_req_error: I/O error, dev mtdblock0, sector 16
[   23.874294] __nand_correct_data: uncorrectable ECC error
[   23.879624] __nand_correct_data: uncorrectable ECC error
[   23.884966] print_req_error: I/O error, dev mtdblock0, sector 24
[   23.967888] __nand_correct_data: uncorrectable ECC error
[   23.973225] __nand_correct_data: uncorrectable ECC error
[   23.978589] print_req_error: I/O error, dev mtdblock0, sector 0
[   23.984539] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[   24.282025] br-lan: port 1(eth0) entered blocking state
[   24.287309] br-lan: port 1(eth0) entered disabled state
[   24.292710] device eth0 entered promiscuous mode
[   24.347406] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   26.752548] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   26.762493] br-lan: port 1(eth0) entered blocking state
[   26.767763] br-lan: port 1(eth0) entered forwarding state
[   26.785402] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07-SNAPSHOT, unknown
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# cd /sys/devices/platform/gpio-leds/leds
root@OpenWrt:/sys/devices/platform/gpio-leds/leds# ls
ix2:blue:hdd   ix2:red:hdd1   ix2:red:hdd2   ix2:red:sys    ix2:white:sys
root@OpenWrt:/sys/devices/platform/gpio-leds/leds# cd
root@OpenWrt:~# cd /sys/devices/platform/ocp@f1000000/f10
f1010000.pin-controller/        f1020300.timer/
f1010078.thermal/               f1020300.watchdog-timer/
f1010100.gpio/                  f1030000.crypto/
f1010140.gpio/                  f1050000.ehci/
f1010300.rtc/                   f1060800.xor/
f1011000.i2c/                   f1060900.xor/
f1012100.serial/                f1072000.ethernet-controller/
f1020000.mbus-controller/       f1072004.mdio-bus/
f1020000.system-controller/     f1080000.sata/
f102011c.clock-gating-control/  f1082000.sata-phy/
f1020128.l2-cache/              f1084000.sata-phy/
root@OpenWrt:~# cd /sys/devices/platform/ocp@f1000000/f10
f1010000.pin-controller/        f1020300.timer/
f1010078.thermal/               f1020300.watchdog-timer/
f1010100.gpio/                  f1030000.crypto/
f1010140.gpio/                  f1050000.ehci/
f1010300.rtc/                   f1060800.xor/
f1011000.i2c/                   f1060900.xor/
f1012100.serial/                f1072000.ethernet-controller/
f1020000.mbus-controller/       f1072004.mdio-bus/
f1020000.system-controller/     f1080000.sata/
f102011c.clock-gating-control/  f1082000.sata-phy/
f1020128.l2-cache/              f1084000.sata-phy/
root@OpenWrt:~# cd /sys/devices/platform/ocp@f1000000/f1011000.i2c/i2c-0/0-002e/
root@OpenWrt:/sys/devices/platform/ocp@f1000000/f1011000.i2c/i2c-0/0-002e# ls
driver                      pwm3_auto_point1_pwm
fan1_alarm                  pwm3_auto_point2_pwm
fan1_input                  pwm3_enable
fan1_min                    pwm3_freq
fan2_alarm                  pwm3_stall_disable
fan2_input                  pwm_use_point2_pwm_at_crit
fan2_min                    subsystem
fan3_alarm                  temp1_alarm
fan3_input                  temp1_auto_point1_temp
fan3_min                    temp1_auto_point2_temp
fan4_alarm                  temp1_crit
fan4_input                  temp1_crit_hyst
fan4_min                    temp1_fault
hwmon                       temp1_input
in1_alarm                   temp1_max
in1_input                   temp1_min
in1_max                     temp1_offset
in1_min                     temp1_smoothing
in2_alarm                   temp2_alarm
in2_input                   temp2_auto_point1_temp
in2_max                     temp2_auto_point2_temp
in2_min                     temp2_crit
modalias                    temp2_crit_hyst
name                        temp2_input
of_node                     temp2_max
pwm1                        temp2_min
pwm1_auto_channels_temp     temp2_offset
pwm1_auto_point1_pwm        temp2_smoothing
pwm1_auto_point2_pwm        temp3_alarm
pwm1_enable                 temp3_auto_point1_temp
pwm1_freq                   temp3_auto_point2_temp
pwm1_stall_disable          temp3_crit
pwm2                        temp3_crit_hyst
pwm2_auto_channels_temp     temp3_fault
pwm2_auto_point1_pwm        temp3_input
pwm2_auto_point2_pwm        temp3_max
pwm2_enable                 temp3_min
pwm2_freq                   temp3_offset
pwm2_stall_disable          temp3_smoothing
pwm3                        uevent
pwm3_auto_channels_temp
root@OpenWrt:/sys/devices/platform/ocp@f1000000/f1011000.i2c/i2c-0/0-002e#

The following is a link to a script for adt7476 controlling fans:https://openwrt.org/toh/seagate/blackarmor_nas220openwrt.org/toh/seagate/blackarmor_nas220

path_to_hwmon='/sys/devices/platform/ocp@f1000000/f1011000.i2c/i2c-0/0-002e/hwmon/hwmon0'
# each thousand is 1 degree Celsius
low_temp=32000 
high_temp=42000
# range 0-255
low_fan_speed=64 
high_fan_speed=255

# adt7476 fan control chip. 3 temp sensors.
echo 7 > "$path_to_hwmon/pwm1_auto_channels_temp"
echo $low_fan_speed > "$path_to_hwmon/pwm1_auto_point1_pwm"
echo $high_fan_speed > "$path_to_hwmon/pwm1_auto_point2_pwm"
echo $low_temp > "$path_to_hwmon/temp1_auto_point1_temp"
echo $high_temp > "$path_to_hwmon/temp1_auto_point2_temp"
echo $low_temp > "$path_to_hwmon/temp2_auto_point1_temp"
echo $high_temp > "$path_to_hwmon/temp2_auto_point2_temp"
echo $low_temp > "$path_to_hwmon/temp3_auto_point1_temp"
echo $high_temp > "$path_to_hwmon/temp3_auto_point2_temp"
echo 2 > "$path_to_hwmon/pwm1_enable"
Re: Lenovo IX2 DL
August 10, 2021 04:39PM
luo,

> I modified the DTC file of XX (only the NAND
> partition) and compiled openwrt-19.07. At present,
> it runs normally. The LED can be configured on
> Luci, but I can't write the fan control script.
> Can you help me? I think the fan script written by
> adt7473 under Linux can run on different
> distributions

Usually when you see the sensor module identified correctly as in this case, you should try to use lm-sensors to see if you can detect and control it properly. It is much better than script that pokes the device directly.

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



Edited 1 time(s). Last edit at 08/10/2021 08:59PM by bodhi.
luo
Re: Lenovo IX2 DL
August 11, 2021 02:15AM
Thank you, bodhi. After installing lm-sensors, I used adt7475 in openwt to modify the path path. Now I can make the fan speed increase with the increase of temperature
root@OpenWrt:/# sensors
adt7473-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in1:          +1.10 V  (min =  +0.00 V, max =  +2.99 V)
in2:          +3.35 V  (min =  +0.00 V, max =  +4.39 V)
fan1:        2505 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +30.8°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp2:        +29.5°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp3:        +26.8°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)

root@OpenWrt:/# sensors
adt7473-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in1:          +1.10 V  (min =  +0.00 V, max =  +2.99 V)
in2:          +3.35 V  (min =  +0.00 V, max =  +4.39 V)
fan1:        2922 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +33.2°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp2:        +31.2°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp3:        +28.8°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)

root@OpenWrt:/# sensors
adt7473-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in1:          +1.10 V  (min =  +0.00 V, max =  +2.99 V)
in2:          +3.35 V  (min =  +0.00 V, max =  +4.39 V)
fan1:        3239 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +35.0°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp2:        +33.0°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp3:        +30.5°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)

root@OpenWrt:/# sensors
adt7473-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in1:          +1.10 V  (min =  +0.00 V, max =  +2.99 V)
in2:          +3.35 V  (min =  +0.00 V, max =  +4.39 V)
fan1:        3241 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +35.2°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp2:        +33.2°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp3:        +30.8°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)

Re: Lenovo IX2 DL
August 11, 2021 05:04AM
Cool!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Lenovo IX2 DL
August 14, 2021 02:40AM
Hi Luo,

Can you share your custom build of OpenWRT for the IX2-DL? I was just starting to compile my own when I saw this thread!

I'm very keen to try on my IX2-DL.

Cheers,
J
Re: Lenovo IX2 DL
August 14, 2021 11:30PM
Answering my own question, building openwrt for the IX2-DL was very straightforward, I followed the OpenWRT build guide, added the .dst and then used the uboot config from the IX2-200 (on the OpenWRT wiki).

All worked relatively well.

The IX2-200 has the kernel written lower than I would like in the NAND, but all is working ok and there's plenty of nand space remaining for packages.

I'll build again with more packages preinstalled and then host it on gDrive.

IX2-200 guide is available here; IX2-200 git commit
luo
Re: Lenovo IX2 DL
August 16, 2021 07:19PM
Take openwrt-19.07 version as an example
Download the source code of openwrt
./scripts/feeds update -a
./scripts/feeds install -a
Modify the /target/linux/kirkwood/image/makefile file and add the following:
define Device/lenovo_ix2_dl
  DEVICE_TITLE := lenovo ix2-dl
  DEVICE_DTS := kirkwood-lenovo-ix2-dl-full
  DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-i2c-mv64xxx kmod-hwmon-adt7475
  DEVICE_TYPE:=nas
  PAGESIZE := 2048
  SUBPAGESIZE := 512
  BLOCKSIZE := 128k
  KERNEL_SIZE := 3072k
  KERNEL_IN_UBI :=
  UBINIZE_OPTS := -E 5
  IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
endef
TARGET_DEVICES += lenovo_ix2_dl

make menuconfig
Select compile lenovo_ix2_dl
Errors occur during compilation

At this time, modify the DTS file as follows, put it in the build_dir/target_arm_xscale_musl_eabi/linux-kirkwood/linux-4.14.236/arch/arm/boot/dts directory, and compile it again

Modify the dts file and adjust the partition size and name
Content of original document:
			partition@0 {
				label = "uboot";
				reg = < 0x0000000 0x0080000 >;
				read-only;
			};

			partition@0a0000 {
				label = "uboot_env";
				reg = < 0x00a0000 0x0020000 >;
			};

			partition@0c0000 {
				label = "uboot_env2";
				reg = < 0x00c0000 0x0020000 >;
			};

			partition@100000 {
				label = "kernel";
				reg = < 0x0100000 0x0300000 >;
			};

			partition@400000 {
				label = "initrd";
				reg = < 0x0400000 0x0400000 >;
			};

			partition@800000 {
				label = "boot";
				reg = < 0x0800000 0x3f800000 >;
			};
		};

Modified content:
			partition@0 {
				label = "uboot";
				reg = < 0x0000000 0x0080000 >;
				read-only;
			};

			partition@0a0000 {
				label = "uboot_env";
				reg = < 0x00a0000 0x0020000 >;
			};

			partition@0c0000 {
				label = "uboot_env2";
				reg = < 0x00c0000 0x0020000 >;
			};

			partition@100000 {
				label = "kernel";
				reg = < 0x0100000 0x0300000 >;
			};

			partition@400000 {
				label = "ubi";
				reg = < 0x0400000 0x020000000 >;
			};
		};
Compile again and you should succeed


Use the generated openwrt-kirkwood-lenovo_ix2_dl-squashfs-factory.bin file to brush NAND
Re: Lenovo IX2 DL
August 16, 2021 07:24PM
Thanks Luo,

My openwrt build was similar, though I inserted the DTS with a patch file.

Would you be able to share your uboot environment variables as well? (fw_printenv)

Thank you again, the IX2-DL is a capable device and is working great with WRT.
Author:

Your Email:


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: