Raspberry Pi tools
Dennis Rondeau
dennis.rondeau at gmail.com
Mon Mar 24 14:12:24 UTC 2014
Hello,
I have a little hack that may make your Raspberry Pi use with RTEMS a
little easier. It will allow you to not have to remove your SD card when
programming with RTEMS. You can even use your Raspberry Pi for development
if you wanted. This hack will make your SD card dual boot between Raspbian
and RTEMS. It uses the new out of box software (NOOBS) installer. First you
will need to follow the NOOBS instructions at
http://www.raspberrypi.org/downloads. When you first boot into NOOBS choose
Raspbian and ARCH linux as your operating systems. Once they are installed
boot into Raspbian. If you want to develop on the Pi you will need an SD
card at least 16 GB in size. You can set up Raspbian as your development
environment using the steps at
http://alanstechnotes.blogspot.ca/2013/03/setting-up-rtems-development.html.
(Note: This will take a lot of time took 2 days all together. One step took
19 hours of compile time on the PI). If you don't use the PI to develop you
will still need the kernel.img file you get from Alan's notes that has
RTEMS in it. Take this file and copy it to the BOOT partition that has ARCH
Linux on it overwriting the kernel.img file there (may want to back up this
file) when in Raspbian. You will still need the serial cable hooked to your
Raspberry Pi but now you can choose to boot into RTEMS by choosing Arch
Linux on the NOOBS screen.
If you want to develop on another computer you will be able to use SSH in
Raspbian to copy over the kernel.img file you compiled to the Arch Linux
boot partition. NOOBS also has a serial connection allowing you to choose
your operating system that boots via the connected serial cable. It should
be possible to follow the instructions for adding a custom OS to NOOBS to
not use this hack but I noticed you may not be able to dual boot without a
little effort.
Dennis Rondeau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140324/b060a475/attachment.html>
More information about the devel
mailing list