Skip to contentSkip to conversation

CFG_MONITOR_BASE, CFG_FLASH_BASE, TEXT_BASE

U-Boot-Users Bogdan Woldert-Jokisz 2 participants 2 messages May 23, 2003

lore
Share & tools
lore
#0 lore raw

hi

what are the macros CFG_MONITOR_BASE, CFG_FLASH_BASE and TEXT_BASE ?

I think, CFG_FLASH_BASE is the lowest address of the flash. But what are the other macros?

My problem:

My flash memory (8MB) starts at 0xff800000. But the bootloader should start at 0xfff80000. Is it possible?

The bootloader works if I define CFG_FLASH_BASE to 0xfff80000, but I need the real start address of the flash memory in the board-info-structure.

Thanks
Bogdan

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

what are the macros CFG_MONITOR_BASE, CFG_FLASH_BASE and TEXT_BASE ?

RTFM!

Quoted 2 lines

I think, CFG_FLASH_BASE is the lowest address of the flash. But what are the other macros?

All this is docuemtned in the README file. You just have to read it.

Quoted 2 lines

My flash memory (8MB) starts at 0xff800000. But the bootloader should start at 0xfff80000. Is it possible?

Sure. But where is your reset entry point?

Quoted 3 lines

The bootloader works if I define CFG_FLASH_BASE to 0xfff80000, but I need the real start address of the flash memory in the board-info-structure.

Again, RTFM.

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
All these theories, diverse as they are, have two things  in  common:
they explain the observed facts, and they are completeley and utterly
wrong.                       - Terry Pratchett, _The Light Fantastic_