开发环境
主机:Ubuntu 12.04
开发板:Exynos4412
U-boot :2013.01
1.1准备开发环境
1.1.1更新主机的源列表
$ sudo apt-get update
1.1.2安装 aptitude 包管理工具
$sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0【64位】
提示:如果编译主机的 Linux 是 32 位的,可以跳过此步骤。
安装 aptitude 包管理工具
$ sudo apt-get -y install aptitude
1.1.3 安装 mkimage 工具
$ sudo apt-get -y install uboot-mkimage
$ sudo apt-get -y install u-boot-tools【64位】
1.1.4安装设备树工具
$apt-get install device-tree-compiler
【注】新版本的 uboot 增加了设备树的内容,编译需要安装设备树的交叉编译工具,使用命令“apt-get install device-tre