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

Bajjuri, Praneeth praneeth at ti.com
Tue Feb 21 20:05:54 UTC 2017



On 2/21/2017 1:51 PM, Sam Protsenko wrote:
> 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>
Verified
Signed-off-by: Praneeth Bajjuri <praneeth at ti.com>
> ---
>   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};" \



More information about the U-Boot mailing list