Establish CRAMFS package

Download cramfs Tools

From http://prdownloads.sourceforge.net/cramfs/cramfs1.1.tar.gz download the source code package.

Copy to the download package dev_home / tools. [Arm @ localhost tools] $ tar xzvf cramfs1.1.tar.gz [arm @ localhost tools] $ cd cramfs1.1 [arm @ localhost tools] $ make

[arm@localhost tools]$su root [root@localhost tools]$cp mkcramfs /usr/bin [arm@localhost tools]$exit

Note: If your system has been installed mkcramfs tool, then in / usr / bin directory is a soft link, then please delete the file, then copy

The shell mkcramfs to the / usr / bin.

 

Production CRA m FS package

[arm@localhost tools]$mkcramfs my_rootfs my_rootfs.cramfs

 

Write cramfs package to Nand Flash

[arm@localhost tools]$su root

[root@localhost tools]$cp my_rootfs.cramfs /tftpboot/

 

Open minicom, ARM plate for terminal mode: CRANE2410 #

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11105682.html