1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-18 16:41:32 +02:00

m1/BUILD-CHEAT-SHEET: added how to get the RTEMS sources

This commit is contained in:
Werner Almesberger 2011-11-26 15:20:16 -03:00
parent f9583fbec0
commit 3a3c77c1e1

View File

@ -1,17 +1,29 @@
(This is my cheat sheet. It works for me but yet may stil be incomplete (This is my cheat sheet. It works for me but yet may stil be incomplete
and redundant at the same time.) and redundant at the same time.)
Instructions:
http://milkymist.org/wiki/index.php?title=RTEMS_build_instructions
Getting rtems:
cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS login
cvs -d :pserver:anoncvs@www.rtems.com:/usr1/CVS -z 9 co -P rtems # 00:58
cd rtems
ln -s /home/qi/wernermisc/m1/patches/rtems/ patches
quilt push -a
Compiling rtems: Compiling rtems:
cd rtems cd rtems
./bootstrap -c && ./bootstrap -p && ./bootstrap ./bootstrap -c && ./bootstrap -p && ./bootstrap # 08:37
mkdir -p build mkdir -p build
cd build cd build
../configure --target=lm32-rtems4.11 --enable-rtemsbsp=milkymist \ ../configure --target=lm32-rtems4.11 --enable-rtemsbsp=milkymist \
--enable-posix --disable-itron --enable-networking \ --enable-posix --disable-itron --enable-networking \
--disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11 --disable-multiprocessing --disable-tests --prefix=/opt/rtems-4.11 # 00:09
make make # -j5 # 01:11
make install make install # 00:05
Compiling rtems-yaffs: Compiling rtems-yaffs: