Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 902

tfttboot hangs on Stora (3 replies)

$
0
0
Hi everyone. I try to install debian on my old Netgear Stora. I followed instructions from many sites, but now I'm stuck.

I've built the uImage for my Stora from Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2, Basically, after unpacking the bz2 I did this:

# cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt
# cat dts/kirkwood-netgear_stora_ms2000.dtb >> zImage.fdt
# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
Image Name:   Linux-5.2.9-kirkwood-tld-1
Created:      Wed Oct 13 20:10:21 2021
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4975115 Bytes = 4858.51 KiB = 4.74 MiB
Load Address: 00008000
Entry Point:  00008000

After that, I moved uImage and uInitrd into /srv/tftp just to try if stora could load the files from tftp-server.

I also configured stora through serial connection:

setenv mainlineLinux yes
setenv arcNumber 2743
setenv ipaddr 192.168.10.80
setenv serverip 192.168.10.10
saveenv
reset

All Ok... but here come's the problem: tftpboot hangs after this 13 hashtag lines. Never come's alive.

Marvell>> tftpboot 0x200000 uImage
egiga1 no link
Using egiga0 device
TFTP from server 192.168.10.10; our IP address is 192.168.10.80
Filename 'uImage'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################################

Here's the output of printenv

Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
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;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
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
loidaddr=0x02000000
autoload=no
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
mainlineLiNux=no
fw_up=disable
ethaddr=00:26:F2:7E:74:6A
loadaddr=0x02000000
arcNumber=2743
ipaddr=192.168.10.80
serverip=192.168.10.10
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
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1

Environment size: 1279/131068 bytes

Thanks in advance!
Jaume

Viewing all articles
Browse latest Browse all 902

Trending Articles