Skip to contentSkip to conversation

U-boot Memory Map

U-Boot-Users Raghu 2 participants 4 messages Oct 14, 2003 – Oct 15, 2003

lore
Share & tools
lore

Raghu

author
#0 lore raw

Hi,

Looking for a document for u-boot memory map. Enabling DEBUG at board.c I got few of them, Is there any addition to this ?

***************************************************
CPU: unknown MPC860 (0x08000003) at 50 MHz: 4 kB
I-Cache 4 kB D-Cache FEC pres
ent
Board: Force ( MPC852T )
DRAM: 64 MB
Top of RAM usable for U-Boot at: 04000000
Reserving 256k for U-Boot at: 03fc0000
Reserving 448k for malloc() at: 03f50000
Reserving 60 Bytes for Board Info at: 03f4ffc4
Reserving 44 Bytes for Global Data at: 03f4ff98
Stack Pointer at: 03f4ff78
New Stack Pointer is: 03f4ff78
Now running in RAM - U-Boot at: 03fc0000
FLASH: 1 MB
AM29LV008BB (8 Mbit, bottom boot sect)
******************************************************

Warm Regards,
Raghu.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

Looking for a document for u-boot memory map. Enabling DEBUG at board.c I got few of them, Is there any addition to this ?

Sorry, I can't parse this. What exactly is your question?

The memory map is something you define BEFORE starting to port any software, not something that is magically hidden in U-Boot.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"Summit meetings tend to be like panda matings. The expectations  are
always high, and the results usually disappointing."   - Robert Orben
author
#2 lore raw

Oh Sorry,
For putting wrong words..!

Quoted 10 lines
Quoted 2 lines

I got few of them, Is there any
addition to this ?

Sorry, I can't parse this. What exactly is your
question?

The memory map is something you define BEFORE starting to port any
software, not something that is magically hidden in U-Boot.

I want to know where in RAM the u-boot maintains its code and data. The monitor code begins from the highest memory in RAM, then we have the malloc region, Stack, board info, global data etc etc. Are some of u-boot data maintained else where.

As mentioned in the README/Docs when we perform mem test board hangs on writes or read at certain regions. I get this at RAM address 0 aswell.

A small write up on this will help all

Warm Regards
Raghu

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#3 lore raw
Quoted 6 lines · In message <[email protected]> you wrote:

I want to know where in RAM the u-boot maintains its code and data. The monitor code begins from the highest memory in RAM, then we have the malloc region, Stack, board info, global data etc etc. Are some of u-boot data maintained else where.

What exactly are you missing in section "Memory Management" of the README file?

Quoted 3 lines

As mentioned in the README/Docs when we perform mem test board hangs on writes or read at certain regions. I get this at RAM address 0 aswell.

It is probably not a good idea to overwrite the exception vector code while the system has interrupts enabled...

Quoted 1 line

A small write up on this will help all

It's all there. You just have to read it.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
News is what a chap who doesn't care much  about  anything  wants  to
read. And it's only news until he's read it. After that it's dead.
                           - Evelyn Waugh _Scoop_ (1938) bk. 1, ch. 5