[Bug 2069802] Re: [SRU] flash-kernel to support xilinx kria platforms with noble kernel

Talha Can Havadar 2069802 at bugs.launchpad.net
Wed Dec 11 21:22:10 UTC 2024


if thats the case here is the successful test with package in oracular-
proposed:

```
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.107ubuntu9~24.04.3 500
        500 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 Packages
     3.107ubuntu8 500
        500 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages
# after reboot
ubuntu at kria:~$ sudo dmesg | grep -i cma
[sudo] password for ubuntu: 
[    0.000000] cma: Reserved 800 MiB at 0x0000000043e00000 on node -1
[    0.000000] Kernel command line:  root=LABEL=writable rootwait earlycon console=ttyPS1,115200 console=tty1 clk_ignore_unused uio_pdrv_genirq.of_id=generic-uio xilinx_tsn_ep.st_pcp=4 cma=800M 
[    0.000000] Memory: 3118472K/4194304K available (27584K kernel code, 3652K rwdata, 17040K rodata, 8832K init, 1000K bss, 256632K reserved, 819200K cma-reserved)

```

-- 
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