public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@ecoscentric.com>
To: R Vamshi Krishna <vamshi@cse.iitb.ac.in>
Cc: raghavendra pai g <grpai1@rediffmail.com>,
	ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Re: eCos Grub Problem
Date: Tue, 09 Aug 2005 15:21:00 -0000	[thread overview]
Message-ID: <m34q9z87b9.fsf@xl5.calivar.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0508091957050.25085@mars.cse.iitb.ac.in>

R Vamshi Krishna <vamshi@cse.iitb.ac.in> writes:

> 
> To my knowledge, on Fedora Core which Ragavendra has,
> /etc/grub.conf is a link to /boot/grub/grub.conf
> 
> So any changes in /etc/grub.conf are reflected properly in
> /root/grub/grub.conf

See my other response, on SuSE they appear to be different files.

> 
> So the problem is that :
> 
>  	1. We have Redboot.elf in /boot directory
>  	2. We have the above mentioned menu.lst
>  	3. When we boot we get the afore mentioned output.
> 
> 
> So far we have executed a few applications by putting redboot on the
> floppy, then booting the i386 PC, using TFTP to retrieve the
> application
> and the execute it from redboot.
> 
> No when we use grub, do we have to boot redboot from grub and then
> execute the application.
> 
> Can I not have the setup such that the application directly starts
> running without a ROM Monitor.
> 
> In that case my menu.lst will be
>  	Title eCos Application (Hello)
>  		kernel (hd0,1)/boot/Hello
> 
>  	......
>

Yes, you can do this, and in fact this is the recommended way of
running eCos application over GRUB. There is often not much point in
using a bootloader to load a bootloader to load the application. The
GRUB version of RedBoot is most useful as a development tool.

See the documentation at:

http://ecos.sourceware.org/docs-latest/user-guide/setup-i386-pc.html

The only thing to be aware of is that without RedBoot, applications
will default to doing IO only via the serial lines, they will not use
the screen and keyboard.



I have just tried booting a GRUB version of RedBoot from a
floppy-resident GRUB here, and it all works as expected. So, I think
the problems are that somehow the right partition and file name are
not being suppled to GRUB.


-- 
Nick Garnett                                     eCos Kernel Architect
http://www.ecoscentric.com                The eCos and RedBoot experts


-- 
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:[~2005-08-09 15:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050809102804.17214.qmail@webmail28.rediffmail.com>
2005-08-09 14:24 ` Nick Garnett
2005-08-09 14:37   ` Ian Campbell
2005-08-09 14:57     ` Nick Garnett
2005-08-09 14:38   ` R Vamshi Krishna
2005-08-09 15:21     ` Nick Garnett [this message]
2005-08-09 18:47     ` David Brennan
     [not found] <20050809091416.27715.qmail@webmail29.rediffmail.com>
2005-08-09  9:35 ` Nick Garnett

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=m34q9z87b9.fsf@xl5.calivar.com \
    --to=nickg@ecoscentric.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=grpai1@rediffmail.com \
    --cc=vamshi@cse.iitb.ac.in \
    /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).