Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying a devicetree binary that is passed to ukify #2439

Closed
manut opened this issue Mar 1, 2024 · 1 comment · Fixed by #3346
Closed

Allow specifying a devicetree binary that is passed to ukify #2439

manut opened this issue Mar 1, 2024 · 1 comment · Fixed by #3346
Labels

Comments

@manut
Copy link

manut commented Mar 1, 2024

To easily use the dtbs provided with kernel packages allow specifying a devicetree name in mkosi.

It can be passed as parameter to ukify. The dtb is typically installed by the kernel package.

manut pushed a commit to manut/mkosi that referenced this issue Mar 1, 2024
Resolves systemd#2439

To easily use the dtbs provided with kernel packages allow specifying a
devicetree name in mkosi.

It can be passed as parameter to ukify.
The dtb is typically installed by the kernel package.

Signed-off-by: Manuel Traut <[email protected]>
manut pushed a commit to manut/mkosi that referenced this issue Mar 1, 2024
Resolves systemd#2439

To easily use the dtbs provided with kernel packages allow specifying a
devicetree name in mkosi.

It can be passed as parameter to ukify.
The dtb is typically installed by the kernel package.

Signed-off-by: Manuel Traut <[email protected]>
manut pushed a commit to manut/mkosi that referenced this issue Mar 1, 2024
Resolves systemd#2439

To easily use the dtbs provided with kernel packages allow specifying a
devicetree name in mkosi.

It can be passed as parameter to ukify.
The dtb is typically installed by the kernel package.

Signed-off-by: Manuel Traut <[email protected]>
manut pushed a commit to manut/mkosi that referenced this issue Mar 1, 2024
Resolves systemd#2439

To easily use the dtbs provided with kernel packages allow specifying a
devicetree name in mkosi.

It can be passed as parameter to ukify.
The dtb is typically installed by the kernel package.

Signed-off-by: Manuel Traut <[email protected]>
manut pushed a commit to manut/mkosi that referenced this issue Mar 1, 2024
Resolves systemd#2439

To easily use the dtbs provided with kernel packages allow specifying a
devicetree name in mkosi.

It can be passed as parameter to ukify.
The dtb is typically installed by the kernel package.

Signed-off-by: Manuel Traut <[email protected]>
manut pushed a commit to manut/mkosi that referenced this issue Mar 1, 2024
Resolves systemd#2439

To easily use the dtbs provided with kernel packages allow specifying a
devicetree name in mkosi.

It can be passed as parameter to ukify.
The dtb is typically installed by the kernel package.

Signed-off-by: Manuel Traut <[email protected]>
@DaanDeMeyer DaanDeMeyer added the RFE label Mar 2, 2024
@DaanDeMeyer
Copy link
Contributor

See also systemd/systemd#29726 which would probably change the design of this quite drastically since we'd just include every device tree when that is merged in some form.

andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 12, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specific DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 12, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 12, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 12, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 12, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 12, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 14, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 14, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 15, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 15, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
andersson pushed a commit to quic-bjorande/mkosi that referenced this issue Jan 15, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves systemd#2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
DaanDeMeyer pushed a commit that referenced this issue Jan 15, 2025
While experimenting with OS images on development boards where either
the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants
to replace the one provided by the bootloader with a specific/new one
for development/experimentation/testing purposes, it's convenient to use
the OS-loaders ability to load a specific DeviceTree blob.

Add a new option to mkosi, to cause a specified DeviceTree blob to be
baked into the UKI, or copied into /boot and added to the systemd loader
entry.

As different distributions store the dtb files in different locations
the requested file is searched for in the locations spotted in Debian,
Fedora, Arch Linux packages (both from distro and kernel build system -
as these differs as well).

Resolves #2439
Based on initial effort by Manuel Traut.

Signed-off-by: Bjorn Andersson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants