[U-Boot] [PATCH] arm: am57xx: Update bootloader partition size

Sam Protsenko semen.protsenko at linaro.org
Tue Feb 21 19:51:24 UTC 2017


From: Praneeth Bajjuri <praneeth at ti.com>

The current size of u-boot is already ~840 KiB.

This patch is to increase bootloader partition size up to 1 MiB
and thereby fix flashing error like below:

    sending 'bootloader' (840 KB)...
    OKAY [  0.048s]
    writing 'bootloader'...
    FAILED (remote: too large for partition)

Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
---
 include/configs/am57xx_evm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 3d8b996054..aa63b24ca4 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -45,7 +45,7 @@
 	"partitions_android=" \
 	"uuid_disk=${uuid_gpt_disk};" \
 	"name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
-	"name=bootloader,size=768K,uuid=${uuid_gpt_bootloader};" \
+	"name=bootloader,size=1M,uuid=${uuid_gpt_bootloader};" \
 	"name=environment,size=128K,uuid=${uuid_gpt_environment};" \
 	"name=misc,size=128K,uuid=${uuid_gpt_misc};" \
 	"name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \
-- 
2.11.0



More information about the U-Boot mailing list