rtems on raspberry pi 2 difficultys

Andreas Kölbl andreas.koelbl at st.oth-regensburg.de
Mon Jul 17 13:15:52 UTC 2017


Am 17.07.2017 um 13:29 schrieb William Kirstaedter:
> Hi @all,
> I hope I am asking in the right mailing list.
>
> This probably has already been asked, but I wasnt able to find
> anything suiting my problem case.
>
> I want to run RTEMS (and later on EPICS, but this shall not be part of
> this request here) on my Raspberry Pi 2 B.
> So I followed various guides on how to get RTEMS compiled for ARM /
> raspberry pi, and got a seemingly successful build of RTEMS 4.12
> including the sample programs.
> I then made a binary out of the ticker.exe and copied it over onto my
> boot partition of the SD card. neccessary proprietary broadcom
> bootloader files are present.
>
> Now when I try and turn the raspi on, it just shows the color splash
> screen on HDMI and prints out unreadable, strange characters on UART
> console. they are not always the same.
> (I try to append an Image)
>
> the same happens with hello.exe and the older RTEMS 4.11.
>
> Normally the Raspberry should display readable status messages on UART
> for approx. 35 seconds and then halt.
>
> Maybe somebody here has an Idea whats the issue? Do I have to tell
> RTEMS (somehow) what serial connection should be used and at what
> speed it should operate? I am really new to RTEMS and therefore
> missing even an Idea where to start searching.
> Or should I ask in devel mailing list too?
>
which baud rates did you try? The README file located in
c/src/lib/libbsp/arm/raspberrypi/README states, you should be able to
see output on PL011 UART0 at 115200 Baud and 8N1 encoding set to your
console.
E.g. /dev/ttyUSB0 is a serial to usb converter ->
stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb
should fit.
A framebuffer console should also be available.

> Thanks in advance;
>
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users





More information about the users mailing list