Well, seems like I was missing something applying the patch so I've modified the file /android_source_folder/device/fsl/sabresd_6dq/fstab.freescale manually and after compiling I could boot from SDCARD sucessfully.
Sorry for late reply. I just had the chance to test it.
Well, seems like I was missing something applying the patch so I've modified the file /android_source_folder/device/fsl/sabresd_6dq/fstab.freescale manually and after compiling I could boot from SDCARD sucessfully.
Sorry for late reply. I just had the chance to test it.
I'm building the Android 4.4.2 kit kat. The steps are pretty simple. I just need to modify the file /android_source_folder/device/fsl/sabresd_6dq/fstab.freescale according to the diff provided in the Android User Guide. The diff looks like the lines below:
diff git a/sabresd_6dq/fstab.freescale b/sabresd_6dq/fstab.freescale
index c2b737a..d2e59a3 100644
--- a/sabresd_6dq/fstab.freescale
+++ b/sabresd_6dq/fstab.freescale
@@ 3,12 +3,12 @@
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
-/devices/platform/sdhciesdhcimx.2/mmc_host/mmc1 /mnt/media_rw/extsd vfat defaults voldmanaged=extsd:auto
+/devices/platform/sdhciesdhcimx.1/mmc_host/mmc2 /mnt/media_rw/extsd vfat defaults voldmanaged=extsd:auto /devices/platform/fslehci/mnt/udisk vfat defaults voldmanaged=sdcard:auto voldmanaged=extsd:auto
-/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 wait
-/dev/block/mmcblk0p1 /boot emmc defaults defaults
-/dev/block/mmcblk0p2 /recovery emmc defaults defaults
-/dev/block/mmcblk0p8 /misc emmc defaults defaults
+/dev/block/mmcblk1p5 /system ext4 ro wait
+/dev/block/mmcblk1p4 /data ext4 nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic wait,encryptable=footer
+/dev/block/mmcblk1p6 /cache ext4 nosuid,nodev,nomblk_io_submit wait
+/dev/block/mmcblk1p7 /device ext4 ro,nosuid,nodev wait
+/dev/block/mmcblk1p1 /boot emmc defaults defaults
+/dev/block/mmcblk1p2 /recovery emmc defaults defaults
+/dev/block/mmcblk1p8 /misc emmc defaults defaults
I've created a file file.patch with this code and applied the patch from the folder /android_source_folder/device/fsl/ using #patch -p1 < /wherever_the_patch_file_is/file.patch. Looks like I'm missing something when trying to apply the patch.