Andes Workshop http://forum.andestech.com/ |
|
BSP v300裡編譯U-Boot的方法 http://forum.andestech.com/viewtopic.php?f=16&t=105 |
Page 1 of 1 |
Author: | cindy [ Wed Jun 01, 2011 11:45 am ] |
Post subject: | BSP v300裡編譯U-Boot的方法 |
BSP v300裡附有U-Boot的code(on Andes CPU), 但是手冊裡沒有寫編譯的方法。 在此附上compile U-boot的方法: # Build environment settings # Use v1 glibc toolchain in BSP V3.0.0 export TOOLCHAIN_ROOT=/home/users/sqa/BSP-v300/toolchains-bin/nds32le-linux-glibc-v1 export PATH=$TOOLCHAIN_ROOT/bin:$PATH export ARCH=nds32 export CROSS_COMPILE=nds32le-linux- # U-Boot source in BSP V3.0.0 C:\Andestech\BSPv300\source\Standalone\u-boot\u-boot.tgz # Extract tarball source and then build tar xvfz u-boot.tgz cd os/u-boot make distclean make adp-ag101p |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |