aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-10-25 16:24:27 -0500
committerPraneeth Bajjuri2017-10-26 17:48:40 -0500
commit14464da777559f7945c50f680f94ddd0cf2fcb0a (patch)
tree6b6dc4998ea640e385fbf892c2b21caf76eff2c4
parent9e218b2e628ae61ed84eba4aa6b3d63b9f016183 (diff)
downloadu-boot-14464da777559f7945c50f680f94ddd0cf2fcb0a.tar.gz
u-boot-14464da777559f7945c50f680f94ddd0cf2fcb0a.tar.xz
u-boot-14464da777559f7945c50f680f94ddd0cf2fcb0a.zip
dra7x: fastboot: Increase recovery partition size
As per current android recommendation https://source.android.com/devices/architecture/kernel/modular-kernels 1. Android recovery mode should contain both SOC and ODM kernel modules in the recovery partition. 2. If a kernel module is required both in recovery and normal boot mode, the module has to be located in recovery and vendor partition seperately. 3. Kernel modules used in recovery mode should be independent of vendor and odm partition 4. Recovery image should contain atleast storage, display, keypad, battery and pmic modules. Due to these requirements, recovery image size has increased to >10MB. This patch is to increase recovery partition size for TI devices so that we dont see such flashing error log: sending 'recovery' (12560 KB)... OKAY [ 0.436s] writing 'recovery'... FAILED (remote: too large for partition) finished. total time: 0.458s Change-Id: Ie76093c497cca864704e5c62f1304929c7c834c3 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--include/configs/am57xx_evm.h2
-rw-r--r--include/configs/dra7xx_evm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index c3ae8c2779..29770d400b 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -55,7 +55,7 @@
55 "name=reserved,size=384K,uuid=${uuid_gpt_reserved};" \ 55 "name=reserved,size=384K,uuid=${uuid_gpt_reserved};" \
56 "name=efs,size=16M,uuid=${uuid_gpt_efs};" \ 56 "name=efs,size=16M,uuid=${uuid_gpt_efs};" \
57 "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \ 57 "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
58 "name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \ 58 "name=recovery,size=30M,uuid=${uuid_gpt_recovery};" \
59 "name=boot,size=10M,uuid=${uuid_gpt_boot};" \ 59 "name=boot,size=10M,uuid=${uuid_gpt_boot};" \
60 "name=system,size=768M,uuid=${uuid_gpt_system};" \ 60 "name=system,size=768M,uuid=${uuid_gpt_system};" \
61 "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \ 61 "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 8c6a7803d1..8bb9811924 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -63,7 +63,7 @@
63 "name=reserved,size=384K,uuid=${uuid_gpt_reserved};" \ 63 "name=reserved,size=384K,uuid=${uuid_gpt_reserved};" \
64 "name=efs,size=16M,uuid=${uuid_gpt_efs};" \ 64 "name=efs,size=16M,uuid=${uuid_gpt_efs};" \
65 "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \ 65 "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
66 "name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \ 66 "name=recovery,size=30M,uuid=${uuid_gpt_recovery};" \
67 "name=boot,size=10M,uuid=${uuid_gpt_boot};" \ 67 "name=boot,size=10M,uuid=${uuid_gpt_boot};" \
68 "name=system,size=768M,uuid=${uuid_gpt_system};" \ 68 "name=system,size=768M,uuid=${uuid_gpt_system};" \
69 "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \ 69 "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \