Mini2440开发板,samsungS3C2440芯片
构建u-boot
两个包:
arm-linux-gcc4.4.3
u-boot-2010.3
fedora 不支持32位库,编译出现错误:
/usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc: No such file or directory
yum在线安装: sudo yum install xulrunner.i686
Fedora x64支持x86
yum install -y xulrunner.i686
1.配置arm-linux-gcc
解压包:tar xvf arm-linux-gcc-4.4.3 -C /opt/FriendlyARM/toolschain/4.4.3/bin/
添加环境变量
vim /root/.bash_profile
添加:
PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin/
2.编译u-boot
解压包:gunzip u-boot && tar xvf u-boot
make distclean
make smdk2440a_config
make
编译成功
-rwxr-xr-x. 1 root root 257364 Feb 5 04:30 u-boot.bin