Please enable Javascript to view the contents

编译Amlogic S805通用U-Boot关键步骤

 ·  ☕ 1 分钟

参考:

How to build kernel,uboot,android sepatately

http://openlinux.amlogic.com/Docs/Common/How_to_build_kernel%2Cuboot%2Candroid_sepatately

Linux 3.10.33 Package Release Note Revision 0.10
http://openlinux.amlogic.com:8000/download/doc/linux-3.10-buildroot-pkg-201501-release-v0.10.pdf

  1. 下载编译所需工具:

CodeSourcery.tar.gz
gnutools.tar.gz
arc-4.8-amlogic-20130904-r2.tar.gz

  1. 下载源码:http://openlinux.amlogic.com:8000/download/ARM/filesystem/arm-buildroot-2015-01-20-4a5990f135.tar.gz
  2. 正确设置Path
  3. 开始编译,如遇到版本不对的库文件需要手工ln
1
2
make m8b_m201_1G_config CROSS_COMPILE=arm-none-eabi-
make CROSS_COMPILE=arm-none-eabi- V=s
  1. 编译完成后复制build目录u-boot.bin到SD卡
  2. TTL进入原始u-boot,安装编译的u-boot
mmcinfo
fatload mmc 0 12000000 u-boot.bin
store rom_write 12000000 0 60000
分享

couchp95
作者
couchp95