With:
- RPI4B
- Ubuntu server 22.04.03 LTS (kernel 5.15.0-1034-raspi)
After calling:
sudo dtoverlay dts/nrf70_rpi_interposer.dtbo
sudo insmod nrf_wifi_fmac_sta.ko
I get the following error in dmesg. Any idea why this is?
/boot/firmware/config.txt has dtparam=spi=on
[Thu Jan 11 13:18:25 2024] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/spidev@0/status
[Thu Jan 11 13:18:25 2024] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/status
[Thu Jan 11 13:18:25 2024] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/cs-gpios
[Thu Jan 11 13:18:36 2024] nrf_wifi_fmac_sta: loading out-of-tree module taints kernel.
[Thu Jan 11 13:18:36 2024] ------------[ cut here ]------------
[Thu Jan 11 13:18:36 2024] WARNING: CPU: 0 PID: 0 at kernel/workqueue.c:1510 __queue_work+0x4cc/0x620
[Thu Jan 11 13:18:36 2024] Modules linked in: nrf_wifi_fmac_sta(OE) cmac algif_hash algif_skcipher af_alg bnep hci_uart btqca btrtl btbcm btintel binfmt_misc btsdio bluetooth ecdh_generic ecc bcm2835_codec(CE) brcmfmac bcm2835_isp(CE) v4l2_mem2mem snd_bcm2835(CE) brcmutil bcm2835_v4l2(CE) snd_pcm cfg80211 bcm2835_mmal_vchiq(CE) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops snd_timer raspberrypi_hwmon videobuf2_v4l2 videobuf2_common videodev vc_sm_cma(CE) snd mc rpivid_mem nvmem_rmem bcm2835_gpiomem uio_pdrv_genirq uio dm_multipath sch_fq_codel ramoops pstore_blk reed_solomon pstore_zone drm ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear spidev crct10dif_ce dwc2 roles udc_core i2c_bcm2835 spi_bcm2835 xhci_pci xhci_pci_renesas phy_generic aes_arm64
[Thu Jan 11 13:18:36 2024] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G C OE 5.15.0-1034-raspi #37-Ubuntu
[Thu Jan 11 13:18:36 2024] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
[Thu Jan 11 13:18:36 2024] pstate: a04000c5 (NzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[Thu Jan 11 13:18:36 2024] pc : __queue_work+0x4cc/0x620
[Thu Jan 11 13:18:36 2024] lr : __queue_work+0x11c/0x620
[Thu Jan 11 13:18:36 2024] sp : ffff800008003d60
[Thu Jan 11 13:18:36 2024] x29: ffff800008003d60 x28: ffff527f7ef81080 x27: ffffa7dc670fa810
[Thu Jan 11 13:18:36 2024] x26: ffffa7dc670ce988 x25: 0000000000000100 x24: ffffa7dc670fa4f0
[Thu Jan 11 13:18:36 2024] x23: ffff527dae801178 x22: 0000000000000028 x21: ffff527e89227c00
[Thu Jan 11 13:18:36 2024] x20: fffffbffefeb3600 x19: ffff527dae801170 x18: 0000000000000000
[Thu Jan 11 13:18:36 2024] x17: ffffaaa31833d000 x16: ffffa7dc658c4c90 x15: 0000000000004000
[Thu Jan 11 13:18:36 2024] x14: ffffa7dc67107e08 x13: ffffa7dc671078f0 x12: 0000000000000000
[Thu Jan 11 13:18:36 2024] x11: 000000000000000c x10: 0000000000000b60 x9 : ffffa7dc658c478c
[Thu Jan 11 13:18:36 2024] x8 : ffffa7dc670d8580 x7 : fffffffffffffffe x6 : ffff527e80403dc0
[Thu Jan 11 13:18:36 2024] x5 : ffff527e80403db8 x4 : 0000000000000000 x3 : ffff527f7ef813c0
[Thu Jan 11 13:18:36 2024] x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
[Thu Jan 11 13:18:36 2024] Call trace:
[Thu Jan 11 13:18:36 2024] __queue_work+0x4cc/0x620
[Thu Jan 11 13:18:36 2024] queue_work_on+0xb8/0x104
[Thu Jan 11 13:18:36 2024] shim_spi_irq_handler+0x24/0x34 [nrf_wifi_fmac_sta]
[Thu Jan 11 13:18:36 2024] __handle_irq_event_percpu+0x90/0x2d0
[Thu Jan 11 13:18:36 2024] handle_irq_event+0x6c/0x100
[Thu Jan 11 13:18:36 2024] handle_edge_irq+0xb8/0x230
[Thu Jan 11 13:18:36 2024] generic_handle_domain_irq+0x34/0x50
[Thu Jan 11 13:18:36 2024] bcm2835_gpio_irq_handle_bank+0x88/0x100
[Thu Jan 11 13:18:36 2024] bcm2835_gpio_irq_handler+0x88/0x160
[Thu Jan 11 13:18:36 2024] handle_domain_irq+0x68/0xa0
[Thu Jan 11 13:18:36 2024] gic_handle_irq+0x54/0xe0
[Thu Jan 11 13:18:36 2024] call_on_irq_stack+0x28/0x58
[Thu Jan 11 13:18:36 2024] do_interrupt_handler+0x5c/0x70
[Thu Jan 11 13:18:36 2024] el1_interrupt+0x30/0xa0
[Thu Jan 11 13:18:36 2024] el1h_64_irq_handler+0x18/0x24
[Thu Jan 11 13:18:36 2024] el1h_64_irq+0x7c/0x80
[Thu Jan 11 13:18:36 2024] arch_cpu_idle+0x18/0x3c
[Thu Jan 11 13:18:36 2024] default_idle_call+0x4c/0x1c8
[Thu Jan 11 13:18:36 2024] cpuidle_idle_call+0x164/0x1d4
[Thu Jan 11 13:18:36 2024] do_idle+0xdc/0x11c
[Thu Jan 11 13:18:36 2024] cpu_startup_entry+0x30/0x7c
[Thu Jan 11 13:18:36 2024] rest_init+0x100/0x130
[Thu Jan 11 13:18:36 2024] arch_call_rest_init+0x18/0x24
[Thu Jan 11 13:18:36 2024] start_kernel+0x4cc/0x504
[Thu Jan 11 13:18:36 2024] __primary_switched+0xbc/0xc4
[Thu Jan 11 13:18:36 2024] ---[ end trace d9a230cf0f043d71 ]---
[Thu Jan 11 13:18:58 2024] : Boot_sig check failed for RPU(0), Expected: 0x5A5A5A5A, Actual: 0x0
[Thu Jan 11 13:18:58 2024] : LMAC processor ROM boot check failed
[Thu Jan 11 13:18:59 2024] : FW boot failed
[Thu Jan 11 13:18:59 2024] : nrf_wifi_fmac_fw_load failed
[Thu Jan 11 13:18:59 2024] : FW is not booted up
[Thu Jan 11 13:18:59 2024] : nrf_wifi_fmac_dev_add_lnx failed
[Thu Jan 11 13:18:59 2024] nrf_wifi_spi: probe of spi0.0 failed with error -1