[Bug 2069802] Re: [SRU] flash-kernel to support xilinx kria platforms with noble kernel
Dave Jones
2069802 at bugs.launchpad.net
Fri Jun 21 10:00:10 UTC 2024
Some quick clarifications to Loic's excellent notes:
> ... it should probably also run when f-k gets updated but I think it
doesn't right now ...
It should indeed be running when f-k is updated. That's something I
fixed a while ago (LP: #1667742), and then fixed the fix (LP: #2007827).
As you noted, it's complex :)
> ... I haven't looked at how the two would get sorted; would the
highest version win, or would the name be preponderant?
This depends on the implementation of "linux-version sort", which it
turns out is just doing Debian version comparison on the kernel version
*including the suffix*. So if two versions are otherwise identical the
suffix which sorts alphabetically later will be "latest". For example:
$ cat versions
6.8.0-1005-raspi
6.8.0-1005-generic
$ linux-version sort < versions
6.8.0-1005-generic
6.8.0-1005-raspi
Worth bearing in mind when "moving flavours".
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2069802
Title:
[SRU] flash-kernel to support xilinx kria platforms with noble kernel
Status in flash-kernel package in Ubuntu:
In Progress
Bug description:
[ Impact ]
* With the current version of flash-kernel, users wont be able to
boot into xilinx devices using optimised noble kernel because of the
renaming of device-trees in kernel and cma configuration changes.
* We need to fix this issue to keep support for xilinx devices in
noble as well. This must not be back-ported into jammy since the
kernel in jammy keeps the old names for device-trees and cma
configuration in there didn't change
* Patch will fix the issue by updating bootscript and `its` file to
point correct device-tree files.
[ Test Plan ]
* Flash the new image generated with new flash-kernel that has this fix
* Try booting with new image
* You should be able to reach the login prompt and be able to login using default username and password
* This must work for all Kria devices listed below:
- KV260
- KR260
- KD240
[ Where problems could occur ]
* This change could only impact Xilinx Kria devices since it will only touch the files used by Xilinx Kria platforms including the ones listed above in test plan
* Since this is an enablement patch for Ubuntu Noble image on Xilinx Kria platforms, there shouldnt be an impact to devices in the field.
* If the patch is broken then the devices listed above will still continue to not work.
[ Other Info ]
* This is based on changes in new optimised kernel: https://code.launchpad.net/~canonical-kernel/ubuntu/+source/linux-xilinx/+git/noble
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2069802/+subscriptions
More information about the Ubuntu-sponsors
mailing list