[U-Boot] [PATCH] uniphier: increase the firmware size in update command environment

Masahiro Yamada yamada.masahiro at socionext.com
Fri Feb 2 05:16:36 UTC 2018


If a bigger EL32 is used, fip.bin can be larger than the currently
assumed boot firmware size.  Adjust the update commands.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 include/configs/uniphier.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 5ab06f6..920e9b6 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -197,17 +197,17 @@
 		"tftpboot $second_image && " \
 		"mmc write $loadaddr 0 100 && " \
 		"tftpboot $third_image && " \
-		"mmc write $loadaddr 100 700\0" \
+		"mmc write $loadaddr 100 f00\0" \
 	"nandupdate=nand erase 0 0x00100000 &&"			\
 		"tftpboot $second_image && " \
 		"nand write $loadaddr 0 0x00020000 && " \
 		"tftpboot $third_image && " \
-		"nand write $loadaddr 0x00020000 0x000e0000\0" \
+		"nand write $loadaddr 0x00020000 0x001e0000\0" \
 	"usbupdate=usb start &&" \
 		"tftpboot $second_image && " \
 		"usb write $loadaddr 0 100 && " \
 		"tftpboot $third_image && " \
-		"usb write $loadaddr 100 700\0" \
+		"usb write $loadaddr 100 f00\0" \
 	BOOT_IMAGES \
 	LINUXBOOT_ENV_SETTINGS
 
-- 
2.7.4



More information about the U-Boot mailing list