[GTA-04] multiboot with QtMoko/SHR
Dr. H. Nikolaus Schaller
hns at goldelico.com
Tue Nov 13 17:53:15 CET 2012
Hi,
with the new boot system [5] you can just format the heads/cylinders as you like
and ignore [1] 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.
Nikolaus
[5] 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) [1](sd-card), [2](QtMoko) and [3](SHR) with result [4]
>
> Different from [2] is that partition 4 is formatted as ext3 (instead of SWAP). This is the partition where I put SHR.
> As I understand from [3] 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,
> André
>
> (As I'm writing this email I see the number heads is 246 instead of the 255 as in mentioned in [1]. I will give it another try.)
>
> [1] http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
> [2] http://sourceforge.net/projects/qtmoko/files/GTA04/
> [3] http://shr-project.org/trac/wiki/Devices/GTA04/InstallGuide
> [4]$ 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
> http://lists.openmoko.org/mailman/listinfo/community
More information about the community
mailing list