Closed srcshelton closed 1 month ago
Update:
I've just seen https://github.com/raspberrypi/documentation/pull/3550 - I don't suppose there's any chance that debug-logging could be restored to start4cd.elf
(… or added as a new start4cdd.elf
?), for users who only require a minimal set of GPU features, but do wish to be able to debug what's happening?
The cd
in start4cd
stands for cut-down. In order to reduce the firmware to fit in 16MB, one of the things that is omitted is the logging output. Debug your system with the regular firmware, then switch.
I still feel that there would be a benefit to start*.elf
producing more verbose general output as outlined above rather than the detailed debug output which the non-cd
binaries output (since start4cd.elf
appears to hang for several seconds even when everything is working correctly!) - but I can close this issue if this isn't going to be possible.
The start firmware is not used on Pi 5, and people have managed for 10 years with it as is, so possible or not it is unlikely to be changed now.
Describe the
bugFeature Request Even withuart_2ndstage=1
, the serial output I'm getting is as follows:(…delay…)
This is all good up to
Starting start4cd.elf
- but to add clarity when trying to further debug early boot failures, please consider adding more helpful (optional?) debug output such as:Verbose warnings if any expected file is missing (I recently moved boot-files to subdirectories to be identified by
os_prefix=
and forgot to move the kernel -start4cd.elf
simply hung rather than alerting me of any issue);Some character (
.
?) printed for every unit-amount (1kb?) of kernel image/DTB/initramfs data transferred into RAM from the boot media (perhaps different characters for each type of data?);Notification when data transfer is complete (useful then
boot-delay
orboot_delay_ms
is set to know when the timer has started);Verbose notification of any other issue or error - or simply insight into the steps which VideoCore is performing as
start*.elf
executes.To reproduce With
uart_2ndstage=1
, a whole host of edge-cases can leave the system hung with no insight into what might have occurred.Expected behaviour It would be incredibly helpful if
start*.elf
could be as verbose as possible (with UART enabled?) to give technical users insight into what is (or isn't) happening at this stage of the boot-process.System
vcgencmd version
)?f4e2138c2adc8f3a92a3a65939e458f11d7298ba Feb 29 2024 12:25:16