RTEMS 4.12 on RPi Zero

William Busacker wbusacker at outlook.com
Fri Sep 29 03:53:45 UTC 2017


Thank you so much! That worked!

I've been aiming for just the Zero 1.3 since my rocketry group has a bunch on hand from previous projects. We're hoping to implement RTEMS on a Pi Zero as the computer for an active controls unit on a high powered rocket.

Just out of curiosity, how far away is getting SD card support? From what I've gathered, it looks like the SD card was worked on in a GSoC a while back but I couldn't find any reference as to if it was completed or not.

Again, thank you so much!
-Will

On 9/28/2017 10:54 AM, Alan Cudmore wrote:

RTEMS should work on the Raspberry Pi Zero, but I have not tried RTEMS on the Raspberry Pi Zero W. The "W" model has wifi and bluetooth, and like the Raspberry Pi 3, the bluetooth is connected to the UART which is used by the RTEMS console. I believe we need to write a new console driver for the Pi Zero W and 3 models.

The rest of the Pi models, such as the non wireless Raspberry Pi Zero should work, but there is a problem with newer Raspberry Pi firmware. I don't know what the exact problem is, but reverting to an older version of the Raspberry Pi firmware seems to work.

Try this release of the firmware on your SD card:
https://github.com/raspberrypi/firmware/tree/1.20160620/boot

Alan


On Wed, Sep 27, 2017 at 10:30 PM, William Busacker <wbusacker at outlook.com<mailto:wbusacker at outlook.com>> wrote:
I've been having a lot of trouble attempting to get RTEMS running on a
Raspberry Pi Zero, hoping someone can help.

I've been following the steps outlined by
http://alanstechnotes.blogspot.com/2013/03/rtems-on-raspberry-pi.html?m=1
but changing all references of 4.11 to 4.12 and omiting /chrisj/ from
the git path for rtems builder. My primary environment is Bash for
Windows running Windows 10 Pro, however I have an Ubuntu 17.04 install
that can target the exact same directory.

At first, I made a brand new Raspbian boot SD and then replaced the
kernel.img on the SD card with the img file created in Alan's last step,
however that never does anything. One of the comments from that post had
said to use the ticker.exe from
/build-rtems-rpi/arm-rtems4.12/c/raspberrypi/testsuites/samples/ticker/ticker.exe
instead of under /bsps however that too does not work. At this point I
also noticed that the Makefile in /build-rtems-rpi/...../ticker hadn't
fully run. When I ran that makefile, it failed saying that leaf.cfg:1
*** missing separator. Stop.

I have copied the 4.11.2 tarball from
https://git.rtems.org/rtems-source-builder/ and build up the source
builder from that, however when I get to the make install step, it
errors out as several make files that it tries to run during the
recursive step don't have install steps (or any steps, they're blank) so
the make process stops.

Any pointers or tips on how to get this working would be greatly
appreciated!

-Will Busacker
_______________________________________________
users mailing list
users at rtems.org<mailto:users at rtems.org>
http://lists.rtems.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170929/8cccfb61/attachment-0002.html>


More information about the users mailing list