I've installed the latest Raspberry Pi OS 64-bit on my hardware and I can boot up fine. When I add dtoverlay=sdio-pi5 the system doesn't boot up (and I can't see anything on the screen, but that may be because the PWM driver for the backlight isn't loaded). However if I try to dynamically load the sdio-pi5 driver I get this error in dmesg:
Code:
[ 30.227183] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@1000120000/rp1/mmc@180000/status[ 30.227194] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@1000120000/rp1/mmc@180000/pinctrl-0[ 30.227198] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@1000120000/rp1/mmc@180000/pinctrl-names[ 30.227202] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@1000120000/rp1/sdio_clk0@b0004/status[ 30.227817] rp1-sdio-clk 1f000b0004.sdio_clk0: loaded sdio_clk0[ 30.236786] Unable to handle kernel execute from non-executable memory at virtual address ffffd06f521e50d8[ 30.246992] Mem abort info:[ 30.249902] ESR = 0x000000008600000f[ 30.253760] EC = 0x21: IABT (current EL), IL = 32 bits[ 30.259171] SET = 0, FnV = 0[ 30.262269] EA = 0, S1PTW = 0[ 30.265435] FSC = 0x0f: level 3 permission fault[ 30.270261] swapper pgtable: 16k pages, 47-bit VAs, pgdp=000000000148c000[ 30.277134] [ffffd06f521e50d8] pgd=1000000001cc0003, p4d=1000000001cc0003, pud=1000000001cc0003, pmd=1000000020cac003, pte=0060000020c1cf83[ 30.289760] Internal error: Oops: 000000008600000f [#1] PREEMPT SMP[ 30.296058] Modules linked in: sdhci_of_dwcmshc snd_seq_dummy snd_hrtimer snd_seq snd_seq_device bnep binfmt_misc hci_uart btbcm bluetooth aes_ce_blk aes_ce_cipher ghash_ce gf128mul ecdh_generic spidev ecc joydev rfkill sha2_ce sha256_arm64 libaes sha1_ce sha1_generic rpi_hevc_dec v4l2_mem2mem raspberrypi_hwmon pisp_be videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev videobuf2_common i2c_brcmstb spi_bcm2835 gpio_keys edt_ft5x06 rp1_pio mc dwc2 rp1_mailbox rp1_adc rp1 raspberrypi_gpiomem nvmem_rmem i2c_dev ledtrig_pattern fuse dm_mod ip_tables x_tables ipv6 rtc_pcf85063 pwm_pca9685 regmap_i2c vc4 snd_soc_hdmi_codec snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd drm_display_helper drm_dma_helper i2c_designware_platform v3d drm_shmem_helper cec gpu_sched drm_kms_helper i2c_designware_core drm drm_panel_orientation_quirks uio_pdrv_genirq pwm_bl backlight uio[ 30.377312] CPU: 3 UID: 0 PID: 41 Comm: kworker/u20:0 Not tainted 6.12.20+rpt-rpi-2712 #1 Debian 1:6.12.20-1+rpt1~bpo12+1[ 30.388924] Hardware name: Raspberry Pi Compute Module 5 Rev 1.0 (DT)[ 30.395652] Workqueue: async async_run_entry_fn[ 30.400467] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)[ 30.407724] pc : sdhci_dwcmshc_ops+0x0/0xfffffffffff82f28 [sdhci_of_dwcmshc][ 30.415074] lr : dwcmshc_probe+0x24c/0x6f8 [sdhci_of_dwcmshc][ 30.421111] sp : ffffc000807bbc20[ 30.424694] x29: ffffc000807bbc20 x28: 0000000000000000 x27: 0000000000000000[ 30.432120] x26: ffffd06f521e4308 x25: ffff8000c059da40 x24: ffff8000c059da80[ 30.439552] x23: ffffd06f521e4cc8 x22: ffff8000e06ae410 x21: ffff8000e06ae400[ 30.446986] x20: ffff8000c059d540 x19: 0000000000000000 x18: ffffffffffffffff[ 30.454420] x17: 0000000000000000 x16: ffffd06fceeb3100 x15: ffff8000c059d590[ 30.461855] x14: ffffffffffffffff x13: 0000000000000038 x12: 0101010101010101[ 30.469297] x11: 7f7f7f7f7f7f7f7f x10: 0000506fae4281a0 x9 : ffffd06f521660fc[ 30.476746] x8 : 0101010101010101 x7 : 0000000000000080 x6 : 15070f011817415e[ 30.484194] x5 : 5e411718010f0715 x4 : 0000000000000000 x3 : ffffd06f521e50d8[ 30.491638] x2 : ffff8000c059da80 x1 : ffff8000c059d540 x0 : ffff8000e06ae410[ 30.499081] Call trace:[ 30.501801] sdhci_dwcmshc_ops+0x0/0xfffffffffff82f28 [sdhci_of_dwcmshc][ 30.508805] platform_probe+0x70/0xd0[ 30.512747] really_probe+0xc4/0x2a8[ 30.516594] __driver_probe_device+0x80/0x140[ 30.521218] driver_probe_device+0x44/0x170[ 30.525663] __driver_attach_async_helper+0x54/0xc8[ 30.530800] async_run_entry_fn+0x3c/0xf0[ 30.535058] process_one_work+0x158/0x3d0[ 30.539309] worker_thread+0x2d8/0x3e8[ 30.543290] kthread+0x11c/0x128[ 30.546740] ret_from_fork+0x10/0x20[ 30.550531] Code: 00000000 00000000 00000000 00000000 (00000000)[ 30.556848] ---[ end trace 0000000000000000 ]---Statistics: Posted by hakanl — Mon Apr 21, 2025 5:59 pm