Where does Raspberry Pi 4 load the kernel?
Posted: Fri Nov 08, 2019 3:57 am
I've recently bought RPI4 and it seems to be quite powerful board, but lack of any kind of technical documentation in just painful.
I've had problems running bare metal code on it because of memory corruption, or so I thought. I don't have any 3V compatible serial adapter and no one seems to be able to debug it over JTAG yet.
After I've got video controller to be able to display some text, I've found that my kernel8.img seems to be loaded at address 0 instead of 0x80000. kernel_base and old_kernel options seem to be ignored. Can anyone confirm that behaviour? BTW. I am booting it over network using built-in bootcode.bin (no SD card).
I've had problems running bare metal code on it because of memory corruption, or so I thought. I don't have any 3V compatible serial adapter and no one seems to be able to debug it over JTAG yet.
After I've got video controller to be able to display some text, I've found that my kernel8.img seems to be loaded at address 0 instead of 0x80000. kernel_base and old_kernel options seem to be ignored. Can anyone confirm that behaviour? BTW. I am booting it over network using built-in bootcode.bin (no SD card).