All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Protsenko <semen.protsenko@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] arm: am57xx/dra7xx: Boot Android from eMMC
Date: Wed, 16 Aug 2017 11:51:32 +0300	[thread overview]
Message-ID: <CAKaJLVv9NVjk9tV_6mAFABwa+HYiSKsmX2ciM9MWp2qdPJeCCA@mail.gmail.com> (raw)
In-Reply-To: <20170816020422.GI20467@bill-the-cat>

On 16 August 2017 at 05:04, Tom Rini <trini@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

      reply	other threads:[~2017-08-16  8:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-15 13:30 [U-Boot] [PATCH 0/3] arm: am57xx/dra7xx: Boot Android from eMMC Sam Protsenko
2017-08-15 13:30 ` [U-Boot] [PATCH 1/3] arm: omap: Define command for booting " Sam Protsenko
2017-08-15 13:30 ` [U-Boot] [PATCH 2/3] arm: am57xx: Define Android boot arguments Sam Protsenko
2017-08-15 13:30 ` [U-Boot] [PATCH 3/3] arm: dra7xx: " Sam Protsenko
2017-08-16  2:04 ` [U-Boot] [PATCH 0/3] arm: am57xx/dra7xx: Boot Android from eMMC Tom Rini
2017-08-16  8:51   ` Sam Protsenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKaJLVv9NVjk9tV_6mAFABwa+HYiSKsmX2ciM9MWp2qdPJeCCA@mail.gmail.com \
    --to=semen.protsenko@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.