arm: dra7xx: Unify Android partition table
PATCH v2 3/3 arm: dra7xx: Unify Android partition table
Make Android partition table the same as for AM57x EVM.
1. Make "bootloader" partition start from 0x300 sectors offset, so DRA7 is bootable in Android mode (see CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option).
2. Increase "bootloader" partition size, because size of u-boot.img is about 632 KiB (when building DT defconfig, with FIT image enabled).
3. Specify "reserved" partition explicitly, rather than specifying "efs" partition start. Reserved area will be used to store U-Boot environment on eMMC. It's convenient to have it exposed explicitly so we can read/write U-Boot environment.
4. Keep all Android partitions locations intact, by reducing "reserved" partition size. CONFIG_ENV_SIZE is considered.
---
Changes in v2: None
include/configs/dra7xx_evm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
include/configs/dra7xx_evm.h +4 -3
@@ -54,11 +54,12 @@/* Android partitions */ \"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=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \ +"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};" \ +"name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \ +"name=efs,size=16M,uuid=${uuid_gpt_efs};" \"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \"name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \"name=boot,size=10M,uuid=${uuid_gpt_boot};" \
Signature · 1 line
2.9.3
PATCH v2 3/3 arm: dra7xx: Unify Android partition table
Quoted 42 lines · Sam Protsenko
Make Android partition table the same as for AM57x EVM.
1. Make "bootloader" partition start from
0x300sectors offset, so DRA7 is bootable in Android mode (seeCONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTORoption).
2. Increase "bootloader" partition size, because size of u-boot.img is about 632 KiB (when building DT defconfig, with FIT image enabled).
3. Specify "reserved" partition explicitly, rather than specifying "efs" partition start. Reserved area will be used to store U-Boot environment on eMMC. It's convenient to have it exposed explicitly so we can read/write U-Boot environment.
4. Keep all Android partitions locations intact, by reducing "reserved" partition size.CONFIG_ENV_SIZEis considered.Signed-off-by Sam Protsenko <[email protected]>---
Changes in v2: Noneinclude/configs/dra7xx_evm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)include/configs/dra7xx_evm.h +4
-4@@ -54,11 +54,12 @@/* Android partitions */ \"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=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \ +"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};" \ +"name=reserved,size=256K,uuid=${uuid_gpt_reserved};" \ +"name=efs,size=16M,uuid=${uuid_gpt_efs};" \"name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \"name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \"name=boot,size=10M,uuid=${uuid_gpt_boot};" \ --
Quoted 2 lines
2.9.3
Bump. Please review and apply 3 patches from this series. Thanks.
PATCH v2 3/3 arm: dra7xx: Unify Android partition table
In reply to Sam ProtsenkoQuoted 14 lines · Semen Protsenko
Make Android partition table the same as for AM57x EVM.
1. Make "bootloader" partition start from
0x300sectors offset, so DRA7 is bootable in Android mode (seeCONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTORoption).
2. Increase "bootloader" partition size, because size of u-boot.img is about 632 KiB (when building DT defconfig, with FIT image enabled).
3. Specify "reserved" partition explicitly, rather than specifying "efs" partition start. Reserved area will be used to store U-Boot environment on eMMC. It's convenient to have it exposed explicitly so we can read/write U-Boot environment.
4. Keep all Android partitions locations intact, by reducing "reserved" partition size.CONFIG_ENV_SIZEis considered.
Quoted 1 line
Signed-off-by Sam Protsenko <[email protected]>
Applied to u-boot/master, thanks!
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/20161121/76a8ff1e/attachment.sig>