[LITMUS^RT] Litmus on single-board computer

Martinez Garcia Jorge Luis (DGS-EC/ESB2) JorgeLuis.MartinezGarcia at de.bosch.com
Sun Dec 10 20:12:17 CET 2017


Dear Björn,
Thank you once again for the update. I tried to port Litmus-rt to the Raspberry Pi (local building). I have one RP 3 (version 2) and my operating system is Raspbian Stretch with Desktop(4.9) – I also tried the Lite version . To do so I did the following (more or less the same as https://www.litmus-rt.org/installation.html)


$ sudo apt install libncurses-dev git libssl-dev bc

$ cd mkdir litmus

$ cd litmus

$ export=/home/pi/litmus

$ git clone https://github.com/LITMUS-RT/litmus-rt.git



# I got the Raspbian sources and generated a .config file based on bcm2709_defconfig

$ cd

$ git clone --depth=1 https://github.com/raspberrypi/linux

$ cd linux

$ make bcm2709_defconfig



$ cd $DIR/litmus-rt

$ cp ~/linux/.config .config

# I adjusted the .config files as described in the Litmus-rt documentation

$ make menuconfig



$ make -j4 zImage modules dtbs

$ sudo make modules_install

$ sudo make install <-- I already made my /boot partition in my SD card greater than 1 GB



$ sudo cp arch/arm/boot/dts/*.dtb /boot/ <-- I didn’t see any dtb files related to the RP 3

$ sudo cp arch/arm/boot/zImage /boot/kernel-litmus.img



# I appended ‘kernel=kernel-litmus.img’ to the config.txt file so that the litmus kernel could be selected during boot

$ sudo nano /boot/config.txt



$ sudo reboot





Unfortunately it got stuck on the rainbow screen which means that the system is not booting my image. Since you got it running on the RP, can you please shed some light on this matter?

Best,
Jorge

From: litmus-dev [mailto:litmus-dev-bounces at lists.litmus-rt.org] On Behalf Of Björn Brandenburg
Sent: Montag, 4. Dezember 2017 18:30
To: litmus-dev at lists.litmus-rt.org
Subject: Re: [LITMUS^RT] Litmus on single-board computer


On 4. Dec 2017, at 18:25, Martinez Garcia Jorge Luis (DGS-EC/ESB2) <JorgeLuis.MartinezGarcia at de.bosch.com<mailto:JorgeLuis.MartinezGarcia at de.bosch.com>> wrote:
I want to know, if Litmus RT has already been ported to any single-board computer such as Raspberry Pi or BeagleBoard.
I look forward to hearing from you.

Dear Jorge,

yes, the current version of LITMUS^RT is known to work on the Raspberry Pi 3, and the system has been used on various ARM SoCs in the past.

Best,
Björn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20171210/ebf2f00e/attachment.html>


More information about the litmus-dev mailing list