
____________________________________________________________________________________________________________________
202 / 265
8 Make File Image for Target File System
Please make sure you have installed “mktools” tools and have an image directory ready
before continue
8.1 Make YAFFS2 Image
Enter “/opt/FriendlyARM/mini6410/linux” and execute the following command:
#mkyaffs2image-128M rootfs_qtopia_qt4 rootfs_qtopia_qt4.img
This will compress the whole “rootfs_qtopia_qt4” into a yaffs2 rootfs_qtopia_qt4.img file.
It is the same as the one in “/images/Linux/” in the shipped CD. Download it to your board’s
NAND Flash.
Note: you can make “rootfs_qtopia_qt4-s” a yaffs2 image too
Note: mkyaffs2image and mkyaffs2image-128M are only for SLC Nand Flash to make
yaffs2 iamges and don’t apply to MLC2 Nand Flash.
8.2 Make UBIFS Image
Enter “/opt/FriendlyARM/mini6410/linux” and execute the following command:
#mkubimage-slc rootfs_qtopia_qt4 rootfs_qtopia_qt4-slc.ubi
This will compress the whole “rootfs_qtopia_qt4” into a UBIFS rootfs_qtopia_qt4.img
Kommentare zu diesen Handbüchern