RTEMS on x86 PC

Fered a_Fered at yahoo.com
Tue Mar 6 14:02:27 UTC 2012


Hi;
The documents you said are old. (They point to legacy GRUB)
Then I read some manuals and did following steps but could not boot RTEMS.
1- Installing GRUB on a USB disk in Linux:
	a. sudo mkfs.msdos /dev/sdb
	b. sudo mount /dev/sdb /media/MULTIBOOT
	c. grub-install --force --no-floppy --root-directory=/media/MULTIBOOT \	
	   /dev/sdb
2- Copy samples to the disk:
	I copied hello.exe
3- Boot system using the USB disk
	After booting, in GRUB's commanline, I wrote this command:
	boot (hd0)/hello.exe 
And the output of this command was:
no loaded kernel 
(When I issue 'ls (hd0)/' I see the file)

I built RTEMS for i386 archtecture and PC386 board. I tested hello.exe by 
pc386 script, that is run qemu and it worked.

Are these steps are correct?
Thanks.

> Hi,
> 
> Yes you can test RTEMS in your PC. You just have to build RTEMS for
> the i386 architecture and pc386 (or later) board support package. Once
> you have a RTEMS application built you can use GRUB to boot it. (if
> you have grub already installed on your PC you just have to change the
> "kernel=" parameter to point to an RTEMS application)
> 
> For more information on how to build RTEMS and a sample application:
> 
> http://rtems.org/onlinedocs/doc-current/share/rtems/html/
> http://wiki.rtems.org/wiki/index.php/Quick_Start
> http://wiki.rtems.org/wiki/index.php/Example_Application_Compiling
> 
> For more information about the boot:
> 
> http://git.rtems.org/rtems/tree/c/src/lib/libbsp/i386/pc386/HOWTO
> http://wiki.rtems.org/wiki/index.php/Pc386
> http://wiki.rtems.org/wiki/index.php/QEMU
> 
> Cláudio
> 
> On Wed, Feb 22, 2012 at 11:03 AM, harryxiyou <harryxiyou at gmail.com> wrote:
> > On Wed, Feb 22, 2012 at 3:58 PM, Fered <a_fered at yahoo.com> wrote:
> >> Hi,
> > 
> > Hi there,
> > 
> >> I'm newbie and want to test RTEMS on my PC.(on real hardware)
> >> Is it possible?
> > 
> > I think it is ok for us to test on our PC. I am now searching the way,
> > too. I recommend some useful links for you. If you find the way tell me
> > please.
> > 
> > [0] http://wiki.rtems.org
> > [1] http://www.rtems.org/
> > [2] http://rtems.org/onlinedocs/doc-current/share/rtems/html/
> > [3] http://git.rtems.org/
> > 
> > 
> > 
> > 
> > --
> > Thanks
> > Harry Wei
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list