This blog is part of my involvement with RTEMS as a Google Summer of Code 2015 student. I will use the blog this summer to post my updates related to the undertaken project. It will serve to share my progress in the form of issues, fixes and other relevant technical details.
The following posts will capture this challenging and exciting summer! :)
Next: Introduction to the project
hello ma'am..
ReplyDeletei need to install RTEMS on raspi 2 for my project, but i am facing problems during installation. Could u pls guide me through the steps of installation?
thank you.
hi,
ReplyDeleteYou can refer to https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start for reference on the general process to build an rtems bsp once you have the RTEMS source code and the required tools build.
1) make a directory say b-rpi2 where raspberry pi 2 will build. So mkdir b-rpi2
2) cd b-rpi2
3) ../rtems/configure --target=arm-rtems4.11 --enable-rtemsbsp=raspberrypi2 --enable-tests=samples --disable-posix
4) make
5) sudo PATH=/opt/rtems/4.11/bin:${PATH} make install
This will build the samples which you can run on Raspberry pi 2.
If you are facing an issue with the RTEMS kernel image, please post a comment.
hello ma'am
ReplyDeletei follow the step to build and load the example image to SD card on raspberry pi 2 model b, i can successfully build the RTEMS example executable image and rki image refer to https://github.com/alanc98/rki, however, neither of build example image nor rki image would work, when i replace the kernel7.img with them, the console output nothing.
i try to boot rpi2 with u-boot by "bootelf -p" command and also i make the bin or exe file to zImage to boot by "bootz" command, and neither of the process show the rtems os work.
Is the projects support the rpi2 model b, could you please tell me how to make RTEMS works on RPI2?
thank you very much
Hello,
ReplyDeleteI try to make this
$ ../rtems-git/configure --target=arm-rtems4.11 --enable-rtemsbsp=raspberrypi2 --enable-tests=samples --disable-posix
$ make install
but I have a error..
Please, help me ...
fatal error: sys/select.h: No such file or directory
In file included from ../../../../cpukit/../../../raspberrypi/lib/include/rpc/rpc.h:62:0,
from ../../../../../../../../rtems-git/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:77:
../../../../cpukit/../../../raspberrypi/lib/include/rpc/svc.h:46:37: fatal error: sys/select.h: No such file or directory
#include /* fd_set */
^
compilation terminated.
Makefile:547: recipe for target 'src/libnfs_a-rpcio.o' failed
make[5]: *** [src/libnfs_a-rpcio.o] Error 1
make[5]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libfs/src/nfsclient'
Makefile:1450: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libfs'
Makefile:969: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit'
Makefile:425: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi'
Makefile:286: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c'
Makefile:410: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1