Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel via buildroot <buildroot@buildroot.org>
To: Brandon Maier <brandon.maier@gmail.com>
Cc: "buildroot@buildroot.org" <buildroot@buildroot.org>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Niklas Cassel <cassel@kernel.org>
Subject: Re: [Buildroot] [PATCH 01/17] docs/manual/writing-rules: add shortcuts for genimage partition-type-uuid
Date: Mon, 11 Nov 2024 14:31:38 +0000	[thread overview]
Message-ID: <ZzIVSTNPFHE_V3yR@ryzen> (raw)
In-Reply-To: <CADwxmT=bajsScNg33csd+zBRBEkTyo3YjBiW553Tmr860MKzRg@mail.gmail.com>

On Mon, Nov 11, 2024 at 08:26:39AM -0600, Brandon Maier wrote:
> Hi Niklas
> 
> On Mon, Nov 11, 2024 at 7:11 AM Niklas Cassel <Niklas.Cassel@wdc.com> wrote:
> >
> > Like you wrote in the cover letter, this series is only partially
> > implementing Thomas' suggestion, which was:
> > "My point is that we want *consistency*. So either we use "L" for all
> > rootfs partitions. Or we use root-${ARCH} for all rootfs partitions."
> >
> >
> > While this series is just converting GUIDs to use a shortcut, if there is
> > one available, I still think that we can update the documentation to be
> > even stricter, something like:
> >
> > "For the rootfs partition, the partition type GUID should be set to the
> > architecture-specific shortcut (e.g. root-arm64), rather than the generic
> > +L+ shortcut (generic Linux rootfs). An explicit partition type GUID should
> > always be specified for the rootfs partition."
> 
> I left it out of this series as I haven't looked too closely into
> which of "L" or "root-*" is better. It doesn't seem like a simple
> choice, as U-Boot has a lot of board-specific settings.
> 
> Do you and Thomas feel confident that root-$ARCH should be the preferred type?

For new boards being added to buildroot, definitely.


Both me and Thomas tried to grep in the u-boot source code, and couldn't
find anything other than fastboot stuff that was making use of the
generic Linux rootfs partition type GUID, so it *should* be safe to change
for all buildroot boards making use of u-boot.

I didn't grep in the edk2 source code.


Kind regards,
Niklas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-11-11 14:31 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-09 22:16 [Buildroot] [PATCH 00/17] board: cleanup genimage partition-type-uuid shortcuts Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 01/17] docs/manual/writing-rules: add shortcuts for genimage partition-type-uuid Brandon Maier
2024-11-11 13:11   ` Niklas Cassel via buildroot
2024-11-11 14:26     ` Brandon Maier
2024-11-11 14:31       ` Niklas Cassel via buildroot [this message]
2024-11-11 21:00         ` Thomas Petazzoni via buildroot
2024-11-12 14:29           ` Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 02/17] board/beagleboard: use partition-type-uuid "L" Brandon Maier
2024-11-11 20:57   ` Thomas Petazzoni via buildroot
2024-11-09 22:16 ` [Buildroot] [PATCH 03/17] board/sifive: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 04/17] board/visionfive2: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 05/17] board/pc: use partition-type-uuid "root-x86" Brandon Maier
2024-11-11 21:02   ` Thomas Petazzoni via buildroot
2024-11-12 14:02     ` Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 06/17] support/testing/tests/boot/test_grub: " Brandon Maier
2024-11-11 13:16   ` Niklas Cassel via buildroot
2024-11-11 14:30     ` Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 07/17] board/mender: use partition-type-uuid "root-x86-64" Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 08/17] board/radxa: use partition-type-uuid "root-arm" Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 09/17] board/qemu/arm-ebbr: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 10/17] board/qemu/riscv64-virt-efi: use partition-type-uuid "root-riscv64" Brandon Maier
2024-11-11 13:22   ` Niklas Cassel via buildroot
2024-11-11 14:31     ` Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 11/17] board/aarch64-efi: use partition-type-uuid "root-arm64" Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 12/17] board/arm: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 13/17] board/pine64: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 14/17] board/qemu/aarch64-ebbr: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 15/17] board/qemu/aarch64-sbsa: " Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 16/17] board/visionfive2: use partition-type-uuid "xbootldr" Brandon Maier
2024-11-09 22:16 ` [Buildroot] [PATCH 17/17] support/testing/tests/boot/test_grub: use partition-type-uuid "U" Brandon Maier
2024-11-11 13:34 ` [Buildroot] [PATCH 00/17] board: cleanup genimage partition-type-uuid shortcuts Niklas Cassel via buildroot
2024-11-11 14:37   ` Brandon Maier
2024-11-11 21:12 ` Thomas Petazzoni via buildroot
2024-11-12 14:25   ` Brandon Maier

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=ZzIVSTNPFHE_V3yR@ryzen \
    --to=buildroot@buildroot.org \
    --cc=Niklas.Cassel@wdc.com \
    --cc=brandon.maier@gmail.com \
    --cc=cassel@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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