public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot from USB Stick
@ 2007-05-07  8:08 M Arshad Khan
  2007-05-07 11:34 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: M Arshad Khan @ 2007-05-07  8:08 UTC (permalink / raw)
  To: ecos-discuss

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] RedBoot from USB Stick
  2007-05-07  8:08 [ECOS] RedBoot from USB Stick M Arshad Khan
@ 2007-05-07 11:34 ` Andrew Lunn
  2007-05-07 12:53   ` Sergei Gavrikov
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2007-05-07 11:34 UTC (permalink / raw)
  To: M Arshad Khan; +Cc: ecos-discuss

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] RedBoot from USB Stick
  2007-05-07 11:34 ` Andrew Lunn
@ 2007-05-07 12:53   ` Sergei Gavrikov
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Gavrikov @ 2007-05-07 12:53 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-07 11:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07  8:08 [ECOS] RedBoot from USB Stick M Arshad Khan
2007-05-07 11:34 ` Andrew Lunn
2007-05-07 12:53   ` Sergei Gavrikov

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).