Re: [GTA-04] multiboot with QtMoko/SHR

2012-11-16 Thread arne anka

the SHR install guide already conforms with the new uboot setup metioned
by Nikolaus.

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. [0]), NeilBrown's kernel (gta04_defconfig), ...


but there's no actual kernel or tar ball available yet, isn't it?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [GTA-04] multiboot with QtMoko/SHR

2012-11-14 Thread Martin Jansa
On Tue, Nov 13, 2012 at 08:47:09PM +0100, Lukas Märdian wrote:
> Hi,
> 
> the SHR install guide already conforms with the new uboot setup metioned
> by Nikolaus.
> 
> 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. [0]), NeilBrown's kernel (gta04_defconfig), ...

Small typo, 'root' bootarg, not rootfs.

Cheers,
 
> I hope this helps,
>   Lukas
> 
> [0]
> http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=50c4dbb7aece3d33b2a718d82a093700c066fe02
> 
> 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 [7]:
> >  "The SD card needs to have a special format as described here."
> > (Probably I misinterpreted something here(?).)
> > 
> > Thanks again, André.
> > 
> > [7] http://projects.goldelico.com/p/gta04-rootfs/
> > 
> > On 11/13/2012 05:53 PM, Dr. H. Nikolaus Schaller wrote:
> >> 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: 0x
> >>>
> >>>Device Boot  Start End  Blocks   Id  System
> >>> /dev/sdb1   *  63  144584   72261c  W95 FAT32 (LBA)
> >>> /dev/sdb2  144585 5284655 2570035+  83  Linux
> >>> /dev/sdb3 528465610424726 2570035+   c  W95 FAT32 (LBA)
> >>> /dev/sdb41042472715564797 2570035+  83  Linux
> >>> $
> >>>
> >>>
> >>> ___
> >>> Openmoko community mailing list
> >>> community@lists.openmoko.org
> >>> http://lists.openmoko.org/mailman/listinfo/community
> >>
> > 
> > 
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> 
> 



> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [GTA-04] multiboot with QtMoko/SHR

2012-11-13 Thread Lukas Märdian
Hi,

the SHR install guide already conforms with the new uboot setup metioned
by Nikolaus.

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. [0]), NeilBrown's kernel (gta04_defconfig), ...

I hope this helps,
  Lukas

[0]
http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=50c4dbb7aece3d33b2a718d82a093700c066fe02

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 [7]:
>  "The SD card needs to have a special format as described here."
> (Probably I misinterpreted something here(?).)
> 
> Thanks again, André.
> 
> [7] http://projects.goldelico.com/p/gta04-rootfs/
> 
> On 11/13/2012 05:53 PM, Dr. H. Nikolaus Schaller wrote:
>> 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: 0x
>>>
>>>Device Boot  Start End  Blocks   Id  System
>>> /dev/sdb1   *  63  144584   72261c  W95 FAT32 (LBA)
>>> /dev/sdb2  144585 5284655 2570035+  83  Linux
>>> /dev/sdb3 528465610424726 2570035+   c  W95 FAT32 (LBA)
>>> /dev/sdb41042472715564797 2570035+  83  Linux
>>> $
>>>
>>>
>>> ___
>>> Openmoko community mailing list
>>> community@lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>>
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community




signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [GTA-04] multiboot with QtMoko/SHR

2012-11-13 Thread 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 [7]:
 "The SD card needs to have a special format as described here."
(Probably I misinterpreted something here(?).)

Thanks again, André.

[7] http://projects.goldelico.com/p/gta04-rootfs/

On 11/13/2012 05:53 PM, Dr. H. Nikolaus Schaller wrote:

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: 0x

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *  63  144584   72261c  W95 FAT32 (LBA)
/dev/sdb2  144585 5284655 2570035+  83  Linux
/dev/sdb3 528465610424726 2570035+   c  W95 FAT32 (LBA)
/dev/sdb41042472715564797 2570035+  83  Linux
$


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [GTA-04] multiboot with QtMoko/SHR

2012-11-13 Thread Dr. H. Nikolaus Schaller
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: 0x
> 
>   Device Boot  Start End  Blocks   Id  System
> /dev/sdb1   *  63  144584   72261c  W95 FAT32 (LBA)
> /dev/sdb2  144585 5284655 2570035+  83  Linux
> /dev/sdb3 528465610424726 2570035+   c  W95 FAT32 (LBA)
> /dev/sdb41042472715564797 2570035+  83  Linux
> $
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community