<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 19, 2022, 1:23 PM Alan Cudmore <<a href="mailto:alan.cudmore@gmail.com">alan.cudmore@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-1797889486445953013WordSection1"><p class="MsoNormal">I built the TF-A binary, your dev branch, used the config.txt described below, and was able to run unlimited.exe. (I’m using a Pi4b 2GB)</p><p class="MsoNormal">Great milestone!</p></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is great news! Now to get it merged for others.</div><div dir="auto"><br></div><div dir="auto">Are any other peripherals from previous Pi generations the same? Curious if wired networking might be low hanging fruit.</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word"><div class="m_-1797889486445953013WordSection1"><p class="MsoNormal">Alan</p><p class="MsoNormal"><u></u> <u></u></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:nooraman5718@gmail.com" target="_blank" rel="noreferrer">Noor Aman</a><br><b>Sent: </b>Monday, September 19, 2022 11:11 AM<br><b>To: </b><a href="mailto:WKMoore@gmail.com" target="_blank" rel="noreferrer">William Moore</a>; <a href="mailto:alancudmore@gmail.com" target="_blank" rel="noreferrer">Alan Cudmore</a>; <a href="mailto:heshamelmatary@gmail.com" target="_blank" rel="noreferrer">Hesham Moustafa</a>; <a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">rtems-devel@rtems.org</a><br><b>Subject: </b>Successful Hello world from RPi4B AArch64 over serial</p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hey everyone, </p></div><div><p class="MsoNormal">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.</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Here's my setup for running RTEMS6 on RPi4B:</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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" rel="noreferrer">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. </p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Steps to get TF-A binary are described here: <a href="https://trustedfirmware-a.readthedocs.io/en/latest/plat/rpi4.html" target="_blank" rel="noreferrer">https://trustedfirmware-a.readthedocs.io/en/latest/plat/rpi4.html</a></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Config.txt section:</p></div><div><p class="MsoNormal">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</p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">RTEMS6 </p></div><div><p class="MsoNormal">My branch (noov-dev): <a href="https://github.com/0xnoor/rtems/tree/noor-dev" target="_blank" rel="noreferrer">https://github.com/0xnoor/rtems/tree/noor-dev</a></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>