[U-Boot] [PATCH] ppc/85xx: Fix bug in setup_mp code
Swarthout Edward L-SWARTHOU
SWARTHOU at freescale.com
Thu Jan 21 23:06:13 CET 2010
From: Kumar Gala
> Its possible that we try and copy the boot page code out of flash into
> a DDR location that doesn't have a TLB cover it. For example, if we
> have 3G of DDR we typically only map the first 2G. In the cases of
> 4G+ this wasn't an issue since the reset page TLB mapping covered the
> last page of memory which we wanted to copy to.
>
> We now change the physical address of the reset page TLB to map to the
> true physical location of the boot page code, copy and than set the
> TLB back to its 1:1 mapping of the reset page.
Why should a boot page TLB still exist? And if it does exist,
it may be serving a good purpose and shouldn't be touched.
Why not just pick an unused virtual address and map it to bootpg?
This TLB grabbing is giving me problems on my board where I have the
original 1M bootpage mapped to CPC sram and I want to keep active.
-Ed
More information about the U-Boot
mailing list