From owner-freebsd-arm@FreeBSD.ORG Mon Nov 11 09:06:50 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B4187C3C for ; Mon, 11 Nov 2013 09:06:50 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 706C02565 for ; Mon, 11 Nov 2013 09:06:50 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPA id 37FA6C493D; Mon, 11 Nov 2013 11:06:42 +0200 (EET) Date: Mon, 11 Nov 2013 11:07:24 +0200 From: Aleksandr Rybalko To: John Wehle Subject: Re: arm/183740: mutex on some arm hardware requires dcache enabled Message-Id: <20131111110724.c3532e00bcf6f69907e32295@freebsd.org> In-Reply-To: <201311110640.rAB6e1A7098430@freefall.freebsd.org> References: <201311110640.rAB6e1A7098430@freefall.freebsd.org> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 09:06:50 -0000 On Mon, 11 Nov 2013 06:40:01 GMT John Wehle wrote: > The following reply was made to PR arm/183740; it has been noted by GNATS. > > From: John Wehle > To: ganbold@gmail.com > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: arm/183740: mutex on some arm hardware requires dcache enabled > Date: Mon, 11 Nov 2013 01:31:38 -0500 (EST) > > > What kind of Amlogic board you are working on? > > I'm currently using a Visson ATV-102 "Android TV Box" which has an > Amlogic aml8726-m3 SoC. I have it to the point of attempting to > mount the root filesystem so it's probably time for me to write a > driver for the Amlogic MMC hardware. > > I also have a Ainol Elf 2 tablet which has an Amlogic aml8726-mx SoC > which I plan to work on next. > > Both chips are dual core Arm Cortex A9 processors. > > > As for the patch can you try to put it in initarm_late_init() of > > your board machdep code and try? > > Yep ... enabling the dcache in initarm_late_init takes care of the > mutex ldrex / strex problem. > > -- John > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" Cool! Go-go-go John! :) WBW -- Aleksandr Rybalko