From owner-freebsd-arm@freebsd.org Sat Jan 9 22:26:54 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F30104E4EB5 for ; Sat, 9 Jan 2021 22:26:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4DCvhr1BrLz4ZDH for ; Sat, 9 Jan 2021 22:26:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1610231209; bh=70Mh6PD48UDhRrYE3hLMNr7hq4GufeJZz5fGtMbGkgc=; h=Subject:From:Date:To:From:Subject; b=FL+wvsTFm2BlJKvU9tuK2zzv8DCsYFD6n4anDoSqRH1KTVSBaP9bBnW+28hVz871sZ5ptavtK5dKmGIU4MaDNXxiUgpz63YfyBTnjntm2p7rwktWrQZA02lwui9IL2h1KIEwzHEyC3H/J+dicvYt8W0BN9c+RIMjDln27yXI6f8uw25oUTEFYOqpR/moDdPR8Dd0+32n/ygAVUoQ8+6zlylkfO2jL17fMD1Vf5rrXmkyRdxX/R/dyzJCWitzbUGil3owzVxKBedueAQB07J4ZFVpC5+GL5tR4PZW2rR9U6RBsRKO2/Gts6MoPS1XQe7OTcrkXMZYFr+yeaez/Qv9cw== X-YMail-OSG: dN8dgTgVM1kIF3cP3Wqkxv4mwkwOCKgi4oSOtfVkzc4XEUeHfMwty9RxJIt6vyM NdxvLsXqs19ASY3_TTEPywT3EiocIWplr1cLw01wDPN3RgeNi5vQ2JyaH_A563jIcup0ePufA37w dnsDMIqRJH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kO_HK_teNmyHp54z6_GpYfLU8H 38iPPTdlV9pz5XtjOjarFMrayFEX5M0lJwgzYiouL.Awzvx6GxIevNjym2D9gM44be6hZkOzQ8j5 GKKO4kSpfktSb__t5nbCX.poTEIsqV6KtPmEA8i.zC5Yx8w6isCxK3kXScXVF7HI1WkZ8n0nOW1D 9bmagZfGajw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sat, 9 Jan 2021 22:26:49 +0000 Received: by smtp422.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7bcf93b0336bf3908d777555d58fee27; Sat, 09 Jan 2021 22:26:46 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: Rpi-firmware notes From: Mark Millard In-Reply-To: Date: Sat, 9 Jan 2021 14:26:45 -0800 Cc: uboot@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <893B108B-3FDC-499B-97C4-CBF1D4EF0272@yahoo.com> References: <202101090902.10992SRO077874@portscout.nyi.freebsd.org> To: "portscout@freebsd.org" , freebsd-arm X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DCvhr1BrLz4ZDH X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2021 22:26:54 -0000 On 2021-Jan-9, at 11:41, Mark Millard wrote: > On 2021-Jan-9, at 01:02, portscout@freebsd.org wrote: >=20 >> Dear port maintainer, >>=20 >> The portscout new distfile checker has detected that one or more of = your >> ports appears to be out of date. Please take the opportunity to check >> each of the ports listed below, and if possible and appropriate, >> submit/commit an update. If any ports have already been updated, you = can >> safely ignore the entry. >>=20 >> You will not be e-mailed again for any of the port/version = combinations >> below. >>=20 >> Full details can be found at the following URL: >> http://portscout.freebsd.org/uboot@freebsd.org.html >>=20 >>=20 >> Port | Current version | = New version >> = ------------------------------------------------+-----------------+-------= ----- >> sysutils/rpi-firmware | = 1.20201201.g20201201| 1.20210108.master >> = ------------------------------------------------+-----------------+-------= ----- >>=20 >>=20 > . . . >=20 > I will note that pftf/RPi4 (the UEFI/ACPI software) has > reverted to using RPi firmware from before 2020.12.08 as > of 3 days ago. For why, see: >=20 > https://github.com/raspberrypi/firmware/issues/1518 >=20 > For what they changed in what they extract: >=20 > = https://github.com/pftf/RPi4/commit/8fcd5bc6fd04e78cf8460f5176739340751672= 4e >=20 > pftf/RPi4 is now using: >=20 > = https://github.com/raspberrypi/firmware/raw/08ed7a0c9ad4d9db559aaec462520a= b435c7ce1c/boot/ >=20 > to select just start4.elf and fixup4.dat . Turns out that https://github.com/pftf/RPi4/releases/tag/v1.22 has a more explicit note: QUOTE Important Note: The start4.elf and fixup4.dat used in this release are = the 2020.12.01 ones, as using newer versions broke xHCI initialization = (raspberrypi/firmware#1518, raspberrypi/firmware#1495) with newer = revisions of the Bcm2711 SoC. Do not be tempted to use more recent = versions of start4.elf, as, unless you are using an old Pi 4 model, this = will most likely break USB support. END QUOTE As for v1.22 update, it reports: Raspberry Pi 4 UEFI Firmware v1.22 =E2=80=A2 Fix settings not being stored or being corrupted on = reset (#78, #82) = [tianocore/edk2-platforms@94e9fbatianocore/edk2-platforms@ae6c236] =E2=80=A2 Add internal changes for the eventual support of CM4 & = Pi400 [tianocore/edk2-platforms@100e360] =E2=80=A2 Fix type of PMU GSIV in GICC (#103) = [tianocore/edk2-platforms@734fed7] =E2=80=A2 Switch back to the old coloured logo = [tianocore/edk2-non-osi@3d1bb66] =E2=80=A2 Fix cursor appearing on top of logo (#115) = [tianocore/edk2@b585238] As I understand, start4.elf and fixup4.dat reverting were associated with the "Fix settings not being stored or being corrupted on reset". Other notes if anyone that might want to use material extracted from v1.22: So far as I know, FreeBSD use of UEFI/ACPI via the v1.22 means of = booting should still have the 3 GiByte limitation in place for reliable = operation, otherwise things like unreliable file copies can silently happen in FreeBSD. (So far as I know, no one is systematically trying to support UEFI/ACPI booting for the RPI4B's in FreeBSD: the effort is primarily = going to u-boot based booting.) I am using the rpi-firmware subset of the UEFI/ACPI materials from = v1.22, even for booting via my u-boot build. bcm2711-rpi-4-b.dtb is recent = enough to allow the 8GiByte RPi4B's to boot via a USB3 SSD, no microsd card involved. (I've got things set up so that just swapping config.txt content swaps between u-boot and UEFI/ACPI based booting.) So far, historically, I've (eventually) learned more about the = rpi-firmware problems and what vintages work better via monitoring the UEFI/ACPI project's information about such then I have learned other ways, at = least fairly generally. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)