Andy Doan <[email protected]> writes: > On 06/19/2012 05:47 AM, YongQin Liu wrote: >> Hi, All >> >> About the sdcard partition support on lava, >> As you all have already known, the mmcblk0p8 partition can not be >> recognized in the master image for iMX and origen boards. >> >> Also I have tried with my panda to mount the mmcblk0p8 as the sdcard, >> but because the 8th partition major number is different with others as >> following: >> >> root@linaro: cat proc/partitions >> major minor #blocks name >> >> 179 0 7830528 mmcblk0 >> 179 1 53248 mmcblk0p1 >> 179 2 991232 mmcblk0p2 >> 179 3 65536 mmcblk0p3 >> 179 4 1 mmcblk0p4 >> 179 5 2097152 mmcblk0p5 >> 179 6 2097152 mmcblk0p6 >> 179 7 2097152 mmcblk0p7 >> 259 0 420864 mmcblk0p8 >> root@linaro: >> >> the 8th partition cannot be used in android too. >> >> So at the point now for us the only way is to reduce the partition number of >> our sdcard. >> >> Here are 3 idea I have thought, but I don't which should we use: >> >> 1. merge the master boot partition and target boot partition as one partition >> >> Problem: the master boot partition will be modified each time the target >> is deployed. This will increase the risk to destroy the master boot
Unlike Dave, I think this option would be OK-ish (they're all bad though). >> 2. merge the master boot partition and master rootfs partition as one >> partition >> >> Problems: >> >> 1)we need to change to use the vfat file system format for rootfs, >> because the uboot need the vfat format >> >> 2)Need to change the master initrd.img and merge the two partitions in >> our lava-create-master script I guess this might work... having / be FAT doesn't really sound like a good idea. Does uboot really only support fat still? :( >> 3. merge the target boot partition and target rootfs partition as one >> partition >> >> Problems: >> >> 1)we need to change to use the vfat file system format for rootfs, >> because the uboot need the vfat format >> >> 2)this is not the default partition layout that target image will use, >> and will increase the failure risk in other thing. This seems like a very bad idea. >> 4. leave the iMX and origen not supported until the sdmux > > I think we should try this for now and maybe re-visit if it becomes a > problem. I like this plan for now too. >> Any other ideas about how to deal with this problem? Another option would be to get rid of the master rootfs entirely run everything master-ish from a initramfs. Dunno how feasible that is though. Cheers, mwh _______________________________________________ linaro-validation mailing list [email protected] http://lists.linaro.org/mailman/listinfo/linaro-validation
