From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joachim Schiele Date: Fri, 4 Dec 2015 00:18:12 +0100 Subject: [U-Boot] [PATCH] ARMv7l: fix MAX_TFTP_PATH_LEN size for nixos compatibility Message-ID: <5660CDB4.4050207@lastlog.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hey, i've been using the master branch of u-boot on the odroid xu4 now! i had to write this patch in order to make it work with NIXOS. would be great if you could apply it. please review it, not 100% sure if it is correct. best wishes, joachim MAX_TFTP_PATH_LEN-increase.patch A patch to make NixOS on the Odroid XU4 booting with U-Boot/extlinux possible. If not applied U-Boot can't process the long string: FDTDIR ../nixos/ccn1vfjww519c56wy8jkc0p6acw4asf3-linux-4.2.0-5eb40d45b291ee129cbfac2073f1ca7aa32ff4c5-dtbs/exynos5422-odroidxu4.dtb --- diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index 080b376..67dd647 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -19,7 +19,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