[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] How to Change the Text Base Address in u-boot?



In board/.../config.mk is TEXT_BASE constant. It is the starting address.
The first code is in cpu/.../start.S code.

You can see linker script in board/.../u-boot.lds.

Part of script.
.text ALIGN(0x4):
{
 __text_start = .;
 cpu/microblaze/start.o (.text)
 *(.text)
 __text_end = .;
}

Regards
Michal Simek

----- Original Message ----- From: "Yeoh Chun Yeow" <yeohchunyeow@xxxxxxxxx>
To: <microblaze-uclinux@xxxxxxxxxxxxxx>
Sent: Thursday, June 21, 2007 2:48 PM
Subject: [microblaze-uclinux] How to Change the Text Base Address in u-boot?


Dear all,

How can I change the starting address for u-boot, such as u-boot.srec?

-DTEXT_BASE=0x27ffc000

where should I change since the u-boot image is too large and overwrite the
end address of SDRAM?

regards,
chun yeow


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/