[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to test my rtems application program?
- Date: Thu, 27 Sep 2007 07:56:00 -0500
- From: joel.sherrill at oarcorp.com (Joel Sherrill)
- Subject: how to test my rtems application program?
alwyn lee wrote:
> hi,
> I have a problem that when I finish building the rtems system, I use
> it to make a user program such as the examples rtems supplied. my
> target bsp use pc386.
>
>
> I use the pc386 grub image from the rtems.com , but i find that the
> program format is netbsd-a.out ,my program format is multiboot-elf. is
> it the reason that my program can not run in that grub ?
>
> and how to test my program , or is there a simulator to test my
> program for pc386?
> I'm so confused about the problem.
>
The pc386 BSP make procedure does some magic transformations on the
ELF file produced by directly linking. If you want the commands used
when producing the RTEMS samples you will see some steps involving
an objcopy and a bin2boot. You have to do those steps on your program.
You will have to provide more details to know what you are doing wrong.
But the pc386 BSP does require some extra streps to get from linked
ELF to bootable image.
--joel
> who can help me? thanks a lot !
>
> alwyn
>
>
>
>
>
>
> -----------------------------------------------------------------------------
> alwyn lee
> alwyn116 at hotmail.com (Messenger)
> alwyn116 at yahoo.com.cn (Mail)
>
> -----------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
> Shape Yahoo! in your own image. Join our Network Research Panel today!
> <http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>