dra7x: fastboot: Increase recovery partition size
authorPraneeth Bajjuri <praneeth@ti.com>
Wed, 8 Nov 2017 23:12:56 +0000 (17:12 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 21 Nov 2017 01:18:37 +0000 (20:18 -0500)
commit65d87d6cfc204d6a8fa9e5bbe01a974ef9c3074e
treed9cd2131e3433d80dcf4b4706923c1b8026572db
parentb5142f280a5dba87422b8f3df1dc7350f476bd35
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

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
include/configs/am57xx_evm.h
include/configs/dra7xx_evm.h