|
Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 03, 2025 11:48AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 03, 2025 11:27PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 04, 2025 01:24PM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 08, 2025 08:42AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 08, 2025 09:55AM |
Admin Registered: 14 years ago Posts: 19,920 |
printenv bootAnd post the entire serial console log here.
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 09, 2025 07:32AM |
Registered: 8 months ago Posts: 39 |
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** ix2-spi ** ** uboot_ver:0.0.8 **
** MARVELL BOARD: DB-88F6282A-BP LE
U-Boot 1.1.4 (Oct 28 2011 - 15:18:22) Marvell version: 3.6.1 - EMC
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CD5A0
Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz
DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Found ADT7473, program PWM1 ... OK
[1024kB@f8000000] Flash: 1 MB
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (5)
Device 0 @ 0 0:
Model: WDC WD10EZEX-08WN4A0 Firm: 01.01A01 Ser#: WD-WCC6Y4VEC00F
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
[0 1 0]: Enable DMA mode (6)
Device 1 @ 0 1:
Model: HGST HTS721010A9E630 Firm: JB0OA3T0 Ser#: JR1000D33KPNWE
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
CPU : Marvell Feroceon (Rev 1)
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>> 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 reset; run usb_bootcmd; usb stop; reset'
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
console=console=ttyS0,115200
bootargs_mtd=mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
kernelimage=zImage
initrdimage=mfginitrd
mfgmodel=ix2
preroot_ver=0.0.2
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; bootm 0x40000 0x900000;
uboot_ver=0.0.8
serial_number=5563Y01001G4320083EJ0D1
serialNo=SM10G7863443400111
modelname=SM10G78634
fw_ver=4.1.102.29716
serialno=0,01iQUgmEgoSup48AcUcuhp7qoS4kj/JmiFVfPP7pDVHIznMMjOVecBwbxJkWn0AOOH,SM10G7863443400111,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
pre_path=IX2/1.1.0/download_runin.sh
pre_path_conf=IX2/1.1.0/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX2/1.1.0
serverip=192.168.32.4
ethaddr=AA:00:00:00:00:01
arcNumber=1682
bootargs_console=console=ttyS0,115200
bootargs_mtdparts=mtdparts=orion_nand:640k(u-boot)ro,16k(u-boot-env),-(iomega-firmware)ro
bootargs_root=root=LABEL=ROOT rw
memoffset_kernel=0x01000000
memoffset_initrd=0x08004000
bootargs_combine=setenv bootargs ${bootargs_console} ${bootargs_mtdparts} ${bootargs_root}
bootlinux=bootm ${memoffset_kernel} ${memoffset_initrd}
usb_load_firstdevice=ext2load usb 0:1 ${memoffset_kernel} /uImage; ext2load usb 0:1 ${memoffset_initrd} /uInitrd
usb_load=run bootargs_combine; usb reset; run usb_load_firstdevice; run bootlinux
sata_load_disk1=ext2load ide 0:1 ${memoffset_kernel} /uImage; ext2load ide 0:1 ${memoffset_initrd} /uInitrd
sata_load_disk2=ext2load ide 1:1 ${memoffset_kernel} /uImage; ext2load ide 1:1 ${memoffset_initrd} /uInitrd
sata_load=run bootargs_combine; ide reset; run sata_load_disk1; run sata_load_disk2; run bootlinux
bootargs=console=ttyS0,115200 mtdparts=orion_nand:640k(u-boot)ro,16k(u-boot-env),-(iomega-firmware)ro root=LABEL=ROOT rw
ipaddr=192.168.178.100
ethact=egiga0
load_initrd=ext2load usb 0:1 0x2100000 /uInitrd
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd=usb reset; run usb_bootcmd; usb stop; reset
Environment size: 3235/4091 bytes
Marvell>> boot
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
..................................................................................................................................................................................................
6235900 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................................................................................................
5791271 bytes read
## Booting image at 00800000 ...
Image Name: Linux-6.5.7-kirkwood-tld-1
Created: 2025-03-08 14:28:17 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6235836 Bytes = 5.9 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
Image Name: initramfs-6.5.7-kirkwood-tld-1
Created: 2023-10-31 22:53:55 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5791207 Bytes = 5.5 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 09, 2025 11:45PM |
Admin Registered: 14 years ago Posts: 19,920 |
Quote
https://forum.doozan.com/read.php?2,12096
4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage
sync
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 10, 2025 01:38AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 10, 2025 08:16AM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 10, 2025 09:57AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 10, 2025 11:43PM |
Admin Registered: 14 years ago Posts: 19,920 |
usb start usb start
usb reset usb reset
usb infoand then go ahead and boot like you did.
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 11, 2025 12:41PM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 12, 2025 04:07AM |
Admin Registered: 14 years ago Posts: 19,920 |
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'And then
boot
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 12, 2025 04:52PM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 13, 2025 12:20AM |
Admin Registered: 14 years ago Posts: 19,920 |
usb start sleep 3 usb info usb part ext2ls usb 0:1 /boot
setenv bootcmd 'run usb_bootcmd; usb stop; reset' boot
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 13, 2025 10:56AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 14, 2025 12:05AM |
Admin Registered: 14 years ago Posts: 19,920 |
> usb start > sleep 3 > usb info > usb part > ext2ls usb 0:1 /boot >>
help usb start echo Waiting for all USB drives to spin up.................................................. ; ext2ls usb 0:1 /boot
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 14, 2025 10:28AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 14, 2025 10:30AM |
Registered: 7 years ago Posts: 264 |
Marvell>> ext2ls usb 0:1 /boot <DIR> 4096 . <DIR> 4096 .. 6223880 zImage-6.5.7-kirkwood-tld-1 8557164 linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb 6223880 vmlinuz-6.5.7-kirkwood-tld-1 5791271 uInitrd 5791207 initrd.img-6.5.7-kirkwood-tld-1 <DIR> 4096 dts 198312 config-6.5.7-kirkwood-tld-1 4543778 System.map-6.5.7-kirkwood-tld-1 6236933 zImage.fdt 6235900 uImage.orig
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 14, 2025 11:20AM |
Admin Registered: 14 years ago Posts: 19,920 |
Marvell>> boot (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found ## Booting image at 00800000 ... Image Name: Linux-6.5.7-kirkwood-tld-1 Created: 2025-03-08 14:28:17 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6235836 Bytes = 5.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-6.5.7-kirkwood-tld-1 Created: 2023-10-31 22:53:55 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5791207 Bytes = 5.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ...
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 15, 2025 10:38AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 15, 2025 10:54AM |
Admin Registered: 14 years ago Posts: 19,920 |
Quote
4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-lenovo-ix2-ng.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage
sync
If your Linux box does not have mkimage, then install it
apt-get install u-boot-tools
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 08:09AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 08:13AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 08:14AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 08:19AM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 11:33AM |
Admin Registered: 14 years ago Posts: 19,920 |
root@archiso /mnt/boot # mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage ^C 130 root@archiso /mnt/boot # ls System.map-6.5.7-kirkwood-tld-1 uImage.orig config-6.5.7-kirkwood-tld-1 uInitrd dts vmlinuz-6.5.7-kirkwood-tld-1 initrd.img-6.5.7-kirkwood-tld-1 zImage.fdt linux-headers-6.5.7-kirkwood-tld-1_1_armel.deb zImage-6.5.7-kirkwood-tld-1 uImage root@archiso /mnt/boot # sync root@archiso /mnt/boot # umount /mnt umount: /mnt: target is busy. 32 root@archiso /mnt/boot # umount /mnt umount: /mnt: target is busy. 32 root@archiso /mnt/boot #
cd /
[ 18.866979][ T180] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem [ 18.930224][ T180] EXT4-fs (sdc1): mounted filesystem 200d8649-5760-4fff-b27f-bcb70b904b65 ro with ordered data mode. Quota mode: none. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. mount: mounting /run on /root/run failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 03:40PM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 03:47PM |
Registered: 8 months ago Posts: 39 |
|
Re: Arch Linux on Lenovo ix2 NAS stuck at Starting kernel March 16, 2025 04:52PM |
Registered: 8 months ago Posts: 39 |