how to test my rtems application program?
Till Straumann
strauman at slac.stanford.edu
Thu Sep 27 15:51:54 UTC 2007
I have used grub and etherboot to boot i386-rtems
applications. With both of them I used the ELF file,
not the one generated by bin2boot.
YMMV
-- Till
Joel Sherrill wrote:
> 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
>>
>>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
More information about the users
mailing list