Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: David Lechner <david@lechnology.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] board/lego/ev3: fix max U-Boot flash size
Date: Thu, 27 Dec 2018 13:53:04 -0600	[thread overview]
Message-ID: <20181227195305.5329-3-david@lechnology.com> (raw)
In-Reply-To: <20181227195305.5329-1-david@lechnology.com>

The first stage bootloader on LEGO MINDSTORMS EV3 only loads the first
256K of the flash memory (this is hard-coded in an EEPROM). So, the
second stage bootloader (U-Boot) cannot exceed this size.

Signed-off-by: David Lechner <david@lechnology.com>
---
 board/lego/ev3/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/lego/ev3/genimage.cfg b/board/lego/ev3/genimage.cfg
index 3da3048d8d..65d9714650 100644
--- a/board/lego/ev3/genimage.cfg
+++ b/board/lego/ev3/genimage.cfg
@@ -16,7 +16,7 @@ image flash.bin {
 	flashtype = "nor-16M-256"
 	partition uboot {
 		image = "u-boot.bin"
-		size = 320K
+		size = 256K
 	}
 	partition uimage {
 		image = "uImage.da850-lego-ev3"
-- 
2.17.1

  parent reply	other threads:[~2018-12-27 19:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-27 19:53 [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 kernel 4.19 update David Lechner
2018-12-27 19:53 ` [Buildroot] [PATCH 1/3] linux-firmware: Add config option for TI CC2560(A) Bluetooth module David Lechner
2018-12-27 19:53 ` David Lechner [this message]
2019-01-18 13:09   ` [Buildroot] [PATCH 2/3] board/lego/ev3: fix max U-Boot flash size Peter Korsgaard
2018-12-27 19:53 ` [Buildroot] [PATCH 3/3] board/lego/ev3: Update to Linux kernel 4.19 and U-Boot 2018.11 David Lechner
2018-12-28 10:50 ` [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 kernel 4.19 update Thomas Petazzoni

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=20181227195305.5329-3-david@lechnology.com \
    --to=david@lechnology.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox