RTEMS on x86 PC

Fered a_Fered at yahoo.com
Wed Mar 7 06:28:26 UTC 2012


I found these instructions to boot using grub:

multiboot (hd0)/hello.exe
boot

but after that, I see "Warning : This will be the last message on console" and 
no more messages.
Are those instructions correct?

Please help me. I should boot RTEMS on a x86 PC and have no much time.

Thanks.

On Se shanbe 16 Esfand 1390 21:59:01 Fered wrote:
> "kernel" command is for legacy grub.
> 
> > Hi,
> > 
> > I think you need to define the kernel option in grub before issuing boot:
> > > kernel (hd0,0)/hello.exe
> > > boot
> > 
> > Regards,
> > Cláudio
> > 
> > On Tue, Mar 6, 2012 at 2:02 PM, Fered <a_Fered at yahoo.com> wrote:
> > > 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
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list