From nobody Thu Nov 25 05:51:30 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3B63A18B3530 for ; Thu, 25 Nov 2021 05:51:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J06Sw1v3Pz3mly for ; Thu, 25 Nov 2021 05:51:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637819504; bh=2z/u3692Rok7Mymyx+Hi9+oX1/e5ew+DgHtYzzTgJJQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=smMG3nXHELyyebN+WWEKOaRM325GC7zcrxb/Wr+l+MUcf/EKVwTAnv9hZyd9pObAcYd0BtuOigPGj0NMqYaYqxUvHNHNF//yJ07qIJRI/zNrAs/DwrIYwexMkHZlQeQMoKhpMm/pAjgm2XqsiRDyJNuQVZMirKyI4LjViIuxraFzNm9Zsn1liChGcV7+HBXldsy/zjK39oBHU9xowBKF/5+gFhnlV25Xmf49nkCOhHXHVtzuAD//809qxwuOQcuvTAjTUn4oB+UPL3eE3O4En1WRRWT/sBRLn1fVyeIqvBBIIbzIKmmHWHgpbkK8Nas9Aqnr75KYytKK6tpXMyYrlg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637819504; bh=HPhgbFfZM+f1D4RQJWYxkOno4lj9jg7hJ8/6EnyvZqg=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ppAHIEFwsE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cD3MQdUu4ndcLPf2w2cCCf.hbFK1co JBP9t_tbDe9cW.sw9xJI6Nv5K29mwLtF7vaMhrs7IP5MzXG0eb7yPnjopkHedqPUor3yXSx.PZE. PaDdznjqPb_dEHwdJ5XE2u7yMe4AnABEKcsWRGqNVZvNdp4s9Z4YKaoxULIKpfo5kRVSVnO4bLjm Szm2ekLWFgk8tXXQmlHApNenqIEo8UKI.TCh2YSCGNvxXJNXPjNkspkFpzq81dzCzM7t0h52I1Rh s0bg2pAdCMl7dKG3rsVFXOdUBzvL1zw2WUqOpKfAKdYol0zhtPPnKEPSXQP4B0tVHNIIabk21dbT 3DAAtPb750oloqG2upokvE.KDPZ7PXBNz0.m1ZKBDz8SZu2SqY844pgQuxTEDJ4EDwmN1mE9Y0nG xeJ02_KM8xLoiysvR4BYGSr7ROSOrGrbmFSY4HfRt3PGFB0LjU5BxU3FhUJ7sal7A70qwifBCTMj lKR0XrX8PH8WYFEQFqbEe_v6o61iHlwc93ZFRCF2Ea.rpIjmgGwpgWpe2R.VHow1ZvaA5kX6RSyW x_J7TY0Qvm7v85tMA.XcZNow- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Thu, 25 Nov 2021 05:51:44 +0000 Received: by kubenode530.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6e44298f99bca65b61fcee58be3daca6; Thu, 25 Nov 2021 05:51:32 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: 13.0-RELEASE Poor performance on Raspberry pi 3 B+ In-Reply-To: <1229E940-5DAB-4D49-AB14-E804296D10BC@yahoo.com> Date: Wed, 24 Nov 2021 21:51:30 -0800 Cc: Free BSD , bob prohaska Content-Transfer-Encoding: quoted-printable Message-Id: <9D5EEE28-4481-4B09-8F4D-1A486745B559@yahoo.com> References: <20211124155352.GA26072@www.zefox.net> <6CCD061E-DCDA-46E0-AE19-76EA1B30E56F@yahoo.com> <69E3CEF1-87D0-405B-B132-7D6A6A4EA056@yahoo.com> <1229E940-5DAB-4D49-AB14-E804296D10BC@yahoo.com> To: Juan David Hurtado G X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4J06Sw1v3Pz3mly X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=smMG3nXH; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.39 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.32:from]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.32:from]; NEURAL_HAM_SHORT(-0.89)[-0.888]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Nov-24, at 19:52, Mark Millard wrote: > On 2021-Nov-24, at 19:11, Mark Millard wrote: >=20 >> On 2021-Nov-24, at 18:51, Juan David Hurtado G = wrote: >>=20 >>> Thanks for the feedback ! >>>=20 >>>> Very strange. I get >>> Can you share the brand model of the microSD cards that you are = using? Just for reference. >>>=20 >>>> bob prohaska >>>=20 >>>=20 >>>> What specific version/variation of the RPi4B was in use? >>> I'm using raspberry pi 4 / 4 GB RAM >>=20 >> There are: v1.1, V1.2, and v1.4 revisions of that. >> Which? >>=20 >> (Hmm. got to go. . . .) >=20 > Can you see the labeling on the top of the SOC? If yes, >=20 > 2711ZPKFSB06BOT > vs. > 2711ZPKFSB06COT >=20 > Which is present? >=20 >>>> What RPi4B firmware vintage was in use? >>>> What U-Boot vintage was in use? >>>> What FreeBSD loader.efi vintage is n use? >>>=20 >>>> =3D=3D=3D >>>> Mark Millard >>>=20 >>> This is what I get: >>>=20 >>> 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 >>>=20 >>> ``` >>> 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. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)