Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2018 15:46:41 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Jookia <166291@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: eMMC issues on Allwiner A20-OLinuXino-LIME2-eMMC
Message-ID:  <20181110154641.6823913580760d95d9ff8b9f@bidouilliste.com>
In-Reply-To: <20181110135903.GB1747@novena-choice-citizen-recovery.gateway>
References:  <20181108063915.GA1747@novena-choice-citizen-recovery.gateway> <20181110135903.GB1747@novena-choice-citizen-recovery.gateway>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 Nov 2018 00:59:03 +1100
Jookia <166291@gmail.com> wrote:

> As an update on this, it seems to be that the issue stops when DDR52
> capability is disabled. Someone else had a similiar issue with the Pine64:
> https://forum.pine64.org/archive/index.php?thread-6339.html

 Different issue.
 After re-reading your log it fails when we update the mmc module clock,
maybe the clock isn't correct after switching to clkng and the main
clock isn't set correctly.

> > * eMMC crashes on a protocol issue;
> > Allwinner datasheet;
> > * "SMHC Controller support up to MMC5.0"
> >   -- 52 is activated in the features.
> 
> Apparently the A20 doesn't support HS200:
> https://www.olimex.com/forum/index.php?topic=6653.0

 DDR52 != HS200
 We currently don't support >= HS200 for Allwinner, I never could make
it work.

> > A20 do not support HS200
> > 
> > we have two versions one is with Micron eMMC  ver. 4.51 which makes about 12-13MB/s transfer
> > we have now new boards with eMMC v5.0 where same A20 processor due to the improved timing in v5.x improve the transfer up to 18-20MB/s
> > 
> > A64 has eMMC v5.x support and multispeed mode and achieve up to 40MB/s transfers
> 
> This kernel thread alludes to the Pine64 issue:
> https://groups.google.com/forum/?_escaped_fragment_=topic/linux.kernel/L9lXBGYgvXk
> 
> > mmc2 works fine for either 4 bit SDR/DDR or 8 bit SDR only. It does
> > not work for 8 bit DDR. I actually tested all the above combinations.
> 
> Regardless I'm stumped since the FreeBSD driver code and Linux driver
> code don't have any obvious differences with handling DDR52 in them that
> I can see.
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



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