Welcome! Log In Create A New Profile

Advanced

Lenovo IX2 stucks at "Starting kernel"

Posted by archycho 
Lenovo IX2 stucks at "Starting kernel"
November 12, 2021 03:23AM
Hello , I am new to ARM linux , I have a Lenovo IX2 box and try to install new version of OS rather than the stock firmware.
I try to follow the guide https://kiljan.org/2021/04/22/installing-arch-linux-arm-on-an-iomega-ix2-200 with no luck ,
after that I found the information from https://forum.doozan.com/read.php?2,12096 , and I have follow the instruction with
Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 , and getting the same result , which stucks at "Starting kernel......"

My uboot information :

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

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

U-Boot 1.1.4 (Mar 7 2014 - 17:48:23) 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


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: 3  0

#######################################################

and here is the boot log from TTL:

printenv

baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
ethact=egiga0
console=console=ttyS0,115200
bootargs_mtd=mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
kernelimage=zImage
initrdimage=mfginitrd
ipaddr=192.168.1.2
mfgmodel=ix2
preroot_ver=0.0.2
fw_ver=4.1.102.29716
uboot_ver=0.0.9
serial_number=5563Y01001G5080023FJ0E1
serialNo=1S70A69001APS10008UM
modelname=70A69001AP
serialno=0,012ngM+0059V+eSTH5R/bNir9YF8rjO2bFX4JTfvBNFXEvmx7a99UmupGXRNcRcu2k,1S70A69001APS10008UM,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
pre_path=IX2/1.1.1/download_runin.sh
pre_path_conf=IX2/1.1.1/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX2/1.1.1
serverip=192.168.32.4
mfgtest_state=runin_tested_ok
bootcmd_usb=usb reset; run usb_scan; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000 run bootcmd_usb
sata_load_disk2=ext2load ide 1:1 ${memoffset_kernel} /uImage; ext2load ide 1:1 ${memoffset_initrd} /uInitrd
cust_boot=ide reset; run sata_load_disk1; run bootlinux
ethaddr=00:D0:B8:28:9D:6F
bootargs_root=root=/dev/ram0
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; bootm 0x40000 0x900000;
load_initrd=ext2load usb 0:1 0x1100000 /uInitrd
filesize=9391B3
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootfstype=ext4 rootdelay=10 earlyprintk=serial mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
load_uimage=ext2load usb 0:1 0x800000 /uImage
load_uinitrd=ext2load usb 0:1 0x2100000 /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: 2816/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
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.....................................................................................................................

5447636 bytes read
....
.
......
............
.........................
...................................................
................................................................................................
............................................................................................................................................................................................................
....
....................................................................................................................................................................................................................................................................................................................................................................................................................
....
........................................................................................................................

9671091 bytes read
## Booting image at 00800000 ...
Image Name: Linux-5.13.6-kirkwood-tld-1
Created: 2021-11-12 9:01:50 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5447572 Bytes = 5.2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
Image Name: initramfs-5.13.6-kirkwood-tld-1
Created: 2021-11-12 8:47:19 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 9671027 Bytes = 9.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK

Starting kernel ...

#######################################################
From the post https://forum.doozan.com/read.php?2,12096
both 4a and 4b tried , with no success.

Thanks for any advise.

#######################################################
PS: I could go back to stock firmware if I restore back the hard drive with exported env.
My Lenovo IX2 has no NAND flash ( it seems some difference with I google around , but I think it should not a problem to boot a Debian )
I try to change USB to SATA drive as installer media have the same result (modified the boot envs , the uImage and uInitrd loaded ),
change 4 difference USB drive getting same result.



Edited 2 time(s). Last edit at 11/12/2021 03:41AM by archycho.
Re: Lenovo IX2 stucks at "Starting kernel"
November 12, 2021 05:32AM
Hello

Sorry for my mistake , I use wrong dts "kirkwood-iomega_ix2_200.dtb" and now replace with "kirkwood-lenovo-ix2-ng.dtb" , it boots up now , I will try to go forward for the hard drive installation process , thanks all.
Re: Lenovo IX2 stucks at "Starting kernel"
November 12, 2021 02:54PM
Cool! glad you've figured out the problem. These Iomeg/Lenovo all have similar sounding names!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Lenovo IX2 stucks at "Starting kernel"
November 12, 2021 05:19PM
Thanks for your great work and let me feel happy for hacking :)
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: