[U-Boot] Conditional boot
Anatolij Gustschin
agust at denx.de
Sun Oct 26 16:54:50 CET 2014
Hi Marco,
On Thu, 23 Oct 2014 15:44:12 +0200
Marco Pavanelli <marco.pavanelli at servizist.it> wrote:
> I have learnt that with u-boot you can boot from different sources and in
> fact that works, but what I would like to achieve is to TRY FIRST booting
> from a network (tftp+nfs) and if it fails carry on to FLASH+SD.
> I have managed to boot both from tftp+nfs and from FLASH+SD but so far I
> have not been able to do it conditionally.
try with a custom bootscript, for more info please see
http://www.denx.de/wiki/view/DULG/CommandLineParsing
> In fact when I try to boot form tftp with a disconnected cable, the sysem
> keeps retrying forever with TFTP.
set the "netretry" variable to "no":
setenv netretry no
saveenv
and try again.
HTH,
Anatolij
More information about the U-Boot
mailing list