pxe get derives the pxelinux config file name from the bootfile name, but the bootfile itself is never used and might not even exist. Disable bootfile autoload to avoid the delay.
Signed-off-by: Stefan Brüns <stefan.bru...@rwth-aachen.de> --- include/config_distro_bootcmd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 66264ce..c9d4b25 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -176,7 +176,9 @@ #define BOOTENV_DEV_PXE(devtypeu, devtypel, instance) \ "bootcmd_pxe=" \ BOOTENV_RUN_USB_INIT \ - "dhcp; " \ + "env exists autoload && setenv autoload_save ${autoload}; " \ + "setenv autoload no; dhcp; " \ + "env exists autoload_save && setenv autoload ${autoload_save}; " \ "if pxe get; then " \ "pxe boot; " \ "fi\0" -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot