Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Mar 2008 11:19:11 +0100
From:      Rafal Jaworowski <raj@semihalf.com>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/powerpc/booke machdep.c
Message-ID:  <47D2681F.2070309@semihalf.com>
In-Reply-To: <200803080536.m285aPN7047604@repoman.freebsd.org>
References:  <200803080536.m285aPN7047604@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D2681F.2070309>