Re: Multiple Distro's..

2009-10-26 Thread Paul Fertser
Neil Jerram neiljer...@googlemail.com writes:
 2009/10/24 Aditya Gandhi aditya...@gmail.com:
 Hi guys, I'm expecting my Free Runner in a day or two
 I wish to know as to how many distributions can I Run side by side ,

 It is very easy to run two: one on the internal flash and one of the
 first partition of the SD card, with Qi as the NOR bootloader.  Then
 pressing the power button alone will boot the SD distribution, and
 pressing AUX+power will allow you to boot the NAND distribution.

1. Qi can't be installed to NOR.

2. Booting from NOR shouldn't be adviced because it initializes some
devices in a wrong way which may result in at least increased power
consumption. Likely gsm or something else won't work.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: Multiple Distro's..

2009-10-26 Thread Neil Jerram
2009/10/26 Paul Fertser fercer...@gmail.com:
 Neil Jerram neiljer...@googlemail.com writes:

 It is very easy to run two: one on the internal flash and one of the
 first partition of the SD card, with Qi as the NOR bootloader.  Then
 pressing the power button alone will boot the SD distribution, and
 pressing AUX+power will allow you to boot the NAND distribution.

 1. Qi can't be installed to NOR.

Yeah, sorry, I meant NAND there.

   Neil

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


Re: Multiple Distro's..

2009-10-25 Thread Torfinn Ingolfsen
Hi,

On Sat, Oct 24, 2009 at 4:08 PM, Marc Bantle mar...@ntle.de wrote:

 Various efforts have been made to supply a
 bootmenu for qi (e.g. by using kexec).
 I don't know whether they where successful.


A few proof-of-concept have beene shown, but so far nobody have shown a
complete solution or a step-by-step guide.
So us mere users doesn't have a working bootmenu with Qi yet.
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Multiple Distro's..

2009-10-24 Thread Aditya Gandhi
Hi guys, I'm expecting my Free Runner in a day or two
I wish to know as to how many distributions can I Run side by side ,
And which is the most preffered for starting developement.
Is there a guide to multiple OS on freerunner? I plan to use a 8gb/16gb
memory card for this purpose.
Any tips or tricks to enhance my experience of the phone?? Eg:- an external
small GSM antenna to enhance reception etc.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Multiple Distro's..

2009-10-24 Thread Neil Jerram
2009/10/24 Aditya Gandhi aditya...@gmail.com:
 Hi guys, I'm expecting my Free Runner in a day or two
 I wish to know as to how many distributions can I Run side by side ,

It is very easy to run two: one on the internal flash and one of the
first partition of the SD card, with Qi as the NOR bootloader.  Then
pressing the power button alone will boot the SD distribution, and
pressing AUX+power will allow you to boot the NAND distribution.

More distributions are possible, but more complicated to set up and
select between.

 And which is the most preffered for starting developement.

If you are thinking of Python, they are all equivalent.  If you are
thinking of C, I would say that Debian has a slight edge, because you
can just install gcc and use the normal toolchain on the FR itself.

Regards,
 Neil

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


Re: Multiple Distro's..

2009-10-24 Thread Marc Bantle
Hi,

Aditya Gandhi schrieb:
 Hi guys, I'm expecting my Free Runner in a day or two
 I wish to know as to how many distributions can I Run side by side ,

I think the maximum is seven without extra efforts.
A possible setup could look like this:

Device
Number   Media   /dev   Partition Type Content
31,  6   NANDmtdblock6  Dist1
179, 0   SD-Card mmcblk0(raw device)
179, 1   SD-Card mmcblk0p1  primary partition   Dist2
179, 2   SD-Card mmcblk0p2  primary partition   Dist3
179, 3   SD-Card mmcblk0p3  primary partition   Dist4
179, 4   SD-Card mmcblk0p4  extended partition  logical partitions
179, 5   SD-Card mmcblk0p5  logical partition   Dist5
179, 6   SD-Card mmcblk0p6  logical partition   Dist6
179, 7   SD-Card mmcblk0p7  logical partition   Dist7

Off course you can choose a different
primary/logical ratio.


 Is there a guide to multiple OS on freerunner? 
http://wiki.openmoko.org/wiki/Booting_from_SD

I just had a look. A lot of the information
is just wrong or at least outdated. I now
understand why most users install qi ;-)

Various efforts have been made to supply a
bootmenu for qi (e.g. by using kexec).
I don't know whether they where successful.

I still stay with u-boot for my multi dist
setup, cause it has a boot menu. It's only
constraint is that the kernel need's to be
within the first 2G of the SD-Card (I just
prepared a special subdirectory on the first
partition). Booting  kernels 2M need special
boot parameters, but has been reported to
work on this list.

 Eg:- an external small GSM antenna to enhance reception etc.
I use one to have a signal on my Desk (antenna
outside the window).

Cheers,
Marc




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


Re: Multiple Distro's..

2009-10-24 Thread Atilla Filiz
On Sat, Oct 24, 2009 at 2:58 PM, Aditya Gandhi aditya...@gmail.com wrote:

 And which is the most preffered for starting developement.

I think hackable:1 is the east one to get started. It comes with a gcc
environment installed. They also released a ready-to-go build environment
where you can just untar and chroot and start hacking.

-- 
-
Atilla Filiz
Eindhoven University of Technology
Embedded Systems, Master's Programme

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


Re: Multiple Distro's..

2009-10-24 Thread Marc Bantle
Hi,

Al Johnson schrieb:
 On Saturday 24 October 2009, Marc Bantle wrote:
   
 Hi,

 Aditya Gandhi schrieb:
 
 Hi guys, I'm expecting my Free Runner in a day or two
 I wish to know as to how many distributions can I Run side by side ,
   
 I think the maximum is seven without extra efforts.
 A possible setup could look like this:

 Device
 Number   Media   /dev   Partition Type Content
 31,  6   NANDmtdblock6  Dist1
 179, 0   SD-Card mmcblk0(raw device)
 179, 1   SD-Card mmcblk0p1  primary partition   Dist2
 179, 2   SD-Card mmcblk0p2  primary partition   Dist3
 179, 3   SD-Card mmcblk0p3  primary partition   Dist4
 179, 4   SD-Card mmcblk0p4  extended partition  logical partitions
 179, 5   SD-Card mmcblk0p5  logical partition   Dist5
 179, 6   SD-Card mmcblk0p6  logical partition   Dist6
 179, 7   SD-Card mmcblk0p7  logical partition   Dist7

 Off course you can choose a different
 primary/logical ratio.
 

 This is correct for uboot, though there are a few possible complications:
 * Android will want to use 2 partitions, by default the first two, plus the 
 NAND. Then again it will (by default) install a forked Qi too, which doesn't 
 multiboot well anyway.
   

I've never tried Android. Lucky me ;-)
Anyway thanks for adding this.

 * Certain ext3 formatting options prevent uboot reading the partition, but I 
 haven't checked which ones. My gentoo box makes unreadable ones by default, 
 but fedora makes readable ones.
   

Never ran into this either - using Debian.

 Is there a guide to multiple OS on freerunner?
   
 http://wiki.openmoko.org/wiki/Booting_from_SD

 I just had a look. A lot of the information
 is just wrong or at least outdated. I now
 understand why most users install qi ;-)

 Various efforts have been made to supply a
 bootmenu for qi (e.g. by using kexec).
 I don't know whether they where successful.

 I still stay with u-boot for my multi dist
 setup, cause it has a boot menu. It's only
 constraint is that the kernel need's to be
 within the first 2G of the SD-Card (I just
 prepared a special subdirectory on the first
 partition). Booting  kernels 2M need special
 boot parameters, but has been reported to
 work on this list.
 

 This is itself wrong, as I'm booting kernels from beyond the first 2G, and 
 probably beyond 4G.
   

Good to know. Last time I tried I didn't succeed.

Cheers,
Marc




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