Re: 13.0-RELEASE Poor performance on Raspberry pi 3 B+

bob prohaska <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Wed, Nov 24, 2021 at 09:33:33AM -0500, Juan David Hurtado G wrote:
> Thanks to @evadot and @f451 on Discord, seems there is the issue:
> 
> Raspberry Pi 3B+
> 
> ```
> root@generic:~ # dmesg | grep -i mmcsd
> mmcsd0: 31GB <SDHC SPCC 2.0 SN 1072013D MFG 08/2017 by 49 SP> at mmc0
> 0.4MHz/4bit/65535-block
> ```
> 
> Raspberry Pi 4 with a different card:
> ```
> mmcsd0: 31GB <SDHC 00000 0.0 SN 0000509F MFG 09/2019 by 159 TI> at mmc1
> 0.4MHz/4bit/65535-block
> ```
> 
> So no matter the pi or the card, the microsd clock is at 0.4MHz while in
> raspios same cards gets 50 MHz apparently
> 
> Seems that explain the behaviour... So is this a FreeBSD bug? or a card
> issue even if I've tested with different cards?
> 
> PS: A brand new sandisk ultra is on the way so I can test with it.
> 

Very strange. I get

bob@www:~ % dmesg | grep -i mmcsd
mmcsd0: 64GB <SDHC EC2QT 3.0 SN 5A4667E1 MFG 08/2019 by 27 SM> at mmc0 50.0MHz/4bit/65535-block

on an old Pi2 running
FreeBSD www.zefox.net 12.2-STABLE FreeBSD 12.2-STABLE r370512 GENERIC  arm

and

root@pelorus:/home/bob # dmesg | grep -i mmcsd
mmcsd0: 16GB <SDHC SL16G 8.0 SN BAAB3C19 MFG 11/2016 by 3 SD> at mmc0 50.0MHz/4bit/65535-block

on a Pi3 running
FreeBSD pelorus.zefox.org 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 06:06:55 UTC 2021     [email protected]:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm64

HTH,

bob prohaska
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.