(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条评论)
登录后参与讨论