[Bug 2069802] Re: [SRU] flash-kernel to support xilinx kria platforms with noble kernel
Talha Can Havadar
2069802 at bugs.launchpad.net
Thu Dec 12 16:02:41 UTC 2024
We were a bit lucky in this instance, flash-kernel in oracular doesnt
have the same kernel-flavour entry as the kernel we have in noble so it
doesnt really changes bootscript during do-release-upgrade which kind of
works for us since with the new kernel we also changed the dtb file
locations which would cause flash-kernel to fail.
So with that in mind. I did update the flash-kernel in oracular with the one in oracular-proposed, and rebooted and also make sure that flash-kernel works as expected by executing it manually again, see below:
```
ubuntu at kria:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.10
Release: 24.10
Codename: oracular
ubuntu at kria:~$ apt policy flash-kernel
flash-kernel:
Installed: 3.107ubuntu13~24.10.1
Candidate: 3.107ubuntu13~24.10.1
Version table:
*** 3.107ubuntu13~24.10.1 100
100 http://ports.ubuntu.com/ubuntu-ports oracular-proposed/main arm64 Packages
100 /var/lib/dpkg/status
3.107ubuntu11 500
500 http://ports.ubuntu.com/ubuntu-ports oracular/main arm64 Packages
ubuntu at kria:~$ sudo flash-kernel
[sudo] password for ubuntu:
flash-kernel: installing version 6.8.0-1009-xilinx
Couldn't find DTB on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image-6.8.0-1009-xilinx /lib/firmware/6.8.0-1009-xilinx/device-tree/
Generating u-boot image... done.
Taking backup of image.fit.
Installing new image.fit.
Generating boot script u-boot image... done.
Taking backup of boot.scr.uimg.
Installing new boot.scr.uimg.
```
So I will mark the verification on oracular done as well.
** Tags removed: verification-needed-oracular
** Tags added: verification-done-oracular
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
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:
Fix Released
Status in flash-kernel source package in Noble:
Fix Committed
Status in flash-kernel source package in Oracular:
Fix Committed
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 foundations-bugs
mailing list