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://git.rtems.org/rtems 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
//then
make
make install
then the Success tips are as follows:
you can see the image folder contain these file as follow:
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://git.rtems.org/rtems 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
//then
make
make install
then the Success tips are as follows:
you can see the image folder contain these file as follow:
评论
发表评论