Re: Several stacks on one card
On Wed, Sep 3, 2008 at 5:04 PM, [EMAIL PROTECTED] wrote: Hello, I am going to buy a new microSD card. I want to install Debian, Qtopia and whatever other image appeals me. Is it possible to make a dual-boot in the card? Something like first a selecting if you boot the flash or the card, and later wich partition in the card you boot. Have I explained me? Everything is explained on the wiki (partitionning, u-boot entries, ...) http://wiki.openmoko.org/wiki/Booting_from_SD Hope this helps ___ 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: Several stacks on one card
On Wed, Sep 3, 2008 at 5:04 PM, [EMAIL PROTECTED] wrote: Hello, I am going to buy a new microSD card. I want to install Debian, Qtopia and whatever other image appeals me. Is it possible to make a dual-boot in the card? Something like first a selecting if you boot the flash or the card, and later wich partition in the card you boot. Have I explained me? Everything is explained on the wiki (partitionning, u-boot entries, ...) http://wiki.openmoko.org/wiki/Booting_from_SD I have created 2 ext2 partitions on the SD for both ASU and FSO, and modified the uboot menu to boot their kernels directly from ext2 (so no need for a separate FAT partition). Something I noticed is that these partitions have to be in the beginning of the SD card. I wasn't able to boot from partitions starting at the 7GB mark. This reminds me of the old BIOS limitations on PCs and I didn't expect that to be the case on the freerunner :) I don't know the exact bootable boundary, but with two partitions of 256M at the beginning of the SD card I can boot into both ext2 filesystems. Anyway, I used this u-boot menu on the NAND: menu_1= Boot from microSD (FSO/partition 1): setenv bootargs ${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p1 rootdelay=5 ${mtdparts} ro; mmcinit; ext2load mmc MMC_NUM:1 0x3200 /boot/uImage; bootm 0x3200 menu_2= Boot from microSD (OpenMoko/partition 2): setenv bootargs ${bootargs_base} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro; mmcinit; ext2load mmc MMC_NUM:2 0x3200 /boot/uImage; bootm 0x3200 Sander ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Several stacks on one card
Everything is explained on the wiki (partitionning, u-boot entries, ...) http://wiki.openmoko.org/wiki/Booting_from_SD Hope this helps Sure. Sorry for asking something that is on the wiki. First time I read this page I was a bit confused. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Several stacks on one card
Something I noticed is that these partitions have to be in the beginning of the SD card. I wasn't able to boot from partitions starting at the 7GB mark. I expect not to have done it bad, since I partitioned : 1 boot partition 1 2 rootfs partition 1 3 boot partition 2 4 rootfs partition 2 Anyway, we're still at time for repartitioning. Anyway, I used this u-boot menu on the NAND: [...] That's usefule! Thank you, I will use that to get an idea of what I have to write. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Several stacks on one card
Hello, I am going to buy a new microSD card. I want to install Debian, Qtopia and whatever other image appeals me. Is it possible to make a dual-boot in the card? Something like first a selecting if you boot the flash or the card, and later wich partition in the card you boot. Have I explained me? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Several stacks on one card
Hi, Am Mittwoch, den 03.09.2008, 17:04 +0200 schrieb [EMAIL PROTECTED]: Hello, I am going to buy a new microSD card. I want to install Debian, Qtopia and whatever other image appeals me. Is it possible to make a dual-boot in the card? Something like first a selecting if you boot the flash or the card, and later wich partition in the card you boot. Have I explained me? It should be possible by doing the partitioning yourself, and then configuring the uboot enviroment to your liking. For each uboot menu entry, you can decide where the kernel should be loaded from, and what partition the kernel should use as the root partition. This gives you all options, I think. Greetings, Joachim -- Joachim nomeata Breitner mail: [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Key: 4743206C JID: [EMAIL PROTECTED] | http://www.joachim-breitner.de/ Debian Developer: [EMAIL PROTECTED] signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Several stacks on one card
It should be possible by doing the partitioning yourself, and then configuring the uboot enviroment to your liking. For each uboot menu entry, you can decide where the kernel should be loaded from, and what partition the kernel should use as the root partition. This gives you all options, I think. It seems so. I wasn't very clear about uboot. Many thanks! ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community