Oh, I see, you have NAND. Sorry for the confusion. On 28.03.2014 09:50, Jose Vidal wrote: > Hi Thomas, > > Thanks, > > I think that ext4 file system is used only with sd-card. > Or maybe I'm confused. > > My target is to use the NAND Flash memory. > > What do you think ? > > Best regards. > > jvidalsm > > > 2014-03-28 3:38 GMT-05:00 Thomas Zimmermann <[email protected] > <mailto:[email protected]>>: > > Hi Jose, > > You can set > > TARGET_USERIMAGES_USE_EXT4 := true > > in the file > > device/<path-for-your-device>/BoardConfig.mk > > to create ext4-based images. If you have eMMC-based storage, you also > need to run 'rmt_storage' on the device AFAIK. > > Best regards > Thomas > > On 28.03.2014 08:01, Jose Vidal wrote: > > Hi everyone, > > > > I have a iMX6Q 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 ubifs ro > wait > > 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 > > > > > > > > The build process creates the system.img file with 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 > > _______________________________________________ > > dev-b2g mailing list > > [email protected] <mailto:[email protected]> > > https://lists.mozilla.org/listinfo/dev-b2g > > > >
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
