AnsweredAssumed Answered

IMX6Q Tablet Problem 2

Question asked by Dave Swihart on Nov 10, 2014
Latest reply on Nov 13, 2014 by Dave Swihart

Hi,

 

This all started from here at this post: IMX6Q Tablet Problem

I still have not had any luck getting  JB or KK to work on this tablet nor have I had any luck getting the source code. I have, however, managed to collect the drivers needed for this (or should I say for the proprietaries) and managed to get them into the kernel. I got a lot of help with that from here. "Thank you" to who all helped. Now I have found changes from ICS to JB with the partitions. This is from the documentation with the releases.

 

ICS layout as follows:

Partition Type/IndexNameStart Offset
SizeFile SystemContent
N/ABOOT Loader01MBN/Abootloader
Primary 1Boot8MB8MB

boot.img format,

kernel + ramdisk

boot.img
Primary 2RecoveryFollow Boot8MB

boot.img format,

kernel + ramdisk

recovery.img
Logic 5 (Extended 3)SYSTEMFollow Recovery512MB

EXT4. Mount as /

system

Android system files under /

system/ dir.

Logic 6 (Extended 3)CACHEFollow SYSTEM256MB

EXT4. Mount as /

cache

Android cache for image

store for OTA.

Logic 7 (Extended 3)DATAFollow CACHE>1024

EXT4. Mount as /

data

Application data storage for

the system application.

Logic 8 (Extended 3)

Vendor (AKA

Device)

Follow DATA8MB

EXT4. Mount at /

vender

For store MAC address files.
Logic 9 (Extended 3)MiscFollow DATA4MBN/A

For recovery store bootloader

message, reserve.

Primary 4MediaFollow Misc

Total - Other

images

VFAT

For internal media partition,

in /mnt/sdcard/ dir.

 

JB / KK layout as follows:

Partition Type/IndexNameStart Offset
SizeFile SystemContent
N/ABOOT Loader1KB1MBN/Abootloader
Primary 1Boot8MB8MB

boot.img format,

kernel + ramdisk

boot.img
Primary 2RecoveryFollow Boot8MB

boot.img format,

kernel + ramdisk

recovery.img
Logic 5 (Extended 3)SYSTEMFollow Recovery512MB

EXT4. Mount as /

system

Android system files under /

system/ dir.

Logic 6 (Extended 3)CACHEFollow SYSTEM512MB

EXT4. Mount as /

cache

Android cache for image

store for OTA.

Logic 7 (Extended 3)DeviceFollow CACHE8MB

EXT4. Mount at /

vender

To store MAC address files.
Logic 8 (Extended 3)MiscFollow Device4MB

N/A

For recovery store bootloader

message, reserve.

Primary 4DATAFollow Misc

Total - Other

images

EXT4. Mount at /

data

Application data storage for

the system application and

For internal media partition,

in /mnt/sdcard/ dir.

 

As can be seen, the "Logic 7" which was Data is now Device, "Logic 8" which was Vender is now Misc, and "Primary 4" which was Media is now Data. Data is now combined with media which was "Logic 9" ("Primary 4" is data and media together). "Logic 9" is no more. This all means DATA will now be on mmcblk0p4, mmcblk0p7 is now the Vender partition, and MISC is on mmcblk0p8. Mmcblk0p9 is gone. Hopefully, I did not confuse anyone too much.

So the partitions  are like this:

mmcblk0p1 ------- BOOT

mmcblk0p2 ------- RECOVERY

mmcblk0p4 ------- DATA

mmcblk0p5 ------- SYSTEM

mmcblk0p6 ------- CACHE

mmcblk0p7 ------- DEVICE

mmcblk0p8 ------- MISC

 

The recovery.fstab for the tablet (ICS) has this line:

/sdcard vfat /dev/block/mmcblk1p1

 

I have found some scripts on this tablet that reference this (ex. mount -t vfat /dev/block/mmcblk1p1 /sdcard). Is this the same in JB / KK? If not, how would I rewrite it? I am at a loss. Please help. Thanks.

Outcomes