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

From: Mark Millard via freebsd-arm <freebsd-arm_at_freebsd.org>
Date: Thu, 25 Nov 2021 05:51:30 UTC
On 2021-Nov-24, at 19:52, Mark Millard <marklmi@yahoo.com> wrote:

> On 2021-Nov-24, at 19:11, Mark Millard <marklmi@yahoo.com> wrote:
> 
>> On 2021-Nov-24, at 18:51, Juan David Hurtado G <jdhurtado@orbiware.com> wrote:
>> 
>>> Thanks for the feedback !
>>> 
>>>> Very strange. I get
>>> Can you share the brand model of the microSD cards that you are using? Just for reference.
>>> 
>>>> bob prohaska
>>> 
>>> 
>>>> What specific version/variation of the RPi4B was in use?
>>> I'm using raspberry pi 4 / 4 GB RAM
>> 
>> There are: v1.1, V1.2, and v1.4 revisions of that.
>> Which?
>> 
>> (Hmm. got to go. . . .)
> 
> Can you see the labeling on the top of the SOC? If yes,
> 
> 2711ZPKFSB06BOT
> vs.
> 2711ZPKFSB06COT
> 
> Which is present?
> 
>>>> What RPi4B firmware vintage was in use?
>>>> What U-Boot vintage was in use?
>>>> What FreeBSD loader.efi vintage is n use?
>>> 
>>>> ===
>>>> Mark Millard
>>> 
>>> This is what I get:
>>> 
>>> root@generic:~ # strings /boot/msdos/u-boot.bin | grep "U-Boot 2"
>>> U-Boot 2020.10 (Apr 09 2021 - 03:55:54 +0000)

This is not what I've been using (2021.04) but I no
longer remember whatever I knew about the differences
in behavior.

>>> root@generic:~ # strings /boot/msdos/start4.elf | grep VC_BUILD_ID_
>>> VC_BUILD_ID_USER: dom
>>> VC_BUILD_ID_TIME: 12:10:40
>>> VC_BUILD_ID_VARIANT: start
>>> VC_BUILD_ID_TIME: Feb 25 2021
>>> VC_BUILD_ID_BRANCH: bcm2711_2
>>> VC_BUILD_ID_HOSTNAME: buildbot
>>> VC_BUILD_ID_PLATFORM: raspberrypi_linux
>>> VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean)

This matches what I'm using. So if the RPi4B version
is similar, it would not be the problem.

But if you have a 2711ZPKFSB06COT, it could well be.
As I remember, someone with a 2711ZPKFSB06COT (but
2 GiByte), was unable to use the above frimware
vintage.

>>> PS: I've installed netBSD using the same card / pi 3 B+ combination and it runs ok at 50 MHz. I'll try tomorrow on the pi 4
>>> 
>>> ```
>>> arm64# dmesg | grep sdmmc | grep MHz
>>> [     2.009317] sdmmc1: 4-bit width, 50.000 MHz
>>> ```


I forgot another thing that contributes to the
boot behavior, seen via RaspiOS to get the
information. An example inspection of the
version information for this is the following.
It is extracted from an old freebsd-arm
message, not a current examination.

# rpi-eeprom-update
BOOTLOADER: up to date
CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
 LATEST: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
RELEASE: stable (/lib/firmware/raspberrypi/bootloader/stable)
         Use raspi-config to change the release.

VL805_FW: Using bootloader EEPROM
  VL805: up to date
CURRENT: 000138a1
 LATEST: 000138a1


(I'm not aware of how to get this information under FreeBSD.)

For someone to try to match your context to test it, the
BOOTLOADER version is another thing to match.


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)