All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Ross Burton <Ross.Burton@arm.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v7 0/8] systemd uki support
Date: Fri, 11 Oct 2024 08:49:21 +0300	[thread overview]
Message-ID: <Zwi8YTfncLhMWDtA@nuoska> (raw)
In-Reply-To: <D33B3B0D-0404-4FE6-8E3D-0271585B57A0@arm.com>

Hi,

On Thu, Oct 10, 2024 at 08:21:11PM +0000, Ross Burton wrote:
> On 10 Oct 2024, at 09:56, Mikko Rapeli via lists.openembedded.org <mikko.rapeli=linaro.org@lists.openembedded.org> wrote:
> > Tested on qemuarm64-secureboot machine from meta-arm with changes to
> > support secure boot. Slightly different configuration tested on
> > multiple arm64 System Ready boards with UEFI firmware, real and firmware
> > based TPM devices. Tested with ovmf firmware on x86_64 with selftests but
> > without secure boot which seems to be harder to setup in ovmf.
> 
> I thought I followed the instructions to enable genericarm64 with UKI, including changing the WKS image, but when systemd-boot pops up its menu there are still two entries: one presumably the UKI, the other from an explicit loader.conf:
> 
> root@genericarm64:~# find /boot/ -type f
> /boot/EFI/BOOT/bootaa64.efi
> /boot/EFI/Linux/uki.efi
> /boot/Image
> /boot/core-image-initramfs-boot-genericarm64.cpio.gz
> /boot/loader/entries/boot.conf
> /boot/loader/loader.conf
> 
> I’m sure I’m doing something obviously wrong - any idea?

I think the wks file still has initrd=... in --sourceparams
which installs the initrd and a boot.conf.
With uki, only "loader=systemd-boot" needs to be there.

Not sure how kernel still got installed to /boot. Maybe
it's in IMAGE_EFI_BOOT_FILES?

Since uki.bbclass embeds the kernel command line,
wks file bootloader entry to append to command line
is not effective so --append="rootwait rootfstype=ext4"
should be UKI_CMDLINE now.

Cheers,

-Mikko


  reply	other threads:[~2024-10-11  5:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10  8:56 [PATCH v7 0/8] systemd uki support Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 1/8] uki.bbclass: add class for building Unified Kernel Images (UKI) Mikko Rapeli
2024-10-10 20:14   ` [OE-core] " Ross Burton
2024-10-11  5:54     ` Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 2/8] wic bootimg-efi.py: keep timestamps and add debug prints Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 3/8] wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 4/8] oeqa selftest uki.py: add tests for uki.bbclass Mikko Rapeli
2024-10-10 20:17   ` [OE-core] " Ross Burton
2024-10-11  5:58     ` Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 5/8] oeqa selftest efibootpartition.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 6/8] oeqa selftest efibootpartition.py: remove systemd-boot from grub-efi test Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 7/8] oeqa selftest wic.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-10-10  8:56 ` [PATCH v7 8/8] oeqa selftest wic.py: support UKIs via uki.bbclass Mikko Rapeli
2024-10-10 20:21 ` [OE-core] [PATCH v7 0/8] systemd uki support Ross Burton
2024-10-11  5:49   ` Mikko Rapeli [this message]
     [not found] <17FD0BA3A2CC876F.19251@lists.openembedded.org>
2024-10-10  9:01 ` Mikko Rapeli

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=Zwi8YTfncLhMWDtA@nuoska \
    --to=mikko.rapeli@linaro.org \
    --cc=Ross.Burton@arm.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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.