I'd like to have a boot cmd which says "if my test server is there, download uImage from it, otherwise boot from the MMC card."
I can do that by starting with a ping, and waiting for it to fail, but it takes 10 seconds, which is way too much to add to the normal boot process. The timeout appears to be set by a line in net.h reading NetSetTimeout (10UL * CFG_HZ, PingTimeout); Questions then: Is there a better way to quickly check for the presence of a server? Actually trying TFTP seems to take even longer. Would it be a good enhancement to u-boot to have an environment variable which changes the ping timeout when it exists? David Collier www.dexdyne.com _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot