[U-Boot] [PATCH 0/3] arm: am57xx/dra7xx: Boot Android from eMMC

Sam Protsenko semen.protsenko at linaro.org
Wed Aug 16 08:51:32 UTC 2017


On 16 August 2017 at 05:04, Tom Rini <trini at konsulko.com> wrote:
> On Tue, Aug 15, 2017 at 04:30:00PM +0300, Sam Protsenko wrote:
>
>> Provide a way to boot Android from eMMC for AM57xx EVM and DRA7 EVM boards.
>>
>> Sam Protsenko (3):
>>   arm: omap: Define command for booting Android from eMMC
>>   arm: am57xx: Define Android boot arguments
>>   arm: dra7xx: Define Android boot arguments
>>
>>  configs/am57xx_evm_defconfig      |  2 ++
>>  configs/am57xx_evm_nodt_defconfig |  2 ++
>>  configs/am57xx_hs_evm_defconfig   |  2 ++
>>  configs/dra7xx_evm_defconfig      |  2 ++
>>  configs/dra7xx_hs_evm_defconfig   |  2 ++
>>  include/environment/ti/boot.h     | 24 +++++++++++++++++++-----
>>  6 files changed, 29 insertions(+), 5 deletions(-)
>
> This series seems to switch from "standard" Linux boot to Android Linux
> boot, rather than allowing a fallback from one to the other.  Yes?  If
> so, that's a problem.  Thanks!
>

It still tries to run Linux boot from SD card first:

        "run mmcboot;" \

and if it fails, it tries to run Android from eMMC:

        "run emmc_android_boot; " \

If that's a problem for some boards and you want them to run standard
Linux from eMMC, I can try to rework that patch to choose
automatically, which one to run (Linux or Android), e.g. using
$partitions and $partitions_android environment variables. Or we can
add some global CONFIG_ANDROID option to choose between distributions.
Which one would be better?

> --
> Tom


More information about the U-Boot mailing list