Skip to main content

Posts

Showing posts from June, 2015

[RTEMS/RASP] GPIO/Pibrella/Display-Module on RTEMS

This quest is for the one who is seeking how to use GPIO on RTEMS. I have tested that Pibrella Rev3 (popular all-in-one collection) and Raspberry Pi® Display-Modul 1115 (LCD+Keypad) both can work well. Thanks for AndrĂ© Marques, now GPIO library is feasible on RTEMS. Consider https://github.com/asuol/RTEMS_rpi_testing github: Below find more detail information after this article. AndrĂ©said he is still updating the file system, we look forward the official release in RTEMS. To adopt his contributions, I clone over his branch (GPIO_API) and rebuild my RTEMS again. Under the source directory (rtems-gpio), ./bootstrap, e.g. /home/khchen/development/rtems-gpio/, and then go to the build directory: Makefile.am and configure.ac all need to be changed accordingly, i.e., the name of library and the path of sample. Please note, due to ./bootstrap script, all the Makefile.am will be complied to Makefile.in in each directory. Then we change to the directory of build and configur...

[RTEMS/RASP] Networking demo in RTEMS

In order to have the internet application on RTEMS with Raspberry Pi, we first have to check whether the internet works well. How to find out the mac address?? http://osdir.com/ml/os.rtems.user/2008-04/msg00179.html https://devel.rtems.org/wiki/TBR/UserManual/Obtaining_Interface_Information However, so far I can only print out the information of loopback interface I think the problem probably comes from our institute internet framework. Therefore, I prepare a Wi-Fi router to get rid of it. =================== https://devel.rtems.org/wiki/GSoC/2015 https://devel.rtems.org/wiki/Developer/Projects/Open/ImproveRaspberryPiBSP Ethernet support on RaspPi is stiil an open issue :P ::::::::::::::::::::::::If the internet does work::::::::::::::::::::::::::: Fortunately, there are some solid networking examples on the git repository. git clone git://git.rtems.org/network-demo network-demo cd examples-v2 export RTEMS_MAKEFILE_PATH=~/development/rtems/4.11/arm-rtems4.11/raspber...