From: gmail <jjdebarros@gmail.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] eCos application offset for Redboot load
Date: Tue, 09 Aug 2011 04:11:00 -0000 [thread overview]
Message-ID: <4E40B370.1060503@gmail.com> (raw)
In-Reply-To: <4E40847B.4050608@mlbassoc.com>
On 8/8/2011 5:51 PM, Gary Thomas wrote:
> On 2011-08-08 17:25, gmail wrote:
>> I am trying to build an eCos application (and the test suite) to load
>> onto a board with a Redboot monitor.
>>
>> I've created an xxx_ram.ldi / .h for the board but don't know if I
>> need to add in the offset in that file for the Redboot monitor or if
>> that is done elsewhere.
>>
>> The monitor indicates:
>> Platform: TS-7250 Board (ARM920T) Rev A
>> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>>
>> RAM: 0x00000000-0x02000000, [0x000530c0-0x01fdd000] available
>> FLASH: 0x60000000 - 0x68000000, 1024 blocks of 0x00020000 bytes each.
>>
>> Do I change the text base in the .ldi to something above 0x000530c0?
>
> Yes, e.g. 0x80000 would be suitable.
>
Thanks.
I am now hitting another issue that doesn't make sense...
While stepping through one of the test programs w/ gdb, in the vectors.S
file hal_hardware_init is being called which in turn calls
hal_mmu_init() which looks like is halting the program.
If I am trying to run a program loaded into ram via redboot, shouldn't
the hardware (or at least the MMU) initialization be skipped? Isn't it
going to wipe out RAM?
Thanks for listening... :-)
--JJ--
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2011-08-09 4:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 23:25 gmail
2011-08-09 0:51 ` Gary Thomas
2011-08-09 4:11 ` gmail [this message]
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=4E40B370.1060503@gmail.com \
--to=jjdebarros@gmail.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=gary@mlbassoc.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).