AnsweredAssumed Answered

How to mount yaffs on NAND

Question asked by Jose Vidal on Mar 28, 2014

Hi everyone,

 

I have a iMX6 Q processor whit NAND flash.

The NAND uses ubifs like file system.

 

According the source code, I have two methods to mount a system.img

 

Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale

----------------------------------------------------------------------------------

ubi0:system    /system    ubifsrowait

ubi0:data       /data           ubifs   nosuid,nodev,nodiratime,noatime         wait

ubi0:cache      /cache          ubifs   nosuid,nodev                            wait

ubi0:device     /device         ubifs   nosuid,nodev                         wait

 

 

Used for SD-card: device/fsl/imx6/etc/fstab.freescale

-------------------------------------------------------------------------------

/dev/block/mmcblk0p5    /system  ext4    ro                                                                               wait

/dev/block/mmcblk0p4    /data    ext4    nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic    wait,encryptable=footer

/dev/block/mmcblk0p6    /cache   ext4    nosuid,nodev,nomblk_io_submit                          wait

/dev/block/mmcblk0p7    /device  ext4    ro,nosuid,nodev

 

 

 

I have a system.img file which uses yaffs like file system.

 

How I make to mount the system.img file to mount point. I mean, to  "/system" ?

 

I hope for your help.

 

Thanks in advance.

 

Best regards.

 

 

jvidalsm

Outcomes