[U-Boot-Users] Questions porting U-Boot to Xilinx VP20

Wolfgang Denk wd at denx.de
Wed Jan 10 01:19:59 CET 2007

In message <1BF8A0AAE2F4B94A9D7B247FE51D511403EC16 at CHM-EMAIL1.ad.mc.com> you wrote:
> I have a question regarding porting U-Boot to a Xilinx Virtex-II Pro.  I
> think I understand most of the porting requirements and have modified
> the Xilinx ML300 board to suit my boards peripherals and memory.  My
> problem is that when I download the u-boot ELF to my hardware (using
> JTAG debugger) it seems to lock up during or after the routine
> 'relocate_code'.  The difference in my PPC405 sub-system and the ML300
> is that my SDRAM is not mapped a 0x0.  My memory is mapped at
> 0x80000000.  I looked in the README file and found the define

I guess you can change this mapping, right? Change it.

> CFG_SDRAM_BASE.  I then located this define in the file ML300.h and
> changed it to 0x80000000.  However, I also found the note * Please note
> that CFG_SDRAM_BASE _must_ start at 0 .  My question is, is there some
> sort of dependence that u-boot (for the PPC 405) has on the memory
> residing at 0.  The thing I ran into when porting VxWorks to this system

Yes, for all PowerPC.

> is that the EVPR register (the Vector table pointer) of the 405 needs to
> be modified to allow for the memory to reside at an address other than
> 0.  Is there any know issue with the memory being anything other than 0.

The "RAM is based at zero" assumption is probably very deeply engraved
in the design of the PPC code. I recommend not to touch this, as you
might easily trigger all kinds of "interesting" phenomena ;-)

> ------_=_NextPart_001_01C73446.A8F26034
> Content-Type: text/html;
> 	charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

And please: *NEVER* post HTML on this list.

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I've already got a female to worry about. Her name is the Enterprise.
	-- Kirk, "The Corbomite Maneuver", stardate 1514.0

More information about the U-Boot mailing list