[U-Boot] how can i change u-boot load address?
Roman Mashak
romez777 at gmail.com
Tue Oct 7 01:36:53 CEST 2008
Hello Andrew,
2008/10/6 Andrew Dyer <amdyer at gmail.com>:
> If you want to build a version of u-boot that is linked to a start
> address that is in RAM for loading via a jtag debugger, then change
> the definition of TEXT_BASE in board/<your board name here>/config.mk.
Can the value of TEXT_BASE be arbitrary chosen for test purposes?
> If you want to make sure u-boot is still linked in ROM, but gets put
> at the top of memory during relocation, then you have to make sure the
> initdram() function in your code returns the correct ram size.
As I understand it's valid for MIPS or PPC based architectures, right?
On many MCUs built on arm7tdmi core (for example, SAM7 family from
Atmel) the process of starting up involves remapping, i.e. 0x0 address
points on ROM at reset and on RAM after remap. U-Boot usually resides
in ROM storage at startup, after reset relocates itself to RAM --
should not it involve remapping as well?
I didn't find how it's done in U-Boot (if it's done at all). Would
appreciate a lot for clarification.
I'm trying to understand how it's done on ARM --
--
Roman Mashak
More information about the U-Boot
mailing list