-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rpi5] crash on loading firmware rp1 #6593
Comments
This error shows that Pi 5 EEPROM needs to be updated to provide support for the RP1 firmware mailbox, but that shouldn't lead to a crash. Unfortunately you've pruned the crash log so much that I can't work out what went wrong.
|
OK - I can see that all is not right if the firmware driver fails to load, but I'd still like to understand your configuration so I can test any patches. |
Hi @pelwell , In answer to your questions:
Here's a more complete dmesg:
|
Ensure that rp1_pio_open fails if the device failed to probe. Link: raspberrypi#6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Simplify the implementation of rp1_firmware_get, requiring its clients to have a valid 'firmware' property. Also make it return NULL on error. Link: raspberrypi#6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Ensure that rp1_pio_open fails if the device failed to probe. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Simplify the implementation of rp1_firmware_get, requiring its clients to have a valid 'firmware' property. Also make it return NULL on error. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Ensure that rp1_pio_open fails if the device failed to probe. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Simplify the implementation of rp1_firmware_get, requiring its clients to have a valid 'firmware' property. Also make it return NULL on error. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Thanks! I'll test this on my unit and report back. |
Ensure that rp1_pio_open fails if the device failed to probe. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Simplify the implementation of rp1_firmware_get, requiring its clients to have a valid 'firmware' property. Also make it return NULL on error. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This seems resolved with the latest build:
Thanks @pelwell ! |
Ensure that rp1_pio_open fails if the device failed to probe. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Simplify the implementation of rp1_firmware_get, requiring its clients to have a valid 'firmware' property. Also make it return NULL on error. Link: #6593 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Describe the bug
With the latest build [62c3397] the kernel crashes on a Pi5 when it wants to load firmware for the rp1.
Steps to reproduce the behaviour
boot
Device (s)
Raspberry Pi 5
System
Linux ropieee5 6.6.69-SPCKFSH-v8-16k #1 SMP PREEMPT Wed Jan 8 20:40:37 CET 2025 aarch64 GNU/Linux
Logs
rp1-firmware: probe of rp1_firmware failed with error -110
[ 2.719830] Unable to handle kernel paging request at virtual address ffffffc081c45f04
[ 2.719841] Mem abort info:
[ 2.719844] ESR = 0x0000000096000047
[ 2.719848] EC = 0x25: DABT (current EL), IL = 32 bits
[ 2.719854] SET = 0, FnV = 0
[ 2.719858] EA = 0, S1PTW = 0
[ 2.719861] FSC = 0x07: level 3 translation fault
[ 2.719866] Data abort info:
[ 2.719869] ISV = 0, ISS = 0x00000047, ISS2 = 0x00000000
[ 2.719874] CM = 0, WnR = 1, TnD = 0, TagAccess = 0
[ 2.719878] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 2.719883] swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000001116000
[ 2.719889] [ffffffc081c45f04] pgd=10000000fffff003, p4d=10000000fffff003, pud=10000000fffff003, pmd=10000000067a1003, pte=0000000000000000
[ 2.719905] Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP
[ 2.719911] Modules linked in: vc4 snd_soc_hdmi_codec drm_display_helper cec snd_soc_core snd_compress aes_ce_blk aes_ce_cipher snd_pcm_dmaengine rpi_panel_attiny_regulator edt_ft5x06 tc358762 ghash_ce snd_pcm gf128mul libaes v3d drm_rp1_dsi regmap_i2c snd_timer spidev sha2_ce drm_dma_helper snd sha256_arm64 panel_simple gpu_sched sha1_ce drm_kms_helper drm_shmem_helper drm i2c_designware_platform spi_bcm2835 gpio_keys raspberrypi_hwmon i2c_designware_core rp1_pio(+) rp1_adc drm_panel_orientation_quirks raspberrypi_gpiomem rp1_mailbox rp1 backlight nvmem_rmem cfg80211 rfkill uio_pdrv_genirq uio sch_fq_codel pkcs8_key_parser fuse nfnetlink ipv6
[ 2.720005] CPU: 1 PID: 179 Comm: (udev-worker) Not tainted 6.6.69-SPCKFSH-v8-16k #1
[ 2.720014] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)
[ 2.720019] pstate: 00400009 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2.720026] pc : __memcpy_toio+0x14/0x98
[ 2.720036] lr : rp1_firmware_message+0x74/0x140 [rp1]
Additional context
No response
The text was updated successfully, but these errors were encountered: