From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Protsenko Date: Wed, 16 Aug 2017 11:51:32 +0300 Subject: [U-Boot] [PATCH 0/3] arm: am57xx/dra7xx: Boot Android from eMMC In-Reply-To: <20170816020422.GI20467@bill-the-cat> References: <20170815133003.17187-1-semen.protsenko@linaro.org> <20170816020422.GI20467@bill-the-cat> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 16 August 2017 at 05:04, Tom Rini 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