I am currently trying to debug a "black screen" on a Raspberry Pi. The Pi is plugged to an in-house PCB using connector of the Pi and the LCD screen is connected on this in-house board.
The Linux distro was built with Yocto.
Now, sometimes though not often, the boot process is stopped after a reboot command scheduled by the embedded application running on the platform.
It seems that the boot process is stucked somewhere before loading the kernel into the RAM or at least before the logs are printed.
Now as far as I know there are 3 steps in the early boot phase of the Pi:
- videocore
- bootcode.bin
- start.elf
My questions are :
- How to have debug log during those 3 steps?
- As there is no screen directly connected to the Pi,would it be possible to have these logs store in a regular file on the SD Card?