From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: "Jan Kiszka" <jan.kiszka@siemens.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>,
Ross Burton <ross.burton@arm.com>
Subject: Re: [OE-core] [PATCH 2/2] wic/bootimg-efi: Add support for loading devicetree files
Date: Mon, 1 Aug 2022 16:12:05 +0200 [thread overview]
Message-ID: <20220801161205.735ef5a5@booty> (raw)
In-Reply-To: <5e8d6c83-8795-3040-3131-3b181e6f01ff@siemens.com>
Hello Jan,
On Sat, 30 Jul 2022 10:24:43 +0200
"Jan Kiszka" <jan.kiszka@siemens.com> wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> For device tree using systems, add support to set a custom devices tree
> during UEFI boot. This requires to copy the DTB file to the boot
> partition and to add the respective loader entries to the configuration
> files.
>
> Both grub and systemd-boot support only loading a specific device tree.
> Therefore refuse to work if the 'dtb' parameter contains more than one
> entry.
>
> Out of scope for now are overlays (only supported by systemd-boot).
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
[...]
> @@ -327,11 +350,13 @@ class BootimgEFIPlugin(SourcePlugin):
> objcopy_cmd = "objcopy \
> --add-section .osrel=%s --change-section-vma .osrel=0x20000 \
> --add-section .cmdline=%s --change-section-vma .cmdline=0x30000 \
> + %s \
> --add-section .linux=%s --change-section-vma .linux=0x2000000 \
> --add-section .initrd=%s --change-section-vma .initrd=0x3000000 \
> %s %s" % \
> ("%s/usr/lib/os-release" % staging_dir_host,
> cmdline.name,
> + dtb_params,
> "%s/%s" % (staging_kernel_dir, kernel),
> initrd.name,
> efi_stub,
This hunk conflicts with the changes introduced by [0], which is
already in my testing branch. I have applied your patch with a little
change to resolve the conflict, can you please have a look at the result
[1] to ensure I correctly followed the logic of your patch?
[0] https://lists.openembedded.org/g/openembedded-core/message/168553
[1]
https://git.openembedded.org/openembedded-core-contrib/commit/?h=lucaceresoli/master-next&id=7547ec3e2065e55a8caa6118fc962130b8c6bd98
Best regards.
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2022-08-01 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-30 8:24 [PATCH 1/2] wic/bootimg-efi: Factor out some common bits Jan Kiszka
2022-07-30 8:24 ` [PATCH 2/2] wic/bootimg-efi: Add support for loading devicetree files Jan Kiszka
2022-08-01 14:12 ` Luca Ceresoli [this message]
2022-08-02 6:38 ` [OE-core] " Jan Kiszka
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=20220801161205.735ef5a5@booty \
--to=luca.ceresoli@bootlin.com \
--cc=jan.kiszka@siemens.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@arm.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