]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/infoadas-u-boot.git/commit
ARM: ti: Update layout for MMC and eMMC (env and dfu)
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 24 May 2017 10:08:27 +0000 (12:08 +0200)
committerJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 7 Jun 2017 09:59:28 +0000 (11:59 +0200)
commit28d231055303079528ddd29b723aec329369e94a
tree9f51f7b499636e5e7077b5e1783764f7921be05f
parent638488b4f7fc3aa63fdc69175fe6e108c07a7691
ARM: ti: Update layout for MMC and eMMC (env and dfu)

commit 7a53a1a8115beb53b47a758c1a6e527420d8a43e  upstream

The problems with the current DFU layout are:
MMC: The space allocated for u-boot is too small for the latest u-boot
     (>750KB). We need to increase it. eMMC uses a much bigger area (2MB).
eMMC: region "u-boot.img.raw" overlaps the environment area and the region
      "spl-os-image.raw".
both: region "spl-os-image.raw" is quite small and can't handle android
      kernels

Fixing this requires growing some regions and moving others.
Care has been taken to leave some room for further growth of
"spl-os-args.raw".
Also the "env" now appears in the dfu so that it's apparent that the
region is not free space that can be used to grow "u-boot.img.raw".
The MLO region is 0x100 sectors wide but the 0x100 are unused in case the
MLO comes too overflow this areas.
The total space allocated for those raw binaries is 16MB, of which 13+MB
are reserved for the kernel image.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
include/configs/dra7xx_evm.h
include/configs/omap5_uevm.h
include/configs/ti_armv7_common.h
include/environment/ti/dfu.h