Welcome! Log In Create A New Profile

Advanced

Iomega ix4-200d U-boot needed

Posted by Reto 
Re: Iomega ix4-200d U-boot needed
July 14, 2022 04:25PM
Adam,

> When I change the parameters as in the thread:
>
> https://forum.doozan.com/read.php?2,102054,105374#msg-105374
>
> and I will write them down: saveenv
> I would need a method to reverse it if I wanted to
> restore it to the factory firmware someday

You would do a nandwrite in Debian to restore that mtd1.

But first you will need to check the mtd layout after logging into Debian

cat /proc/mtd
cat /etc/fw_env.config
fw_printenv

Verifying that everything is normal. And it is very important to make sure that you will not overwrite mtd0 (where u-boot is).

Before you do anything, backup mtd0 the same way. and then try UART booting with that mtd0 backup to make sure you have a rescue path (if something goes wrong).

If you have problem with UART booting, please post questions. I would try to do this successfully before messing with NAND mtd. As you see below, if things goes wrong (eg. typos, ...) then you could brick the box.

========

Restore the backup mtd1 as followed:

1. Erase mtd1
flash_erase /dev/mtd1

2. Write image to NAND
nandwrite /dev/mtd1 mtd1-ix4-200d.img

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 03, 2022 07:35PM
Hey, Im trying to boot this box with 4 x 6Tb disks and therefore disks partitioned as GPT.

Has anyone managed to do this without using hybrid partitioning?

I can boot from USB and all 4 x 6Tb are detected but I'd rather move the install to disk so that I can do OMV etc.

Disks at u-boot are seen as: (this is just two of them)
scanning bus for devices...
Device 0: (0:0) Vendor: ATA Prod.: ST6000NM021A-2R7 Rev: SN03
Type: Hard Disk
Capacity: 1528862.5 MB = 1493.0 GB (3131110576 x 512)
Device 1: (1:0) Vendor: ATA Prod.: ST6000NM021A-2R7 Rev: SN03
Type: Hard Disk
Capacity: 1528862.5 MB = 1493.0 GB (3131110576 x 512)


Is there any setenv commands I can run to "test" gpt boot?
Re: Iomega ix4-200d U-boot needed
August 03, 2022 10:48PM
> Is there any setenv commands I can run to "test"
> gpt boot?

ide reset
ide part
And it will show the capacity. But based on your log above, it already seems wrong.

> I can boot from USB and all 4 x 6Tb are detected
> but I'd rather move the install to disk so that I
> can do OMV etc.

So that is your fallback option.

Create an Ext3 partititon on one of the HDDs. Copy the USB rootfs content (or create a new rootfs on one of the HDD) into it.

And label the USB partition as kernel (something other than rootfs). Remove everything on the USB except /boot folder.

So you have the kernel files uImage and uInitrd on USB /boot folder. But the rootfs is on the HDD. And then label the rootfs on the HDD partition "rootfs".

When you boot, then kernel files on USB will be loaded, but when the rootfs is mounted by the kernel, it is the HDD rootfs. This way you can format all 4 drives as GPT 6TB HDD. And the rootfs is on HDD.

Of course, you need to list your u-boot envs so I can check they are ready to boot this way.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 08/03/2022 10:49PM by bodhi.
Re: Iomega ix4-200d U-boot needed
August 04, 2022 10:43AM
Thanks bodhi!

No joy with the "ide part"

printenv below:
Marvell>> ide part

no IDE devices available
Marvell>> printenv
bootdelay=1
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
console=console=ttyS0,115200 mtdparts=nand_mtd:0xa0000@0x0(uboot),0x00010000@0x000a0000(param),32m@0x0(flash)
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000;
ethmtu=1500
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
uboot_start=0x0
uboot_size=0xa0000
env_start=0xa0000
env_size=0x10000
kernel_start=0xb0000
kernel_size=0x224000
flash_load=run make_boot_args;nand read.e 0x2000000 $(kernel_start) $(kernel_size);nand read.e 0x12000000 $(initrd_start) $(initrd_size);bootm 0x2000000 0x12000000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)32m@0x0(flash);
mfgmodel=ix4
fw_ver=v1_0_7_213010908
preroot_ver=0.1.5
serial_number=5560Y01011G10400389J0F1
serialno=EUB040B8A1
modelname=31852200
runintime=1200
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
initrd_size=0x2f0000
uboot_ver=v1.1.1
ethaddr=00:d0:b8:13:1d:15
load_uimage=ext2load ide 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load ide 0:1 0x1100000 /boot/uInitrd
sata_boot=ide reset; run load_uimage; run load_uinitrd; bootm 0x800000 0x1100000
bootcmd=run sata_boot
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
initrd_start=0x2d4000
disaMvPnp=no
eth1addr=00:d0:b8:13:1d:16
enaAutoRecovery=yes
pcieTune=no

Environment size: 2165/16380 bytes
Marvell>>

Re: Iomega ix4-200d U-boot needed
August 04, 2022 04:03PM
> No joy with the "ide part"
>
> printenv below:

> Marvell>> ide part
>
> no IDE devices available

I forgot, also try
scsi reset

However, we don't really care much to find out, if you are going boot with USB kernel and HDD rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 08/04/2022 04:03PM by bodhi.
Re: Iomega ix4-200d U-boot needed
August 04, 2022 06:20PM
Yeah, scsi works but as you see, u-boot thinks they are dos partition.

I'm about to disappear for two weeks leave but ill get stuck into this when Im back. I like your idea of using the USB for just the kernel files but ill also try the hybrib partitioning to see how that goes.

Do you think there is any way sheevaplug could be manipulated to run from nvram?? Im not much great with hardware/software build stuff so is it a waste without Lenovo source? I've seen it mentioned here a little but I'd be happy to hound Lenovo if it was worth getting the source :-)

Marvell>> scsi reset

Reset SCSI
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: ST6000NM021A-2R7 Rev: SN03
            Type: Hard Disk
            Capacity: 1528862.5 MB = 1493.0 GB (3131110576 x 512)
  Device 1: (1:0) Vendor: ATA Prod.: ST6000NM021A-2R7 Rev: SN03
            Type: Hard Disk
            Capacity: 1528862.5 MB = 1493.0 GB (3131110576 x 512)
Marvell>> scsi part

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

Partition     Start Sector     Num Sectors     Type
    1                    1              -1      ee


Partition Map for SCSI device 1  --   Partition Type: DOS

Partition     Start Sector     Num Sectors     Type
    1                    1              -1      ee
Marvell>>

Could these args work for scsi disks?
setenv load_uimage 'ext2load scsi 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load scsi 0:1 0x1100000 /boot/uInitrd'
setenv sata_boot 'scsi reset; run load_uimage; run load_uinitrd; bootm 0x800000 0x1100000'
setenv bootcmd 'run sata_boot'

Nope...
Marvell>> setenv load_uimage 'ext2load scsi 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load scsi 0:1 0x1100000 /boot/uInitrd'
Marvell>> setenv sata_boot 'scsi reset; run load_uimage; run load_uinitrd; bootm 0x800000 0x1100000'
Marvell>> setenv bootcmd 'run sata_boot'
Marvell>> boot

Reset SCSI
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: ST6000NM021A-2R7 Rev: SN03
            Type: Hard Disk
            Capacity: 1528862.5 MB = 1493.0 GB (3131110576 x 512)
  Device 1: (1:0) Vendor: ATA Prod.: ST6000NM021A-2R7 Rev: SN03
            Type: Hard Disk
            Capacity: 1528862.5 MB = 1493.0 GB (3131110576 x 512)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - scsi 0:1 **
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - scsi 0:1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>



Edited 3 time(s). Last edit at 08/04/2022 06:31PM by CodeJACK.
Re: Iomega ix4-200d U-boot needed
August 04, 2022 06:32PM
>
> Do you think there is any way sheevaplug could be
> manipulated to run from nvram?

Why sheevaplug? do you mean this ix4-200d kernel files can be stored in flash?

Or do you mean perhaps I can roll new u-boot for this box, since it is so close to the sheevaplug? I forgot the previous conversations (I have too many things going on) if you tried the sheevaplug u-boot, please link to that post :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 04, 2022 07:00PM
I'm not always great at trying to get a message across :-)

Forgive me.

Sheevaplug because it loads and works great via kwboot. Reto that started this thread had no luck loading it from NVRAM.

I wouldnt ask you to roll a new version for me but would this be something I could attempt myself by following docs or would I need a lot more experience?
Re: Iomega ix4-200d U-boot needed
August 05, 2022 12:40AM
CodeJACK,

> I wouldnt ask you to roll a new version for me but
> would this be something I could attempt myself by
> following docs or would I need a lot more
> experience?

The quickest way is to find this ix4-200d box stock u-boot mtd0 backup somewhere. Or somebody has this box and willing to post a serial boot log, and dump the mtd0 partition on flash to a file. You will be able to use this box fully just by kwboot that mtd0 dump and boot the rootfs Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2. After that you will be able to flash it.

