From owner-freebsd-arm@freebsd.org Mon Jan 4 08:35:33 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 85CEC4CEBAA for ; Mon, 4 Jan 2021 08:35:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-19.consmr.mail.gq1.yahoo.com (sonic306-19.consmr.mail.gq1.yahoo.com [98.137.68.82]) (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 4D8TTv5Sc7z3vyp for ; Mon, 4 Jan 2021 08:35:31 +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=1609749329; bh=OrRyou5mKgNIEhxQMGU7gyPz3NtY9XsYNvjYd2woH7b=; h=Subject:From:Date:To:From:Subject; b=cyIriNa6FOt6fWLIbDTsyI44ImN9R2DYtMR9B1W54+KP6z9edpl9kpu2ASDEYvzC/3ivB+XsVR7hNihcxdntVIh9R1rkC0GN1Q+OGFwItKS2A/Str5rj5yvWTbfkhf7m0E3mQy6ENfSWV1JL7Hbtgf8sRMqu27lzcvn0FaNYKflehTDsU1ez+DvR3sClOzkQlYIb9C0di/pZUfZJ+xkjR/JlY97DJCimLov+qt/2jjdFwAnPGj5YxeS0QWl6XmCKiW84Gk2eh781TEmgySw5KC+H6JHAM8cU/23Mi9ghADFHGtqXwpb+Ldqs5H2XarG2Y1HSayhU6sCesRhjTk+nUg== X-YMail-OSG: jxlSUZ8VM1npwZAoDjxRTQM2O59oWTyLabAZ80V6ykt6VF2Xtlj_fquh.wdZfb4 cM4KluOlLP9v4776N77rZsTLsQnrhMhlPqOpNiC4SwtuesHfUgIY2zt21EpKy0UxCSaX5JxfvstD 4RZwN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spfNdDYd4ccM4m4jC3SKPcuuM6rf2CzaR_ZlbcQgsEjkVFe S3MBcHMSyeLX7jdC_0rnKm0Xzp0U9VDbT0hem1WZj3B6eGl.9CVQSbYnhv7sSZOYr9I50q.xrHL4 .okA0NbgLnVezpJ_eDCS23zqwY_lvXJyzouLK7iHyBGsR9.uxv0SesA1hxPFFtlhEBbMa3c6UOWm wWlJMeq5qTwCh_KlkFgfQ Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Mon, 4 Jan 2021 08:35:28 +0000 Received: by smtp417.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3ad61e1d8782b737ee0b3bb28fc869dd; Mon, 04 Jan 2021 08:35:26 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? From: Mark Millard In-Reply-To: <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.com> Date: Mon, 4 Jan 2021 00:35:25 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <819ED63C-FB4C-41B6-BB06-3043C6F76D54@yahoo.com> References: <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net> <5B626DCC-6F7C-4554-803C-F488A1ED9BEB@googlemail.com> <56d10ea4-3284-3e4c-9521-8bf1008caa2b@ip-ether.net> <26D146B8-0362-4008-9A1F-A6CD6B1479BB@googlemail.com> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.com> To: Andy McClements X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D8TTv5Sc7z3vyp X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.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:+]; RCPT_COUNT_TWO(0.00)[2]; 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)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.82:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.82:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.82:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.82: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: Mon, 04 Jan 2021 08:35:33 -0000 On 2021-Jan-3, at 23:54, Mark Millard wrote: > On 2021-Jan-3, at 11:33, Andy McClements wrote: >=20 >> On 03/01/2021 18:29, Andy McClements wrote: >>=20 >>> Further on this, I have just done another test by replacing only: >>>=20 >>> bcm2711-rpi-4-b.dtb >>>=20 >>> on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI >>> firmware 20201227 release. >>>=20 >>> This **allows booting from USB**, which fails on the stock 20201224 = img. >>>=20 >>> So it seems to me that patch D26853 **is not required**, if the = upstream >>> file is now working OK. >>=20 >> ************************* >> * A P O L O G I E S ! * >> ************************* >>=20 >> I have just noticed that with the 20201227 firmware version of = 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but = the onboard GE is not recognised. >>=20 >> The only way I can get everything working on my RPi4b 8G with FreeBSD = 20201224, is to use the D26853 patched version of 'bcm2711-rpi-4-b.dtb'. >>=20 >> The firmware version I've been referring to as 20201227, has files in = it with that datestamp, and was obtained from: >>=20 >> https://github.com/raspberrypi/firmware/archive/master.zip >=20 > The Raspberry Pi folks warn against picking up firmware from > Master unless requested to by them. Although this is indirect > via referencing a tool that gets materials from master. See: >=20 > = https://www.raspberrypi.org/documentation/raspbian/applications/rpi-update= .md >=20 > There are also stable and next branches, next being the progression > toward the next stable. There are also tagged officially-identified > versions. (eeprom firmware is not handled the same as this and is > not covered here.) >=20 > It looks to me like the following are the firmware changes since > stable and the most recent tag: >=20 >=20 > 2020-Dec-01 (I'm unsure of the timing/status of this one vs. stable > or the most recent tag: same day) >=20 > firmware: Switch DA9121 PMIC to PWM mode when ARM > 600 MHz >=20 >=20 >=20 > 2020-Dec-8 or 9 (9 being the Hexxeh copy): >=20 > firmware: arm_dt: Handle parent interrupt controllers when masking >=20 > firmware: config: Add cm4 and pi400 config section filters >=20 > firmware: MMAL/IL/ISP component: Set the ISP boost frequency once on = open >=20 > firmware: sdcard: Remove legacy NOOBS support to support booting from = primary partition 4 >=20 > firmware: arm_loader: Move 2711 RAM to PCIe address 16GB >=20 > firmware: video_decode: Add parameter to disable timestamp validation >=20 > firmware: Imx477 camera tuning fixes >=20 >=20 > 2020-Dec-14 or 15: >=20 > firmware: Use DMA40 for PWM audio >=20 > firmware: imx477: Replace existing 720p120 mode with a new 1332x990 = 120fps mode >=20 > firmware: arm_loader: Allow max_framebuffers=3D0 to disable = framebuffers >=20 >=20 >=20 > 2020-Dec-15: >=20 > firmware: dmalib: Allow sdcard to borrow channel 6 >=20 >=20 > (I omit the kernel-only update notes.) >=20 >=20 > So: There are things like moving the 2711 RAM PCIe address > and putting channel 6 to use for the sdcard and using DMA40 > for PWM audio. But I do not claim to understand the > implications. >=20 >=20 > NOTE: The above are in branch next as well as master. >=20 >=20 >=20 > The most recent tag is at: >=20 > https://github.com/raspberrypi/firmware/commits/1.20201201 >=20 > This is likely what is officially distributed for general > use. >=20 I found another aspect of the changes that affects dts files, used to produce the .dtb files: the .dts files come from their linux source code and . . . The 2020-Dec-15 commit switched from linux 5.4.81 to 5.10.0 . Recent sequencing of kernel versions in master: 2020-Nov-23: 5.4.79 2020-Dec-08: 5.4.81 2020-Dec-14: 5.4.81 (Yep: again. Seems to have a fix.) 2020-Dec-15: 5.10.0 2020-Dec-18: 5.10.1 2020-Dec-23: 5.10.2 2020-Dec-27: 5.10.3 If I understand right, the 5.10.?? kernels are intended to have more in common with their linux upstream than their 5.4.?? kernels did, partially via contributing to upstream. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)