<div dir="ltr"><div>Hii,</div><div><br></div>This is a follow-up message since this thread has been unnoticed for a while.<div><br></div><div>Thank you,</div><div>Niteesh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 21, 2020 at 8:15 PM G. S. Niteesh <<a href="mailto:gsnb.gn@gmail.com">gsnb.gn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>This is regarding adding RPi support to the boot image generation tool.</div><div><br></div><div>The boot process for Raspberry Pi is very unconventional. The GPU starts</div><div>first, initializes RAM, other hardware, loads the bootloaders and then starts</div><div>the ARM CPU.</div><div><br></div><div>The minimum files that are required to boot an RPi are</div><div>bootcode.bin, startx.elf, fixup.dat, kernel.img, config.txt</div><div>There are also other variants of startx.elf and fixup.dat.<br></div><div>Please have a look at <a href="https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md" target="_blank">https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md</a></div><div>for information on the variants.</div><div><br></div><div>From what I have tried on my Rpi3 model b v1.2 the minimum files that are</div><div>required are start_x.elf, fixup_x.dat, bootcode.bin, kernel.img, config.txt</div><div>But for this to work, we must add start_x=1 to config.txt because by default</div><div>start.elf is loaded.</div><div><br></div><div>So, what should be the values for the first and second stages in rtems-boot.ini for Rpi?</div><div>And also wouldn't it be nice if we could add a files field, which will copy the specified files</div><div>to the image? This would save a lot of typing in case of RPi</div><div><br></div><div>Thank you,</div><div>Niteesh.</div></div>
</blockquote></div>