Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Rename aarch64_efi_defconfig to qemu_aarch64_virt_efi_defconfig
Date: Wed, 15 Jul 2020 15:49:39 +0200	[thread overview]
Message-ID: <20200715154939.4f3ffc2c@windsurf.home> (raw)
In-Reply-To: <CAK4VdL3Jn_zNH3XuLfCTbzTVG=JDjDNk1=r1CivOgNQ64=3aAw@mail.gmail.com>

On Mon, 13 Jul 2020 15:18:28 +0200
Erico Nunes <nunes.erico@gmail.com> wrote:

> as you already mentioned, the original intent of aarch64_efi_defconfig
> is to be used with standards compliant aarch64 systems running
> ACPI/UEFI. It is analogous to the pc_* defconfigs for x86_64.
> There is a short documentation on it at
> https://git.buildroot.net/buildroot/tree/board/aarch64-efi/readme.txt
> where the need for OVMF is mentioned.
> That was a manual example though as it requires users to pull OVMF
> from the distribution. If there are plans to turn it into an automated
> test, then indeed it would be better to have a Buildroot provided one
> and this readme can also be updated.

Romain has already submitted a patch series that adds a package for
edk2, in a precompiled form. I don't know if you have been Cc'ed on
that.

> > >> Instead of renaming aarch64_efi_defconfig, we can enable UEFI and grub in the
> > >> qemu_aarch64_virt_defconfig itself.  
> 
> Probably needs ACPI support in the kernel config as well, and be
> booted with acpi=on as device tree is probably the default in upstream
> kernels in case both are available.
> 
> > >
> > > Seems like a good idea.  
> >
> > Ok  
> 
> Just to double check, wouldn't it be the case to have 2 qemu configs,
> one to test the ACPI/UEFI+grub2 profile and another one for the qemu
> direct kernel boot?
> If qemu_aarch64_virt_defconfig gets converted to that (which is a
> little more complex and I believe less used with Buildroot), then only
> that would get the automated testing coverage.

But we already have 2 defconfigs:

 - qemu_aarch64_virt_defconfig, which IMO should stay pretty much as it
   is: directly kernel boot

 - aarch64_efi_defconfig, which should be usable by EFI/ACPI compliant
   platform, and Qemu should be one of them.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2020-07-15 13:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 23:02 [Buildroot] Rename aarch64_efi_defconfig to qemu_aarch64_virt_efi_defconfig Romain Naour
2020-07-11 10:59 ` Thomas Petazzoni
2020-07-11 13:08   ` Romain Naour
2020-07-11 13:12     ` Thomas Petazzoni
2020-07-11 13:34       ` Romain Naour
2020-07-13 13:18         ` Erico Nunes
2020-07-13 20:36           ` Romain Naour
2020-07-15 13:49           ` Thomas Petazzoni [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=20200715154939.4f3ffc2c@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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