arm/183740: mutex on some arm hardware requires dcache enabled

Ganbold Tsagaankhuu ganbold at gmail.com
Mon Nov 11 09:03:10 UTC 2013


On Mon, Nov 11, 2013 at 2:31 PM, John Wehle <john at feith.com> wrote:

> > 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.
>

Very cool and since this talk is related to arm I CC-ed freebsd-arm at .



>
> 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.
>

Great.

br,

Ganbold



>
> -- John
>
>


More information about the freebsd-arm mailing list