[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compilation issues under i386 for i386.



On Mon, 2007-05-28 at 13:59 -0500, Jean Gabriel Gonzalez wrote:
> Hello Daron and Chris,
> 
> Thank you very much for your answers.
> 
> We have tried with your method :
>  
> So, we changed the configure command like that :
>  
> /root/Desktop/rtems-4.7.1/configure --target=i386-rtems4.7 
> --enable-rtemsbsp=pc386 --prefix=/opt/rtems-4.7
>  
> It works well.
>  
> Then, we specified the PATH : export PATH=/opt/rtems-4.7/bin:${PATH}
>  
> After, we have made the following command :
>  
> #make all install
>  
> --> The compilation finished and created a lot of files in my buil 
> directory.
>  
> So, now, the next step for us it to boot on RTEMS. We have seen there are 
> severals samples in
> ./i386-rtems4.7/c/pc386/testsuites/samples
>  
> We have tried to boot directly on the hello application with grub 
> bootloader. In fact, we don't know if we can directly boot on these 
> applications because wich file correspond to the initrd and kernel image.

RTEMS is *not* linux :-)

There are no initrd/kernel images: the binary image that is loaded onto
a target is the result of linking an application (code you've written)
against the libraries you've just constructed by building RTEMS (i.e.
librtemsbsp.a, librtemscpu.a, etc)

I've used network-bootloading via Etherboot, loading from a floppy, and
GRUB to get my RTEMS applications running.

I don't have access to my GRUB config at the moment, but i'll send you
details when i'm able to. That may be your simplest option...

>  
> Or, do we have to launch these applications under Linux like a processus, 
> and how to?

You may be able to achieve this effect by using the Qemu emulator (i.e.
launch an RTEMS application within an emulator running on your linux
box). Check the RTEMS wiki for information.


-- dc

>  
> If you have any ideas, let us know.
>  
> Regards and many thanks for your precious advices.
> 
> Matthieu Desarmeaux & Jean-Gabriel Gonzalez
> Interns in the University of Oklahoma
> School of Computer Science