Compiling RTEMS for Beaglebone Black BSP

1. Setting the PATH

cd $HOME/development/rtems
export PATH=$HOME/development/rtems/4.12/bin:$PATH

the path is the RTEMS toolchain

2.Git RTEMS source code

git clone git:// rtems-src

3.Configure the source code

cd rtems-s
./bootstrap; ./bootstrap -prc

4.Compiling the code

cd ..  

mkdir build ;mkdir image;cd build

../rtems-src/configure --target=arm-rtems4.12 --enable-rtemsbsp=beagleboneblack  --prefix=........./image

//the --prefix is use for store the compiled mirror elf file, we choose the image folder


make install

then the Success tips are as follows:

you can see the image folder contain these file as follow:



How to generate image file and dd to SD card

Developed the I2C driver for Beaglebone Black BSP