• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Setting up Multi-boot (SD/USB vs. NAND)  (Read 3925 times)
philipl
Newbie
*

Karma: 0
Posts: 22


View Profile
« on: May 25, 2009, 06:50:59 PM »

Hi all,

I spent some time today getting a multi-boot configuration going on my plug - if I have an SD inserted when I boot, it will use the card, otherwise it falls back to NAND - all without manual intervention. There's no real magic involved but it's worth documenting, so I've added a wiki page for it:

http://www.openplug.org/plugwiki/index.php/Multi-Boot
Logged

mymaestro
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #1 on: May 30, 2009, 01:56:12 PM »

Can you write the commands to set the vars? I'm getting strange errors when trying to set them.
TIA
Logged

philipl
Newbie
*

Karma: 0
Posts: 22


View Profile
« Reply #2 on: May 30, 2009, 08:09:12 PM »

You probably need to do:

Code:
setenv varName 'value'
Logged

ianjb
Jr. Member
**

Karma: 0
Posts: 65


View Profile
« Reply #3 on: June 01, 2009, 01:11:19 PM »

Could you post the "USB Variables" in the same format as the "SD variables"?
Thanks,
Ian
Logged

philipl
Newbie
*

Karma: 0
Posts: 22


View Profile
« Reply #4 on: June 01, 2009, 10:23:29 PM »

I've added a USB example section.
Logged

ianjb
Jr. Member
**

Karma: 0
Posts: 65


View Profile
« Reply #5 on: June 02, 2009, 04:34:54 AM »

Thank you very much for the quick response. I think $(bootargs_sd) should be $(bootargs_usb) in bootcmd_usb.
Logged

SuperRoach
Newbie
*

Karma: 0
Posts: 12


View Profile
« Reply #6 on: June 07, 2009, 09:42:34 PM »

A newbie here - The part I am stuck is essentially the information leading up to this. Is there an image we can use to format our memory card for use? Windows/Linux pointers to  get that done?
Logged

philipl
Newbie
*

Karma: 0
Posts: 22


View Profile
« Reply #7 on: June 13, 2009, 08:00:46 AM »

http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System

That will get the rootfs on the card. Then it's a simple matter to copy the kernel over and then use SD boot as per the instructions.
Logged

Pages: [1]
Print
Jump to: