[U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?
Stefano Babic
sbabic at denx.de
Fri Feb 3 12:00:57 CET 2012
On 03/02/2012 11:18, Dirk Behme wrote:
>
> Ok, understood :) Do you have any pointers or hints how to implement a
> board specific relocation skip? Just in case somebody wants us to
> implement this for a specific i.MX6 board ...
Not really - I think you have to dig into the git history, when we could
skip relocation via a CONFIG_ OPTION. Maybe someone else can give some
more hints. Anyway, nobody nowadays checks if a patch breaks when the
relocation is skipped, as this option is unsupported, and the
possibility that your implementation will be break by next update is
quite high...
>> As your concerns are surely related to speed up the boot process, IMHO
>> we can focus efforts to add cache support for MX5 / MX6.
>
> Ok, sounds good. Any idea what has to be done for this? Or what would be
> the steps for this?
As armv7 architecture, the MX can profit of the work already done for
other SOCs. Functions for enabling / disabling / invalidate caches are
already provided, in arch/arm/lib and arch/arm/cpu/armv7/cache_v7.c. So
at least for MX5/MX6.
But we should change MXC drivers to be cache-aware. At least the FEC
driver and MMC driver are known to not work when dcache is on.
> Maybe we should open a new thread or at least rename
> the subject of this mail for this discussion?
Not a bad idea.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list