原创 CRAMFS root file system of production

2009-3-1 10:48 2468 4 4 分类: MCU/ 嵌入式

(1) YLP2440.cramfs copy to any directory


(2) set up in the directory two files:


mkdir roms
mkdir tmp


点击看大图


(3) will be attached to the roms directory YLP2440.cramfs 
mount YLP2440.cramfs roms-o loop 
(4) roms directory content compression 
tar-cjvf roms.tar roms 
This will produce a package roms.tar


点击看大图


(5) to extract the package tmp directory. 
umount roms 
mv roms.tar tmp 
cd tmp 
tar-xjvf roms.tar 
cd roms; at roms at this time, the own drive and add applications to the root file system, and such as the following 
Order to create a new directory uCdragon 
mkdir uCdragon 
ls


点击看大图


(6) Production CRAMFS root file system. At the command line, enter the following command: 
cd .. 
ls 
mkcramfs roms YLP2440.cramfs


点击看大图


Running successfully, it will generate in the directory YLP2440.cramfs


Root file system programmer


 

文章评论0条评论)

登录后参与讨论
我要评论
0
4
关闭 站长推荐上一条 /2 下一条