public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@redhat.com>
To: Stijn Symons <stijn.symons@acunia.com>
Cc: eCos Discussion <ecos-discuss@sourceware.cygnus.com>
Subject: Re: [ECOS] executing applications
Date: Thu, 16 Aug 2001 07:40:00 -0000	[thread overview]
Message-ID: <XFMail.20010816084034.gthomas@redhat.com> (raw)
In-Reply-To: <3B7BF62F.855028B3@acunia.com>

On 16-Aug-2001 Stijn Symons wrote:
> Gary Thomas wrote:
> 
>> On 16-Aug-2001 Stijn Symons wrote:
>> > Hi,
>> >
>> > is there any other way to execute an application other than gdb? We've
>> > got the hello-world program running with gdb, but it get's lost when we
>> > reset the ipaq. So we've been trying to load and execute the program in
>> > redboot (in elf, binary and srec formats) but it won't run...
>> >
>>
>> Exactly what happens?  This should work, with no source changes, by just
>> loading the file and then running it.
>>
>> If you can provide some details, we may be able to help.
> 
> Basically we get rubbish. The dowload is flawless, but when we type "go
> 0x100000" (0x100000 is the base adress) we get a bunch of symbols on the
> screen witch no sense at all or just plain nothing.
> To get the binary and srec formats we did :
> 
> arm-elf-objcopy -O binary a.out hello.bin
> 
> the same for the srec format.

Can you send me the ELF file?  Send it directly - off-list.

Also, exactly what steps did you take to build this image?  Note: you
should be able to work from exactly the same ELF image using either GDB
or raw RedBoot for loading & executing the file.

> 
>>
>>
>> > Is there a way to put the program in ROM with gdb or is there any other
>> > way to get a program running on redboot/ecos?
>>
>> Actually if you just set your startup type to ROM and rebuild then you'll
>> end up with something you can program into the FLASH.  However, this is
>> very dangerous, especially on the iPAQ, as once done, you'll not be able
>> to talk to the unit again until the FLASH has been restored.
>>
>> Work on getting it to run using RedBoot - you'll be much happier and I'll
>> be able to sleep nights :-)

  reply	other threads:[~2001-08-16  7:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16  6:20 Stijn Symons
2001-08-16  7:08 ` Gary Thomas
2001-08-16  7:33   ` Stijn Symons
2001-08-16  7:40     ` Gary Thomas [this message]
2001-08-16  7:22 ` Jonathan Larmour
     [not found] <3B7BFE3B.11BA30A9@acunia.com>
2001-08-16  8:32 ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=XFMail.20010816084034.gthomas@redhat.com \
    --to=gthomas@redhat.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=stijn.symons@acunia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).