From owner-cvs-all@FreeBSD.ORG Sat Mar 8 10:30:32 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 148D0106566B; Sat, 8 Mar 2008 10:30:32 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id CBCCD8FC15; Sat, 8 Mar 2008 10:30:31 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m28AJEIv011050; Sat, 8 Mar 2008 03:19:15 -0700 Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 75CB614313; Sat, 8 Mar 2008 11:29:23 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32363-10; Sat, 8 Mar 2008 11:29:22 +0100 (CET) Message-ID: <47D2681F.2070309@semihalf.com> Date: Sat, 08 Mar 2008 11:19:11 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: Marcel Moolenaar References: <200803080536.m285aPN7047604@repoman.freebsd.org> In-Reply-To: <200803080536.m285aPN7047604@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/booke machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 10:30:32 -0000 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