[Bug 2092205] Re: Using /etc/flash-kernel/machine in risc-v images does not permit building generic images
Adriano Cordova Fedeli
2092205 at bugs.launchpad.net
Fri Dec 20 03:16:39 UTC 2024
** Description changed:
In live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binar we
currently write file /etc/flash-kernel/machine to control which device-
tree is copied to /boot and in subsequently to generate a devicetree
comand in grub.cfg.
We have only one image for the VisionFive 2 board but there are two
revisions (1.2A, 1.3B) which require different device-trees.
- Instead of wrigint /etc/flash-kernel/machine, all device-trees of the
+ Instead of writing /etc/flash-kernel/machine, all device-trees of the
current kernel could be copied to /boot/efi/dts/. U-Boot will then
search this directory for a file called $filename and load it. Whenever
the kernel will be updated, flash-kernel will copy the updated device-
tree to /boot and GRUB will pick it up.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2092205
Title:
Using /etc/flash-kernel/machine in risc-v images does not permit
building generic images
Status in livecd-rootfs package in Ubuntu:
New
Bug description:
In live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binar
we currently write file /etc/flash-kernel/machine to control which
device-tree is copied to /boot and in subsequently to generate a
devicetree comand in grub.cfg.
We have only one image for the VisionFive 2 board but there are two
revisions (1.2A, 1.3B) which require different device-trees.
Instead of writing /etc/flash-kernel/machine, all device-trees of the
current kernel could be copied to /boot/efi/dts/. U-Boot will then
search this directory for a file called $filename and load it.
Whenever the kernel will be updated, flash-kernel will copy the
updated device-tree to /boot and GRUB will pick it up.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2092205/+subscriptions
More information about the foundations-bugs
mailing list