[Pi 5] Fatal firmware error on boot when non-FAT USB MSD inserted
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
Línea de trabajo
Start with the bootloader entry point and reproduce the failure using the listed BOOT_ORDER, a non-FAT USB drive, and a valid bootable SD card. Compare the HDMI diagnostic output at bootloader 57db150d with the expected fallback behavior; done means the Pi boots from SD without a fatal firmware error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
This is a slightly odd setup but I believe it's still within the spec of the firmware as per docs, so this error seems like a bug.
The context here is that I'm trying to prioritise booting off a USB device, with fallback to SD card if no valid bootable USB is present. In other words, the 4 scenarios are:
- Valid FAT partition on USB stick -> Boot off USB.
- No USB stick -> Boot off SD card.
- USB stick with FAT partition on but no firmware files -> Boot off SD card
- USB stick with non-FAT partition -> Boot off SD card.
The first 3 scenarios are working as expected. The last one fails during bootloader. I've attached an image of the HDMI diagnostics output when a USB stick with a single NTFS partition is inserted in the Logs section below.
To reproduce
Set boot order to prioritise USB, fallback to SD.
Insert a NTFS-formatted USB drive, and a valid bootable SD card.
Attempt to boot.
Expected behaviour
Pi boots off the SD card.
Actual behaviour
'Fatal firmware error' occurs at addr 0x3fc1393c after the firmware attempts to read the USB partitions, and before it falls back to SD card.
System
Pi 5, bootloader 57db150d (2025/11/05)
EEPROM config:
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf614i
WAIT_FOR_POWER_BUTTON=1
USB_MSD_DISCOVER_TIMEOUT=1000
I know the MSD_DISCOVER_TIMEOUT is out of spec, but the error also occurs when it's at default value.
Logs
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 5.6k
- Forks
- 1.7k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de raspberrypi/firmware
-
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
raspberrypi/firmware#2047 · 9 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
raspberrypi/firmware#2046 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 53/100
raspberrypi/firmware#2044 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
raspberrypi/firmware#2043 · 5 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
raspberrypi/firmware#2042 ·
Todos los issues de raspberrypi/firmware
Issues similares
-
problem
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Koenkk/zigbee2mqtt#33611 ·
Los mantenedores suelen responder en 1 día
-
launchpad-mirror
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
canonical/zephyr-sdk#54 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
JustAResearcher/gpu-unlock-ada#136 ·
Los mantenedores suelen responder en 1 día