Compiling and installing RTEMS for the Raspberry Pi
2017-03-19 12:08
2727 查看
Compiling and installing RTEMS for the Raspberry Pi
OK, The RTEMS compiler is ready to go on your Ubuntu machine, so it’s time to download and build RTEMS for the Raspberry Pi.If you have not installed the compiler, then go back and follow that step
Step 1: Download and Prepare RTEMS:
Start by check out the RTEMS head build from the git repository$ cd $HOME/development/rtems $ git clone git://git.rtems.org/rtems.git rtems-git |
$ cd rtems-git $ ./bootstrap |
you run on the Pi just yet. You are compiling all of the operating system libraries, drivers, and installing them along with the headers. When you build your own RTEMS application, you will then use these headers and libraries.
Step 2: Configure RTEMS:
$ cd $HOME/development/rtems $ mkdir build-rtems-rpi $ cd build-rtems-rpi |
$ ../rtems-git/configure --target=arm-rtems4.11 \ --enable-rtemsbsp=raspberrypi \ --enable-tests=samples \ --enable-networking \ --enable-posix \ --prefix=$HOME/development/rtems/bsps/4.11 |
target architecture: arm. available BSPs: raspberrypi. 'make all' will build the following BSPs: raspberrypi. other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."' config.status: creating Makefile |
Step 3: Now, build and install:
$ make install |
$HOME/development/rtems/bsps/4.11/arm-rtems4.11/raspberrypi
All of these directories may seem a little complicated, but it starts to make sense when you want to have different RTEMS versions, different architectures, and different BSPs all on the same development machine, without getting anything mixed up.
So now you have a cross compiler, and have RTEMS compiled and installed, so what about getting an RTEMS program to actually run on the Pi ?
文章转自:http://alanstechnotes.blogspot.com/2013/03/compiling-and-installing-rtems-for.html
相关文章推荐
- Cross-compiling TensorFlow for the Raspberry Pi
- Setting up an RTEMS development environment for the Raspberry Pi
- Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3
- Installing PHP and the Oracle Instant Client for Linux and Windows For PHP 5.5, OCI8 2.0 and Oracle
- Waf is a Python-based framework for configuring, compiling and installing applications
- Cross-compiling Qt Embedded 5.5 for Raspberry Pi 2
- A Low Cost JTAG Debugger for the Raspberry Pi
- Running your first RTEMS program on the Raspberry Pi
- Installing ROS Indigo on the Raspberry Pi
- Installing ROS Kinetic on the Raspberry Pi
- Use cases about the V4L2 driver for the Dual Raspberry Pi Camera Module
- Accessing the Raspberry Pi Camera with OpenCV and Python
- Compiling and Installing the Apache Web Server
- Compiling Your Application with the Microsoft Layer for Unicode
- 为了娱乐和利益粉碎栈(Smashing The Stack For Fun And Profit)
- what is the core technology for WEBGIS and MobileGIS
- The FreeBSD Foundation Announces Java JDK and JRE 1.5 Binaries for FreeBSD
- The Development and Comparison of Robust Methods for Estimating the Fundamental Matrix