From: Gary Thomas <gthomas@redhat.com>
To: Christoph Csebits <christoph.csebits@frequentis.com>
Cc: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] RedBoot ROM version
Date: Thu, 12 Jul 2001 07:13:00 -0000 [thread overview]
Message-ID: <XFMail.20010712081304.gthomas@redhat.com> (raw)
In-Reply-To: <20010712160021.A11053@frequentis.com>
On 12-Jul-2001 Christoph Csebits wrote:
> hi
>
> i have ported RedBoot to my custom MPC860
> board (based on MBX) to run in RAM.
>
> Now i started to generate a ROM version
> and burned it into flash.
>
> After powerup, the board hangs somewhere in
> cyg_hal_invoke_constructors (called in vectors.S)
>
> I have adjusted the ROM bounds
> I have added
>
> cdl_option CYGSEM_HAL_ROM_MONITOR {
> user_value 1
> };
>
> to my .ecm file.
>
> Thats all I have changed from RAM version
> Is there some vital thing missing?
HAL_STARRTUP == ROM ?
>
> Can anybody show me a working way how to copy
> (powerpc-eabi-objcopy) the necessary
> things out of the elf binary?
You really shouldn't try to short circuit things like this. The best
way to create a ROM based application is to use the configuration
tools to set ROM startup mode.
For example, here's how to build ROM based RedBoot for the PowerPC mbx860:
% ecosconfig new mbx redboot
% ecosconfig import startup_ROM
% ecosconfig tree
% make
where the file 'startup_ROM' looks like this (without the --- lines):
-----------------------------------------------------------
cdl_component CYG_HAL_STARTUP {
user_value ROM
};
-----------------------------------------------------------
Look at other platforms to see how to make use of objcopy for what
you want. The MBX is a good choice as it makes use of them when
building RedBoot.
next prev parent reply other threads:[~2001-07-12 7:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-12 7:02 Christoph Csebits
2001-07-12 7:13 ` Gary Thomas [this message]
2001-07-13 1:10 ` Christoph Csebits
2001-07-13 4:27 ` Gary Thomas
2001-07-16 1:55 ` Christoph Csebits
2001-07-16 7:32 ` Christoph Csebits
2001-07-16 7:40 ` Gary Thomas
2001-07-16 8:02 ` Christoph Csebits
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.20010712081304.gthomas@redhat.com \
--to=gthomas@redhat.com \
--cc=christoph.csebits@frequentis.com \
--cc=ecos-discuss@sources.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).