移植jffs2文件系统

http://www.linux-mtd.infradead.org/			下载mtd-utils
http://www.zlib.net/					下载zlib
http://www.oberhumer.com/opensource/lzo/#download	下载lzo
https://sourceforge.net/projects/libuuid/postdownload	下载libuuid

mtd-utils-2.0.2.tar.bz2
zlib-1.2.11.tar.gz

#1.解压

#2.安装zlib,lzo,libuuid
./configure --shared --prefix /usr/local
make
sudo make install

./configure --shared --prefix /usr/local
make
sudo make install

./configure --shared --prefix /usr/local
make
sudo make install

#3.安装mtd-utils
./configure --prefix /home/forlinx/mtd/mtd-utils_install/
make
make install

#4.修改PATH

#5.制作映像文件
mkfs.jffs2 -n “不要在每个页上都添加清除标志” -s 4KiB “页大小” -e 512KiB “块大小” -d _install -o rootfs.jffs2

你可能感兴趣的:(ARM)