public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] memory maps
@ 2007-12-07 17:11 hong zhang
  2007-12-07 17:29 ` Gary Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: hong zhang @ 2007-12-07 17:11 UTC (permalink / raw)
  To: ecos-discuss

List,

I look at
http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html
and see memory maps like

Physical Address Range     Description
-----------------------   
----------------------------------
0x00000000 - 0x7fffffff    ATU Outbound Direct Window
0x80000000 - 0x900fffff    ATU Outbound Translate
Windows
0xa0000000 - 0xbfffffff    SDRAM
0xf0000000 - 0xf0800000    FLASH               (PBIU
CS0)
0xfe800000 - 0xfe800fff    UART                (PBIU
CS1)
0xfe840000 - 0xfe840fff    Left 7-segment LED  (PBIU
CS3)
0xfe850000 - 0xfe850fff    Right 7-segment LED (PBIU
CS2)
0xfe8d0000 - 0xfe8d0fff    Rotary Switch       (PBIU
CS4)
0xfe8f0000 - 0xfe8f0fff    Baterry Status      (PBIU
CS5)
0xfff00000 - 0xffffffff    Verde Memory mapped
Register


What redboot command can display memory maps layout?

Thanks.

----henry


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] memory maps
  2007-12-07 17:11 [ECOS] memory maps hong zhang
@ 2007-12-07 17:29 ` Gary Thomas
  2007-12-07 18:18   ` hong zhang
  0 siblings, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2007-12-07 17:29 UTC (permalink / raw)
  To: hong zhang; +Cc: ecos-discuss

hong zhang wrote:
> List,
> 
> I look at
> http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html
> and see memory maps like
> 
> Physical Address Range     Description
> -----------------------   
> ----------------------------------
> 0x00000000 - 0x7fffffff    ATU Outbound Direct Window
> 0x80000000 - 0x900fffff    ATU Outbound Translate
> Windows
> 0xa0000000 - 0xbfffffff    SDRAM
> 0xf0000000 - 0xf0800000    FLASH               (PBIU
> CS0)
> 0xfe800000 - 0xfe800fff    UART                (PBIU
> CS1)
> 0xfe840000 - 0xfe840fff    Left 7-segment LED  (PBIU
> CS3)
> 0xfe850000 - 0xfe850fff    Right 7-segment LED (PBIU
> CS2)
> 0xfe8d0000 - 0xfe8d0fff    Rotary Switch       (PBIU
> CS4)
> 0xfe8f0000 - 0xfe8f0fff    Baterry Status      (PBIU
> CS5)
> 0xfff00000 - 0xffffffff    Verde Memory mapped
> Register
> 
> 
> What redboot command can display memory maps layout?

None, sorry.  These maps were hand crafted :-)


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] memory maps
  2007-12-07 17:29 ` Gary Thomas
@ 2007-12-07 18:18   ` hong zhang
  0 siblings, 0 replies; 10+ messages in thread
From: hong zhang @ 2007-12-07 18:18 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

Gary,

Do you know how atag works with redboot? Because I
want to make changes for virtual memory range.
Freescale recommends mem=64M@0x80000000
mem=64M@0x90000000 in command line. But people say use
atag is better.

----henry

--- Gary Thomas <gary@mlbassoc.com> wrote:

> hong zhang wrote:
> > List,
> > 
> > I look at
> >
>
http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html
> > and see memory maps like
> > 
> > Physical Address Range     Description
> > -----------------------   
> > ----------------------------------
> > 0x00000000 - 0x7fffffff    ATU Outbound Direct
> Window
> > 0x80000000 - 0x900fffff    ATU Outbound Translate
> > Windows
> > 0xa0000000 - 0xbfffffff    SDRAM
> > 0xf0000000 - 0xf0800000    FLASH              
> (PBIU
> > CS0)
> > 0xfe800000 - 0xfe800fff    UART               
> (PBIU
> > CS1)
> > 0xfe840000 - 0xfe840fff    Left 7-segment LED 
> (PBIU
> > CS3)
> > 0xfe850000 - 0xfe850fff    Right 7-segment LED
> (PBIU
> > CS2)
> > 0xfe8d0000 - 0xfe8d0fff    Rotary Switch      
> (PBIU
> > CS4)
> > 0xfe8f0000 - 0xfe8f0fff    Baterry Status     
> (PBIU
> > CS5)
> > 0xfff00000 - 0xffffffff    Verde Memory mapped
> > Register
> > 
> > 
> > What redboot command can display memory maps
> layout?
> 
> None, sorry.  These maps were hand crafted :-)
> 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] memory maps
  2003-01-30 19:55 Fabrice Gautier
@ 2003-01-30 21:38 ` Jonathan Larmour
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Larmour @ 2003-01-30 21:38 UTC (permalink / raw)
  To: Fabrice Gautier; +Cc: Ecos-List (E-mail)

