From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] arm: am57xx: Define Android partition table
Date: Thu, 27 Oct 2016 18:50:26 -0400 [thread overview]
Message-ID: <20161027225026.GN18591@bill-the-cat> (raw)
In-Reply-To: <20161027191117.25874-1-semen.protsenko@linaro.org>
On Thu, Oct 27, 2016 at 10:11:17PM +0300, Sam Protsenko wrote:
> "fastboot oem format" command reuses "gpt write" command, which in turn
> requires correct partitions defined in $partitions variable. This patch
> adds such definition of Android partitions for DRA7XX EVM board.
>
> By default $partitions variable contains Linux partition table. In order
> to prepare Android environment one can run next commands from U-Boot
> shell:
>
> => env set partitions $partitions_android
> => env save
>
> After those operations one can go to fastboot mode and perform
> "fastboot oem format" to create Android partition table.
>
> While at it, enable CONFIG_RANDOM_UUID to spare user from providing
> UUIDs for each partition manually.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
> include/configs/am57xx_evm.h | 23 ++++++++++++++++++++++-
> 1 file changed, 22 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
> index d865f41..72d8099 100644
> --- a/include/configs/am57xx_evm.h
> +++ b/include/configs/am57xx_evm.h
> @@ -36,16 +36,37 @@
>
> #define CONFIG_SYS_OMAP_ABE_SYSCK
>
> +#ifndef CONFIG_SPL_BUILD
> /* Define the default GPT table for eMMC */
> #define PARTS_DEFAULT \
OK, lets not add that in, it's not going to be viable long-term anyhow.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161027/2879a72f/attachment.sig>
prev parent reply other threads:[~2016-10-27 22:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-27 19:11 [U-Boot] [PATCH 1/3] arm: am57xx: Define Android partition table Sam Protsenko
2016-10-27 22:50 ` Tom Rini [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=20161027225026.GN18591@bill-the-cat \
--to=trini@konsulko.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).