cvs commit: src/sys/powerpc/booke machdep.c
Rafal Jaworowski
raj at semihalf.com
Sat Mar 8 10:30:32 UTC 2008
Marcel Moolenaar wrote:
> marcel 2008-03-08 05:36:25 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/powerpc/booke machdep.c
> Log:
> Enable the D-cache and I-cache when not already enabled.
> It so happens that U-Boot disables the D-cache when booting
> an ELF image, so this change makes sure we run with the
> D-cache enabled from now on. It shows too...
>
Thanks for hooking this up, Marcel; it was [far] on my list too :)
BTW: currently U-Boot is broken for most of PPC variations (including 85xx) in
the following way: d-cache is not being flushed before disabling and strange
things happen as you imagine. For a quick workaround apply something like this
when using ELF images:
http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff
Rafal
More information about the cvs-src
mailing list