Linux -- Make File Image for Target File System

Post Reply
esky-sh
Posts: 1438
Joined: Sat Dec 20, 2008 4:21 am

Linux -- Make File Image for Target File System

Post by esky-sh » Mon May 02, 2011 8:07 pm

Please make sure you have installed “mktools” tools and have an image directory ready before continue

1 Make YAFFS2 Image
Enter “/opt/tq6410/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: mkyaffs2image and mkyaffs2image-128M are only for SLC Nand Flash to make yaffs2 iamges and don’t apply to MLC2 Nand Flash.

2 Make UBIFS Image
Enter “/opt/tq6410/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
file. It is the same as the one in “/images/Linux/” in the shipped CD. Download it to your board’s NAND Flash.

3 Make EXT3 Image
Enter “/opt/tq6410/linux” and execute the following command:
# mkext3image rootfs_qtopia_qt4 rootfs_qtopia_qt4.ext3
This will compress the whole “rootfs_qtopia_qt4” into a EXT3 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests