搭建嵌入式Linux学习环境

来源:互联网 发布:海岛大亨5 mac 汉化 编辑:程序博客网 时间:2024/05/22 12:38

1、tftp服务器与ntf服务器搭建
(1)、安装tftp服务器同时启动
yum install tftp-server* -y
这里写图片描述
vim /etc/xinetd.d/tftp
将14行的disable项设置为no,允许启动tftp服务器
这里写图片描述
netstat -a | grep tftp
(2)、安装ntf服务器
yum install nfs-utils-debuginfo.x86_64 -y

2、交叉编译器的安装
(1)、从网上下载arm-linux-gcc-4.4.3.tgz交叉编译工具包
(2)、tar -vxf arm-linux-gcc-4.4.3.tgz
(3)、mv 4.4.3 /opt/
(4)、添加到环境变量(vim /etc/profile)export PATH=$PATH:/opt/4.4.3/bin
这里写图片描述
(5)、执行source /etc/profile命令,更新文件信息
(6)、执行arm-命令,按住tab键,如图所示
这里写图片描述
3、uboot的移植
http://ftp.denx.de/pub/u-boot/
(在上面路径选择你所需要的u-boot源代码)
4、Linux内核移植
https://www.kernel.org/pub/linux/kernel
5、Linux根文件系统移植

0 0
原创粉丝点击