From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31340 invoked by alias); 9 Aug 2005 14:38:52 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 31298 invoked by uid 22791); 9 Aug 2005 14:38:46 -0000 Received: from smtp3.iitb.ac.in (HELO smtp1.iitb.ac.in) (203.199.81.149) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Tue, 09 Aug 2005 14:38:46 +0000 Received: (qmail 8568 invoked from network); 9 Aug 2005 20:08:41 +0530 Received: from unknown (HELO ldns1.iitb.ac.in) (10.200.12.1) by smtp1.iitb.ac.in with SMTP; 9 Aug 2005 20:08:41 +0530 Received: (qmail 6785 invoked by uid 509); 9 Aug 2005 14:32:46 -0000 Received: from 10.105.1.1 by ldns1 (envelope-from , uid 501) with qmail-scanner-1.25 (clamdscan: 0.86.1/1010. spamassassin: 3.0.2. Clear:RC:1(10.105.1.1):. Processed in 0.022555 secs); 09 Aug 2005 14:32:46 -0000 Received: from unknown (HELO cse.iitb.ac.in) (10.105.1.1) by ldns1.iitb.ac.in with SMTP; 9 Aug 2005 14:32:46 -0000 Received: (qmail 13506 invoked by uid 509); 9 Aug 2005 14:34:00 -0000 Received: from vamshi@cse.iitb.ac.in by jeeves.cse.iitb.ac.in by uid 507 with qmail-scanner-1.22-st-qms (clamdscan: 0.73. spamassassin: 2.63. Clear:RC:1(10.105.1.11):. Processed in 0.016729 secs); 09 Aug 2005 14:34:00 -0000 X-Antivirus-cse.iitb.ac.in-Mail-From: vamshi@cse.iitb.ac.in via jeeves.cse.iitb.ac.in X-Antivirus-cse.iitb.ac.in: 1.22-st-qms (Clear:RC:1(10.105.1.11):. Processed in 0.016729 secs Process 13501) Received: from mars.cse.iitb.ac.in (10.105.1.11) by cse.iitb.ac.in with SMTP; 9 Aug 2005 14:34:00 -0000 Date: Tue, 09 Aug 2005 14:38:00 -0000 From: R Vamshi Krishna To: nickg@ecoscentric.com cc: raghavendra pai g , ecos-discuss@ecos.sourceware.org In-Reply-To: Message-ID: References: <20050809102804.17214.qmail@webmail28.rediffmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [ECOS] Re: eCos Grub Problem X-SW-Source: 2005-08/txt/msg00096.txt.bz2 On Tue, 9 Aug 2005, Nick Garnett wrote: > > > Again, please Cc all messages to ecos-discuss. That way others get the > benefit of any information. > > > "raghavendra pai g" writes: > >> >> >> Let me explain u the procedure how i got the redboot.elf >> >> i used the configtool . >> The template - i386 PC target with RTL8139 ethernet >> package- redboot >> >> import the file /opt/cvs/packages/hal/i386/pc/current/misc/redboot_GRUB.ecm >> >> In the Options eCos-Hal -> i386-architecture -> i386-PC target -> >> changing Default Console channel -> 2 >> Diagnostic serial port >> >> Then build the library. >> >> And from the _intall/bin i will get the rredboot.elf file >> and this is placed into /boot >> >> In the /etc/grub.conf >> "title eCos1 >> root (hd0,1) >> kernel /boot/redboot.elf >> title Fedora Core-up (2.6.9-1.667) >> root (hd0,1) >> kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet >> initrd /initrd-2.6.9-1.667.img " >> >> Is there any change i have to do . >> >> I am getting the " Error15 : File not found " >> >> Please do tell where i went wrong . > > My understanding of GRUB is that it uses a menu.lst file in /boot/grub > to supply the boot options. That is certainly what my SuSE > installation does. I'm not sure what role /etc/grub.conf plays, but it > is not the right place to put new boot options. > > Are you also sure that (hd0,1) is the right partition? > > Whatever is going on, it is to do with GRUB failing to find the named file. > It currently has nothing to do with the way that RedBoot was built, > which looks OK to me. > > I would strongly suggest experimenting with GRUB booting from a floppy > disk. > > > > 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 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 ...... BTW : It is indeed (hd0,1) because on doing df -h we get /dev/hda2 as our boot partition. Thank you for your patience. - Vamshi -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss