Public bug reported:
A spi-zynqmp-gqspi.c driver change in the generic kernel made its way
into the linux-xilinx-zynqmp kernel. The change breaks the FPGA firmware
update tool, as shown below:
```
ubuntu@kria:~$ sudo image_update -i BOOT-k26-smk-v1.04-20250410071436.bin
[sudo] password for ubuntu:
Marking last booted image as bootable
Reading Image file
Updating Image A
Marking target image as non bootable
Writing Image to Image A partition
[ 7772.972367] zynqmp-qspi ff0f0000.spi: Chip select timed out
[ 7773.976364] zynqmp-qspi ff0f0000.spi: Chip select timed out
[ 7774.980366] zynqmp-qspi ff0f0000.spi: Chip select timed out
```
With the change reverted the tool works again as shown below:
```
$ sudo image_update -i BOOT-k26-smk-v1.04-20250410071436.bin
[sudo] password for ubuntu:
Marking last booted image as bootable
Reading Image file
Updating Image A
Marking target image as non bootable
Writing Image to Image A partition
Marking target image as non bootable and requested image
Clearing multiboot register value
BOOT-k26-smk-v1.04-20250410071436.bin successfully updated to Image A partition
```
The Jammy kernel was bisected and found to have been introduced in the
5.15-1054 generic kernel with this commit
`90b759a09f30d612844be245ff7e80c67eb22be5`, which modifies the zynqmp-
gqspi driver IRQ handler.
The same problem exists in the Noble 6.8.0 kernel as of this commit
`c1c6077c8180a76ce9747417c28c4cfc35fc2fd4`.
Reverting these commits in the respective linux-xilinx kernels fixes the
issue.
The commit was introduced upstream in the 6.15 kernel. I am yet to test
the change in the 6.15 kernel myself to confirm if it works OK in that
context.
** Affects: linux-xilinx-zynqmp (Ubuntu)
Importance: Undecided
Assignee: Edward Stewart Hore (stewarthore)
Status: New
** Package changed: ubuntu => linux-xilinx-zynqmp (Ubuntu)
** Changed in: linux-xilinx-zynqmp (Ubuntu)
Assignee: (unassigned) => Edward Stewart Hore (stewarthore)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137603
Title:
noble:linux/jammy:linux spi: zynqmp-gqspi: driver not functional
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-xilinx-zynqmp/+bug/2137603/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs