Andes Workshop

It is currently Fri Mar 29, 2024 3:01 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: BSP v300裡編譯U-Boot的方法
PostPosted: Wed Jun 01, 2011 11:45 am 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group