[GTA-04] multiboot with QtMoko/SHR
luk at slyon.de
Tue Nov 13 20:47:09 CET 2012
the SHR install guide already conforms with the new uboot setup metioned
You can just partition you SD card with up to 4 ext partitions and put
SHR on any of them. BUT your kernel needs to take the 'rootfs' bootarg
from the bootloader for this to work. There are some kernels wich have
'rootfs=/dev/mmcblk0p2' hardcoded, e.g. old SHR kernels (fixed since 29
Oct. ), NeilBrown's kernel (gta04_defconfig), ...
I hope this helps,
Am 13.11.2012 18:09, schrieb A.dre:
> Thanks for your quick response. I will try an entirely different
> partitioning scheme (omitting the FAT32 on p1).
> Still puzzled as why my SHR on p4 never booted.
> As for 'unofficial beagle board pages', I was redirected there by :
> "The SD card needs to have a special format as described here."
> (Probably I misinterpreted something here(?).)
> Thanks again, André.
>  http://projects.goldelico.com/p/gta04-rootfs/
> On 11/13/2012 05:53 PM, Dr. H. Nikolaus Schaller wrote:
>> with the new boot system  you can just format the heads/cylinders
>> as you like
>> and ignore  as long as your x-loader in NAND is intact. And even
>> then, I
>> suggest to follow the GTA04 documentation and not some inofficial beagle
>> board pages.
>> The new boot system scans for the first kernel it finds in any of the
>> 4 ext2/3/4 partitions.
>> Therefore the first partition not even needs to be FAT and you can
>> have 4 ext partitions.
>> Unfortunately I did not yet find the time to write a full documentation.
>>  http://download.goldelico.com/gta04/20121030-GTA04-Production/
>> Am 13.11.2012 um 17:43 schrieb A.dre:
>>> Is it possible to prepare a SD-card for GTA-04 with multiple OS'es
>>> installed? (QtMoko and SHR in my case.)
>>> I tried and did not succeed. I followed (in chronological order)
>>> (sd-card), (QtMoko) and (SHR) with result 
>>> Different from  is that partition 4 is formatted as ext3 (instead
>>> of SWAP). This is the partition where I put SHR.
>>> As I understand from  SHR does not mandate specific partitions to
>>> be installed on.
>>> I tried QtMoko on partition 2 and SHR on p4. I never got SHR to boot.
>>> (QtMoko did boot.)
>>> I tried SHR on partition 2 and another SHR on p4. I never got SHR to
>>> boot from p4.
>>> (SHR from p2 booted although I selected p4 during boot!)
>>> Any ideas?
>>> Should the partition with /boot reside below 2GB?
>>> Is it mandatory to put QtMoko/rootfs on partition 2?
>>> Thanks in advance for any suggestions,
>>> (As I'm writing this email I see the number heads is 246 instead of
>>> the 255 as in mentioned in . I will give it another try.)
>>>  http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
>>>  http://sourceforge.net/projects/qtmoko/files/GTA04/
>>>  http://shr-project.org/trac/wiki/Devices/GTA04/InstallGuide
>>> $ sudo fdisk -l /dev/sdb
>>> Disk /dev/sdb: 7969 MB, 7969177600 bytes
>>> 246 heads, 62 sectors/track, 1020 cylinders, total 15564800 sectors
>>> Units = sectors of 1 * 512 = 512 bytes
>>> Sector size (logical/physical): 512 bytes / 512 bytes
>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>>> Disk identifier: 0x00000000
>>> Device Boot Start End Blocks Id System
>>> /dev/sdb1 * 63 144584 72261 c W95 FAT32 (LBA)
>>> /dev/sdb2 144585 5284655 2570035+ 83 Linux
>>> /dev/sdb3 5284656 10424726 2570035+ c W95 FAT32 (LBA)
>>> /dev/sdb4 10424727 15564797 2570035+ 83 Linux
>>> Openmoko community mailing list
>>> community at lists.openmoko.org
> Openmoko community mailing list
> community at lists.openmoko.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: OpenPGP digital signature
More information about the community