<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">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>