Fabrice Gautier wrote:
>>-----Original Message-----
>>From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
>>Sent: Wednesday, January 29, 2003 10:06 PM
>>To: Fabrice Gautier
>>Cc: Gary D. Thomas; Ecos-List (E-mail)
>>Subject: Re: [ECOS] memory maps
>>
>>
>>
>>There are a number of unnecessary restrictions in the code 
>>that "just" need to be fixed. It's open source so... :-).
> 
> 
> Is the source code of Configtool v1.3 available? I didnt thougt it was and
> this is the only pace were the format of those mlt files is defined right?

Yes. It's all in CVS, just not checked out by default. Check out the 
ecos-host module, or at the top of your checkout (where the packages 
directory exists) do cvs update -d host

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] memory maps
@ 2003-01-30 19:55 Fabrice Gautier
  2003-01-30 21:38 ` Jonathan Larmour
  0 siblings, 1 reply; 10+ messages in thread
From: Fabrice Gautier @ 2003-01-30 19:55 UTC (permalink / raw)
  To: 'Jonathan Larmour'; +Cc: Gary D. Thomas, Ecos-List (E-mail)

> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, January 29, 2003 10:06 PM
> To: Fabrice Gautier
> Cc: Gary D. Thomas; Ecos-List (E-mail)
> Subject: Re: [ECOS] memory maps
> 
> 
> 
> There are a number of unnecessary restrictions in the code 
> that "just" need to be fixed. It's open source so... :-).

Is the source code of Configtool v1.3 available? I didnt thougt it was and
this is the only pace were the format of those mlt files is defined right?

Thanks.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] memory maps
  2003-01-30  6:05 Fabrice Gautier
@ 2003-01-30  6:10 ` Jonathan Larmour
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Larmour @ 2003-01-30  6:10 UTC (permalink / raw)
  To: Fabrice Gautier; +Cc: Gary D. Thomas, Ecos-List (E-mail)

Fabrice Gautier wrote:
> Yep,
> 
> I was thinking of making a simple perl script to do it. Thats quite simple
> for the .h file but not so simple for the .ldi file.

If we can get the config tool v2 to build under cygwin (which we nearly 
can, but haven't yet :-( ) it will make it a lot easier to do this 
directly into the v2 tool, and maybe even to use that same code in a 
command line tool.

But ultimately it needs a bigger overhaul so that, for example, the 
various properties are exported into CDL too and can be used there.

> Also i noticed there are some things impossible to do with the configuration
> tool.
> In particular one cannot place a not relocated section just after the
> initial place of  a relocated section.  If you try to do it, it will always
> place itself after the final place of the relocated section. (That can be
> usefull if you want to add a file at the end of your rom image and access
> the file using a user defined section name...)

There are a number of unnecessary restrictions in the code that "just" 
need to be fixed. It's open source so... :-).

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [ECOS] memory maps
@ 2003-01-30  6:05 Fabrice Gautier
  2003-01-30  6:10 ` Jonathan Larmour
  0 siblings, 1 reply; 10+ messages in thread
From: Fabrice Gautier @ 2003-01-30  6:05 UTC (permalink / raw)
  To: 'Jonathan Larmour', Gary D. Thomas; +Cc: Ecos-List (E-mail)

Yep,

I was thinking of making a simple perl script to do it. Thats quite simple
for the .h file but not so simple for the .ldi file.

Also i noticed there are some things impossible to do with the configuration
tool.
In particular one cannot place a not relocated section just after the
initial place of  a relocated section.  If you try to do it, it will always
place itself after the final place of the relocated section. (That can be
usefull if you want to add a file at the end of your rom image and access
the file using a user defined section name...)

-- 
Fabrice Gautier, 
Fabrice_Gautier@sdesigns.com


> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, January 29, 2003 4:53 PM
> To: Gary D. Thomas
> Cc: Fabrice Gautier; Ecos-List (E-mail)
> Subject: Re: [ECOS] memory maps
> 
> 
> Gary D. Thomas wrote:
> > On Wed, 2003-01-29 at 16:36, Fabrice Gautier wrote:
> > 
> >>Hi,
> >>
> >>Is there any other tool than the config tool v1.3 than can 
> generate the
> >>mlt_xxx.ldi and mlt_xxx.h files from a .mlt files?  I know 
> its not yet in
> >>CT2, but is there a command line tool for that ? I think 
> not, but just want
> >>to make sure.
> > 
> > 
> > Sadly, no.  I just edit them by hand - it's not too hard.
> 
> But unfortunately error-prone (whoever does it). I'm dreading 
> the breakage 
> when we eventually get a new MLT and regenerate the .ldi/.h files!
> 
> The MLT is AFAIK the only missing feature of the config tool 
> v2 and we'd 
> really like it to be there (or especially someone to pay for it!).
> 
> Ideally we could move to a more user-readable format and make 
> it work with 
> the CLUI tools too at the same time.
> 
> Jifl
> -- 
> eCosCentric       http://www.eCosCentric.com/       
> <info@eCosCentric.com>
> --[ "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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] memory maps
  2003-01-30  0:53 ` Gary D. Thomas
@ 2003-01-30  3:49   ` Jonathan Larmour
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Larmour @ 2003-01-30  3:49 UTC (permalink / raw)
  To: Gary D. Thomas; +Cc: Fabrice Gautier, Ecos-List (E-mail)

Gary D. Thomas wrote:
> On Wed, 2003-01-29 at 16:36, Fabrice Gautier wrote:
> 
>>Hi,
>>
>>Is there any other tool than the config tool v1.3 than can generate the
>>mlt_xxx.ldi and mlt_xxx.h files from a .mlt files?  I know its not yet in
>>CT2, but is there a command line tool for that ? I think not, but just want
>>to make sure.
> 
> 
> Sadly, no.  I just edit them by hand - it's not too hard.

But unfortunately error-prone (whoever does it). I'm dreading the breakage 
when we eventually get a new MLT and regenerate the .ldi/.h files!

The MLT is AFAIK the only missing feature of the config tool v2 and we'd 
really like it to be there (or especially someone to pay for it!).

Ideally we could move to a more user-readable format and make it work with 
the CLUI tools too at the same time.

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ECOS] memory maps
  2003-01-29 23:37 Fabrice Gautier
@ 2003-01-30  0:53 ` Gary D. Thomas
  2003-01-30  3:49   ` Jonathan Larmour
  0 siblings, 1 reply; 10+ messages in thread
From: Gary D. Thomas @ 2003-01-30  0:53 UTC (permalink / raw)
  To: Fabrice Gautier; +Cc: Ecos-List (E-mail)

On Wed, 2003-01-29 at 16:36, Fabrice Gautier wrote:
> Hi,
> 
> Is there any other tool than the config tool v1.3 than can generate the
> mlt_xxx.ldi and mlt_xxx.h files from a .mlt files?  I know its not yet in
> CT2, but is there a command line tool for that ? I think not, but just want
> to make sure.

Sadly, no.  I just edit them by hand - it's not too hard.

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ECOS] memory maps
@ 2003-01-29 23:37 Fabrice Gautier
  2003-01-30  0:53 ` Gary D. Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Fabrice Gautier @ 2003-01-29 23:37 UTC (permalink / raw)
  To: Ecos-List (E-mail)

Hi,

Is there any other tool than the config tool v1.3 than can generate the
mlt_xxx.ldi and mlt_xxx.h files from a .mlt files?  I know its not yet in
CT2, but is there a command line tool for that ? I think not, but just want
to make sure.

Thanks

-- 
Fabrice Gautier, 
Fabrice_Gautier@sdesigns.com

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-12-07 18:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-07 17:11 [ECOS] memory maps hong zhang
2007-12-07 17:29 ` Gary Thomas
2007-12-07 18:18   ` hong zhang
  -- strict thread matches above, loose matches on Subject: below --
2003-01-30 19:55 Fabrice Gautier
2003-01-30 21:38 ` Jonathan Larmour
2003-01-30  6:05 Fabrice Gautier
2003-01-30  6:10 ` Jonathan Larmour
2003-01-29 23:37 Fabrice Gautier
2003-01-30  0:53 ` Gary D. Thomas
2003-01-30  3:49   ` Jonathan Larmour

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).