public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Sergei Gavrikov <w3sg@SoftHome.net>
To: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] RedBoot from USB Stick
Date: Mon, 07 May 2007 12:53:00 -0000	[thread overview]
Message-ID: <20070507113329.GA8843@ubuntu> (raw)
In-Reply-To: <20070507081219.GA16496@lunn.ch>

On Mon, May 07, 2007 at 10:12:19AM +0200, Andrew Lunn wrote:
> On Mon, May 07, 2007 at 11:57:34AM +0500, M Arshad Khan wrote:
> > hii
> > is there any way of loading the RedBoot from the USB Stick instead of
> > Floopy Drive. have any body experienced such things or have any idea?
> > Looking Forward
> 
> This is more an issue of Grub, not redboot itself. If the USB stick
> looks like a bootable disk, i expect it will work.
> 
>       Andrew
> 

That works. I haven't old i386 PC, I have modern one, but Andrew's
suggest exited me and I tried to run the RedBoot on the modern PC.

Build the redbot image for pc target

 mkdir ~/tmp/pc_rb
 cd ~/tmp/pc_rb
 ecosconfig new pc redboot
 ecosconfig import $ECOS_REPOSITORY/hal/i386/pc/current/misc/redboot_GRUB.ecm
 ecosconfig tree
 make -s

 ls -lR install/bin
 install/bin/:
 total 492
 -rwxr-xr-x 1 sg sg 495854 May  7 14:03 redboot.elf

All rights. I did insert my USB pen. Ubuntu mounts this storage to
/media/disk, and I just did copy a future `kernel' there:

Install the image

 cp install/bin/redboot.elf /media/disk
 umount /media/disk

At the end, I appended these 3 lines to my GRUB's menu

 title		RedBoot (pc target)
 root		(hd1,0)
 kernel		/redboot.elf
 
Note: `hd0' is my SATA HDD and I used the `hd1' reference to boot from
my USB memory stick. You have to set up the hd's number correctly.
Usually, it's enough to look at `dmesg' output to resolve this issue.

I rebooted my PC and saw the expected choice in the GRUB's menu. I did
choose new menu's item... and saw that the RedBoot did start. It's pity
that I haven't old i386 PC. It looks like I won't got the RedBoot's
networking on my hardware. But GRUB runs the redboot image from USB pen
without any problems.

Thanks Andrew,

--Sergei


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2007-05-07 11:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07  8:08 M Arshad Khan
2007-05-07 11:34 ` Andrew Lunn
2007-05-07 12:53   ` Sergei Gavrikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070507113329.GA8843@ubuntu \
    --to=w3sg@softhome.net \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).