[U-Boot] [PATCH] cmd: pxe: Increase maximum path length

Ben Wolsieffer benwolsieffer at gmail.com
Thu Nov 28 05:07:08 UTC 2019


On NixOS, cross compiled kernels have long suffixes that cause them to
exceed the current maximum path length. The PXE/TFTP max path length is
used for extlinux.conf support as well, which is where this problem
usually manifest's itself.

Signed-off-by: Ben Wolsieffer <benwolsieffer at gmail.com>
---
 cmd/pxe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/pxe.c b/cmd/pxe.c
index 2059975446..744cd82730 100644
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -21,7 +21,7 @@
 #include "menu.h"
 #include "cli.h"
 
-#define MAX_TFTP_PATH_LEN 127
+#define MAX_TFTP_PATH_LEN 512
 
 const char *pxe_default_paths[] = {
 #ifdef CONFIG_SYS_SOC
-- 
2.24.0



More information about the U-Boot mailing list