From patchwork Thu Dec 3 23:18:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Schiele X-Patchwork-Id: 552488 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 2BF0614029E for ; Fri, 4 Dec 2015 10:35:21 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 66FE74B635; Fri, 4 Dec 2015 00:35:17 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sUnna1_bRUic; Fri, 4 Dec 2015 00:35:17 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B45B44B652; Fri, 4 Dec 2015 00:35:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0FE924B652 for ; Fri, 4 Dec 2015 00:35:11 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3yClXUpXaqsG for ; Fri, 4 Dec 2015 00:35:10 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by theia.denx.de (Postfix) with ESMTPS id 2A0914B635 for ; Fri, 4 Dec 2015 00:35:06 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a4dOy-0004ri-U1 for u-boot@lists.denx.de; Fri, 04 Dec 2015 00:35:04 +0100 Received: from hsi-kbw-046-005-023-086.hsi8.kabel-badenwuerttemberg.de ([46.5.23.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 00:35:04 +0100 Received: from js by hsi-kbw-046-005-023-086.hsi8.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Dec 2015 00:35:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: u-boot@lists.denx.de From: Joachim Schiele Date: Fri, 4 Dec 2015 00:18:12 +0100 Lines: 35 Message-ID: <5660CDB4.4050207@lastlog.de> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-046-005-023-086.hsi8.kabel-badenwuerttemberg.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Subject: [U-Boot] [PATCH] ARMv7l: fix MAX_TFTP_PATH_LEN size for nixos compatibility X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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