Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Device Tree • Re: Configure overlay for SPI in kernel 6.8

$
0
0
This I think causes the boot to fail. It all starts with spi driver not being able to find GPIO chip pinctrl-bcm2835 - `spi spi0.1: cannot find GPIO chip pinctrl-bcm2835, deferring` - then the crash happens.

Code:

[    3.407980] spi spi0.1: cannot find GPIO chip pinctrl-bcm2835, deferring[    3.420487] Unable to handle kernel paging request at virtual address fffffffffffffe00[    3.422325] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode[    3.428552] Mem abort info:[    3.428555]   ESR = 0x0000000096000004[    3.428558]   EC = 0x25: DABT (current EL), IL = 32 bits[    3.428561]   SET = 0, FnV = 0[    3.428563]   EA = 0, S1PTW = 0[    3.428565]   FSC = 0x04: level 0 translation fault[    3.428568] Data abort info:[    3.428570]   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000[    3.428572]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0[    3.428575]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0[    3.428578] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000001a27000[    3.428582] [fffffffffffffe00] pgd=0000000000000000, p4d=0000000000000000[    3.491407] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP[    3.497766] Modules linked in: udc_core bcm2835_mmc crct10dif_ce i2c_brcmstb spi_bcm2835(+) xhci_pci(+) xhci_pci_renesas phy_generic nvmem_rmem aes_arm64[    3.499848] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1[    3.511731] CPU: 1 PID: 157 Comm: (udev-worker) Not tainted 6.8.0-1010-raspi #11-Ubuntu[    3.511737] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)[    3.511740] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)[    3.511746] pc : gpiod_free_commit+0x38/0x308[    3.511763] lr : gpiod_free_commit+0x38/0x308[    3.511769] sp : ffff8000806f3600[    3.511771] x29: ffff8000806f3600 x28: 0000000000000000 x27: ffff180000f7ef20[    3.559762] x26: ffff1800002be410 x25: ffff180000f7ec00 x24: fffffffffffffdfb[    3.567005] x23: ffff180007db8540 x22: ffffdd72b57b82b0 x21: ffff180007db8000[    3.574247] x20: ffff18000492a580 x19: fffffffffffffdfb x18: 0000000000000000[    3.581487] x17: 0000000000000000 x16: ffffdd72b3e36820 x15: 0000000000000000[    3.588727] x14: 0000000000000001 x13: ffffdd72b549db30 x12: 0000000000000000[    3.595967] x11: 0000000000000001 x10: 0000000000001b60 x9 : ffffdd72b3e362d8[    3.603208] x8 : ffff8000806f34e8 x7 : 0000000000000000 x6 : ffffffffffffffff[    3.610447] x5 : 0000000000000000 x4 : ffff8000806f35c0 x3 : 0000000000000000[    3.617685] x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000[    3.624924] Call trace:[    3.627398]  gpiod_free_commit+0x38/0x308[    3.631466]  gpiod_free.part.0+0x20/0x58[    3.635443]  gpiod_put+0x1c/0x38[    3.638713]  bcm2835_spi_cleanup+0x54/0xa0 [spi_bcm2835][    3.644111]  bcm2835_spi_setup+0x284/0x2a8 [spi_bcm2835][    3.649501]  spi_setup+0x100/0x650[    3.652952]  __spi_add_device+0x1f4/0x338[    3.657015]  spi_add_device+0x54/0x80[    3.660725]  of_register_spi_device+0xa8/0x120[    3.665230]  spi_register_controller+0x38c/0x4c0[    3.669911]  bcm2835_spi_probe+0x1e4/0x338 [spi_bcm2835][    3.675301]  platform_probe+0x70/0x100[    3.679103]  really_probe+0x19c/0x3f8[    3.682814]  __driver_probe_device+0x90/0x1b0[    3.687228]  driver_probe_device+0x44/0x168[    3.691468]  __driver_attach+0x100/0x250[    3.695442]  bus_for_each_dev+0x80/0xe8[    3.699328]  driver_attach+0x2c/0x40[    3.702949]  bus_add_driver+0x15c/0x290[    3.706835]  driver_register+0x64/0x138[    3.710721]  __platform_driver_register+0x30/0x48[    3.715489]  bcm2835_spi_driver_init+0x28/0xff8 [spi_bcm2835][    3.721320]  do_one_initcall+0x4c/0x368[    3.725209]  do_init_module+0xa0/0x260[    3.729010]  load_module+0x790/0x8c8[    3.732632]  init_module_from_file+0x94/0xf8[    3.736960]  idempotent_init_module+0x178/0x2a8[    3.741552]  __arm64_sys_finit_module+0x6c/0xd8[    3.746145]  invoke_syscall+0x50/0x128[    3.749942]  el0_svc_common.constprop.0+0x48/0xf0[    3.754710]  do_el0_svc+0x24/0x38[    3.758066]  el0_svc+0x48/0x178[    3.761255]  el0t_64_sync_handler+0x120/0x130[    3.765671]  el0t_64_sync+0x1a8/0x1b0[    3.769383] Code: d000cc00 910ac016 aa1603e0 9419e77b (f9400261) [    3.775563] ---[ end trace 0000000000000000 ]---

Statistics: Posted by KmakD197 — Tue Oct 29, 2024 11:12 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles