Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2013 08:27:34 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        "Oleksandr Tymoshenko" <gonzo@bluezbox.com>, <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <2D3E891FE9014C0B8403E27EBAFC9EF9@ad.peach.ne.jp>
In-Reply-To: <50EDF4AB.5060606@bluezbox.com>
References:  <B5F827FF91C94FF2AFEE00194A2BB2C5@ad.peach.ne.jp> <B508111FCE534B2CBA61F4D1EC1078D3@ad.peach.ne.jp> <D3ABE3919EA74D668DB060952B5CD8C0@ad.peach.ne.jp> <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <E48DEAF481F74C69A1BC7A01F2B8E74A@ad.peach.ne.jp> <50EDF4AB.5060606@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> Known Problems:
>> To store correct values to DMA engine, it uses D-cache invalidate all. 
>> (unknown reason, first chunk only)
> 
> Thank you, Daisuke-san. I'm going to merge DMA driver and  DMA transfers
> support for SDHCI. Merging other SDHCI fixes require more testing (and 
> spec reading)
>  but they're on my ToDo list too. DMA driver needs some clean-up though
> before it can be committed to the tree. I'll post  my notes on it when 
> it's ready.

I forgot invalidating SDHCI side. I've fixed this issues.
Please take from src-244906-20130110.patch.gz and new bcm2835_dma.[ch]. (dated 2013/Jan/10)
So, now it should take invalidate range correctly instead of D-cache invalidate all.

FYI, my patch fix:

wrong high voltage selection in dev/mmc/mmc.c
workaround missing error handling in dev/mmc/mmc.c
wrong freq divider in dev/sdhci/sdhci.c
workaround Raspberry Pi HS mode issue in dev/sdhci/sdhci.c

Thanks,
-- 
Daisuke Aoyama
 



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