Author Topic: Multi-boot Using Uboot  (Read 4118 times)

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Multi-boot Using Uboot
« on: October 24, 2007, 01:13:04 pm »
Hello,

I did a bit of searching and didn't find enough info to be confident in trying it.

Can someone tell me the way to dual-boot R198 and pdaXii13/beta3?

I would like to do it for testing purposes, and for the occasional thing that might not run on one or the other.
P.S. I have a C1000, so I would need to run pdaXii13/Beta3 off SD.
« Last Edit: October 24, 2007, 01:14:02 pm by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Multi-boot Using Uboot
« Reply #1 on: October 25, 2007, 03:26:44 pm »
Hi,

I don't think it is possible.
uboot can be used to setup a multi-boot system but all have to use the same kernel. since beta3 uses a 2.4 kernel and r198 a 2.6 kernel you could say you have a problem.

To use multiboot :
uboot uses some predefined keys to select a drive or system to boot from, just press the key while booting :
"OK" : to flash a new kernel/image
"1" : boot from /dev/mmcblk0p1 (sd)
"2" : boot from /dev/hda1 (microdrive)
"3" : boot from /dev/hdc1 (cf)
"4" : don't remember
nothing : boot from flash

I'm not really sure about the exact order or functions of 1, 2, 3, 4 - just try and you will see (I'm using "nothing" and "2").

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Multi-boot Using Uboot
« Reply #2 on: October 27, 2007, 06:08:43 pm »
I didn't really know it's that easy ...

But a barebone interface, even as bony as a question prompt (like "Sweatheart, how do you like it now?") will be good?

Apart from the kernel and other systemwide tweakings, is there also going to be a new uboot?  

(On my Z Debian has eaten up the internal drive, leaving the NAND empty for rent ...)
« Last Edit: October 27, 2007, 06:10:23 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Multi-boot Using Uboot
« Reply #3 on: October 27, 2007, 08:28:29 pm »
what do you mean a "new" uboot...

Well one thing I would like to do is give the user the option of where the default rootfs is booted from, from the emergency console... but that is still a work in progress.

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Multi-boot Using Uboot
« Reply #4 on: October 28, 2007, 05:13:19 am »
Thanks.
What I mean is to have the choices like in Altboot when booting up, so the user can choose which OS to load by pressing a key.
In the emergency console ... do you meam the user has to fix this early during installation and can he change that afterwards?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Multi-boot Using Uboot
« Reply #5 on: October 28, 2007, 11:30:10 am »
I mean... adding a configuration to the maintenance menu (text based gui) that say... "default boot rootfs" "NAND" "SD" "Internal HD" "External HD"

But I believe uboot can do what you ask but I think when sashz set up UBoot is suppresses the timeout for the boot menu... not 100% sure of that though.

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode