arm: dra7xx: Extend bootloader partition
PATCH 1/1 arm: dra7xx: Extend bootloader partition
With FIT images support enabled, u-boot.img size increases up to 612 KiB. Extend "bootloader" partition size accordingly.
With extended "bootloader" partition there is no gap between "misc" and "efs" partitions anymore. Keep "efs" partition alignment intact anyway (start=1280K), so that Android partitions addresses are compatible with older versions of u-boot, while size of rest partitions can be adjusted.
--- include/configs/dra7xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/dra7xx_evm.h +1 -1
@@ -56,7 +56,7 @@"partitions_android=" \"uuid_disk=${uuid_gpt_disk};" \"name=xloader,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \ -"name=bootloader,size=384K,uuid=${uuid_gpt_bootloader};" \ +"name=bootloader,size=768K,uuid=${uuid_gpt_bootloader};" \"name=environment,size=128K,uuid=${uuid_gpt_environment};" \"name=misc,size=128K,uuid=${uuid_gpt_misc};" \"name=efs,start=1280K,size=16M,uuid=${uuid_gpt_efs};" \
Signature · 1 line
2.8.0.rc3
PATCH 1/1 arm: dra7xx: Extend bootloader partition
Quoted 9 lines · Sam Protsenko
With FIT images support enabled, u-boot.img size increases up to 612 KiB. Extend "bootloader" partition size accordingly.
With extended "bootloader" partition there is no gap between "misc" and "efs" partitions anymore. Keep "efs" partition alignment intact anyway (start=1280K), so that Android partitions addresses are compatible with older versions of u-boot, while size of rest partitions can be adjusted.
Signed-off-by Sam Protsenko <[email protected]>
That's... really huge. Is there something else that can perhaps come out to allow that to fit in? Can you share the rest of the config? I'm not seeing anything close to that by default here. And I bring this up because...
Quoted 9 lines
--- include/configs/dra7xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/dra7xx_evm.h +0
-0
include/configs/dra7xx_evm.h line 62
Quoted 8 lines
include/configs/dra7xx_evm.h +1
-1@@ -56,7 +56,7 @@"partitions_android=" \"uuid_disk=${uuid_gpt_disk};" \"name=xloader,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \ -"name=bootloader,size=384K,uuid=${uuid_gpt_bootloader};" \ +"name=bootloader,size=768K,uuid=${uuid_gpt_bootloader};" \"name=environment,size=128K,uuid=${uuid_gpt_environment};" \"name=misc,size=128K,uuid=${uuid_gpt_misc};" \"name=efs,start=1280K,size=16M,uuid=${uuid_gpt_efs};" \
Given the problem with compatibility with other systems, I think we need to have xloader-a and xloader-b, or to make the names still be compatible:
"uuid_disk=${uuid_gpt_disk};" \
"name=xloader-b,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \
"name=xloader,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \
"name=bootloader,size=512K,uuid=${uuid_gpt_bootloader};" \So that the first xloader is written to what the ROM considers the 3rd try location. If dra7xx won't actually try from that (I can't easily test right this moment) then we need another misc inbetween xloader @ 128KiB in and u-boot @ 386KiB in so that the U-Boot location is compatible with the non-Android option.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160427/0ed2b08b/attachment.sig>
PATCH 1/1 arm: dra7xx: Extend bootloader partition
In reply to Sam ProtsenkoQuoted 7 lines · Sam Protsenko
With FIT images support enabled, u-boot.img size increases up to 612 KiB. Extend "bootloader" partition size accordingly.
With extended "bootloader" partition there is no gap between "misc" and "efs" partitions anymore. Keep "efs" partition alignment intact anyway (start=1280K), so that Android partitions addresses are compatible with older versions of u-boot, while size of rest partitions can be adjusted.
Thanks and regards,
Lokesh
Quoted 20 lines
Signed-off-by Sam Protsenko <[email protected]>--- include/configs/dra7xx_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/dra7xx_evm.h +1
-1@@ -56,7 +56,7 @@"partitions_android=" \"uuid_disk=${uuid_gpt_disk};" \"name=xloader,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \ -"name=bootloader,size=384K,uuid=${uuid_gpt_bootloader};" \ +"name=bootloader,size=768K,uuid=${uuid_gpt_bootloader};" \"name=environment,size=128K,uuid=${uuid_gpt_environment};" \"name=misc,size=128K,uuid=${uuid_gpt_misc};" \"name=efs,start=1280K,size=16M,uuid=${uuid_gpt_efs};" \