[U-Boot] list files on tftp / large kernel-image

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Wed Nov 14 15:34:14 UTC 2018


On 14.11.2018 16:24, Frank Wunderlich wrote:
> Hi,
>
> is it possible to list files on tftp so i can write a script to let user select kernel-image to load?

Unless I'm mistaken, the tftp protocol does not support file listing.

> have anybody tried to load a kernelimage larger than 20MB?

We are successfully loading FIT images of > ~26 MByte via tftp 
(containing Kernel, FPGA and Initrd) without problems.

> i use dnsmasq as tftp and uboot 2014-version (because 2018-11 für mt7623 currently has no ethernetdriver).

I'm using current mainline, of course. Things might have changed in the 
last 4 years... ;-)

Simon

> If kernelimage is larger than ~20MB loading file hangs...tried setting blocksize, but it's the same behaviour, only more/less #-symbols. I don't know how much data is loaded, because there is loadedbytes-counter (i only can count the # and multiply with blocksize if i know it). do i have any chance to debug that or is this already known/fixed?
>
> regards Frank
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot




More information about the U-Boot mailing list