<div dir="ltr"><div>Hey everyone, <br></div><div>I've managed to get RTEMS6 on the Raspberry pi 4B rev 1.4. Every test ran fine except for minimum.exe, It gave a fatal error.</div><div><br></div><div>Here's my setup for running RTEMS6 on RPi4B:</div><div><br></div><div>TF-A is required to enable GIC on RPi. I had tried to use armstub-gic.S (<a href="https://github.com/raspberrypi/tools/blob/master/armstubs/armstub8.S" target="_blank">https://github.com/raspberrypi/tools/blob/master/armstubs/armstub8.S</a>) but it didn't work out. TF-A on other hand did work pretty well. <br></div><div><br></div><div>Steps to get TF-A binary are described here: <a href="https://trustedfirmware-a.readthedocs.io/en/latest/plat/rpi4.html" target="_blank">https://trustedfirmware-a.readthedocs.io/en/latest/plat/rpi4.html</a></div><div><br></div><div>Config.txt section:</div><div>arm_64bit=1<br>enable_uart=1<br>gpio=22-27=np<br>enable_jtag_gpio=1<br>dtoverlay=disable-bt<br>kernel=kernel8.img<br>enable_gic=1<br>armstub=bl31.bin</div><div><br></div><div>RTEMS6 <br></div><div>My branch (noov-dev): <a href="https://github.com/0xnoor/rtems/tree/noor-dev">https://github.com/0xnoor/rtems/tree/noor-dev</a></div><div><br></div></div>