Welcome! Log In Create A New Profile

Advanced

tfttboot hangs on Stora

Posted by obrador 
tfttboot hangs on Stora
October 13, 2021 01:20PM
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
Re: tfttboot hangs on Stora
October 13, 2021 01:38PM
Sorry to bother. I think I solved the issue changing the addresses to 0x2000000 and 0x8000000 (one more zero). Now uImage and uImitrd are loading fine.

Now I have to learn how to boot debian or debian installer. I would like to try a network booting first, any help page that I can take a look? most of articles are quite old, I have'nt found a recent page that explains how to boot debian from tftp. I tried this from here: How to install Debian on Stora but it didn't work:

setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most
bootm 0x200000 0x800000

with no result.

Thanks
Re: tfttboot hangs on Stora
October 13, 2021 07:23PM
Re: tfttboot hangs on Stora
October 14, 2021 11:58AM
Thanks a lot bodhi. Finally I decided to try with an USB pen with excellents results, following this guide: HowTo: Stora - Debian Stretch and OMV4

I'm now at the step of configuring RAID1.

Many thanks for the great job you are doing in this forum.
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: