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

Frank Wunderlich frank-w at public-files.de
Fri Dec 21 11:48:02 UTC 2018


have done it now this way:

U-Boot> printenv lstftp
lstftp=tftp ${loadaddr} ${serverip}:files.lst;setexpr listend ${loadaddr} + ${filesize};mw.b ${listend} 00 2;md.b ${loadaddr} 60;strings ${loadaddr};

strings-command needs 2 0-bytes to break.

files.lst is a simple textfile on tftp-server which will be created on server by script (ls -1)

thanks to all who helped

regards Frank


More information about the U-Boot mailing list