Search for user DaMacc in this forum. DaMacc might have dumped stock u-boot for this box. We created the kernel DTS for this box back in circa 2015.

========

Re new u-boot: if you are willing to be a tester for a while. Rolling new Kirkwood u-boot for this box is quite easy for me (take hours, not days), but this will be a lot of work for you. I don't know any tutorial, and will not be able to guide you.

Testing could take many calendar days, since we are probably on different time zones. Oftenly the last features might take the major part of the time we will spend if something is unknown and we can't find it. But at that point it will be quite usable, and that you will probably be able to flash it

So give it a day or 2 to search this forum, or elsewhere. If you still can't find mtd0 dump, post back and I'll have something for you to run kwboot test.

And not to worry, if I roll new u-boot, it is not for you personally, it is for public consumption :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 05, 2022 01:16AM
You're in luck! here is the stock u-boot dump from DaMacc:

https://forum.doozan.com/read.php?2,22623,25690#msg-25690

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 05, 2022 08:16AM
Awesome, I'm here ( or will be again in two weeks) to use and abuse to test whatever is needed on this box. I have the stock u-boots already and even found the original recovery files on the old nas-central web archive. Here is links for future reference to this content:
Iomega Archive

Instructions and reference post that detail how to use recovery/conversion

Conversion software needed to make a non cloud edition of this box, into the cloud edition


So right now, I have the stock u-boot installed and working fine booting from USB with your latest Debian. End state for me would be to have a current u-boot that would support GPT disk boots and then ease the usage of larger sata disks and boot direct to your latest debian installed to the sata disks. Boot and rootfs being on some sort or RAID volume.



Edited 3 time(s). Last edit at 08/05/2022 08:21AM by CodeJACK.
Re: Iomega ix4-200d U-boot needed
August 05, 2022 03:59PM
> So right now, I have the stock u-boot installed
> and working fine booting from USB with your latest
> Debian.

Cool!

Now some info gathering for new u-boot. Boot with serial console and interrupt it at count down. And,

help
printenv
md.l 0xF1010000 8
md.l 0xF1010100 1
md.l 0xF1010140 1

And then boot with whatever envs you are using to boot USB rootfs. Log in to Debian, and

cat /proc/mtd

Please post everything in this serial console session on your terminal (from u-boot banner until the output of cat /proc/mtd).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 05, 2022 04:58PM

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** uboot_ver:v1.1.1 **

 ** MARVELL BOARD: IX4-110 LE 

U-Boot 1.1.4 (Mar 10 2011 - 15:01:57) Marvell version: 3.4.18

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

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB 
DRAM CS[1] base 0x10000000   size 256MB 
DRAM Total size 512MB  16bit width
Found 0x20 i2c device
Toggle power status
Set Power State as Always On
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:32 MB
Found ADT7473, program LED ...(led_volt=90)  OK
Found ADT7473, program thermal/Fan ...(pwm_min=0) (pwm_max=130) (therm=67) (temp_min=60)  OK

Marvell Serial ATA Adapter
Integrated Sata device found


CPU : Marvell Feroceon (Rev 1)
Found initrd at 0x2d4000

Streaming disabled 
Write allocate disabled

Module 0 is RGMII
Module 1 is RGMII

USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
SCSI:  AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x7 impl IDE mode
flags: 64bit ncq stag led pmp slum part 
scanning bus for devices...
timeout exit!
timeout exit!
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

Marvell>> help
?       - alias for 'help'
SatR - sample at reset sub-system, relevent for DB only
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name 
bootm   - boot application image from memory
bootp	- boot image via network using BootP/TFTP protocol
bubt	- Burn an image on the Boot Nand Flash.
chpart	- change active partition
cmp     - memory compare
cmpm	- Compare Memory
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
dclk	- Display the MV device CLKs.
dhcp	- invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fi	- Find value in the memory.
flinfo  - print FLASH memory information
fsinfo	- print information about filesystems
fsload	- load binary file from a filesystem image
g	- start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
ir	- reading and changing MV internal register values.
loop    - infinite loop on address range
ls	- list files in a directory (default /)
map	- Diasplay address decode windows
md      - memory display
me	- PCI master enable
mm      - memory modify (auto-incrementing)
mp	- map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM test
mw      - memory write (fill)
nand                   - NAND sub-system
nboot   - boot from NAND device
nbubt	- Burn a boot loader image on the Boot Nand Flash.
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
phyRead	- Read PCI-E Phy register
pciePhyWrite	- Write PCI-E Phy register
phyRead	- Read Phy register
phyWrite	- Write Phy register
ping	- send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
rcvr	- Satrt recovery process (Distress Beacon with TFTP server)
reset   - Perform RESET of the CPU
resetenv	- Return all environment variable to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
scsi    - SCSI sub-system
scsiboot- boot from SCSI device
se	- PCI Slave enable
setenv  - set environment variables
sflash	- read, write or erase the external SPI Flash.
sg	- scanning the PHYs status
sp	- Scan PCI bus.
tftpboot- boot image via network using TFTP protocol
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
Marvell>> printenv
bootdelay=1
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=yes
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
console=console=ttyS0,115200 mtdparts=nand_mtd:0xa0000@0x0(uboot),0x00010000@0x000a0000(param),32m@0x0(flash) 
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000;
ethmtu=1500
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
uboot_start=0x0
uboot_size=0xa0000
env_start=0xa0000
env_size=0x10000
kernel_start=0xb0000
kernel_size=0x224000
flash_load=run make_boot_args;nand read.e 0x2000000 $(kernel_start) $(kernel_size);nand read.e 0x12000000 $(initrd_start) $(initrd_size);bootm 0x2000000 0x12000000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs $(bootargs)32m@0x0(flash);
mfgmodel=ix4
fw_ver=v1_0_7_213010908
preroot_ver=0.1.5
serial_number=5560Y01011G10400389J0F1
serialno=EUB040B8A1
modelname=31852200
runintime=1200
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
initrd_size=0x2f0000
uboot_ver=v1.1.1
ethaddr=00:d0:b8:13:1d:15
load_uimage=ext2load ide 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load ide 0:1 0x1100000 /boot/uInitrd
sata_boot=ide reset; run load_uimage; run load_uinitrd; bootm 0x800000 0x1100000
bootcmd=run sata_boot
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
initrd_start=0x2d4000
disaMvPnp=no
eth1addr=00:d0:b8:13:1d:16
enaAutoRecovery=yes
pcieTune=no

Environment size: 2165/16380 bytes
Marvell>> md.l 0xF1010000 8
f1010000: 01111111 00003311 33331140 33003333    .....3..@.3333.3
f1010010: 00000033 00000000 00000000 00000000    3...............
Marvell>> md.l 0xF1010100 1
f1010100: 1000d080    ....
Marvell>> md.l 0xF1010140 1
f1010140: 0001000c    ....
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop'
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> 
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
..................................................................................................................................................

5738538 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
.........................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................................................................................................

11127733 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-5.18.6-kirkwood-tld-1
   Created:      2022-08-03  18:44:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5738474 Bytes =  5.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.18.6-kirkwood-tld-1
   Created:      2022-08-03  18:44:18 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11127669 Bytes = 10.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.18.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1.0 PREEMPT Fri Jun 24 15:26:02 PDT 2022
[    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: Iomega ix4-200d
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 488456K/524288K available (11264K kernel code, 1633K rwdata, 4936K rodata, 1024K init, 300K bss, 35832K reserved, 0K cma-reserved)
[    0.000000][    T0] trace event string verifier disabled
[    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.008528][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.016533][    T0] Console: colour dummy device 80x30
[    0.021742][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032968][    T0] pid_max: default: 32768 minimum: 301
[    0.038938][    T0] LSM: Security Framework initializing
[    0.044617][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.052656][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.062833][    T0] CPU: Testing write buffer coherency: ok
[    0.071136][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.079118][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.086218][    T1] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.093448][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.100659][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.106810][    T1] rcu: Hierarchical SRCU implementation.
[    0.113933][    T1] devtmpfs: initialized
[    0.124056][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.134660][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.180512][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.187644][    T1] prandom: seed boundary self test passed
[    0.197481][    T1] prandom: 100 self tests passed
[    0.202294][    T1] pinctrl core: initialized pinctrl subsystem
[    0.210601][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.217968][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.226749][    T1] audit: initializing netlink subsys (disabled)
[    0.234742][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.235142][   T16] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.250404][    T1] cpuidle: using governor ladder
[    0.255262][    T1] cpuidle: using governor menu
[    0.260429][    T1] Feroceon L2: Enabling L2
[    0.264717][    T1] Feroceon L2: Cache support initialised.
[    0.280602][    T1] No ATAGs?
[    0.468665][    T1] raid6: int32x8  gen()   108 MB/s
[    0.638537][    T1] raid6: int32x4  gen()    95 MB/s
[    0.808936][    T1] raid6: int32x2  gen()   141 MB/s
[    0.978721][    T1] raid6: int32x1  gen()    99 MB/s
[    0.983673][    T1] raid6: using algorithm int32x2 gen() 141 MB/s
[    1.158580][    T1] raid6: .... xor() 82 MB/s, rmw enabled
[    1.164050][    T1] raid6: using intx1 recovery algorithm
[    1.170270][    T1] SCSI subsystem initialized
[    1.175354][    T1] usbcore: registered new interface driver usbfs
[    1.181666][    T1] usbcore: registered new interface driver hub
[    1.187702][    T1] usbcore: registered new device driver usb
[    1.193720][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.199380][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.209207][    T1] PTP clock support registered
[    1.215508][    T1] vgaarb: loaded
[    1.219684][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.361680][    T1] VFS: Disk quotas dquot_6.6.0
[    1.366382][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.411060][    T1] NET: Registered PF_INET protocol family
[    1.429873][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.450219][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.459434][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.479768][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.488235][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.509779][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.517106][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.539797][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.547032][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.570044][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.590446][    T1] RPC: Registered named UNIX socket transport module.
[    1.597045][    T1] RPC: Registered udp transport module.
[    1.609706][    T1] RPC: Registered tcp transport module.
[    1.615084][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.639710][    T1] PCI: CLS 0 bytes, default 32
[    1.644651][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.652274][   T30] Trying to unpack rootfs image as initramfs...
[    3.577061][   T30] Freeing initrd memory: 10868K
[    4.245092][    T1] Initialise system trusted keyrings
[    4.250385][    T1] Key type blacklist registered
[    4.255403][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    4.262755][    T1] zbud: loaded
[    4.268227][    T1] NFS: Registering the id_resolver key type
[    4.274111][    T1] Key type id_resolver registered
[    4.278978][    T1] Key type id_legacy registered
[    4.283753][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.291158][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    4.299221][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    4.306686][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    4.314912][    T1] fuse: init (API version 7.36)
[    4.320073][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    4.327480][    T1] orangefs_init: module version upstream loaded
[    4.333631][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    4.441156][    T1] xor: measuring software checksum speed
[    4.455508][    T1]    arm4regs        :  1113 MB/sec
[    4.475309][    T1]    8regs           :   667 MB/sec
[    4.490757][    T1]    32regs          :   947 MB/sec
[    4.495789][    T1] xor: using function: arm4regs (1113 MB/sec)
[    4.501707][    T1] async_tx: api initialized (async)
[    4.506744][    T1] Key type asymmetric registered
[    4.511535][    T1] Asymmetric key parser 'x509' registered
[    4.553962][    T1] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    4.560812][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    4.569017][    T1] io scheduler bfq registered
[    4.762576][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.773063][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    4.783041][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    4.793184][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.803831][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.814547][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: pcie0.0: legacy INTx interrupts cannot be masked individually, /mbus@f1000000/pcie@82000000/pcie@1,0 does not contain intx interrupt
[    4.831984][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.840258][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.846424][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.857276][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.864851][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.871910][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    4.879851][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.886115][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.895170][    T1] pci 0000:01:00.0: [11ab:6121] type 00 class 0x01018f
[    4.901900][    T1] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    4.908160][    T1] pci 0000:01:00.0: reg 0x14: [io  0xf0000008-0xf000000b]
[    4.915128][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    4.921408][    T1] pci 0000:01:00.0: reg 0x1c: [io  0xf0000018-0xf000001b]
[    4.928360][    T1] pci 0000:01:00.0: reg 0x20: [io  0xf0000020-0xf000002f]
[    4.935327][    T1] pci 0000:01:00.0: reg 0x24: [mem 0x40000000-0x400003ff]
[    4.942376][    T1] pci 0000:01:00.0: supports D1
[    4.947067][    T1] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    4.953859][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    4.965374][    T1] PCI: bus1: Fast back to back transfers disabled
[    4.971671][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.978998][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    4.986570][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    4.993632][    T1] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    5.001120][    T1] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    5.008062][    T1] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    5.015031][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    5.022002][    T1] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    5.028945][    T1] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    5.035912][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    5.041575][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    5.048528][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    5.056141][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    5.063601][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.130967][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.142928][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.210886][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.223158][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.231863][    T1] printk: console [ttyS0] disabled
[    5.236896][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    5.246651][    T1] printk: console [ttyS0] enabled
[    5.246651][    T1] printk: console [ttyS0] enabled
[    5.256506][    T1] printk: bootconsole [earlycon0] disabled
[    5.256506][    T1] printk: bootconsole [earlycon0] disabled
[    5.278120][    T1] loop: module loaded
[    5.282964][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    5.292818][    T1] scsi host0: sata_mv
[    5.297615][    T1] scsi host1: sata_mv
[    5.301872][    T1] ata1: SATA max UDMA/133 irq 33
[    5.306698][    T1] ata2: SATA max UDMA/133 irq 33
[    5.312571][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    5.319789][    T1] nand: Samsung NAND 32MiB 3,3V 8-bit
[    5.325052][    T1] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    5.333148][    T1] Scanning device for bad blocks
[    5.651227][   T48] ata1: SATA link down (SStatus 0 SControl F300)
[    5.683348][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[    5.690808][    T1] Creating 3 MTD partitions on "orion_nand":
[    5.696710][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    5.703125][    T1] 0x000000100000-0x000000600000 : "uImage"
[    5.709603][    T1] 0x000000500000-0x000002500000 : "rootfs"
[    5.715368][    T1] mtd: partition "rootfs" extends beyond the end of device "orion_nand" -- size truncated to 0x1b00000
[    5.728420][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    5.737030][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    5.780379][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.001327][   T50] ata2: SATA link down (SStatus 0 SControl F300)
[    6.530904][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:13:1d:15
[    7.300871][    T1] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:d0:b8:13:1d:16
[    7.310527][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.317869][    T1] ehci-pci: EHCI PCI platform driver
[    7.323135][    T1] ehci-orion: EHCI orion driver
[    7.328121][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.334451][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.343110][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.379725][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.386777][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[    7.395818][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.403799][    T1] usb usb1: Product: EHCI Host Controller
[    7.409404][    T1] usb usb1: Manufacturer: Linux 5.18.6-kirkwood-tld-1 ehci_hcd
[    7.416867][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.423101][    T1] hub 1-0:1.0: USB hub found
[    7.427619][    T1] hub 1-0:1.0: 1 port detected
[    7.433240][    T1] usbcore: registered new interface driver usb-storage
[    7.440524][    T1] mousedev: PS/2 mouse device common for all mice
[    7.447985][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.453694][    T1] rtc-mv f1010300.rtc: setting system clock to 2022-08-05T21:56:21 UTC (1659736581)
[    7.463349][    T1] i2c_dev: i2c /dev entries driver
[    7.470098][    T1] device-mapper: uevent: version 1.0.3
[    7.475787][    T1] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[    7.485644][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.492983][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.500366][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.507799][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.514691][    T1] device-mapper: raid: Loading target version 1.15.1
[    7.522222][    T1] hid: raw HID events driver (C) Jiri Kosina
[    7.528453][    T1] drop_monitor: Initializing network drop monitor service
[    7.536125][    T1] NET: Registered PF_INET6 protocol family
[    7.543934][    T1] Segment Routing with IPv6
[    7.548329][    T1] RPL Segment Routing with IPv6
[    7.553246][    T1] In-situ OAM (IOAM) with IPv6
[    7.557989][    T1] NET: Registered PF_PACKET protocol family
[    7.564195][    T1] Key type dns_resolver registered
[    7.570095][    T1] registered taskstats version 1
[    7.574931][    T1] Loading compiled-in X.509 certificates
[    7.581638][    T1] zswap: loaded using pool lzo/zbud
[    7.587416][    T1] Key type ._fscrypt registered
[    7.592246][    T1] Key type .fscrypt registered
[    7.596891][    T1] Key type fscrypt-provisioning registered
[    7.607992][    T1] Key type big_key registered
[    7.644227][    T1] Key type encrypted registered
[    7.719757][   T45] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.747174][  T105] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher
[    7.921495][   T45] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    7.937506][   T45] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.959715][   T45] usb 1-1: Product: USB2.0 Hub
[    7.965465][   T45] hub 1-1:1.0: USB hub found
[    7.979996][   T45] hub 1-1:1.0: 4 ports detected
[    8.309717][   T45] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    8.480741][   T45] usb 1-1.2: New USB device found, idVendor=0781, idProduct=557c, bcdDevice= 1.27
[    8.499707][   T45] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.507757][   T45] usb 1-1.2: Product: Cruzer Orbit
[    8.529705][   T45] usb 1-1.2: Manufacturer: SanDisk
[    8.534702][   T45] usb 1-1.2: SerialNumber: 4C530012311126108485
[    8.550600][   T45] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    8.570262][   T45] scsi host2: usb-storage 1-1.2:1.0
[    9.611704][   T30] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Orbit     1.27 PQ: 0 ANSI: 6
[    9.631410][    T8] sd 2:0:0:0: [sda] 62530624 512-byte logical blocks: (32.0 GB/29.8 GiB)
[    9.650902][    T8] sd 2:0:0:0: [sda] Write Protect is off
[    9.669734][    T8] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.697761][    T8]  sda: sda1
[    9.712520][    T8] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   12.297398][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   12.320567][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.326980][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   13.282913][  T143] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[   13.359589][  T143] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[   13.399809][  T143] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[   13.407528][  T143] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[   13.467943][  T143] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[   13.477953][  T147] usbcore: registered new interface driver uas
[   13.507825][  T143] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[   13.556945][  T143] ahci 0000:01:00.0: flags: 64bit stag led slum part 
[   13.616119][  T143] scsi host3: ahci
[   13.644177][  T143] scsi host4: ahci
[   13.680078][  T143] scsi host5: ahci
[   13.696352][  T143] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 38
[   13.750710][  T143] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 38
[   13.758903][  T143] ata5: DUMMY
[   14.141382][  T152] ata3: SATA link down (SStatus 0 SControl 300)
[   14.481371][  T154] ata4: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... [   14.721320][  T164] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext2 (1) -- /dev/sda1] fsck.ext2 -a -C0 /dev/sda1 
rootfs: clean, 22913/1954064 files, 514579/7815936 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   28.452531][  T369] adt7475 0-002e: ADT7473 device, revision 0
[   28.536402][  T369] adt7475 0-002e: Optional features: fan4 pwm2
[   28.602964][  T373] orion_wdt: Initial timeout 21 sec
[   29.175090][  T376] marvell-cesa f1030000.crypto: CESA device successfully registered
[   29.270531][  T372] sd 2:0:0:0: Attached scsi generic sg0 type 0
done.
Activating swap:.
[   30.469294][  T523] ext2 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff)
[   31.356042][  T119] random: crng init done
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl
.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:d0:b8:13:1d:15
Sending on   LPF/eth0/00:d0:b8:13:1d:15
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1075 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1116 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password: 
Linux debian 5.18.6-kirkwood-tld-1 #1.0 PREEMPT Fri Jun 24 15:26:02 PDT 2022 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.
Last login: Wed Aug  3 15:15:36 PDT 2022 on ttyS0
debian
Iomega ix4-200d
Linux version 5.18.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1.0 PREEMPT Fri Jun 24 15:26:02 PDT 2022
Debian 11.0
Fri Aug 5 15:03:40 PDT 2022 up 7 minutes
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00004000 "u-boot"
mtd1: 00500000 00004000 "uImage"
mtd2: 01b00000 00004000 "rootfs"
root@debian:~#



Edited 1 time(s). Last edit at 08/05/2022 05:05PM by CodeJACK.
Re: Iomega ix4-200d U-boot needed
August 05, 2022 05:53PM
Hi CodeJACK,

Most everything looks good. Except,

[    5.683348][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[    5.690808][    T1] Creating 3 MTD partitions on "orion_nand":
[    5.696710][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    5.703125][    T1] 0x000000100000-0x000000600000 : "uImage"
[    5.709603][    T1] 0x000000500000-0x000002500000 : "rootfs"
[    5.715368][    T1] mtd: partition "rootfs" extends beyond the end of device "orion_nand" -- size truncated to 0x1b00000
[    5.728420][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.

This looks like a bug in my DTS from way back :)

So try,

Add this env:
setenv mtdparts 'mtdparts=orion_nand:0x100000@0x0(u-boot),0x0500000@0x100000(uImage),-(rootfs)"
Adjust this env
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'

And boot, this time we only need to see in Debian:
dmesg
cat /proc/mtd

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 05, 2022 08:07PM
Hi CodeJACK,

Quote

Most everything looks good. Except,

[ 5.683348][ T1] 3 fixed-partitions partitions found on MTD device orion_nand
[ 5.690808][ T1] Creating 3 MTD partitions on "orion_nand":
[ 5.696710][ T1] 0x000000000000-0x000000100000 : "u-boot"
[ 5.703125][ T1] 0x000000100000-0x000000600000 : "uImage"
[ 5.709603][ T1] 0x000000500000-0x000002500000 : "rootfs"
[ 5.715368][ T1] mtd: partition "rootfs" extends beyond the end of device "orion_nand" -- size truncated to 0x1b00000
[ 5.728420][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.

This looks like a bug in my DTS from way back :)

So try,

Add this env:
setenv mtdparts 'mtdparts=orion_nand:0x100000@0x0(u-boot),0x0500000@0x100000(uImage),-(rootfs)"
Adjust this env
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'

And boot, this time we only need to see in Debian:
dmesg
cat /proc/mtd

Note that I still need to see the output above.

===========================

But here is the new u-boot initial version (see attached).

kwboot with this new u-boot, hopefully will boot to the countdown and not crashing :)

And then do some tests.

Test Ethernet (with cable connect to eth0, i.e port 0)
setenv ipaddr  <your box static ip address>   # choose some IP addr appropriate for your box
setenv serverip <your router IP address>
ping $serverip

Test storage devices
usb reset
usb part
sata init
sata part

Get somemore info

bdinfo
pimux status -a
mtdparts

Please capture everything (verbatim) and post the log here. I'd like to see if there is errors.

And then you can reset to boot back to stock u-boot.
reset

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 08/05/2022 08:10PM by bodhi.
Attachments:
open | download - uboot.2022.10-tld-0.1.ix4_200d.mtd0.kwb (512 KB)
Re: Iomega ix4-200d U-boot needed
August 06, 2022 11:57AM
Cant get this ones accepted:

Marvell>> setenv mtdparts 'mtdparts=orion_nand:0x100000@0x0(u-boot),0x0500000@0x100000(uImage),-(rootfs)'
Unknown command 'setenv' - try 'help'
Marvell>> setenv mtdparts
Marvell>> 
Unknown command '' - try 'help'
Marvell>> setenv mtdparts 'orion_nand:0x100000@0x0(u-boot),0x0500000@0x100000(uImage),-(rootfs)'
Unknown command 'setenv' - try 'help'
Marvell>> 
Marvell>> setenv mtdparts 'nand_mtd:0x100000@0x0(uboot),0x0500000@0x100000(uImage),-(rootfs)"
Unknown command 'setenv' - try 'help'
Marvell>> setenv mtdparts 'nand_mtd:0x100000@0x0(uboot),0x0500000@0x100000(uImage), (rootfs)"
Unknown command 'setenv' - try 'help'
Marvell>> 
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'
Unknown command 'setenv' - try 'help'
Marvell>> 

