本文打造一个迷你的LINUX系统,讲述了arm嵌入式设备的常用方法和过程。适合新手入门,当然最好还是知道什么是交叉编译,和懂得linux的基本命令。
先说说大致的思路,要在cubieboard板子上跑起来一个linux需要四大件:uboot,script-bin,linux内核(uImage),rootfs(这个我们自己做)
前面3个已经很多人写过相关的文章了,我们不厌其烦的也多做一遍。
本文所用的系统是FC17-i686的系统,工具琏是4.7.2,arm-unknown-linux-gnueabi-,网上找的
需要准备的源码:
busybox-1.21.0
google一搜一大吧。
linux 3.4.5
git clone https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-3.4
sunxi-boards
git clone https://github.com/linux-sunxi/sunxi-boards
sunxi-tools
git clone https://github.com/linux-sunxi/sunxi-tools
u-boot-sunxi
git clone https://github.com/linux-sunxi/u-boot-sunxi