public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem in Booting Redhat via GRUB Startup-type
@ 2005-05-17  2:06 R Vamshi Krishna
  2005-05-17  8:13 ` David Brennan
  0 siblings, 1 reply; 2+ messages in thread
From: R Vamshi Krishna @ 2005-05-17  2:06 UTC (permalink / raw)
  To: ecos-discuss

I want to loab Redboot using grub.
How can I do that ?

I successfully tried using FLOPPY Startup type.
But when I do the same using Redboot_GRUB.ecm
and try to build the tests I get  following error :


/Project/Redboot_Grub/Redboot_Grub_install/lib/libtarget.a(redboot_main.o): 
In function `valid_address':
make: Leaving directory `/Project/Redboot_Grub/Redboot_Grub_build'
/opt/cvs/ecos/packages/redboot/current/src/main.c:749: multiple definition 
of `cyg_start'

tests/pci1.o:/opt/cvs/ecos/packages/io/pci/current/tests/pci1.c:448: first 
defined here
/gnutools/lib/gcc-lib/i386-elf/3.2.1/../../../../i386-elf/bin/ld: Warning: 
size of symbol `cyg_start' changed from 38 to 855 in 
/Project/Redboot_Grub/Redboot_Grub_install/lib/libtarget.a(redboot_main.o)
collect2: ld returned 1 exit status
make[1]: *** 
[/Project/Redboot_Grub/Redboot_Grub_install/tests/io/pci/current/tests/pci1] 
Error 1
make: *** [tests] Error 2


-- 
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] 2+ messages in thread

* Re: [ECOS] Problem in Booting Redhat via GRUB Startup-type
  2005-05-17  2:06 [ECOS] Problem in Booting Redhat via GRUB Startup-type R Vamshi Krishna
@ 2005-05-17  8:13 ` David Brennan
  0 siblings, 0 replies; 2+ messages in thread
From: David Brennan @ 2005-05-17  8:13 UTC (permalink / raw)
  To: R Vamshi Krishna; +Cc: ecos-discuss



R Vamshi Krishna wrote:

> I want to loab Redboot using grub.
> How can I do that ?
>
> I successfully tried using FLOPPY Startup type.
> But when I do the same using Redboot_GRUB.ecm
> and try to build the tests I get  following error :
>
>
> /Project/Redboot_Grub/Redboot_Grub_install/lib/libtarget.a(redboot_main.o): 
> In function `valid_address':
> make: Leaving directory `/Project/Redboot_Grub/Redboot_Grub_build'
> /opt/cvs/ecos/packages/redboot/current/src/main.c:749: multiple 
> definition of `cyg_start'
>
> tests/pci1.o:/opt/cvs/ecos/packages/io/pci/current/tests/pci1.c:448: 
> first defined here

You should not be building tests with a redboot configuration.

> /gnutools/lib/gcc-lib/i386-elf/3.2.1/../../../../i386-elf/bin/ld: 
> Warning: size of symbol `cyg_start' changed from 38 to 855 in 
> /Project/Redboot_Grub/Redboot_Grub_install/lib/libtarget.a(redboot_main.o) 
>
> collect2: ld returned 1 exit status
> make[1]: *** 
> [/Project/Redboot_Grub/Redboot_Grub_install/tests/io/pci/current/tests/pci1] 
> Error 1
> make: *** [tests] Error 2
>
What commands did you type to 'make redboot'? It looks like you are 
building tests, which should not be done for a redboot image. Either 
that is a left over from an earlier build (ie you did not start with an 
empty build directory.) Or you specifically did a make tests. Just make 
-s should be sufficient.

David Brennan

PS don't forget to set the CYGHWR_HAL_I386_PC_LOAD_HIGH to one for your 
actual application that you load with a grubbed redboot.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2005-05-17  2:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-17  2:06 [ECOS] Problem in Booting Redhat via GRUB Startup-type R Vamshi Krishna
2005-05-17  8:13 ` David Brennan

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