[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unable to load examples for RTEMS for GBA
- Date: Thu, 8 Nov 2007 18:42:29 -0500
- From: Alan.P.Cudmore at nasa.gov (Alan Cudmore)
- Subject: Unable to load examples for RTEMS for GBA
I can build and run GBA RTEMS programs on the VisualBoy Advance
emulator and on a real GBA.
I'm using RTEMS 4.7.1.
The emulator and real GBA don't use the EXE image, they run a .GBA
image. The following objcopy command is used to convert the EXE to a
GBA image for one of my applications:
arm-rtems4.7-objcopy -O binary --remove-section=.comment --remove-
section=.note --strip-unneeded ../exe/cfe-core.bin ../exe/cfe-core.gba
I'm not sure if the RTEMS 4.8 BSP strips the EXE this way.
On Nov 8, 2007, at 5:12 PM, Joel Sherrill wrote:
> Micronian wrote:
>> Hi Joel,
>> I too am using Linux (Slackware 12 :) ). I downloaded
>> 1.7.1 for Linux (Linux + SDL + glibc22) from the main site.
> Hmm.. maybe I need to download that.
>> I built my
>> RTEMS and GCC based on the instructions from:
> I haven't tried arm/gba for Ada. I think ARM works for
> Ada but haven't tried it recently. The GBA doesn't have
> a lot of memory and that is bad for Ada but hello should
> work if you configured RTEMS with POSIX.
>> In addition to the EXEs under testsuite, I tried compiling a simple
>> Ada hello program following the documentation on the RTEMSAda
>> Wiki. It
>> too failed with the same error.
> I just sent you my ticker.exe as a sanity check. Hopefully
> it will make it through the email filters.
> You need to try some simple C examples before moving on to Ada.
>> When I get home, I'll try BoyCott Advance.
>> On Nov 8, 2007 12:54 PM, Joel Sherrill <joel.sherrill at oarcorp.com>
>>> Micronian wrote:
>>>> I just built RTEMS 4.8 and GCC 4.2.2 using target=arm-rtems and
>>>> selected the gba BSP. I read somewhere on the mailing list that
>>>> it is
>>>> possible to load the EXE files (under testsuites) in a emulator. I
>>>> downloaded VisualBoyAdvance but when I try to load one of the EXEs
>>>> (e.g. hello.exe) it says "Unknown file type". I don't have a
>>>> real GBA
>>>> to play with, so that is why I need an emulator.
>>> I'm on Linux and tried ticker.exe built from the CVS head.
>>> It ran using a GBA simulator named BoyCott Advance
>>> that I downloaded a while back.
>>> I have only found a MS-Windows VisualBoyAdvance version.
>>> If you have a GNU/Linux one, I would like to know.
>>>> Can anyone shed some light? This is my first time exploring RTEMS.
>>>> rtems-users mailing list
>>>> rtems-users at rtems.com
> rtems-users mailing list
> rtems-users at rtems.com