So in order to boot the other OS, I would execute “run $(bootcmd2)” from uboot. 
Would it be possible to boot automatically from the second OS if it fails to 
boot (for example no external SD card) from the first OS?


> On Nov 3, 2015, at 11:55 PM, Gordan Bobic <[email protected]> wrote:
> 
> On 2015-11-03 14:36, ioan stan wrote:
>> After # zpool import kirkwood, I could mount /sysroot and edit fstab.
>> And redsleeve came up just fine afterwords. Many thanks for your help.
>> Can I ask you another favour? Please help with uboot settings for
>> multiboot I have Debian 8 on internal microsd and I want to boot first
>> from sdb (1:1 Redsleeve). I’ll send you the current uboot settings
>> if you can help.
> 
> Awesome.
> 
> What I use on my DreamPlug is as follows:
> 
> baudrate=115200
> bootargs=console=ttyS0,115200 root=ZFS=dreamplug/ROOT
> bootcmd=usb start; ${loadImage}; ${loadInitrd} ; bootm 0x6400000 0x7400000
> bootdelay=3
> eth1addr=<your MAC1 here>
> ethact=egiga0
> ethaddr=<your MAC0 here>
> loadImage=ext2load usb 0:4 0x6400000 uImage
> loadInitrd=ext2load usb 0:4 0x7400000 uInitrd
> machid=0xa63
> stderr=serial
> stdin=serial
> stdout=serial
> 
> Presumably you have loadImage and loadInitrd referring to usb 1:4 instead.
> You could do something like:
> 
> setenv bootcmd2 'usb start; ext2load usb 0:1 0x6400000 uImage; ext2load usb 
> 0:1 0x6400000 uInitrd; bootm 0x6400000 0x7400000'
> saveenv
> 
> Then to boot debian:
> 
>> run ${bootcmd2}
> 
> Assuming your Debian kernel and initrd can be found in the root directory of 
> usb 0:1. Otherwise adjust usb 0:1 and the uImage/uInitrd names accordingly. 
> ext2ls should help you find the correct device designation and path/name of 
> the relevant files.
> 
> Gordan
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.redsleeve.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
https://lists.redsleeve.org/mailman/listinfo/users

Reply via email to