UBIFS for Android i.MX508 Images -blog archive

Discussion created by Guest on Apr 29, 2012
Hardware configuration:  
Make sure the boot configuration for NAND is setup correctly, you can also refer the 508 reference manual “6.5.2 Raw NAND Boot from GPMI-2 Interface”.

Software configuration:  Android R10.2 is configured as NAND by default, so you can use the prebuilt image to see whether the board can boot up successfully. You can also use this image to verify the MFGTools configuration. BTW, we don’t have any problem by running this image for MLC NAND on RD3 Rev D. This is one of the option you try first.   

For Android R10.3.1 

1.       need generate system.img as ubifs image, instread of ext4 image. modify device/fsl/imx50_rdp/BoardConfig.mk Change TARGET_USERIMAGES_USE_EXT4 := true to false. and TARGET_USERIAMGES_USE_UBIFS := false to true. After change it, need rebuild android image. 

2.       Modify ramdisk ‘s  init.freescale.rc
mount ext4 /dev/block/mmcblk0p2 /system
mount ext4 /dev/block/mmcblk0p2 /system ro remount
mount ext4 /dev/block/mmcblk0p5 /data nosuid nodev nodelalloc
mount ext4 /dev/block/mmcblk0p6 /cache nosuid nodev
Replace them to
mount ubifs ubi0:system /system
mount ubifs ubi0:system /system ro remount
mount ubifs ubi0:data /data nosuid nodev nodelalloc
mount ubifs ubi0:cache /cache nosuid nodev