[U-Boot-Users] moving u-boot to upper address

mblack at mantaro.com mblack at mantaro.com
Fri Jul 9 15:43:18 CEST 2004


Thanks for the input but not according to my S19 file or my flash
programmer... but thats not really what I am concerned with.  I understand
that the flash space isn't defined until OR0/BR0 are config'd.  I will deal
with HRCW later.  What I want is my code to live and run in the absolute
address 0xfff00000 region.  Has what I have pointed out done that or is
there more... was that the right way to do it?

Thanks,

Mitch

Original Message:
-----------------
From: VanBaren, Gerald (AGRE) Gerald.VanBaren at smiths-aerospace.com
Date: Fri, 9 Jul 2004 07:16:51 -0600
To: mblack at smtp3.smiths.com, at at smtp3.smiths.com, mantaro at smtp3.smiths.com,
dot at smtp3.smiths.com, com at smtp3.smiths.com,
u-boot-users at lists.sourceforge.net
Subject: RE: [U-Boot-Users] moving u-boot to upper address



HRCW is ALWAYS at the START of your flash (assuming your flash is less than
16MB -- in that case, it is at 0xfe000000).  The HRCW will be at 0xfff00000
ONLY if your flash is exactly 1MB.

Strictly speaking, the HRCW does not have any address: the processor
asserts CS0 and reads the HRCW from offsets 0..31 in whatever memory is
enabled when CS0 is asserted.  It isn't until OR0/BR0 is configured (which
is part of what is controlled by the HRCW) that you can talk about
addresses.

gvb


> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of
> mblack at mantaro.com
> Sent: Friday, July 09, 2004 8:46 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] moving u-boot to upper address
>

>

> I want u-boot to live in the upper boot area 0xfff00000.
>

> So I have

>

> undef'd  _BOOT_LOW
> changed TEXT_BASE to be 0xfff00000
> changed CFG_MONITOR_BASE to be TEXT_BASE
>

> I realize that the HRCW will now be placed at 0xfff00000 and

> the actual
> code will begin at 0xfff00100 - this is okay, I will handle the HRCW
> seperatly.
>

> I just want to know if there is anything wrong with what I

> have done or if
> there is anything else I need to do?  There are, as you know, many
> dependancies and I am afraid I might have missed one.
>

> I am dealing with custom hardware and I don't have a hardware

> debugger -
> lots of flash and crash so I am not exactly sure where my problem is.
>

> Thanks!
>

> Mitch
>

> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>

>

>

>

> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -

> digital self defense, top technical experts, no vendor pitches,

> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>




******************************************
The information contained in, or attached to, this e-mail, may contain
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and may be subject to legal
privilege.  If you have received this e-mail in error you should notify the
sender immediately by reply e-mail, delete the message from your system and
notify your system manager.  Please do not copy it for any purpose, or
disclose its contents to any other person.  The views or opinions presented
in this e-mail are solely those of the author and do not necessarily
represent those of the company.  The recipient should check this e-mail and
any attachments for the presence of viruses.  The company accepts no
liability for any damage caused, directly or indirectly, by any virus
transmitted in this email.
******************************************


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .






More information about the U-Boot mailing list