环境fedora4,安装ltib步骤如下:
1、解压BSP,运行 ./install, 设置目录为/home/fedora/ltib, 没问题;
2、在/home/fedora/ltib目录下生成ltib-mpc8308erdb-20100413目录,
进入 cd /home/dedora/ltib/ltib-mpc8308erdb-20100413,前面只能用户
下运行要设置的东东设置好;
然后运行./ltib ,然后build successed,这个也没问题
Processing: sysconfig
=======================
Processing: merge
===================
Processing: modeps
====================
Started: Wed May 21 19:06:22 2014
Ended: Wed May 21 19:06:23 2014
Elapsed: 1 seconds
Build Succeeded
3、解压u-boot,执行命令 ./ltib -m prep -p u-boot
完了之后会在 rpm/BUILD目录下生成u-boot-2009.11-rc1
目录 ,也没问题;
4、接下来就是有问题了,我开始单独编译u-boot
执行./ltib -m scbuild -p u-boot
-nostdinc -isystem /opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-linux-gnu/lib/gcc/powerpc-e300c3-linux-gnu/4.1.2/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC83xx -DCONFIG_E300 -ffixed-r2 -msoft-float -o start.o start.S -c
make[1]: Leaving directory `/home/fedora/ltib/ltib-mpc8308erdb-20100413/rpm/BUILD/u-boot-2009.11-rc1/cpu/mpc83xx'
error: Bad exit status from /home/fedora/ltib/ltib-mpc8308erdb-20100413/tmp/rpm-tmp.20097 (%build)
RPM build errors:
Bad exit status from /home/fedora/ltib/ltib-mpc8308erdb-20100413/tmp/rpm-tmp.20097 (%build)
Build time for u-boot-2009.11-rc1-mpc8308erdb: 3 seconds
Failed building u-boot-2009.11-rc1-mpc8308erdb
f_scbuild() returned an error, exiting
traceback:
main:560
Exiting on error or interrupt
按照上面步骤编译kernel 和helloworld没问题,就是编译u-boot出现上述问题
有谁碰到类似问题,求解释啊!
|