Build Embed Linux System

这里介绍在TQ2440上准备Linux系统的一些步骤。 包括嵌入式Linux的内核配置,移植,文件系统准备, 为以后研究内核和驱动搭建环境。

Open JTAG

sudo /etc/init.d/udev restart

sudo apt-get install minicom sudo apt-get install ckermit

交叉编译环境

这里使用基于gcc的arm交叉编译环境,交叉编译环境可以有两种构建 方式:

注意: 因为想要快速的搭建一个可以使用的Embed Linux环境,所以我们首先 选用的是第三方提供好的编译环境

安装windows驱动,在windows xp下测试成功

Connect openjtag

1. sudo 2. openocd.cfg 在当前文件夹下,或者用-f指定 3. openocd.cfg 注释掉最后一行

烧写:

sudo ./openocd -f openocd.cfg

先用openjtag 自带的uboot启动, 然后稍写embedsky的kernel, fs, uboot-dm2000

编译好的交叉编译器

编译生成交叉编译器

crosstool

(待续)

编译内核

配置内核配置单

指定交叉编译器

移植驱动

界面

中文 aaaa
中文 放松地方
放松地方