All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joachim Schiele <js@lastlog.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARMv7l: fix MAX_TFTP_PATH_LEN size for nixos compatibility
Date: Fri, 4 Dec 2015 00:18:12 +0100	[thread overview]
Message-ID: <5660CDB4.4050207@lastlog.de> (raw)

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

                 reply	other threads:[~2015-12-03 23:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5660CDB4.4050207@lastlog.de \
    --to=js@lastlog.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.