From b2e5014af5a4fe773b8bf1dd1a3fef31214eb4a7 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Thu, 27 Dec 2018 13:53:04 -0600 Subject: [PATCH] board/lego/ev3: fix max U-Boot flash size 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 Signed-off-by: Thomas Petazzoni --- 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"