public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jifl@eCosCentric.com>
To: Pierre Habraken <Pierre.Habraken@imag.fr>
Cc: Mark Salter <msalter@redhat.com>, ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Calling exit in a Redboot standalone Arm program
Date: Tue, 22 Apr 2003 21:27:00 -0000	[thread overview]
Message-ID: <3EA5B1B8.8020205@eCosCentric.com> (raw)
In-Reply-To: <3EA5646A.5CF9F526@imag.fr>

Pierre Habraken wrote:
> Mark Salter wrote:
> 
>>[...]
>>Something to watch out for is that any patch not break the ability to
>>quit GDB and return to the RedBoot prompt.

Haven't tried it so I'm probably way off base, but could this maybe simply 
be done by making the code in question just be:

        __send_exit_status((int)arg1);
        CYGACC_CALL_IF_MONITOR_RETURN(arg1);

> PS: I'd like to be able to step by step in RedBoot in order to
> understand better how it operates, but up to now I failed to run it as a
> RAM image: I built it using cdl options CYGSEM_HAL_ROM_MONITOR
> (inferred_value 1) and CYG_HAL_STARTUP (user_value ROM) and load it at
> address 0x10000, but it does not want to start (using E7T BSL command
> 'go'). Any idea someone ?...

If those options are set for a ROM it will want to have been loaded in 
ROM. To build for RAM you have to disable CYGSEM_HAL_ROM_MONITOR and set 
CYG_HAL_STARTUP to RAM, not very surprisingly really! Only the latter is 
required in fact as CYGSEM_HAL_ROM_MONITOR should set itself accordingly.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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

  reply	other threads:[~2003-04-22 21:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-22 13:27 Pierre Habraken
2003-04-22 15:27 ` Mark Salter
2003-04-22 15:45   ` Pierre Habraken
2003-04-22 21:27     ` Jonathan Larmour [this message]
2003-04-23  7:55       ` Mark Salter
2003-04-24  2:30         ` Jonathan Larmour
2003-04-24 10:28           ` Pierre Habraken
2003-05-01 15:05           ` Pierre Habraken
2003-05-01 15:32             ` Mark Salter
2003-05-02 12:45               ` Pierre Habraken
2003-05-02 13:46                 ` Mark Salter
2003-05-05 12:43                   ` Pierre Habraken
2003-05-01 20:40             ` Pierre Habraken
2003-04-23 17:12       ` Pierre Habraken
2003-04-24 13:53       ` Mark Salter

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=3EA5B1B8.8020205@eCosCentric.com \
    --to=jifl@ecoscentric.com \
    --cc=Pierre.Habraken@imag.fr \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=msalter@redhat.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).