Re: Iomega ix4-200d U-boot needed
August 06, 2022 12:06PM
Booting the new u-boot does not bring up the eth ports. Link lights are on but no ping as seen below. I tried reverting the eth interface settings and setting my actual MAC but still nothing:
U-Boot 2022.10-rc1-00212-g80e1491a03-dirty (Aug 05 2022 - 17:36:30 -0700)
Lenovo-ix4-200d

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
Core:  12 devices, 9 uclasses, devicetree: separate
NAND:  32 MiB
MMC:   
Loading Environment from NAND... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000, eth1: ethernet-controller@76000
Hit any key to stop autoboot:  0 
=> printenv
baudrate=115200
bootcmd=${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootdelay=10
eth1addr=00:d0:b8:13:1d:16
ethact=egiga0
ethaddr=00:d0:b8:13:1d:15
fdtcontroladdr=1fb56ac0
ipaddr=xxxxxxxxxxxxxx
loadaddr=0x800000
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000@0x0(u-boot),0x0500000@0x100000(uImage),-(rootfs)
serverip=xxxxxxxxxxxxxxxx
stderr=serial
stdin=serial
stdout=serial
x_bootargs=console=ttyS0,115200 mtdparts=mtdparts=orion_nand:0x100000@0x0(u-boot),0x0500000@0x100000(uImage),-(rootfs)x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000
x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2
x_bootcmd_usb=usb start

Environment size: 683/131068 bytes
=> ping xxxxxxxxxxxx
ethernet-controller@72000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Using ethernet-controller@72000 device

ARP Retry count exceeded; starting again
ping failed; host xxxxxxxxxxx is not alive
=>



Edited 2 time(s). Last edit at 08/06/2022 02:30PM by CodeJACK.
Re: Iomega ix4-200d U-boot needed
August 06, 2022 03:06PM
setenv ipaddr  <your box static ip address>   # choose some IP addr appropriate for your box
setenv serverip <your router IP address>
ping $serverip

IP address such as 192.168.0.100 if your router is 192.168.0.1. No need to blank out these numbers. And the 100 in 192.168.0.100 could be any valid number range 2--255.

setenv ipaddr  192.168.0.100
setenv serverip 192.168.0.1
ping 192.168.0.1

ethaddr and eth1addr are are the box MAC addresses, should be blanked out for privacy.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
August 06, 2022 03:10PM
CodeJACK,

Strange, you've used setenv before in stock u-boot as shown above.

Quote

Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
Marvell>> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
Marvell>> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
Marvell>> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
Marvell>> setenv bootcmd 'usb start; run usb_bootcmd; usb stop'
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>>
Marvell>> boot
(Re)start USB...

-bodhi
===========================
Forum Wiki
bodhi's corner
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: