All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme
Date: Wed, 15 Nov 2017 22:03:32 +0100	[thread overview]
Message-ID: <5945773e-f80f-8205-41d8-6a68f7263cde@suse.de> (raw)
In-Reply-To: <20171115101151.11382-4-maxime.ripard@free-electrons.com>



On 15.11.17 11:11, Maxime Ripard wrote:
> The partitions variable is especially useful to create a partition table
> from U-Boot, either directly from the U-Boot shell, or through flashing
> tools like fastboot and its oem format command.
> 
> This is especially useful on devices with an eMMC you can't take out to
> flash from another system, and booting a Linux system first to flash our
> system then is not really practical.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  include/configs/sunxi-common.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
> index 4391a8cbc824..11da6ccfbf54 100644
> --- a/include/configs/sunxi-common.h
> +++ b/include/configs/sunxi-common.h
> @@ -493,6 +493,12 @@ extern int soft_i2c_gpio_scl;
>  #define SUNXI_MTDPARTS_DEFAULT
>  #endif
>  
> +#define PARTS_DEFAULT \
> +	"name=loader1,start=8k,size=32k;" \
> +	"name=loader2,size=984k;" \
> +	"name=boot,size=128M,bootable;" \
> +	"name=system,size=-;"

Is there a particular reason you're creating a boot and system
partition? In a normal distro world, the distro installer will take care
of creating ESP + root + swap + whatever for you - and they (or the user
driving the installation) usually know best what they need :)


Alex

  reply	other threads:[~2017-11-15 21:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 10:11 [U-Boot] [PATCH 0/4] sunxi: Ease eMMC usage and flashing Maxime Ripard
2017-11-15 10:11 ` [U-Boot] [PATCH 1/4] part: efi: Add a Kconfig option for the number of partition entries Maxime Ripard
2017-11-15 10:11 ` [U-Boot] [PATCH 2/4] part: efi: Add default number of partition entries for sunxi Maxime Ripard
2017-11-15 10:11 ` [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme Maxime Ripard
2017-11-15 21:03   ` Alexander Graf [this message]
2017-11-16  9:29     ` Maxime Ripard
2017-11-16 10:30     ` Andre Przywara
2017-11-16 11:21       ` Maxime Ripard
2017-11-16 11:41         ` Andre Przywara
2017-11-16 11:54           ` Alexander Graf
2017-11-16 12:32             ` Emmanuel Vadot
2017-11-16 17:30           ` Tom Rini
2017-11-17  8:29             ` Maxime Ripard
     [not found]             ` <20171116194248.fk75jtez4unq2lse@excalibur.cnev.de>
2017-11-17  8:31               ` Maxime Ripard
2017-11-17  8:27           ` Maxime Ripard
2017-11-17 12:21             ` Andre Przywara
2017-11-17 13:04               ` Maxime Ripard
2017-11-17 14:20                 ` Alexander Graf
2017-11-20  9:24                   ` Maxime Ripard
2017-11-20 11:37                     ` Emmanuel Vadot
2017-11-20 13:17                       ` Maxime Ripard
2017-11-15 10:11 ` [U-Boot] [PATCH 4/4] fastboot: Enable flashing by default on sunxi Maxime Ripard
     [not found] ` <20171115204134.7ervzwcfrc67m6jt@excalibur.cnev.de>
2017-11-16  9:32   ` [U-Boot] [PATCH 0/4] sunxi: Ease eMMC usage and flashing Maxime Ripard
2017-11-28 10:34 Maxime Ripard
2017-11-28 10:34 ` [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme Maxime Ripard
2017-11-30  0:23   ` André Przywara
2017-11-30  7:56     ` Maxime Ripard
2017-11-30  9:22       ` Andre Przywara
2017-11-30 15:49         ` Maxime Ripard

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=5945773e-f80f-8205-41d8-6a68f7263cde@suse.de \
    --to=agraf@suse.de \
    --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.