[Bug 2037407] Re: [SRU] Add support for AMD-Xilinx Kria KD240

Talha Can Havadar 2037407 at bugs.launchpad.net
Wed Nov 8 07:35:25 UTC 2023


Thank you for your time and comments Dave and Andreas, since the flash-
kernel has dependency to the kernel and the current kernel for Xilinx
boards (which is accessible by public) does not include the dtb files
required for KD240 yet. So in anyway we needed to hold this update to be
released on flash-kernel until we have the new version of kernel
released with correct dtb files.

Meanwhile, I will be working on to resolve the issues you guys mentioned
already.

As Dave mentioned, I have updated the mechanism to check the type of the
board and added a comment in the header of the bootscript to explain the
purpose of `card1_name` variable.

I have updated the all.db entry for Kria family like below;
```
Machine: ZynqMP SMK-K26 Rev1/B/A
Machine: ZynqMP *K26*
Machine: ZynqMP *K24*
Machine: ZynqMP *KD240*
Kernel-Flavors: xilinx-zynqmp
Method: generic
Boot-Script-Path: /boot/firmware/boot.scr.uimg
U-Boot-Script-Name: bootscr.zynqmp
Boot-FIT-Path: /boot/firmware/image.fit
Boot-ITS-File-Name: image-kria.its
Required-Packages: u-boot-tools
```

Is this what you would expect in `Machine` field Dave?

I also have another question, I will prepare a debdiff for mantic and
noble as well.

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

Title:
  [SRU] Add support for AMD-Xilinx Kria KD240

Status in flash-kernel package in Ubuntu:
  New
Status in flash-kernel source package in Jammy:
  New
Status in flash-kernel source package in Lunar:
  New
Status in flash-kernel source package in Mantic:
  New
Status in flash-kernel source package in Noble:
  New

Bug description:
  [Impact]

  Add AMD-Xilinx Kria KD240 board support

  [Where problems could occur]

  The patch adds support for the AMD-Xilinx Kria KD240, but affects the
  boot script used by:

  * ZCU 102, 104, 106, 111
  * Kria KR revisions A, B, 1
  * Kria KV revisions A, B, Z, 1

  [Test Case]

  * Enable proposed updates (https://wiki.ubuntu.com/Testing/EnableProposed)
  * Update flash-kernel to the version in -proposed: sudo apt install -t jammy-proposed flash-kernel
  * Run flash-kernel (if the upgrade didn't already): sudo flash-kernel
  * Reboot: sudo reboot
  * Ensure system boots successfully

  [Regression Potential]

  As the patch touches the u-boot script used by several boards (listed
  above), booting should be re-tested against the potentially affected
  boards under the proposed package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2037407/+subscriptions




More information about the foundations-bugs mailing list