[U-Boot-Users] [PATCH][FOR 1.3.4] 85xx: Don't move interrupt vector to low memory

Wolfgang Denk wd at denx.de
Wed Aug 6 08:50:03 CEST 2008


In message <Pine.LNX.4.64.0808060127560.20220 at blarg.am.freescale.net> you wrote:
> Moving the interrupt vectors to low memory can cause issues if the code
> gets overwritten via some image loading command (tftp, boot*, etc.) and
> interrupts (like the decrementer are enabled).

Oops? This is expected and normal behaviour. Did anybody complain
about this?

> On 85xx there is no reason to copy the interrupt vectors to low memory
> since we can run them in high memory since we are a Book-E core.

High memory means leave them in flash?

Then you will probably see nice crashes as soon as you erase U-Boot
for example to install a new version.

All references to flash memory must be relocated to RAM, including the
exception vectors, of course.

> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> 
> This is a fix for 1.3.4.

I don't think so. Seems to introduce a bug.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It follows that any commander in chief who undertakes to carry out a
plan which he considers defective is at fault; he must put forth  his
reasons,  insist  of  the  plan being changed, and finally tender his
resignation rather than be the instrument of his army's downfall."
- Napoleon, "Military Maxims and Thought"




More information about the U-Boot mailing list