Skip to content

Incompatibility with updated OS and software versions  #2

@shawnferry

Description

@shawnferry

For various reasons notably including a desire to easily use an NVME drive we are targeting the Raspberry Pi 5 in our testing.

We are trying to use:

  • rpi5
  • python 3.11
  • Ubuntu 24.04 (23.10 until release)

Installed via the 1.2.2 deb with modified dts and locally compiled python3.9 loading fail with:
*** SystemError: Failed to initialize libwlmio

For RPI5

[64762.230168] OF: resolver: node label 'uart5' not found in live devicetree symbols table
[64762.238187] OF: resolver: overlay phandle fixup failed: -22

I've tried a naive change in wlmio.dts but I'm unable to cleanly build/package a test release. Pointing uart5 -> 4 and uart3 -> 2

https://github.com/raspberrypi/firmware/blob/40ac9ca411ba2a0947061712a379a43579a33c0c/boot/overlays/README#L4735-L4744

Post change dtoverlay emits the following on load

[   50.296936] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/spi@50000/status
[   50.308202] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/spi@50000/spidev@0/status
[   50.320257] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2c@74000/#address-cells
[   50.332169] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2c@74000/#size-cells
[   50.343817] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2c@74000/status
[   50.355033] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/serial@38000/pinctrl-names
[   50.367140] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/serial@38000/pinctrl-0
[   50.378888] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/serial@38000/status
[   50.390361] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/serial@40000/pinctrl-names
[   50.402442] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/serial@40000/pinctrl-0
[   50.414183] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/serial@40000/status
[   50.425745] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/gpio@d0000/pinctrl-names
[   50.437654] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/gpio@d0000/pinctrl-0
[   50.451984] pl011-axi 1f00038000.serial: cts_event_workaround enabled
[   50.452121] 1f00038000.serial: ttyAMA2 at MMIO 0x1f00038000 (irq = 148, base_baud = 0) is a PL011 AXI
[   50.452567] pl011-axi 1f00040000.serial: cts_event_workaround enabled
[   50.452663] 1f00040000.serial: ttyAMA4 at MMIO 0x1f00040000 (irq = 150, base_baud = 0) is a PL011 AXI
[   50.471692] dw_spi_mmio 1f00050000.spi: DMA init failed
[   50.483164] CAN device driver interface
[   50.487474] rtc-ds1307 1-006f: registered as rtc1

For Ubuntu/Debian/Pi OS

/boot has been moved to /boot/firmware

Package building fails with

dh_usrlocal: error: debian/libwlmio/usr/local/lib/python3.11/dist-packages/_wlmio.cpython-311-aarch64-linux-gnu.so is not a directory
make: *** [debian/rules:3: binary] Error 25

As a fallback I will try with Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions