参考:
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
- 下载编译所需工具:
CodeSourcery.tar.gz
gnutools.tar.gz
arc-4.8-amlogic-20130904-r2.tar.gz
- 下载源码:http://openlinux.amlogic.com:8000/download/ARM/filesystem/arm-buildroot-2015-01-20-4a5990f135.tar.gz
- 正确设置Path
- 开始编译,如遇到版本不对的库文件需要手工ln
|
|
- 编译完成后复制build目录u-boot.bin到SD卡
- TTL进入原始u-boot,安装编译的u-boot
mmcinfo
fatload mmc 0 12000000 u-boot.bin
store rom_write 12000000 0 60000