That driver should already be blacklisted in the image
you are using. :)

Gordan

On 2015-11-03 23:45, ioan stan wrote:
Really appreciated, I’ll give it a try.

On a different note, just in case it is helpful, I remember how I
fixed the orion issue with Fedora 18 on dreamplug.
create a file in /etc/modprobe.d/disable-orion_nand.conf with the
contents "blacklist orion_nand”



On Nov 4, 2015, at 12:19 AM, Gordan Bobic <[email protected]> wrote:

On 2015-11-03 15:11, ioan stan wrote:
So in order to boot the other OS, I would execute “run $(bootcmd2)”
from uboot.

Yes. You may also need something there to change the bootargs option.

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?

Hmm... I suppose you could just keep adding things to execute to bootcmd, e.g.

setenv loadImage2 'ext2load usb 1:1 0x6400000 uImage'
setenv loadInitrd2 'ext2load usb 1:1 0x7400000 uInitrd'
setenv bootcmd 'usb start; ${loadImage}; ${loadInitrd}; bootm 0x6400000 0x7400000; setenv bootargs console=ttyS0,115200 root=/dev/sda2; ${loadImage2}; ${loadInitrd2}; bootm 0x6400000 0x7400000;'

So if the first part fails (e.g. bootm decides there is no valid data at those addresses), it will keep executing the commands on the line.

I have never tried it, but hopefully this gives you the gist of it.

Gordan

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

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

_______________________________________________
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