[Dockstar]Multiboot from different partitions with Uboot?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[Dockstar]Multiboot from different partitions with Uboot?

Postby sambul13 » Fri Aug 24, 2012 11:29 pm

How to make Uboot present a list of boot choices at boot allowing to pick a certain partition to boot from? Kind of multiboot system on DockStar to test new kernels?

The thread U-Boot environment variables for Sheevaplug multi-boot version is a jam suggesting several methods to set it up on Sheeva. Can the same thing be applied to Dockstar? Anyone wants to write up a detail HowTo and config examples?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby WarheadsSE » Sat Aug 25, 2012 2:22 am

You would be required to have a serial terminal.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby sambul13 » Sat Aug 25, 2012 2:29 am

For updating Uboot config once, or selecting the boot partition every time?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby WarheadsSE » Sat Aug 25, 2012 2:32 am

"present a list of choices" requires someone respond that presented list.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby sambul13 » Sat Aug 25, 2012 2:34 am

It may be a stupid question, but why it can't be done via regular terminal? :roll:
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby WarheadsSE » Sat Aug 25, 2012 2:37 am

I'm about to clubat your *****.

There is no "regular terminal" on these devices other than a 3.3v serial terminal. Uboot environment can be modified rather simply by the documented tools. This is your bootloader however, so if you break it, you will have NO OTHER CHOICE but to hook up a serial line.

If you want directed guidance, see forum.doozan.com
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby sambul13 » Sat Aug 25, 2012 2:44 am

Thanks WarheadsSE,

This is the 1st time I modded such device, and it looks like the expectation to support the same popular features I am used to with a regular PC, do not (easily) apply here. :lol:

Here's detail Uboot Guide that may be helpful for inquisitive minds. :o
Last edited by sambul13 on Thu Aug 30, 2012 1:52 pm, edited 2 times in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby sambul13 » Wed Aug 29, 2012 9:07 pm

Multiboot using u-boot blog describes one approach to setup a mutiboot environment with Uboot. Choosing the OS to boot is done in netconsole by interrupting the default boot sequence and selecting desired OS from a predefined list. It allows to keep several drives with multiple OSs connected to an ARM device, while picking to boot a new ArchLinux release or DebianSqueeze, or whatever OS mod you want to work with on any partition any time, and easily add new OS entries to the list.
Last edited by sambul13 on Thu Aug 30, 2012 4:01 am, edited 2 times in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby moonman » Thu Aug 30, 2012 1:30 am

Netconsole is the same thing as serial (in regards to functionality..)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [Dockstar]Multiboot from different partitions with Uboot

Postby cyberic » Thu Aug 30, 2012 12:51 pm

In the manual, then put in the prerequisites:
"Two or more bootable SD Card configured to boot above OS"
two sd cards??
it should be possible to boot from different partition of the same card, isn't it?
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests