Hi Jose, I think you will need to build system.img, userdata.img in ubifs format. This is for you reference: 1. patch platform/build and 2. add the related flags in device config 3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs)
How to patch platform/build, https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e -- Kai-Zhen Li (Seinlin) Mozilla Taiwan ----- Original Message ----- From: "Jose Vidal" <[email protected]> To: [email protected] Sent: Friday, March 28, 2014 3:01:28 PM Subject: [b2g] How to mount yaffs on NAND 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] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
