public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@ecoscentric.com>
To: "Ricardo Andrino" <ricardo_andrino@web.de>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Run Redboot from flash
Date: Thu, 11 Dec 2003 14:38:00 -0000	[thread overview]
Message-ID: <m3he07a1nc.fsf@miso.calivar.com> (raw)
In-Reply-To: <200312111357.hBBDvPQ15963@mailgate5.cinetic.de>

"Ricardo Andrino" <ricardo_andrino@web.de> writes:

> Hello and thank you again, I will do what you say.
> Now i am running redboot fron RAM and try to run the hello program. I have made the following:
> 
> 1)Convert the elf image (with no extension or .elf or .exe) to Binary (.bin) image:
> for ARM:
> $arm-elf-objcopy -O binary hello hello.bin
> 
> 2)Open terminal:
> for Linux: Open minicom
> $ minicom
> 
> 3)Set the baud rates & other Uart parameters:
> usualy 38400 baud + 8bits + no parity + no handshake. Hardware and Software flow control NO.
> 
> 4)RedBoot> load -r -m xmodem -b 0x000200c0 ( first memory zone available after download redboot_RAM.elf) 
> 
> 5)After issuing the command send the .bin file using XMODEM protocol:
> for Linux (minicom):
> issue send file command <Cntl+A, S>, select "send xmodem", type the path to the file (.bin) & send
> 
> 6)At the Redboot prompt "RedBoot> " issue the 'go' command:
> RedBoot> go 0x20100( after 40 position for vectors, i am not sure about this, should be 0x000200c0?)
> 
> I should see the application running & the outputs on the terminal window but no output is diplayed but the led D3 light.........(EB40A)
> 
> I have made correct the redboot_RAM.elf, connecto to redboot, a hello RAM aplication etc, etc....
> 
> Any ideas?
> 
> Thanks in advance.
> 

eCos applications are not position independent, they have to be loaded
exactly where they expect to run. Unfortunately, this is also exactly
where the RAM RedBoot is running. Your best bet is to continue trying
to find out why the ROM RedBoot is not working properly. A secondary
approach is to adjust the load address of the test program by editing
the lib/target.ld in the eCos install tree so that it will run at
0x000200c0.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

  parent reply	other threads:[~2003-12-11 14:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 14:01 Ricardo Andrino
2003-12-11 14:07 ` Gary Thomas
2003-12-11 14:38 ` Nick Garnett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-27  9:19 Ricardo Andrino
2003-12-24 17:49 Ricardo Andrino
2003-12-25 13:43 ` Gary Thomas
2003-12-17 12:16 Ricardo Andrino
2003-12-16 14:47 Ricardo Andrino
2003-12-16 14:49 ` Nick Garnett
2003-12-16 15:43   ` Gary Thomas
2003-12-12 13:59 Ricardo Andrino
2003-12-12 15:13 ` Nick Garnett
     [not found] <200312121251.hBCCpYQ17140@mailgate5.cinetic.de>
2003-12-12 13:13 ` Gary Thomas
2003-12-12 12:12 Ricardo Andrino
2003-12-12 12:32 ` Gary Thomas
2003-12-12 11:53 Ricardo Andrino
2003-12-12 12:05 ` Gary Thomas
2003-12-12 10:35 Ricardo Andrino
2003-12-12 11:51 ` Gary Thomas
2003-12-12 13:46 ` Nick Garnett
2003-12-11 16:31 Ricardo Andrino
2003-12-11 15:33 Ricardo Andrino
2003-12-11 16:18 ` Gary Thomas
2003-12-10 15:12 ricardo_andrino
2003-12-11 11:35 ` Nick Garnett

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=m3he07a1nc.fsf@miso.calivar.com \
    --to=nickg@ecoscentric.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=ricardo_andrino@web.de \
    /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).