Announcing another early Android build for XO-4

ben ben at morphoss.com
Sun May 11 19:35:12 EDT 2014


On 05/12/2014 11:26 AM, James Cameron wrote:
> but i thought mmcblk0 is always the device booted from, regardless of
> whether it is internal or external.
Not on my XO-4. It maps external to mmcblk1 if booted from 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




More information about the Devel mailing list