Announcing another early Android build for XO-4

James Cameron quozl at laptop.org
Sun May 11 19:26:43 EDT 2014


but i thought mmcblk0 is always the device booted from, regardless of
whether it is internal or external.

On Mon, May 12, 2014 at 11:19:25AM +1200, ben wrote:
> Hi Paul,
> 
> Android has a fixed fstab configure file indicate partitions:
> 
> For example in internal eMMC
> /dev/block/mmcblk0p3        /system
> /dev/block/mmcblk0p4        /cache
> 
> But if it's booted from external SD card it should be
> /dev/block/mmcblk1p3        /system
> /dev/block/mmcblk1p4        /cache
> 
> There is no logic in Android to detect which one it should use, just
> hard code to mmcblk0p3
> Need kernel do a mapping or Android add a logic to know which one it
> booted from I guess.
> 
> How does it work in sugar?
> 
> Ben
> 
> 
> On 05/12/2014 11:02 AM, Paul Fox wrote:
> >james wrote:
> >  > Would be nice, yes, but not immediately planned.
> >
> >do we have any idea why it doesn't work?
> >
> >  > Meanwhile, if you would like to test and still retain an existing
> >  > install, learn how to backup and restore the internal storage:
> >  >
> >  > http://wiki.laptop.org/go/Backup#XO-1.5.2C_XO-1.75_and_XO-4
> >  > http://wiki.laptop.org/go/Firmware/Storage#How_to_make_an_image_copy_of_internal_storage
> >
> >neither is very helpful in lowering the bar for someone that would
> >like to test without (even temporarily) destroying the content
> >of their laptop.
> >
> >paul
> >=---------------------
> >  paul fox, pgf at laptop.org
> >_______________________________________________
> >Devel mailing list
> >Devel at lists.laptop.org
> >http://lists.laptop.org/listinfo/devel
> 

-- 
James Cameron
http://quozl.linux.org.au/



More information about the Devel mailing list