[Bug 2054556] Re: [SRU] Update Machine Entries for AMD-Xilinx Kria Boards

Vic Liu 2054556 at bugs.launchpad.net
Fri Mar 1 09:26:46 UTC 2024


On KR260,
```
ubuntu at kria:~$ apt-cache policy flash-kernel 
flash-kernel:
  Installed: 3.104ubuntu20
  Candidate: 3.104ubuntu20
  Version table:
 *** 3.104ubuntu20 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main arm64 Packages
        100 /var/lib/dpkg/status
     3.104ubuntu19 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages
     3.104ubuntu17xlnx2 500
        500 http://oem.archive.canonical.com/updates jammy-limerick/public arm64 Packages
     3.104ubuntu9 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages

Preparing to unpack .../flash-kernel_3.104ubuntu20_arm64.deb ...^M
Unpacking flash-kernel (3.104ubuntu20) over (3.104ubuntu19) ...^M
Setting up flash-kernel (3.104ubuntu20) ...^M
Installing new version of config file /etc/flash-kernel/bootscript/bootscr.zynqmp ...^M
flash-kernel: deferring update (trigger activated)^M
Processing triggers for man-db (2.10.2-1) ...^M
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...^M
update-initramfs: Generating /boot/initrd.img-5.15.0-1025-xilinx-zynqmp^M
flash-kernel: installing version 5.15.0-1025-xilinx-zynqmp^M
Couldn't find DTB  on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image-5.15.0-1025-xilinx-zynqmp /lib/firmware/5.15.0-1025-xilinx-zynqmp/device-tree/^M
Generating u-boot image... done.^M
Taking backup of image.fit.^M
Installing new image.fit.^M
Generating boot script u-boot image... done.^M
Taking backup of boot.scr.uimg.^M
Installing new boot.scr.uimg.^M
Processing triggers for flash-kernel (3.104ubuntu20) ...^M
flash-kernel: installing version 5.15.0-1025-xilinx-zynqmp^M
Couldn't find DTB  on the following paths: /etc/flash-kernel/dtbs /usr/lib/linux-image-5.15.0-1025-xilinx-zynqmp /lib/firmware/5.15.0-1025-xilinx-zynqmp/device-tree/^M
Generating u-boot image... done.^M
Taking backup of image.fit.^M
Installing new image.fit.^M
Generating boot script u-boot image... done.^M
Taking backup of boot.scr.uimg.^M
Installing new boot.scr.uimg.^M

FRU Inventory From File:
/sys/devices/platform/axi/ff030000.i2c/i2c-1/1-0050/eeprom

  FRU Board Manufacturing Date/Time: 10/07/21 - 17:38:00
  FRU Board Manufacturer: XILINX
  FRU Board Product Name: SMK-K26-XCL2G
  FRU Board Serial Number: 50571A119R10
```

The board reboots fine after the update

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

Title:
  [SRU] Update Machine Entries for AMD-Xilinx Kria Boards

Status in flash-kernel package in Ubuntu:
  Fix Released
Status in flash-kernel source package in Jammy:
  Fix Committed

Bug description:
  [Impact]

  Since the model names in the DTBs have been updated in AMD-Xilinx
  kernel, we need to update the machine entries in flash-kernel as well.

  [Where problems could occur]

  The patch adds support for the new model names of AMD-Xilinx Kria
  boards and also separates the boot script.

  So problems can only occur on the following boards:

  * Kria KR260
  * Kria KV260
  * Kria KD240

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

  The only database entry adjusted is for those boards listed, and DEP-8
  tests already cover the functionality of matching boards to database
  entries, including those using wildcards.

  As part of this update, we will also separate the boot script of Kria
  boards from ZCU, so that we won't risk introducing a regression to
  other boards.

  As the patch creates a new boot script for 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/2054556/+subscriptions




More information about the foundations-bugs mailing list