编译 redboot

3s板子的redboot一直跑步起来,只好改代码重新编译,建立环境和编译如下:
1.creates /opt/ecostools directory
tar zxvf ecostools.tar.gz
2.Add /opt/ecostools/gnutools/arm-elf/bin and /opt/ecostools/tools/bin to your environment PATH variable.
3.tar xjvf ecos-trunk-080727.tar.bz2
4.cd ~/src/ecos
5.bunzip2 -c patch-redboot-200834-base.bz2 | patch -p1
6.bunzip2 -c patch-redboot-200834-base.bz2 | dos2unix | patch -p1
7.export ECOS_REPOSITORY=~/src/ecos/packages
8.ecosconfig new mx31_3stack redboot
9.ecosconfig import $ECOS_REPOSITORY/hal/arm/mx31/3stack/current/misc/redboot_ROMRAM.ecm
10.ecosconfig tree
11.make

你可能感兴趣的:(编译 redboot)