From owner-freebsd-arm@freebsd.org Sun Feb 28 12:09:03 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 79987569E75 for ; Sun, 28 Feb 2021 12:09:03 +0000 (UTC) (envelope-from denis@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.h3q.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpMcs45kYz3mCX for ; Sun, 28 Feb 2021 12:09:01 +0000 (UTC) (envelope-from denis@h3q.com) Received: (qmail 66456 invoked from network); 28 Feb 2021 12:08:53 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (mail.h3q.com) by mail.h3q.com with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 28 Feb 2021 12:08:53 -0000 From: Denis Ahrens Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: genet0 on raspberry4 working? Message-Id: <7701C6C6-2557-426A-8DB4-03B6A0F1753C@h3q.com> Date: Sun, 28 Feb 2021 13:08:53 +0100 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DpMcs45kYz3mCX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of denis@h3q.com designates 213.73.89.199 as permitted sender) smtp.mailfrom=denis@h3q.com X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[213.73.89.199:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[213.73.89.199:from:127.0.2.255]; DMARC_NA(0.00)[h3q.com]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34171, ipnet:213.73.64.0/18, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Sun, 28 Feb 2021 18:36:46 +0000 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: Sun, 28 Feb 2021 12:09:03 -0000 Hi I use a raspberry pi 3 as a router/firewall for my DSL setup. UE0 for = internal network and a USB device UE1 for the PPPOE with mpd5. For IPv6 = I use dhcpcd. Everything works fine without problems. Now I tried to switch to a raspberry 4 with FreeBSD 13 BETA4 and it = works for the ipv4 part but not for ipv6. I can ping ipv6 addresses. But = everything else does not work. I can see the packets, but somehow they = are corrupt or something. Since I use interface naming, I only changed two lines in my rc.conf = from the raspi3 to the raspi4. So it is not a misconfiguration I think. I also tried to turn off RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6, but that = did also not help. Has anybody experienced the same or is genet0 not quite ready yet? Denis PS: When I switch the devices genet0 does not work with the DSL modem = either. From owner-freebsd-arm@freebsd.org Sun Feb 28 19:37:49 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 0B02A53F842 for ; Sun, 28 Feb 2021 19:37:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpYZh4wgLz4nGt; Sun, 28 Feb 2021 19:37:48 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614541067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jhn0daGasVwJwYwjong/0qr9tDc/8aE8j/IRSEtANjc=; b=PgvVwB3z5fm0TEaDH19H8IsmsLt4zOHp0Eeb+XXAk4hKQ+RThrGBIiNdOQYCK+DAnZU9Qi JRFDKj+bdjdilh48quSC7UZq17lQFNMSWYq7WJNmtU1BqhxSJaJxNwtVlyVu/2pVsycp6I 3hz17OwJWWcBy1s4Izc3gMJwYUZhgEQ= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id a1f9188a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Feb 2021 19:37:47 +0000 (UTC) Date: Sun, 28 Feb 2021 20:37:46 +0100 From: Emmanuel Vadot To: mike@karels.net Cc: Mark Millard , freebsd-arm@freebsd.org, manu@freebsd.org Subject: Re: cpufreq driver stopped working on RPI4 Message-Id: <20210228203746.0d681dc6fa27038c72ef28c1@bidouilliste.com> In-Reply-To: <202102272228.11RMSqgo012921@mail.karels.net> References: <7D6CCA5B-F24D-48CF-893C-18AD73417E4E@yahoo.com> <202102272228.11RMSqgo012921@mail.karels.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DpYZh4wgLz4nGt X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Sun, 28 Feb 2021 19:37:49 -0000 Hi Mike, On Sat, 27 Feb 2021 16:28:52 -0600 Mike Karels wrote: > Thanks, Mark. Meanwhile, I just tested BETA4; much to my surprise, > the cpufreq driver configured again. I didn't notice a relevant change, > but it is working... > > Mike Here is the commit you were looking for : https://cgit.freebsd.org/src/commit/?id=1cf282363101f5d99b1dadfb0d3250bbe6f482a5 Note that there is still a problem with xhci, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25 for how to fix that for now. I'll update the rpi-firmware ports next week. Cheers, > Mark wrote: > > > On 2021-Feb-27, at 09:42, Mike Karels wrote: > > > > > > Following up on my previous post (below): I tried the ALPHA1 kernel on > > > a BETA3 system on the RPI4, and it fails to attach the cpufreq driver > > > as well. So it appears that the problem is in the dtb, etc, not the > > > kernel. > > > > > > It would be nice to get this fixed before the 13.0 release. Without > > > the cpufreq driver, the CPU is stuck at a low clock rate. > > > In config.txt for an RPi4B I use (as an example, you > > could use other figures): > > > over_voltage=6 > > arm_freq=2000 > > arm_freq_min=2000 > > sdram_freq_min=3200 > > > and in /etc/sysctl.conf I have: > > > # The u-boot'ed RPi4B does not seem to automatically > > # adjust from 600MHz, so do so manually. Presumes > > # config.txt does over_voltage=6 and arm_freq=2000 . > > # NOTE: without an appropriate over_voltage a > > # dev.cpu.0.freq=2000 will crash the RPi4B on the > > # spot. > > dev.cpu.0.freq=2000 > > > Overall this gives a constant faster frequency > > for the CPU (and the sdram). (I have a good power > > supply context for this.) > > > You may or may not be able to tolerate the constant > > status for frequencies. But there is this alternative > > to cpufreq use. > > > > > Mike > > > > > >> To: freebsd-arm@freebsd.org > > >> From: Mike Karels > > >> Reply-to: mike@karels.net > > >> Subject: cpufreq driver stopped working on RPI4 > > >> Date: Sun, 21 Feb 2021 14:43:27 -0600 > > > > > >> I upgraded an older (original) RPI4, 4 GB, to 13.0-BETA3, and merged my > > >> previous rc.conf including powerd. Powerd fails to start now, saying > > >> that there is no cpufreq(4) support. Sure enough, dmesg has the following > > >> relevant lines: > > > > > >> bcm2835_cpufreq0: on cpu0 > > >> bcm2835_cpufreq0: Unable to find firmware device > > >> device_attach: bcm2835_cpufreq0 attach returned 6 > > >> armv8crypto0: CPU lacks AES instructionsbcm2835_cpufreq0: on cpu0 > > >> bcm2835_cpufreq0: Unable to find firmware device > > >> device_attach: bcm2835_cpufreq0 attach returned 6 > > > > > >> (Yes, armv8crypto is missing a newline.) > > > > > >> I checked the most recent system I had on the shelf, which was 13.0-ALPHA1. > > >> It has this: > > > > > >> bcm2835_firmware0: on simplebus0 > > >> ofw_clkbus1: on bcm2835_firmware0 > > >> gpio0: on bcm2835_firmware0 > > >> bcm2835_cpufreq0: on cpu0 > > >> bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo OFF > > > > > >> Does anyone know what changed to cause this? Was it the FDT update? > > > > > > === > > Mark Millard > > marklmi at yahoo.com > > ( dsl-only.net went > > away in early 2018-Mar) -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Feb 28 21:00:51 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 1F61554A75D for ; Sun, 28 Feb 2021 21:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpbQV4Gtgz4vRq for ; Sun, 28 Feb 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4EF1B176E1 for ; Sun, 28 Feb 2021 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 11SL0oDT021396 for ; Sun, 28 Feb 2021 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11SL0oUO021395 for freebsd-arm@FreeBSD.org; Sun, 28 Feb 2021 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202102282100.11SL0oUO021395@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 28 Feb 2021 21:00:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Sun, 28 Feb 2021 21:00:51 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off Open | 239673 | Spurious Interrupt message from /dev/led/led1 2 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Sun Feb 28 21:50:17 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 08B6154CEF1 for ; Sun, 28 Feb 2021 21:50:17 +0000 (UTC) (envelope-from samm@freebsd.org) Received: from reindeer.net-art.cz (reindeer.net-art.cz [IPv6:2001:15e8:110:513c::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits)) (Client CN "reindeer.net-art.cz", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpcWX6BC6z3G5d for ; Sun, 28 Feb 2021 21:50:16 +0000 (UTC) (envelope-from samm@freebsd.org) Received: by reindeer.net-art.cz (Postfix, from userid 65534) id 520825EF4D; Sun, 28 Feb 2021 21:50:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on reindeer X-Spam-Level: X-Spam-Status: No, score=-0.9 required=10.0 tests=BAYES_00,KHOP_HELO_FCRDNS, NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (surikat.net-art.cz [IPv6:2a03:6920:0:10::101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "owl.net-art.cz", Issuer "R3" (not verified)) by reindeer.net-art.cz (Postfix) with ESMTPS id 0F9975EEB1; Sun, 28 Feb 2021 21:50:14 +0000 (GMT) Received: from [82.202.91.77] (account samm@net-art.cz HELO Administrators-MacBook-Pro.local) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPSA id 798757; Sun, 28 Feb 2021 22:50:15 +0100 Received-SPF: softfail receiver=owl.net-art.cz; client-ip=82.202.91.77; envelope-from=samm@freebsd.org From: Alex Samorukov Subject: Re: genet0 on raspberry4 working? To: Denis Ahrens , freebsd-arm@freebsd.org References: <7701C6C6-2557-426A-8DB4-03B6A0F1753C@h3q.com> Message-ID: Date: Sun, 28 Feb 2021 22:50:12 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <7701C6C6-2557-426A-8DB4-03B6A0F1753C@h3q.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4DpcWX6BC6z3G5d X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:24806, ipnet:2001:15e8::/32, country:CZ] 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: Sun, 28 Feb 2021 21:50:17 -0000 On 28.02.2021 13:08, Denis Ahrens wrote: > Since I use interface naming, I only changed two lines in my rc.conf from the raspi3 to the raspi4. So it is not a misconfiguration I think. > > I also tried to turn off RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6, but that did also not help. > > Has anybody experienced the same or is genet0 not quite ready yet? Works for me.  freebsd@generic:~ % ping6 freebsd.org PING6(56=40+8+8 bytes) 2001:1a48:6:10:dea6:32ff:fefb:4c26 --> 2610:1c1:1:606c::50:15 16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=0 hlim=48 time=154.803 ms 16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=1 hlim=48 time=146.070 ms 16 bytes from 2610:1c1:1:606c::50:15, icmp_seq=2 hlim=48 time=136.236 ms From owner-freebsd-arm@freebsd.org Sun Feb 28 21:51:14 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 5356C54D322 for ; Sun, 28 Feb 2021 21:51:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (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 4DpcXd1zghz3GF6 for ; Sun, 28 Feb 2021 21:51:13 +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=1614549071; bh=xUR/DF7YmZMJ1osQ++XCJ4jGrZgEPVVj0aAHapITyqT=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=r4pM9i7Ht1oRersMT6WAhEevzY/rrXH0z7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H8y3nnlHsJc4B.KM2Ri4dWBsa7m6bISQmx5IE9TrhSkxyrhwOwqDuiPVOvx1AL YonSEav0Wj84oGdiwOaPP83Hi92tCSMdM3AZUKpnAB78glUlWVXLnVFvD95K3zCUh_MpGESwBed0 eaelucgtg8hqAF6NEoXfnvWkPgJi1zZsb77GM.sPfeEuVW7K_dAScQNyWgn7x3avBkeuEbf2osbI ncaGVudyhJ_vAolkLH9Af6ZwMnYxsHjjRKyUQOrbLw4cbWxHKz5JD3XjW9diaRiLMZUWV7eIgC9C AFzEG5Dd6uRL3M156Xsa.bLqfYdN4y.ciaXjYGjAeCKzOw2bq2diCz6WTn3uEaFzLNc0fWVjk8rH 2JPsWbwMgsdQC5kOHKVYqdRFqaacwGiYcox4Xi4Ih.1up70U_WgoYeSmqLos6GZ_pHY7C.KE76Ty 1LazFfTEkq5ZmI48TZcPClcu.heh.yGXJEf15cIsanQWMxJAO7R2HLU_5LD2nCpvspDSwMTetREz tDTmenT2EpSCh7PAcZsuA_qcYw4p..Bf77sfB4Gj9mZA_q3NmLNwH56twopJ1kI8cv_kiXhkSquh SQ1eEHuq4_VCVFubUMpdBnfkOBP1wDULbCFTxF.03KkDSppHs_J4eaBPMf7J6Lol35CmCcj.MaWQ EUaLQSZ3pdRusYaJgcc8C4RrkQ29ZcmPuFaPGjPvmRwbCWQzcQRKvPXllvqbAXgcKvxfekMWPRll v8dYZbCwtEGNnc94P5vzkSP.oR7it X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Feb 2021 21:51:11 +0000 Received: by smtp424.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 75a649fe25448f4776e9c9f2ffa973d4; Sun, 28 Feb 2021 21:51:10 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: cpufreq driver stopped working on RPI4 From: Mark Millard In-Reply-To: <20210228203746.0d681dc6fa27038c72ef28c1@bidouilliste.com> Date: Sun, 28 Feb 2021 13:51:09 -0800 Cc: freebsd-arm , Emmanuel Vadot Content-Transfer-Encoding: quoted-printable Message-Id: <97C171BF-1CB3-4FCF-B7D4-EF3E75CC8AA3@yahoo.com> References: <7D6CCA5B-F24D-48CF-893C-18AD73417E4E@yahoo.com> <202102272228.11RMSqgo012921@mail.karels.net> <20210228203746.0d681dc6fa27038c72ef28c1@bidouilliste.com> To: Mike Karels X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DpcXd1zghz3GF6 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; 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)[]; MIME_TRACE(0.00)[0:+]; 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]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.31:from]; 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.68.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.31: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: Sun, 28 Feb 2021 21:51:14 -0000 On 2021-Feb-28, at 11:37, Emmanuel Vadot = wrote: > Hi Mike, >=20 > On Sat, 27 Feb 2021 16:28:52 -0600 > Mike Karels wrote: >=20 >> Thanks, Mark. Meanwhile, I just tested BETA4; much to my surprise, >> the cpufreq driver configured again. I didn't notice a relevant = change, >> but it is working... >>=20 >> Mike >=20 > Here is the commit you were looking for :=20 > = https://cgit.freebsd.org/src/commit/?id=3D1cf282363101f5d99b1dadfb0d3250bb= e6f482a5 >=20 > Note that there is still a problem with xhci, see > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252971#c25 for how = to > fix that for now. I'll update the rpi-firmware ports next week. I'll note that for the xhci issue: = https://github.com/Hexxeh/rpi-firmware/commit/ca28024e2a78d6b1a05db5bbb77f= 6543fe569957 = https://github.com/raspberrypi/firmware/commit/787227279ea72eb4bbf9ab077bd= 17336fe2158d8 was the release of the update to master for the 2 copies but another firmware bugfix for a problem that messed up use of DMA channel 6 got a release the next day (2021-Feb-25): = https://github.com/Hexxeh/rpi-firmware/commit/f73375d989151f7568e634140d3c= 4a13044921b2 = https://github.com/raspberrypi/firmware/commit/5985247fb75681985547641d661= 96c77499f26b9 There is no tagged version in https://github.com/raspberrypi/firmware/ yet (as of when I just looked). https://github.com/pftf/RPi4 has picked up the changes in v1.23 for with its EDK2 builds and has updated EDK2 again in v1.24 . > Cheers, >=20 >> Mark wrote: >>>> On 2021-Feb-27, at 09:42, Mike Karels wrote: >>>>=20 >>>> Following up on my previous post (below): I tried the ALPHA1 kernel = on >>>> a BETA3 system on the RPI4, and it fails to attach the cpufreq = driver >>>> as well. So it appears that the problem is in the dtb, etc, not = the >>>> kernel. >>>>=20 >>>> It would be nice to get this fixed before the 13.0 release. = Without >>>> the cpufreq driver, the CPU is stuck at a low clock rate. >>=20 >>> In config.txt for an RPi4B I use (as an example, you >>> could use other figures): >>=20 >>> over_voltage=3D6 >>> arm_freq=3D2000 >>> arm_freq_min=3D2000 >>> sdram_freq_min=3D3200 >>=20 >>> and in /etc/sysctl.conf I have: >>=20 >>> # The u-boot'ed RPi4B does not seem to automatically >>> # adjust from 600MHz, so do so manually. Presumes >>> # config.txt does over_voltage=3D6 and arm_freq=3D2000 . >>> # NOTE: without an appropriate over_voltage a >>> # dev.cpu.0.freq=3D2000 will crash the RPi4B on the >>> # spot. >>> dev.cpu.0.freq=3D2000 >>=20 >>> Overall this gives a constant faster frequency >>> for the CPU (and the sdram). (I have a good power >>> supply context for this.) >>=20 >>> You may or may not be able to tolerate the constant >>> status for frequencies. But there is this alternative >>> to cpufreq use. >>=20 >>=20 >>>> Mike >>>>=20 >>>>> To: freebsd-arm@freebsd.org >>>>> From: Mike Karels >>>>> Reply-to: mike@karels.net >>>>> Subject: cpufreq driver stopped working on RPI4 >>>>> Date: Sun, 21 Feb 2021 14:43:27 -0600 >>>>=20 >>>>> I upgraded an older (original) RPI4, 4 GB, to 13.0-BETA3, and = merged my >>>>> previous rc.conf including powerd. Powerd fails to start now, = saying >>>>> that there is no cpufreq(4) support. Sure enough, dmesg has the = following >>>>> relevant lines: >>>>=20 >>>>> bcm2835_cpufreq0: on cpu0 >>>>> bcm2835_cpufreq0: Unable to find firmware device >>>>> device_attach: bcm2835_cpufreq0 attach returned 6 >>>>> armv8crypto0: CPU lacks AES instructionsbcm2835_cpufreq0: on cpu0 >>>>> bcm2835_cpufreq0: Unable to find firmware device >>>>> device_attach: bcm2835_cpufreq0 attach returned 6 >>>>=20 >>>>> (Yes, armv8crypto is missing a newline.) >>>>=20 >>>>> I checked the most recent system I had on the shelf, which was = 13.0-ALPHA1. >>>>> It has this: >>>>=20 >>>>> bcm2835_firmware0: on simplebus0 >>>>> ofw_clkbus1: on bcm2835_firmware0 >>>>> gpio0: on = bcm2835_firmware0 >>>>> bcm2835_cpufreq0: on cpu0 >>>>> bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo = OFF >>>>=20 >>>>> Does anyone know what changed to cause this? Was it the FDT = update? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Mar 1 15:59:52 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 8A543562C4A for ; Mon, 1 Mar 2021 15:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dq4hm3JS0z4mbd for ; Mon, 1 Mar 2021 15:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 646E426601 for ; Mon, 1 Mar 2021 15:59:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 121Fxqso035580 for ; Mon, 1 Mar 2021 15:59:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 121FxqwL035579 for freebsd-arm@FreeBSD.org; Mon, 1 Mar 2021 15:59:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 224070] [patch] workaround boot-time panic on Orange Pi + 2E Date: Mon, 01 Mar 2021 15:59:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 01 Mar 2021 15:59:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224070 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #3 from Mitchell Horne --- Closing now, as it appears fixed in the related PR. Please re-open if this = is not the case. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Mar 1 18:01:09 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 B533A5665FD for ; Mon, 1 Mar 2021 18:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dq7Nj4gw5z3Hvf for ; Mon, 1 Mar 2021 18:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9378027CE5 for ; Mon, 1 Mar 2021 18:01:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 121I19Vl098992 for ; Mon, 1 Mar 2021 18:01:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 121I19o9098991 for freebsd-arm@FreeBSD.org; Mon, 1 Mar 2021 18:01:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 209635] usr/src/sys/arm/xscale/ixp425/ixp425_npe.c:695: pointless test ? Date: Mon, 01 Mar 2021 18:01:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 01 Mar 2021 18:01:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209635 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events CC| |mhorne@freebsd.org Status|New |Closed --- Comment #1 from Mitchell Horne --- Hi, Unfortunately, it seems this was never looked at. However, this driver is no longer present in the tree. It was removed with big-endian arm support in: https://cgit.freebsd.org/src/commit/?id=3Dff9452772d2fbb1268af844ff4c098094= 2046546 For what it's worth, your analysis seems correct. Closing now as there is nothing more to be done. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Mar 1 20:49:03 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 9B1BF54C179 for ; Mon, 1 Mar 2021 20:49:03 +0000 (UTC) (envelope-from samm@freebsd.org) Received: from reindeer.net-art.cz (reindeer.net-art.cz [IPv6:2001:15e8:110:513c::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "reindeer.net-art.cz", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqC6R1vyxz3pnh for ; Mon, 1 Mar 2021 20:49:02 +0000 (UTC) (envelope-from samm@freebsd.org) Received: by reindeer.net-art.cz (Postfix, from userid 65534) id A1B675F25E; Mon, 1 Mar 2021 20:48:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on reindeer X-Spam-Level: X-Spam-Status: No, score=-0.9 required=10.0 tests=BAYES_00,KHOP_HELO_FCRDNS, NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (surikat.net-art.cz [IPv6:2a03:6920:0:10::101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "owl.net-art.cz", Issuer "R3" (not verified)) by reindeer.net-art.cz (Postfix) with ESMTPS id 069655EEE8; Mon, 1 Mar 2021 20:48:57 +0000 (GMT) Received: from [2001:1a48:6:10:3533:1ab:f2a6:20e9] (account samm@net-art.cz HELO Administrators-MacBook-Pro.local) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPSA id 799307; Mon, 01 Mar 2021 21:48:57 +0100 Received-SPF: softfail receiver=owl.net-art.cz; client-ip=2001:1a48:6:10:3533:1ab:f2a6:20e9; envelope-from=samm@freebsd.org Subject: Re: RPI4 USB Boot: Unable to find firmware device To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org References: <20210221115151.bd39f87fcfed396bd48b1060@bidouilliste.com> From: Alex Samorukov Message-ID: Date: Mon, 1 Mar 2021 21:48:54 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210221115151.bd39f87fcfed396bd48b1060@bidouilliste.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4DqC6R1vyxz3pnh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:24806, ipnet:2001:15e8::/32, country:CZ] 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, 01 Mar 2021 20:49:03 -0000 Hi, Small follow up - today i upgraded to Beta4, re-wrote entire msdos partition and it just works, without any changes ) Thank you for working on that. On 21.02.2021 11:51, Emmanuel Vadot wrote: > > I am booting FreeBSD generic 13.0-BETA3 from the USB. All works, but on > boot i see "Unable to find firmware device" for the bcm2835_cpufreq0. As > result - powerd is not working. I think it somehow expects firmware on > mmc (which is missing) and fails to load it from USB. I did not found > how to point kernel to the correct firmware device/path. Any hints? > > > Error messages provided below: > > root@generic:/usr/ports # dmesg | grep cpufreq > bcm2835_cpufreq0: on cpu0 > bcm2835_cpufreq0: Unable to find firmware device > device_attach: bcm2835_cpufreq0 attach returned 6 > armv8crypto0: CPU lacks AES instructionsbcm2835_cpufreq0: Control> on cpu0 > bcm2835_cpufreq0: Unable to find firmware device > device_attach: bcm2835_cpufreq0 attach returned 6 > This is fixed in head and stable/13 : > https://cgit.freebsd.org/src/commit/?id=1cf282363101f5d99b1dadfb0d3250bbe6f482a5 > https://cgit.freebsd.org/src/commit/?id=2551d928501fb613dba09b7ffe7e383dba276ca6 > > I'm waiting on re@ approval for 13.0 From owner-freebsd-arm@freebsd.org Tue Mar 2 11:21:10 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 03AF2565A6D for ; Tue, 2 Mar 2021 11:21:10 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DqZSj5pRrz3jjP for ; Tue, 2 Mar 2021 11:21:09 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id C7103565A6C; Tue, 2 Mar 2021 11:21:09 +0000 (UTC) Delivered-To: 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 C6D72565A6B for ; Tue, 2 Mar 2021 11:21:09 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqZSh4wh1z3jtC for ; Tue, 2 Mar 2021 11:21:08 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614684060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3bZrmqIhUuqrcxHU47aDzdKt7RMX7m5FY+Sz+7Q2F0g=; b=G5KtI6E9Ld1bXWIZK0X2ZvtDra1HTIuNmm+matPI9NEw027SfrgGVvgpyw8hTucC8gQ0GT jeHZVcadaJvHRt+aWxZTBriIwBFh7+4iJU9zhVGGECeWxYhPdEi0hBXbjvIZR9ICOSYkWJ 7if3zSIYXPNsH2wc7S8eCtDTSwQNl0g= Received: from skull.home.blih.net (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 09a49490 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 2 Mar 2021 11:21:00 +0000 (UTC) Date: Tue, 2 Mar 2021 12:20:57 +0100 From: Emmanuel Vadot To: "freebsd-arm@freebsd.org" Subject: RPi4 Status and sysutils/rpi-firmware Message-Id: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DqZSh4wh1z3jtC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=G5KtI6E9; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[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: Tue, 02 Mar 2021 11:21:10 -0000 Hello arm folks, Over the past years I've handled the update of the sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. For that I've bought a lot of different RPI to ensure that we could boot on all different models that the RPI Foundation folks deliver to us. A lot of users (and some FreeBSD devs) seems to be interested in FreeBSD for the RPI4 and I can understand that. It's relatively cheap and somewhat powerful (at least the RPI4) compared to other SBC available on the market. FreeBSD support-wise our RPI support is pretty low. The last big commit in term of functionality was from Mike Karels who added the genet driver (imported from NetBSD) which handle the ethernet controller on the RPI4 SoC and the PCI-e patches from Robert Crowston which allow us to have working xhci as the usb controller is on the PCI-e bus on the RPI4 Model B. But the updates of the firmware files have been a big problems over the last few months, every update that I've done to fix one issue seems to have created another one. It all started with commit r561841 in ports (https://svnweb.freebsd.org/ports?view=revision&revision=561841) which was needed for me to boot on my RPI4-8GB board (the only RPI4 board that I have). This seems to cause a issue when booting without an hdmi screen connected. It was also found that the previous firmware from 1st of december has the opposite problem, you could only boot without an hdmi screen connected. As a workaround I added hdmi_safe=1 in the config.txt that we ship for RPI4 image, that make the firmware not read edid from the screen and init the hdmi controller with a basic mode. It also caused the cpufreq driver not working and the root cause was that the firmware node compatible in the device tree changed and we needed to adapt our code for it, which was done in commit 1cf282363101f. Another problem that this update caused is that usb stopped working. This was also found by the edk2 rpi guys and they reported it upstream : https://github.com/raspberrypi/firmware/issues/1518 Upstream proposed a fix and offered two files to make sure that the bug was not present anymore in people setup, start4.elf and fixup4.dat. It indeed fixed the issue for me and edk2, all good. But what have been commited in the rpi-firmware repo seems to be different and caused more breakage. So the status currently is : 1/ Take the latest BETA4 image for RPI and burn on your sdcard 2/ Boot with or without hdmi screen. 3/ You will see that u-boot fails to init usb : starting USB... Bus xhci_pci: probe failed, error -110 No working controllers found If you drop to u-boot prompt and do 'usb list' it will say that the usb system is stopped and you can of course not start it without having the above error. 4/ If you boot to FreeBSD everything that we support seems to work except for usb (of course). 5/ Take the two files proposed as a fix from upstream (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-779355320) and copy them to the sdcard. 6/ Boot that and you will see that usb is working again in u-boot and in FreeBSD, perfect. 7/ Update the ports using [1] or download the files from github.com/raspberrypi/firmware and copy them on the sdcard (The issue should be fixed right ?) 8/ Boot that and now you find that u-boot is failing in its synchronous abort handler. 9/ Ok, maybe updating u-boot to the latest version will fix that, apply patch from [2] or used the compiled file from [3]. 10/ And this isn't fixed There is probably a new or different node in the dtb that causes that and usually I look at what the problem is and fix it, but now I'm tired of doing that. Updating rpi is too much time consuming for me, especially since I don't really care or like to work on this platform. So, if you care about RPI support I invite you to look at this issue and the next ones caused by firmware update. The maintainer of the port is uboot@f.o and I don't think that should change. If you think that we should go back to an earlier version of the firmware port (even if that cause my RPI4 to not boot) that's fine with me, I don't think I will ever boot again an RPI board. If you're not a commiter and you have patches for sysutils/rpi-firmware I'll happily commit them if they look sane. If you think that using our own DTBs or using the ones used in mainline linux (available in sys/contrib/device-tree) think again of what you're implying. We choose some time ago to use the "official" one used by rpi-foundation so people could use the overlays also shipped by them. That means that a user could simply follow a blog post on how to activate something on the board using rpios and that will work for us too (if we have a driver for the hardware of course). Maybe this was a bad choice and we should follow linux mainline dts but this will require some audit of all sys/arm/broadcom to be sure that we have every compatible in the drivers and make sure that the node aren't different so we process them correctly. Again, if you have patches that look sane, I'll happily review and commit them. The TLDR is: I won't do anything anymore on the rpi-firmware port and we need a maintainer for this platform. Please keep the discussion sane in this thread too. Cheers, Links : 1. https://people.freebsd.org/~manu/rpi-firmware-20210222.patch 2. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.patch 3. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.bin -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Tue Mar 2 12:59:43 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 BB739568DCB for ; Tue, 2 Mar 2021 12:59:43 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DqcfR4vZcz3rnl for ; Tue, 2 Mar 2021 12:59:43 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A83A6568CC0; Tue, 2 Mar 2021 12:59:43 +0000 (UTC) Delivered-To: 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 A8008568E3F for ; Tue, 2 Mar 2021 12:59:43 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqcfR3YMLz3ryp for ; Tue, 2 Mar 2021 12:59:43 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2a02:8109:1140:c3d:8118:4e67:8ff9:4fe8] (unknown [IPv6:2a02:8109:1140:c3d:8118:4e67:8ff9:4fe8]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id E0DFA702F7D8E; Tue, 2 Mar 2021 13:59:39 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware From: Michael Tuexen In-Reply-To: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> Date: Tue, 2 Mar 2021 13:59:38 +0100 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <18FFE64D-9FAC-48F3-A73F-8C229838CFA6@freebsd.org> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4DqcfR3YMLz3ryp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Tue, 02 Mar 2021 12:59:43 -0000 > On 2. Mar 2021, at 12:20, Emmanuel Vadot = wrote: >=20 >=20 > Hello arm folks, >=20 > Over the past years I've handled the update of the > sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. > For that I've bought a lot of different RPI to ensure that we could > boot on all different models that the RPI Foundation folks deliver to > us. > A lot of users (and some FreeBSD devs) seems to be interested in > FreeBSD for the RPI4 and I can understand that. It's relatively cheap > and somewhat powerful (at least the RPI4) compared to other SBC > available on the market. >=20 > FreeBSD support-wise our RPI support is pretty low. The last big > commit in term of functionality was from Mike Karels who added the > genet driver (imported from NetBSD) which handle the ethernet > controller on the RPI4 SoC and the PCI-e patches from Robert Crowston > which allow us to have working xhci as the usb controller is on the > PCI-e bus on the RPI4 Model B. >=20 > But the updates of the firmware files have been a big problems over > the last few months, every update that I've done to fix one issue = seems > to have created another one. >=20 > It all started with commit r561841 in ports > (https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D561841) = which > was needed for me to boot on my RPI4-8GB board (the only RPI4 board > that I have). This seems to cause a issue when booting without an hdmi > screen connected. It was also found that the previous firmware from = 1st > of december has the opposite problem, you could only boot without an > hdmi screen connected. > As a workaround I added hdmi_safe=3D1 in the config.txt that we ship = for > RPI4 image, that make the firmware not read edid from the screen and > init the hdmi controller with a basic mode. >=20 > It also caused the cpufreq driver not working and the root cause was > that the firmware node compatible in the device tree changed and we > needed to adapt our code for it, which was done in commit > 1cf282363101f. >=20 > Another problem that this update caused is that usb stopped working. > This was also found by the edk2 rpi guys and they reported it > upstream : https://github.com/raspberrypi/firmware/issues/1518 > Upstream proposed a fix and offered two files to make sure that the > bug was not present anymore in people setup, start4.elf and = fixup4.dat. > It indeed fixed the issue for me and edk2, all good. > But what have been commited in the rpi-firmware repo seems to be > different and caused more breakage. >=20 > So the status currently is : >=20 > 1/ Take the latest BETA4 image for RPI and burn on your sdcard > 2/ Boot with or without hdmi screen. > 3/ You will see that u-boot fails to init usb : > starting USB... > Bus xhci_pci: probe failed, error -110 > No working controllers found > If you drop to u-boot prompt and do 'usb list' it will say that the > usb system is stopped and you can of course not start it without = having > the above error. > 4/ If you boot to FreeBSD everything that we support seems to work > except for usb (of course). > 5/ Take the two files proposed as a fix from upstream > = (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-77935532= 0) > and copy them to the sdcard. > 6/ Boot that and you will see that usb is working again in u-boot and > in FreeBSD, perfect. > 7/ Update the ports using [1] or download the files from > github.com/raspberrypi/firmware and copy them on the sdcard (The issue > should be fixed right ?) > 8/ Boot that and now you find that u-boot is failing in its = synchronous > abort handler. > 9/ Ok, maybe updating u-boot to the latest version will fix that, > apply patch from [2] or used the compiled file from [3]. > 10/ And this isn't fixed >=20 > There is probably a new or different node in the dtb that causes that > and usually I look at what the problem is and fix it, but now I'm = tired > of doing that. Updating rpi is too much time consuming for me, > especially since I don't really care or like to work on this platform. >=20 > So, if you care about RPI support I invite you to look at this issue > and the next ones caused by firmware update. > The maintainer of the port is uboot@f.o and I don't think that should > change. If you think that we should go back to an earlier version of > the firmware port (even if that cause my RPI4 to not boot) that's fine > with me, I don't think I will ever boot again an RPI board. > If you're not a commiter and you have patches for > sysutils/rpi-firmware I'll happily commit them if they look sane. > If you think that using our own DTBs or using the ones used in > mainline linux (available in sys/contrib/device-tree) think again of > what you're implying. We choose some time ago to use the "official" = one > used by rpi-foundation so people could use the overlays also shipped = by > them. That means that a user could simply follow a blog post on how to > activate something on the board using rpios and that will work for us > too (if we have a driver for the hardware of course). Maybe this was a > bad choice and we should follow linux mainline dts but this will > require some audit of all sys/arm/broadcom to be sure that we have > every compatible in the drivers and make sure that the node aren't > different so we process them correctly. Again, if you have patches = that > look sane, I'll happily review and commit them. >=20 > The TLDR is:=20 > I won't do anything anymore on the rpi-firmware port and we need a > maintainer for this platform. Thank you very much for the work you did! Best regards Michael >=20 > Please keep the discussion sane in this thread too. >=20 > Cheers, >=20 > Links : > 1. https://people.freebsd.org/~manu/rpi-firmware-20210222.patch > 2. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.patch > 3. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.bin >=20 > --=20 > Emmanuel Vadot > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Tue Mar 2 14:14:01 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 8DD5456A3F3 for ; Tue, 2 Mar 2021 14:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqfJ93WLTz4R3j for ; Tue, 2 Mar 2021 14:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6BDFC183B7 for ; Tue, 2 Mar 2021 14:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 122EE17o028602 for ; Tue, 2 Mar 2021 14:14:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 122EE1cC028601 for freebsd-arm@FreeBSD.org; Tue, 2 Mar 2021 14:14:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 231188] many functions are missing dtrace probe points Date: Tue, 02 Mar 2021 14:14:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: Andrew@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 02 Mar 2021 14:14:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231188 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-arm@FreeBSD.org |Andrew@FreeBSD.org Status|New |Closed Resolution|--- |FIXED --- Comment #2 from Mark Johnston --- I believe this was fixed by commit c00ec4dab276414ccc8a0712dd2f836bb17349d7: Dump of assembler code for function awg_attach:=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e424 <+0>: sub sp, sp, #0xf0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e428 <+4>: stp x29, x30, [sp, #144]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e42c <+8>: stp x28, x27, [sp, #160]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e430 <+12>: stp x26, x25, [sp, #176]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e434 <+16>: stp x24, x23, [sp, #192]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e438 <+20>: stp x22, x21, [sp, #208]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e43c <+24>: stp x20, x19, [sp, #224]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xffff00000084e440 <+28>: add x29, sp, #0x90 # dtrace -l | grep awg_ 15981 fbt kernel awg_attach entry 15982 fbt kernel awg_attach return 15983 fbt kernel awg_dmamap_cb entry 15984 fbt kernel awg_dmamap_cb return 15985 fbt kernel awg_hash_maddr entry 15986 fbt kernel awg_hash_maddr return 15987 fbt kernel awg_init entry 15988 fbt kernel awg_init return 15989 fbt kernel awg_init_locked entry 15990 fbt kernel awg_init_locked return 15991 fbt kernel awg_intr entry 15992 fbt kernel awg_intr return 15993 fbt kernel awg_ioctl entry 15994 fbt kernel awg_ioctl return 15995 fbt kernel awg_media_change entry 15996 fbt kernel awg_media_change return 15997 fbt kernel awg_media_status entry 15998 fbt kernel awg_media_status return 15999 fbt kernel awg_miibus_readreg entry 16000 fbt kernel awg_miibus_readreg return 16001 fbt kernel awg_miibus_statchg entry 16002 fbt kernel awg_miibus_statchg return 16003 fbt kernel awg_miibus_writereg entry 16004 fbt kernel awg_miibus_writereg return 16005 fbt kernel awg_newbuf_rx entry 16006 fbt kernel awg_newbuf_rx return 16007 fbt kernel awg_probe entry 16008 fbt kernel awg_probe return 16009 fbt kernel awg_setup_rxfilter entry 16010 fbt kernel awg_setup_rxfilter return 16011 fbt kernel awg_start entry 16012 fbt kernel awg_start return 16013 fbt kernel awg_start_locked entry 16014 fbt kernel awg_start_locked return 16015 fbt kernel awg_tick entry 16016 fbt kernel awg_tick return 16017 fbt kernel awg_txeof entry 16018 fbt kernel awg_txeof return I'm not sure if the problem is completely fixed, but in the absence of other examples, let's close the bug. It can be reopened if need be. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Mar 2 18:50:57 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 2367F54C49A for ; Tue, 2 Mar 2021 18:50:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DqmRh5LQ8z4vvB for ; Tue, 2 Mar 2021 18:50:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id B483D54C5E3; Tue, 2 Mar 2021 18:50:56 +0000 (UTC) Delivered-To: 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 B405F54C5E0 for ; Tue, 2 Mar 2021 18:50:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (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 4DqmRh2zqgz4vv8 for ; Tue, 2 Mar 2021 18:50:56 +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=1614711054; bh=2Sfzq3//xDwZBjjN8hXoG1zlnYx0psyTTF8TmqVZDTr=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=cs69fqcycLvi1kHVTRRA3R4ZRZosJHv0zjB6szy2tvCP9LfKRbQ1kCF045A28qQT7r0xbRDxxDyFzEJysaLE65lr/SBft6cy2RVwkoz2Fx2QI9pAkkNuco3jZRPl1khzWXxTFweyolmyW6oJkSsrJS0HTc09FM6Am9vuUrMOqwjCn2J5ljWCeaGXToWO6KtafU6Dv1lAIRjCY/id1C70+S/IGzXroWidlmhChN5GOCWSyq+4iU0/sDV2JbLeYVdBIFWRB3j+FknQiH9sMJA002io8dKkl+/uVj+VY/GWUmwFlW2ovQQ2yDclWHJAQyBBqEIfVGQaenhuKq+xYx7LmQ== X-YMail-OSG: lcwn6bkVM1mHJh5mgks9lEwKSWh48KR1NGKAao6TunXdJPQfQeuBMiSv04D9rOC ZhAJO1fHUg_wJAKf4ohc0gnl_fJu4yzH8TIJ1h6lKCnLzGc8Yx2834XSMqarLimsF7C2TtVNAne4 x5a7nTGbne6tju0lYQAJPQ.ZXJG8pfH77aoY7mc5mTSb_Kr.zC1E_08GoqyZ3xETiiYj6mgp0mcK _RCFd5Bwp8We6wmrgNvxljzwdtivwP.iqSG9KR0QpWfNlHY2LZQzmStv3rluzFO2p0lE03gc0T_B ivwWo.l5uxc6airoh8xhXMmBOjBBmpiB4XTK8vAdO7oPE5HtXOKCxqSKARXdStFW.AmbgogDeRdV WcJIY1x7MhKzKig.5Bf7obJscGNcRTxWSReDkZ7PuEhfPCISM.glco7yA1E6bmGOkfhQZgCZG4j8 ZrIpNydycOgXwzk9sbE8n59tZUKSWB7F0KnKZzQRbZJPBMKTIZHSMszxVNz4kbFGvf74Zfg8ktqc phIPATHu.WX7ASkmqz9iku2sIDt52oqIrOHBLrRCMG0MTgu8hele8owE6DYiicSHq09EdoBUsHHJ brfCyQX_TZKIFeWlka9zaYLudnd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UvJ_R4VUKmSOiNK6A8ZUnsBiazmhiNFFsMPYLYmCsvjXq 8UGut4ORWrfcWtWSmgmoEn6j9PyziHoEQnARjWbS1BkhEffSg_CcBKzNlOagSy.vlwpmEgPYBAej iZZ52pY5mC5Rp.hr_f_0mWIA_EDo6epRZrGzns94qWX_Q6Xyvejdwz1ScyiTrw2b8uDOkjjQhcqF EugzRumJ9h7oF5qS8G2NzzOvFnl9EKU2ebqAO8l3dsVgm_JlpdWJmbhBs8LKl1zuZCDh.NZpDgDe Fb_JFnKWerx5pGOfQF.SgYQrOfgmiJZLSyo3dDaAio6gDMGxCzOgmXz5vh7F1JQok4WUWrMcsaMk tdekGVNPQe7GhlJqDiyDWLnQKRDiGxsVBXnb1knYrNvgTn2.vbaRgFi6uui0MLKpCABu1zy3rQjU Hcr_EgjMgVT50_f8vqr28zn1YX4WbRBH_EwFbBcfEBxeQRzbfWkuPBG8XLNDA8TihNijp0b_8PSe ULphaZQYRGODs5gy_XgQ_bvl_11m2fTpgTiJALG4A.gRqBkebI5WsYePjlf9T.dpRpud7DSzSj_b _mrWqCRmZxfvSvptf5PL9OI82nEO5YQCJHcVyE.k4f0XVuMD1ztXUEotxfQ6p0xZkU88.Uk3104A x68H.YFsVeLD0sxSLBAKk174CtRsGPgdzot131WzsUxbBMFE6leOpKsK7lG4VfdXDLhHYJnMG1dx kjrmKJeVrq13n5WBHKKCwv5mwZJs5jTuPjEhUWf_fvjNtJu_PwFVn9aHsvA_nlyS.mAcDTyZYpnE s_8ObcJyWToztGiUnC7Lrm4NPUfQT_RyYx1fOpF72k.x5hRK5Pk1DfPt0pyhY5LMAVAhDQ_gp5Tz pIS9w5X9Dpa06xyqJE8M- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Tue, 2 Mar 2021 18:50:54 +0000 Received: by smtp412.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6f58130ab303e49d5cd6d4f80765996b; Tue, 02 Mar 2021 18:50:49 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware From: Mark Millard In-Reply-To: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> Date: Tue, 2 Mar 2021 10:50:49 -0800 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DqmRh2zqgz4vv8 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Tue, 02 Mar 2021 18:50:57 -0000 On 2021-Mar-2, at 03:20, Emmanuel Vadot = wrote: > Over the past years I've handled the update of the > sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. > For that I've bought a lot of different RPI to ensure that we could > boot on all different models that the RPI Foundation folks deliver to > us. Thanks for the past effort of supporting the RPi*'s. I can easily understand the frustration. Do not take the below as a request for any action on your part. They are just notes about the current context as seen from my somewhat different environment. > . . . >=20 > 1/ Take the latest BETA4 image for RPI and burn on your sdcard > 2/ Boot with or without hdmi screen. > 3/ You will see that u-boot fails to init usb : > starting USB... > Bus xhci_pci: probe failed, error -110 > No working controllers found > If you drop to u-boot prompt and do 'usb list' it will say that the > usb system is stopped and you can of course not start it without = having > the above error. > 4/ If you boot to FreeBSD everything that we support seems to work > except for usb (of course). > 5/ Take the two files proposed as a fix from upstream > = (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-77935532= 0) > and copy them to the sdcard. > 6/ Boot that and you will see that usb is working again in u-boot and > in FreeBSD, perfect. > 7/ Update the ports using [1] or download the files from > github.com/raspberrypi/firmware and copy them on the sdcard (The issue > should be fixed right ?) > 8/ Boot that and now you find that u-boot is failing in its = synchronous > abort handler. I use sysutils/u-boot-rpi4 with a patch for an issue that I've reported to the lists in the past, one that makes sure u-boot internally avoids the same pages that the kernel is told to avoid. (I'm still at "U-Boot 2020.10 (Dec 13 2020 - 08:04:27 +0000)" for such.) In this context I did not see a problem when I updated to the recently published start4.elf and fixup4.dat . The context is a RPi4B 8GiByte, USB-SSD based boot without a microsd card involved, based on the RPi4B bootloader eeprom content: RPi: BOOTLOADER release VERSION:c305221a DATE: Sep 3 2020 TIME: = 13:11:46 Similarly, I've used https://github.com/pftf/RPi4 v1.24 that uses the published start4.elf and fixup4.dat files and have had no problems with the UEFI/ACPI based boot. I expect that this overall suggests a u-boot problem for (8) instead of a start4.elf / fixup4.dat problem. (But possibly a different vintage of RPi bootloader eeprom content?) > 9/ Ok, maybe updating u-boot to the latest version will fix that, > apply patch from [2] or used the compiled file from [3]. > 10/ And this isn't fixed I've not rebuilt based on the 2021.04 u-boot, I normally track the port but with the patching that I've reported to the lists. > There is probably a new or different node in the dtb that causes that > and usually I look at what the problem is and fix it, but now I'm = tired > of doing that. My context suggests otherwise but more testing would be needed to know for sure. > Updating rpi is too much time consuming for me, > especially since I don't really care or like to work on this platform. Again, thanks for the past time and effort on the RPi*'s. > . . . >=20 > Links : > 1. https://people.freebsd.org/~manu/rpi-firmware-20210222.patch > 2. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.patch > 3. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.bin I've not used the above 3 links: I already had a context going before today's note went out. Based on what I'd seen, I had not expected the reported problem sequence from (7)-(10). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Mar 2 18:55:59 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 0198C54CC8B for ; Tue, 2 Mar 2021 18:55:59 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqmYV6Q19z3CGY for ; Tue, 2 Mar 2021 18:55:58 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x333.google.com with SMTP id w7so3105003wmb.5 for ; Tue, 02 Mar 2021 10:55:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=sHS4IfvjKLn3+g/o5PtlCze6rhnCvpd6thTlikmoQ1g=; b=pDh3xOfsfAtelAqJOzre0xWqPmJWubYEioe+DOrCfIzabiww8YK+tq6pirAZhqTNDd zyKRMsthWcjfx14HNE8Zz7ulcBBjE8wfxwNOgTmJJ5o46x0lLOzv1j5zdXhcvDi7Ss9J WXdeLQEdzTmBseM1HagaqjU+Ou8tQTgC2yKrM6Vs61Kz7IUlB6SUpvZNteR+jS3U/lpn cN6b6fIUQKL4o4iQAXWode7pw7gwCZc4MK0BLRqi6zODMoPA7is4lo5VxSspQvIy5OMA opdYU5p8F/NyeSZcZtcPGAdlHc/K+lQUSeKFNwVqZFbTSVFktGt+LTaTxfmL0+Srq4PZ 6nqQ== X-Gm-Message-State: AOAM530YKrXqdve6bEZ7jZaMAqliZIpxrx96OYOhiHbYlALm2px4uM/Y IZqWO5JFYOQTzJ/syg0v2YU= X-Google-Smtp-Source: ABdhPJwQCeBYpPzuZJetboRE5L93vwIqg3/UimitVfdCrTZKi7an63nCxzFpEHM9tXVKz8j538I2pw== X-Received: by 2002:a1c:f002:: with SMTP id a2mr5275657wmb.117.1614711357143; Tue, 02 Mar 2021 10:55:57 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-159-084.46.114.pool.telefonica.de. [46.114.159.84]) by smtp.googlemail.com with ESMTPSA id p16sm18015846wrt.54.2021.03.02.10.55.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Mar 2021 10:55:56 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware Date: Tue, 2 Mar 2021 19:55:54 +0100 References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> To: Mark Millard , Emmanuel Vadot , freebsd-arm@freebsd.org In-Reply-To: <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DqmYV6Q19z3CGY X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Tue, 02 Mar 2021 18:55:59 -0000 On 2021-Mar-2, at 03:20, Emmanuel Vadot = wrote: >=20 >=20 >> ____________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org=E2=80=9C I could write a WIKI-article(!, lol ) about how to fix these = firmware-problems and get rid of them forever. I could also offer a = dtb-patch, u-boot-updates, netboot-tools, perhaps write a driver etc. = :-) Ha Ha =20 There's no reason to think the RPI4 does perform bad with FreeBSD, I = know boards=20 with more problems. But this topic is old stuff. K. From owner-freebsd-arm@freebsd.org Tue Mar 2 20:33:37 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 AFD485500C5 for ; Tue, 2 Mar 2021 20:33:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dqpk9337kz3KrS for ; Tue, 2 Mar 2021 20:33:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id 6877D55019E; Tue, 2 Mar 2021 20:33:37 +0000 (UTC) Delivered-To: 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 682F5550257 for ; Tue, 2 Mar 2021 20:33:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (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 4Dqpk81F5Cz3KdL for ; Tue, 2 Mar 2021 20:33:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256;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8sD8P75SabCXkVQvCrqR8a7dIITlXdiGfY9qi aAL4.Ml5oc_hwTWHJY6F9ny.HrHTwopOTANot88860Mz1ULeUGxlVq.BFvwiD6UwBw5q3EyVE9HC t9q9VUwNqAaq9l.GqgoXopfSnlZrhKoy0Nrn_0uYxmRQ0RIsX0SRwu0av4WuQcZ8alAnMIQXvm5N cZPONcjr1YcI6H4zFkSLr6bcPVRzJLcY.tL9X6U_0D897H5XU6OgT_MUCCf0jk300w8jj_fO_Gg. hKBxzJ83QXMEimyiJn_NehoyAnqle6DqLQXz0v2y_L_zd0pwG6ejDZBPRe1.brRDgDCzZFKFn3m_ .32obg36PaW6Id.MP_sYFS5_jUD7Cz5pKUgcCLnL.X7RfwcEtC5TB.WGsbn40u7xroZYhQOXxHiR kqoey_Vxlgj5TpvjNJQL4p3WAIcUApDTlsPMVMVFOSCmvtq.M5GhZtPVp98gQAQrhAzaL9VyWc5W 9jN.tEEP0BqMkBMVMgzhwFMl.NsWY0psOoGbIrn.GUwA1gB_E6AKr9dKZgr5amReLnQeYcJnCrAr 36hR00cY9R.EsQVW_fxbK9.IjmAHJuXT_n7x8u4_YKrYZtyiQRL71T5919b7iwLlVwncnot_zNAk 2M4OC2dRx8ItBb4VHRhiiC5npmtExKLs6aDhyVhx3WEN9xnvfHWuUCuoc_6PxJ.oZZpnj7yrW7Nk mMBAGqqgF1OELclktj9IIbHzUjUrdGof.nG0U6ABDKgcykzgO96RV46cV.092nZm7eu8tQJpJtip N7cDE8qhZpan6SxTaJRVmDjD_j19w.CaeLlrU.xYWli6Q5KKmhn0XDXvDEcBjZFCqfofBD5mgZdT HP5e9dx3GUiJLQ33sgRhO5IZJQ_nw97bXbkDgqOc77XpXv3fWWB9.D5qA1_kch1SSVn.CESpLz2k Z5ylW_A-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Tue, 2 Mar 2021 20:33:34 +0000 Received: by smtp420.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 23f6de76a6d0edeb5a78c358a951d80a; Tue, 02 Mar 2021 20:33:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] From: Mark Millard In-Reply-To: <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> Date: Tue, 2 Mar 2021 12:33:29 -0800 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4Dqpk81F5Cz3KdL X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.33 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.83)[-0.830]; 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.69.147:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.147:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.147:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[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: Tue, 02 Mar 2021 20:33:37 -0000 > On 2021-Mar-2, at 10:50, Mark Millard wrote: >=20 So I tried to start an approximate replicate-problems sequence, documented below. > On 2021-Mar-2, at 03:20, Emmanuel Vadot = wrote: >=20 >=20 >> Over the past years I've handled the update of the >> sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. >> For that I've bought a lot of different RPI to ensure that we could >> boot on all different models that the RPI Foundation folks deliver to >> us. >=20 > Thanks for the past effort of supporting the RPi*'s. > I can easily understand the frustration. >=20 > Do not take the below as a request for any action on > your part. They are just notes about the current > context as seen from my somewhat different environment. >=20 >> . . . >>=20 >> 1/ Take the latest BETA4 image for RPI and burn on your sdcard >> 2/ Boot with or without hdmi screen. >> 3/ You will see that u-boot fails to init usb : >> starting USB... >> Bus xhci_pci: probe failed, error -110 >> No working controllers found I made a FreeBSD-13.0-BETA4-arm64-aarch64-RPI.img on a microsd card and replicated this. >> If you drop to u-boot prompt and do 'usb list' it will say that the >> usb system is stopped and you can of course not start it without = having >> the above error. >> 4/ If you boot to FreeBSD everything that we support seems to work >> except for usb (of course). >> 5/ Take the two files proposed as a fix from upstream >> = (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-77935532= 0) >> and copy them to the sdcard. I did not try the issue 1518 files: Skipping (5) and (6). >> 6/ Boot that and you will see that usb is working again in u-boot and >> in FreeBSD, perfect. >> 7/ Update the ports using [1] or download the files from >> github.com/raspberrypi/firmware and copy them on the sdcard (The = issue >> should be fixed right ?) Here I also included the *.dtb files relevant to RPi4B's (and analogous), resulting in the following files being updated on the otherwise BETA4 media: # ls -Tldt /boot/msdos/* -rwxr-xr-x 1 root wheel 49090 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-4-b.dtb -rwxr-xr-x 1 root wheel 48794 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-400.dtb -rwxr-xr-x 1 root wheel 49202 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-cm4.dtb -rwxr-xr-x 1 root wheel 5448 Feb 27 03:24:28 2021 = /boot/msdos/fixup4.dat -rwxr-xr-x 1 root wheel 2228800 Feb 27 03:24:28 2021 = /boot/msdos/start4.elf . . . (others unchanged) . . . (That u-boot required the more modern *.dtb's was something I knew from past list activity: the newer *.dtb's provide something that u-boot uses to decide to handle the potential lack of the eeprom for the xhci.) >> 8/ Boot that and now you find that u-boot is failing in its = synchronous >> abort handler. >=20 With the *.dtb files included, boots fine and supports my USB SSD being plugged in: ugen0.3: at usbus0 umass0 on uhub0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x0100 umass0:0:0: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: Serial Number 000000000011 da0: 400.000MB/s transfers da0: 228936MB (468862128 512 byte sectors) da0: quirks=3D0x2 . . . root@generic:~ # gpart show=20 =3D> 63 62333889 mmcsd0 MBR (30G) 63 2016 - free - (1.0M) 2079 102312 1 fat32lba [active] (50M) 104391 62228537 2 freebsd (30G) 62332928 1024 - free - (512K) =3D> 0 62228537 mmcsd0s2 BSD (30G) 0 57 - free - (29K) 57 62228480 1 freebsd-ufs (30G) =3D> 40 468862048 da0 GPT (224G) 40 2008 - free - (1.0M) 2048 413138944 1 freebsd-ufs (197G) 413140992 9437184 2 freebsd-swap (4.5G) 422578176 204800 3 efi (100M) 422782976 46079112 - free - (22G) =3D> 40 468862048 diskid/DISK-000000000011 GPT (224G) 40 2008 - free - (1.0M) 2048 413138944 1 freebsd-ufs (197G) 413140992 9437184 2 freebsd-swap (4.5G) 422578176 204800 3 efi (100M) 422782976 46079112 - free - (22G) . . . root@generic:~ # mount -onoatime /dev/gpt/RPi4Broot /mnt root@generic:~ # ls -Tld /mnt/* -r--r--r-- 1 root wheel 6109 Jan 7 08:22:59 2021 = /mnt/COPYRIGHT drwxr-xr-x 2 root wheel 1024 Feb 9 21:52:22 2021 /mnt/bin drwxr-xr-x 22 root wheel 1536 Mar 2 20:07:27 2021 /mnt/boot dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/dev -rw------- 1 root wheel 4096 Mar 2 20:07:27 2021 /mnt/entropy drwxr-xr-x 27 root wheel 2560 Feb 9 21:53:45 2021 /mnt/etc drwxr-xr-x 5 root wheel 2048 Feb 9 21:52:12 2021 /mnt/lib drwxr-xr-x 3 root wheel 512 Feb 9 21:51:38 2021 /mnt/libexec drwx------ 2 root wheel 512 Jul 25 04:28:53 2020 = /mnt/lost+found drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/media drwxr-xr-x 2 root wheel 512 Sep 26 05:03:33 2020 = /mnt/microsd_efi drwxr-xr-x 2 root wheel 512 Mar 22 19:19:37 2020 = /mnt/microsd_ufs drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/mnt drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/net dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/proc drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:12 2021 /mnt/rescue -rw------- 1 root wheel 137380424 Aug 9 03:09:20 2020 = /mnt/restoresymtable drwxr-xr-x 21 root wheel 4608 Feb 27 21:40:06 2021 /mnt/root drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:30 2021 /mnt/sbin lrwxr-xr-x 1 root wheel 11 May 2 02:22:54 2018 /mnt/sys -> = usr/src/sys drwxrwxrwt 61 root wheel 3584 Mar 2 20:07:26 2021 /mnt/tmp drwxr-xr-x 2 root wheel 512 May 20 01:52:47 2020 /mnt/usb_efi drwxr-xr-x 17 root wheel 512 Mar 30 12:25:13 2020 /mnt/usr drwxr-xr-x 26 root wheel 512 Mar 2 19:48:16 2021 /mnt/var drwxr-xr-x 3 root wheel 512 Sep 18 20:04:15 2018 /mnt/wrkdirs > I use sysutils/u-boot-rpi4 with a patch for an issue that > I've reported to the lists in the past, one that makes sure > u-boot internally avoids the same pages that the kernel is > told to avoid. (I'm still at "U-Boot 2020.10 (Dec 13 2020 - > 08:04:27 +0000)" for such.) >=20 > In this context I did not see a problem when I updated to the > recently published start4.elf and fixup4.dat . The context is > a RPi4B 8GiByte, USB-SSD based boot without a microsd card > involved, based on the RPi4B bootloader eeprom content: >=20 > RPi: BOOTLOADER release VERSION:c305221a DATE: Sep 3 2020 TIME: = 13:11:46 >=20 > Similarly, I've used https://github.com/pftf/RPi4 v1.24 that > uses the published start4.elf and fixup4.dat files and have > had no problems with the UEFI/ACPI based boot. >=20 > I expect that this overall suggests a u-boot problem for (8) > instead of a start4.elf / fixup4.dat problem. (But possibly > a different vintage of RPi bootloader eeprom content?) Turns out to be a lack of *.dtb updates instead of u-boot itself. Of course, this does not validate any other context that sysutils/u-boot-rpi-arm64 is intended to support. But it does indicate that a "with *.dtb" sysutils/rpi-firmware update and its used would fix the RPi4B for the USB issue on RPi4B 8 GiByte machines. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 3 08:05:35 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 3862F562596 for ; Wed, 3 Mar 2021 08:05:35 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dr64Z6RH1z4q5y for ; Wed, 3 Mar 2021 08:05:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id DCDCA5624C5; Wed, 3 Mar 2021 08:05:34 +0000 (UTC) Delivered-To: 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 DCA0B562615 for ; Wed, 3 Mar 2021 08:05:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dr64Z4cRnz4q0y for ; Wed, 3 Mar 2021 08:05:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614758731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3eAzyO5+oh5TnYUcVVY3X1BfpFk+SiF3gEya05aC5f8=; b=iMU/5d10mckjfl/K2pXi9gJsPCfYrRjKJBNYHEbmfqh4cYZGRZECa5Q2piaPM95NzkNOsc Ipkhw7pVT8Vu1TY5EMGfY+YhQKkVw0X6xmV2mwiWZjD6iSRpgMr7+ILWqU1kHvjbpNzAED 0vQoy3pdH3nDD8yFB+LG+Uucfq6mwJA= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 1182c0ba (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 3 Mar 2021 08:05:31 +0000 (UTC) Date: Wed, 3 Mar 2021 09:05:31 +0100 From: Emmanuel Vadot To: Mark Millard Cc: "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] Message-Id: <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> In-Reply-To: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dr64Z4cRnz4q0y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 08:05:35 -0000 On Tue, 2 Mar 2021 12:33:29 -0800 Mark Millard wrote: > > > > On 2021-Mar-2, at 10:50, Mark Millard wrote: > > > > So I tried to start an approximate replicate-problems sequence, > documented below. > > > > On 2021-Mar-2, at 03:20, Emmanuel Vadot wrote: > > > > > >> Over the past years I've handled the update of the > >> sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. > >> For that I've bought a lot of different RPI to ensure that we could > >> boot on all different models that the RPI Foundation folks deliver to > >> us. > > > > Thanks for the past effort of supporting the RPi*'s. > > I can easily understand the frustration. > > > > Do not take the below as a request for any action on > > your part. They are just notes about the current > > context as seen from my somewhat different environment. > > > >> . . . > >> > >> 1/ Take the latest BETA4 image for RPI and burn on your sdcard > >> 2/ Boot with or without hdmi screen. > >> 3/ You will see that u-boot fails to init usb : > >> starting USB... > >> Bus xhci_pci: probe failed, error -110 > >> No working controllers found > > I made a FreeBSD-13.0-BETA4-arm64-aarch64-RPI.img on > a microsd card and replicated this. > > >> If you drop to u-boot prompt and do 'usb list' it will say that the > >> usb system is stopped and you can of course not start it without having > >> the above error. > >> 4/ If you boot to FreeBSD everything that we support seems to work > >> except for usb (of course). > >> 5/ Take the two files proposed as a fix from upstream > >> (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-779355320) > >> and copy them to the sdcard. > > I did not try the issue 1518 files: Skipping (5) and (6). > > >> 6/ Boot that and you will see that usb is working again in u-boot and > >> in FreeBSD, perfect. > >> 7/ Update the ports using [1] or download the files from > >> github.com/raspberrypi/firmware and copy them on the sdcard (The issue > >> should be fixed right ?) > > Here I also included the *.dtb files relevant to > RPi4B's (and analogous), resulting in the following > files being updated on the otherwise BETA4 media: I also did that, sorry if I wasn't clear. I've updated all the start* fixup* *dtb and bootcode.bin files on the sdcard as this is what would have been done if the ports was updated on the futur images that we provide. > # ls -Tldt /boot/msdos/* > -rwxr-xr-x 1 root wheel 49090 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-4-b.dtb > -rwxr-xr-x 1 root wheel 48794 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-400.dtb > -rwxr-xr-x 1 root wheel 49202 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-cm4.dtb > -rwxr-xr-x 1 root wheel 5448 Feb 27 03:24:28 2021 /boot/msdos/fixup4.dat > -rwxr-xr-x 1 root wheel 2228800 Feb 27 03:24:28 2021 /boot/msdos/start4.elf > . . . (others unchanged) . . . > > (That u-boot required the more modern *.dtb's was something > I knew from past list activity: the newer *.dtb's provide > something that u-boot uses to decide to handle the potential > lack of the eeprom for the xhci.) > > >> 8/ Boot that and now you find that u-boot is failing in its synchronous > >> abort handler. > > > > With the *.dtb files included, boots fine and supports my USB SSD being > plugged in: > > ugen0.3: at usbus0 > umass0 on uhub0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0100 > umass0:0:0: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Fixed Direct Access SPC-4 SCSI device > da0: Serial Number 000000000011 > da0: 400.000MB/s transfers > da0: 228936MB (468862128 512 byte sectors) > da0: quirks=0x2 > . . . > root@generic:~ # gpart show > => 63 62333889 mmcsd0 MBR (30G) > 63 2016 - free - (1.0M) > 2079 102312 1 fat32lba [active] (50M) > 104391 62228537 2 freebsd (30G) > 62332928 1024 - free - (512K) > > => 0 62228537 mmcsd0s2 BSD (30G) > 0 57 - free - (29K) > 57 62228480 1 freebsd-ufs (30G) > > => 40 468862048 da0 GPT (224G) > 40 2008 - free - (1.0M) > 2048 413138944 1 freebsd-ufs (197G) > 413140992 9437184 2 freebsd-swap (4.5G) > 422578176 204800 3 efi (100M) > 422782976 46079112 - free - (22G) > > => 40 468862048 diskid/DISK-000000000011 GPT (224G) > 40 2008 - free - (1.0M) > 2048 413138944 1 freebsd-ufs (197G) > 413140992 9437184 2 freebsd-swap (4.5G) > 422578176 204800 3 efi (100M) > 422782976 46079112 - free - (22G) > . . . > root@generic:~ # mount -onoatime /dev/gpt/RPi4Broot /mnt > root@generic:~ # ls -Tld /mnt/* > -r--r--r-- 1 root wheel 6109 Jan 7 08:22:59 2021 /mnt/COPYRIGHT > drwxr-xr-x 2 root wheel 1024 Feb 9 21:52:22 2021 /mnt/bin > drwxr-xr-x 22 root wheel 1536 Mar 2 20:07:27 2021 /mnt/boot > dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/dev > -rw------- 1 root wheel 4096 Mar 2 20:07:27 2021 /mnt/entropy > drwxr-xr-x 27 root wheel 2560 Feb 9 21:53:45 2021 /mnt/etc > drwxr-xr-x 5 root wheel 2048 Feb 9 21:52:12 2021 /mnt/lib > drwxr-xr-x 3 root wheel 512 Feb 9 21:51:38 2021 /mnt/libexec > drwx------ 2 root wheel 512 Jul 25 04:28:53 2020 /mnt/lost+found > drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/media > drwxr-xr-x 2 root wheel 512 Sep 26 05:03:33 2020 /mnt/microsd_efi > drwxr-xr-x 2 root wheel 512 Mar 22 19:19:37 2020 /mnt/microsd_ufs > drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/mnt > drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/net > dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/proc > drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:12 2021 /mnt/rescue > -rw------- 1 root wheel 137380424 Aug 9 03:09:20 2020 /mnt/restoresymtable > drwxr-xr-x 21 root wheel 4608 Feb 27 21:40:06 2021 /mnt/root > drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:30 2021 /mnt/sbin > lrwxr-xr-x 1 root wheel 11 May 2 02:22:54 2018 /mnt/sys -> usr/src/sys > drwxrwxrwt 61 root wheel 3584 Mar 2 20:07:26 2021 /mnt/tmp > drwxr-xr-x 2 root wheel 512 May 20 01:52:47 2020 /mnt/usb_efi > drwxr-xr-x 17 root wheel 512 Mar 30 12:25:13 2020 /mnt/usr > drwxr-xr-x 26 root wheel 512 Mar 2 19:48:16 2021 /mnt/var > drwxr-xr-x 3 root wheel 512 Sep 18 20:04:15 2018 /mnt/wrkdirs Ok well the fact that it works for your board and not mine confort me that there is some difference in boards and that it's hard to maintain this port for someone who doesn't really care about this platform tbh. > > I use sysutils/u-boot-rpi4 with a patch for an issue that > > I've reported to the lists in the past, one that makes sure > > u-boot internally avoids the same pages that the kernel is > > told to avoid. (I'm still at "U-Boot 2020.10 (Dec 13 2020 - > > 08:04:27 +0000)" for such.) > > > > In this context I did not see a problem when I updated to the > > recently published start4.elf and fixup4.dat . The context is > > a RPi4B 8GiByte, USB-SSD based boot without a microsd card > > involved, based on the RPi4B bootloader eeprom content: > > > > RPi: BOOTLOADER release VERSION:c305221a DATE: Sep 3 2020 TIME: 13:11:46 > > > > Similarly, I've used https://github.com/pftf/RPi4 v1.24 that > > uses the published start4.elf and fixup4.dat files and have > > had no problems with the UEFI/ACPI based boot. > > > > I expect that this overall suggests a u-boot problem for (8) > > instead of a start4.elf / fixup4.dat problem. (But possibly > > a different vintage of RPi bootloader eeprom content?) > > Turns out to be a lack of *.dtb updates instead of u-boot > itself. > > Of course, this does not validate any other context that > sysutils/u-boot-rpi-arm64 is intended to support. > > But it does indicate that a "with *.dtb" sysutils/rpi-firmware > update and its used would fix the RPi4B for the USB issue on > RPi4B 8 GiByte machines. > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Mar 3 08:12:42 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 B6ED2562E02 for ; Wed, 3 Mar 2021 08:12:42 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dr6Dn4pqzz4qXH for ; Wed, 3 Mar 2021 08:12:41 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614759159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IFdSy65RdolypEN/6qQNXCJ2rxSqSiyjSdxC7/UJL38=; b=VtDjy/I/DeKLEGIypbGz+aPv/YOxfgZ/LNVj73lnZFf3HiW1lgXeDKBRz+iRhmlKMLlmVE SRwJWJ3AGaZdrImziXcvFGKo/PybB1cn6pS1muF1CbnWObS+QH41e4ARaEfnFePKs+Bz9f XHIuDuVZTkGdxKOYLXe6u3MhglPtwfQ= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id b3fbcdca (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 3 Mar 2021 08:12:39 +0000 (UTC) Date: Wed, 3 Mar 2021 09:12:39 +0100 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: Mark Millard , freebsd-arm@freebsd.org Subject: Re: RPi4 Status and sysutils/rpi-firmware Message-Id: <20210303091239.7bc66cfda6918215278c0899@bidouilliste.com> In-Reply-To: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Dr6Dn4pqzz4qXH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=VtDjy/I/; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; 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)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com,freebsd.org]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] 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: Wed, 03 Mar 2021 08:12:42 -0000 On Tue, 2 Mar 2021 19:55:54 +0100 Klaus K=FCchemann wrote: >=20 > On 2021-Mar-2, at 03:20, Emmanuel Vadot wrote: > >=20 > >=20 > >> ____________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org? >=20 >=20 > I could write a WIKI-article(!, lol ) about how to fix these firmware-pro= blems and get rid of them forever. That's not true. Even if we find a version of the firmware files that works for every RPI boards that all of our users have right now, we will need to update them when a new RPI boards is out. And with the Compute Module 4 being out and a lot more carrier board being made than for the CM3 I expect a lot more firmware updates than before. > I could also offer a dtb-patch Your earlier proposal was to commit into base a modified DTS based on (I think) a decompiled version of the rpi-firmware DTB and put that in place of the Linux mainline DTS (which is different) in the contrib device-tree import tree. This cannot work in the long time, if you don't see a problem I'm soryr for you. > u-boot-updates, netboot-tools You can still do that. > perhaps write a driver etc. :-) Ha Ha =20 Same thing, you can still do that. > There's no reason to think the RPI4 does perform bad with FreeBSD That's not what this thread is about. > I know boards with more problems. > But this topic is old stuff. >=20 > K. >=20 --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Mar 3 09:52:43 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 29EF1564D65 for ; Wed, 3 Mar 2021 09:52:43 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dr8SB6Dykz3Ds9 for ; Wed, 3 Mar 2021 09:52:42 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: by mailman.nyi.freebsd.org (Postfix) id B87E5565067; Wed, 3 Mar 2021 09:52:42 +0000 (UTC) Delivered-To: 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 B8397565216 for ; Wed, 3 Mar 2021 09:52:42 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dr8S96g6vz3DxV for ; Wed, 3 Mar 2021 09:52:40 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (87-95-51-63.bb.dnainternet.fi [87.95.51.63]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 1239qSEh022674 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Mar 2021 09:52:29 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-51-63.bb.dnainternet.fi [87.95.51.63] claimed to be [192.168.1.151] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware Date: Wed, 3 Mar 2021 11:52:23 +0200 References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> To: Emmanuel Vadot , "freebsd-arm@freebsd.org" In-Reply-To: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4Dr8S96g6vz3DxV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Wed, 03 Mar 2021 09:52:43 -0000 > I won't do anything anymore on the rpi-firmware port and we need a > maintainer for this platform. FreeBSD core should review these. ARM architecture is and will be = important for future. 1. ARMv8 should be upgraded from Tier 2 to Tier 1, as a supported = platform. Companies will not develop on FreeBSD if we dont properly = support it. https://www.freebsd.org/platforms/ =20= 2. And you cant have a supported platform sfor further development = without ownership and maintenance. So, for sure the platform requires a = maintainer.=20 Stefan From owner-freebsd-arm@freebsd.org Wed Mar 3 10:47:34 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 5A70456652C for ; Wed, 3 Mar 2021 10:47:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dr9gV0SBJz3HPp for ; Wed, 3 Mar 2021 10:47:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id 0D52456652B; Wed, 3 Mar 2021 10:47:34 +0000 (UTC) Delivered-To: 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 0BE8956604E for ; Wed, 3 Mar 2021 10:47:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dr9gT57fMz3HNR for ; Wed, 3 Mar 2021 10:47:33 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614768448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8TwR0+lbxEC9XK4XYCZICeqNRlNmtx8RGrZX9RDKkPE=; b=POp23r8bDIHohDswlUd1DIAC8vAcAeDZGLToTiggvEBbFbkM30DJSYXEBQlG3T2cZKAIm3 aOmICrTHwLVfR3fsgfgqSWIM7e3LQtO6/4EaUxBGg4fpep2GleocNmJQleAOEOCPBATFrJ ijWsCFOglNGnK3HDV69GxKZXyIZBtaU= Received: from skull.home.blih.net (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 3c3e5ffe (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 3 Mar 2021 10:47:28 +0000 (UTC) Date: Wed, 3 Mar 2021 11:47:24 +0100 From: Emmanuel Vadot To: Stefan Parvu Cc: "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware Message-Id: <20210303114724.81797c63767d6b09f5f70f59@bidouilliste.com> In-Reply-To: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dr9gT57fMz3HNR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 10:47:34 -0000 On Wed, 3 Mar 2021 11:52:23 +0200 Stefan Parvu wrote: > > > I won't do anything anymore on the rpi-firmware port and we need a > > maintainer for this platform. > > FreeBSD core should review these. ARM architecture is and will be important for future. Review what ? > 1. ARMv8 should be upgraded from Tier 2 to Tier 1, as a supported platform. Companies will not develop on FreeBSD if we dont properly support it. > https://www.freebsd.org/platforms/ There is a lot of other arm64 platforms. > 2. And you cant have a supported platform sfor further development without ownership and maintenance. So, for sure the platform requires a maintainer. I'm only stopping from maintaining the rpi-firmware port, that doesn't mean that I stop from doing arm/arm64 dev and that doesn't stop other people doing arm/arm64 dev. > Stefan > -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Mar 3 11:30:09 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 277BD567792 for ; Wed, 3 Mar 2021 11:30:09 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrBcc6Hbjz3LQQ for ; Wed, 3 Mar 2021 11:30:08 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: by mailman.nyi.freebsd.org (Postfix) id D7DDC567791; Wed, 3 Mar 2021 11:30:08 +0000 (UTC) Delivered-To: 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 D7A9056778E for ; Wed, 3 Mar 2021 11:30:08 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrBcc4D7tz3LYJ for ; Wed, 3 Mar 2021 11:30:08 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (87-95-51-63.bb.dnainternet.fi [87.95.51.63]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 123BTw7Q071835 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Mar 2021 11:29:58 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-51-63.bb.dnainternet.fi [87.95.51.63] claimed to be [192.168.1.151] From: Stefan Parvu Message-Id: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware Date: Wed, 3 Mar 2021 13:29:52 +0200 In-Reply-To: <20210303114724.81797c63767d6b09f5f70f59@bidouilliste.com> Cc: "freebsd-arm@freebsd.org" To: Emmanuel Vadot References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <20210303114724.81797c63767d6b09f5f70f59@bidouilliste.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrBcc4D7tz3LYJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Wed, 03 Mar 2021 11:30:09 -0000 >=20 > Review what ? This: https://www.freebsd.org/platforms/ = =20 ARM is tier 2 platform. > There is a lot of other arm64 platforms. None are Tier 1. Or at least this is what Im seeing. Correct me if Im = wrong. At least in Kronometrix, we will need a stable Tier 1 platform to = continue building our IoT gateway on FreeBSD.=20 Stefan= From owner-freebsd-arm@freebsd.org Wed Mar 3 12:00:41 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 B48D7568A62 for ; Wed, 3 Mar 2021 12:00:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrCHs2PWHz3NNl for ; Wed, 3 Mar 2021 12:00:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id 509A6568917; Wed, 3 Mar 2021 12:00:41 +0000 (UTC) Delivered-To: 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 505C35686E4 for ; Wed, 3 Mar 2021 12:00:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-56.consmr.mail.ne1.yahoo.com (sonic313-56.consmr.mail.ne1.yahoo.com [66.163.185.31]) (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 4DrCHs0Skhz3Nfq for ; Wed, 3 Mar 2021 12:00:40 +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=1614772839; bh=VvQs/2+8XyZIqlYHqiNQnTb+kHWQcVWF7rLRE9KFlYk=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=UksZP0ijJmfMjidPC7JHrUGDg1XGfPaQr9ahYliDciea2j3DtGgFN3cLitBUAJzMygIU3t7rChUVYdxtTFgpzkevPjNXG5SZCg/GYoSfkHuzBD+vKXYrNcumBUpn6XJu8Jrgru3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.8n_4cRcWrZLd4xJgi95QuCnPselO.4v4_3W3FBwsbfIzKkM5p 2Jo3Ff_MQvrz.mfKwwOw95yICF_JMoUJzT7tOpUU4RAuGR.4Pkuu_dmQodPrW8BFCAA8kjDrWc.Z 3hShOwwMYu1dOG94J.h0wuVFCuBwDSTpB99bPGh4d68DzPotw4gICl8NGI8O2SDkJKg_6xF6MXHY k9NuENg21r5AAJhoHewN2713rG7mMAZT2DLrkIjleATTvKh5xVQ2f3SlNsAdHKofs7YxJ9JWVOq6 2bwzGQNtjxiQuWQFLMeWC3cc8PQTFVCdSAEiMG8qaoA9fhIzUkEebmhic7YwG5J273GFoo.TUz8W eU0EMXTmthkBApPrTZz25P6xDzD_ZWSPFqzq2hlsbdKqcwYOiOk6NHxow8DkT6sbn0.x.gEwyLFY mIA4_uBilHzOR20LfOnS_Khq9HPNDG25mHw3o4qBF9Qo9SVx_cBovp.wp2ZxvyoVHyYXtWSMLivO JUcUuDkXqUXMzaTTUapqXF0FioDhPD2Xd4ytIEn9TLuxs9UiCKxEyZJy2ZfVldMVW1TP4nOTacsG LanHXiOMIWqRF3yU9sfWrUyWUZpraXzr8MVvkSzadRDJhJft7Ikn9Lo3RfoxlqVMQejUO_yxD4wK UTScK4krRmCJMXl32HxGUF8MN04IYgvNb2Q_lmxvy.52RN4hrpDvWj4jVvMBFWghlXuXcqg03d.s szfRLvjrGuomq.T_3pO67yNw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Wed, 3 Mar 2021 12:00:39 +0000 Received: by kubenode575.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4c8fc3750d72cc9b384a7a332205798c; Wed, 03 Mar 2021 12:00:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] From: Mark Millard In-Reply-To: <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> Date: Wed, 3 Mar 2021 04:00:32 -0800 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrCHs0Skhz3Nfq X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 12:00:41 -0000 On 2021-Mar-3, at 00:05, Emmanuel Vadot = wrote: > On Tue, 2 Mar 2021 12:33:29 -0800 > Mark Millard wrote: >=20 >>=20 >>=20 >>> On 2021-Mar-2, at 10:50, Mark Millard wrote: >>>=20 >>=20 >> So I tried to start an approximate replicate-problems sequence, >> documented below. >>=20 >>=20 >>> On 2021-Mar-2, at 03:20, Emmanuel Vadot = wrote: >>>=20 >>>=20 >>>> Over the past years I've handled the update of the >>>> sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. >>>> For that I've bought a lot of different RPI to ensure that we could >>>> boot on all different models that the RPI Foundation folks deliver = to >>>> us. >>>=20 >>> Thanks for the past effort of supporting the RPi*'s. >>> I can easily understand the frustration. >>>=20 >>> Do not take the below as a request for any action on >>> your part. They are just notes about the current >>> context as seen from my somewhat different environment. >>>=20 >>>> . . . >>>>=20 >>>> 1/ Take the latest BETA4 image for RPI and burn on your sdcard >>>> 2/ Boot with or without hdmi screen. >>>> 3/ You will see that u-boot fails to init usb : >>>> starting USB... >>>> Bus xhci_pci: probe failed, error -110 >>>> No working controllers found >>=20 >> I made a FreeBSD-13.0-BETA4-arm64-aarch64-RPI.img on >> a microsd card and replicated this. >>=20 >>>> If you drop to u-boot prompt and do 'usb list' it will say that the >>>> usb system is stopped and you can of course not start it without = having >>>> the above error. >>>> 4/ If you boot to FreeBSD everything that we support seems to work >>>> except for usb (of course). >>>> 5/ Take the two files proposed as a fix from upstream >>>> = (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-77935532= 0) >>>> and copy them to the sdcard. >>=20 >> I did not try the issue 1518 files: Skipping (5) and (6). >>=20 >>>> 6/ Boot that and you will see that usb is working again in u-boot = and >>>> in FreeBSD, perfect. >>>> 7/ Update the ports using [1] or download the files from >>>> github.com/raspberrypi/firmware and copy them on the sdcard (The = issue >>>> should be fixed right ?) >>=20 >> Here I also included the *.dtb files relevant to >> RPi4B's (and analogous), resulting in the following >> files being updated on the otherwise BETA4 media: >=20 > I also did that, sorry if I wasn't clear. > I've updated all the start* fixup* *dtb and bootcode.bin files on the > sdcard as this is what would have been done if the ports was updated > on the futur images that we provide. I just looked at your patch and it specified the version before the updates to the firmware were released, likely explaining our differing results: +TIMESTAMP =3D 1614679337 +SHA256 (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) =3D= bb34b5d0cb04d4ec2161954af78310825ee7f6a580f313af523ff50ddd71fa52 +SIZE (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) =3D = 192229572 https://github.com/raspberrypi/firmware/commits/master shows . . . cb8cbb2 is: Commits on Feb 22, 2021 kernel: Bump to 5.10.17 Then there are 2 more relevant updates . . . 7872272 is: Commits on Feb 24, 2021 firmware: platform: vl805: Get BAR2 address from PCIe BAR2 registers (That is the one for fixing issue 1518 but it has another issue that solidly needs a fix. See below.) 5985247 is: Commits on Feb 25, 2021 firmware: arm_loader: Return all borrowed DMA channels (Specifically DMA channel 6 is known to have been messed up by the firmware.) I used materials originally taken from 5985247 so we did not match in what we tested. >> # ls -Tldt /boot/msdos/* >> -rwxr-xr-x 1 root wheel 49090 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-4-b.dtb >> -rwxr-xr-x 1 root wheel 48794 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-400.dtb >> -rwxr-xr-x 1 root wheel 49202 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-cm4.dtb >> -rwxr-xr-x 1 root wheel 5448 Feb 27 03:24:28 2021 = /boot/msdos/fixup4.dat >> -rwxr-xr-x 1 root wheel 2228800 Feb 27 03:24:28 2021 = /boot/msdos/start4.elf >> . . . (others unchanged) . . . >>=20 >> (That u-boot required the more modern *.dtb's was something >> I knew from past list activity: the newer *.dtb's provide >> something that u-boot uses to decide to handle the potential >> lack of the eeprom for the xhci.) We did not match for start4.elf and fixup4.dat . The .dtb tested was newer as well, but might not have made a difference given those two mismatches. My notes over emphasize the *.dtb . >>>> 8/ Boot that and now you find that u-boot is failing in its = synchronous >>>> abort handler. >>>=20 >>=20 >> With the *.dtb files included, boots fine and supports my USB SSD = being >> plugged in: >>=20 >> ugen0.3: at usbus0 >> umass0 on uhub0 >> umass0: on = usbus0 >> umass0: SCSI over Bulk-Only; quirks =3D 0x0100 >> umass0:0:0: Attached to scbus0 >> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 >> da0: Fixed Direct Access SPC-4 SCSI device >> da0: Serial Number 000000000011 >> da0: 400.000MB/s transfers >> da0: 228936MB (468862128 512 byte sectors) >> da0: quirks=3D0x2 >> . . . >> root@generic:~ # gpart show=20 >> =3D> 63 62333889 mmcsd0 MBR (30G) >> 63 2016 - free - (1.0M) >> 2079 102312 1 fat32lba [active] (50M) >> 104391 62228537 2 freebsd (30G) >> 62332928 1024 - free - (512K) >>=20 >> =3D> 0 62228537 mmcsd0s2 BSD (30G) >> 0 57 - free - (29K) >> 57 62228480 1 freebsd-ufs (30G) >>=20 >> =3D> 40 468862048 da0 GPT (224G) >> 40 2008 - free - (1.0M) >> 2048 413138944 1 freebsd-ufs (197G) >> 413140992 9437184 2 freebsd-swap (4.5G) >> 422578176 204800 3 efi (100M) >> 422782976 46079112 - free - (22G) >>=20 >> =3D> 40 468862048 diskid/DISK-000000000011 GPT (224G) >> 40 2008 - free - (1.0M) >> 2048 413138944 1 freebsd-ufs (197G) >> 413140992 9437184 2 freebsd-swap (4.5G) >> 422578176 204800 3 efi (100M) >> 422782976 46079112 - free - (22G) >> . . . >> root@generic:~ # mount -onoatime /dev/gpt/RPi4Broot /mnt >> root@generic:~ # ls -Tld /mnt/* >> -r--r--r-- 1 root wheel 6109 Jan 7 08:22:59 2021 = /mnt/COPYRIGHT >> drwxr-xr-x 2 root wheel 1024 Feb 9 21:52:22 2021 /mnt/bin >> drwxr-xr-x 22 root wheel 1536 Mar 2 20:07:27 2021 /mnt/boot >> dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/dev >> -rw------- 1 root wheel 4096 Mar 2 20:07:27 2021 = /mnt/entropy >> drwxr-xr-x 27 root wheel 2560 Feb 9 21:53:45 2021 /mnt/etc >> drwxr-xr-x 5 root wheel 2048 Feb 9 21:52:12 2021 /mnt/lib >> drwxr-xr-x 3 root wheel 512 Feb 9 21:51:38 2021 = /mnt/libexec >> drwx------ 2 root wheel 512 Jul 25 04:28:53 2020 = /mnt/lost+found >> drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/media >> drwxr-xr-x 2 root wheel 512 Sep 26 05:03:33 2020 = /mnt/microsd_efi >> drwxr-xr-x 2 root wheel 512 Mar 22 19:19:37 2020 = /mnt/microsd_ufs >> drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/mnt >> drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/net >> dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/proc >> drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:12 2021 = /mnt/rescue >> -rw------- 1 root wheel 137380424 Aug 9 03:09:20 2020 = /mnt/restoresymtable >> drwxr-xr-x 21 root wheel 4608 Feb 27 21:40:06 2021 /mnt/root >> drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:30 2021 /mnt/sbin >> lrwxr-xr-x 1 root wheel 11 May 2 02:22:54 2018 /mnt/sys = -> usr/src/sys >> drwxrwxrwt 61 root wheel 3584 Mar 2 20:07:26 2021 /mnt/tmp >> drwxr-xr-x 2 root wheel 512 May 20 01:52:47 2020 = /mnt/usb_efi >> drwxr-xr-x 17 root wheel 512 Mar 30 12:25:13 2020 /mnt/usr >> drwxr-xr-x 26 root wheel 512 Mar 2 19:48:16 2021 /mnt/var >> drwxr-xr-x 3 root wheel 512 Sep 18 20:04:15 2018 = /mnt/wrkdirs >=20 > Ok well the fact that it works for your board and not mine confort me > that there is some difference in boards and that it's hard to maintain > this port for someone who doesn't really care about this platform tbh. Looks to me like file version differences, not necessarily board differences in this case. >>> I use sysutils/u-boot-rpi4 with a patch for an issue that >>> I've reported to the lists in the past, one that makes sure >>> u-boot internally avoids the same pages that the kernel is >>> told to avoid. (I'm still at "U-Boot 2020.10 (Dec 13 2020 - >>> 08:04:27 +0000)" for such.) >>>=20 >>> In this context I did not see a problem when I updated to the >>> recently published start4.elf and fixup4.dat . The context is >>> a RPi4B 8GiByte, USB-SSD based boot without a microsd card >>> involved, based on the RPi4B bootloader eeprom content: >>>=20 >>> RPi: BOOTLOADER release VERSION:c305221a DATE: Sep 3 2020 TIME: = 13:11:46 >>>=20 >>> Similarly, I've used https://github.com/pftf/RPi4 v1.24 that >>> uses the published start4.elf and fixup4.dat files and have >>> had no problems with the UEFI/ACPI based boot. >>>=20 >>> I expect that this overall suggests a u-boot problem for (8) >>> instead of a start4.elf / fixup4.dat problem. (But possibly >>> a different vintage of RPi bootloader eeprom content?) >>=20 >> Turns out to be a lack of *.dtb updates instead of u-boot >> itself. I got that "turns out" wrong because I assumed that we had a start4.elf and fixup4.dat match. I should have validated the status at the time. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 3 12:12:22 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 1BA4A568CC0 for ; Wed, 3 Mar 2021 12:12:22 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrCYK5k3Vz3Nwq for ; Wed, 3 Mar 2021 12:12:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id C44D2568CBE; Wed, 3 Mar 2021 12:12:21 +0000 (UTC) Delivered-To: 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 C2FA5568CBD for ; Wed, 3 Mar 2021 12:12:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrCYK3s7Pz3PRm for ; Wed, 3 Mar 2021 12:12:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614773532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i78RnEPkWdkWv2yeXPdr4ps8aWJ7X1CJNh8Rl088AoA=; b=liWcDQ+wzSXDfdZsNZM40bcyrNedtFwnylz5eicaHK+VKls9OO+ieiTj/uVPWgSqA5VGpL Ya5YL3gPYRDLGyuJpTgO8P89mSGCDHq3ZVwoUnRuDQbPxPHapBddREOfjn80lTuEJuBY6c OT3J6/QDC9bc3sFuEJGOKWVMP/goTkk= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 603a1272 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 3 Mar 2021 12:12:12 +0000 (UTC) Date: Wed, 3 Mar 2021 13:12:12 +0100 From: Emmanuel Vadot To: Mark Millard Cc: "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] Message-Id: <20210303131212.482447d7581308f7393197a4@bidouilliste.com> In-Reply-To: <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DrCYK3s7Pz3PRm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 12:12:22 -0000 On Wed, 3 Mar 2021 04:00:32 -0800 Mark Millard wrote: > > > On 2021-Mar-3, at 00:05, Emmanuel Vadot wrote: > > > On Tue, 2 Mar 2021 12:33:29 -0800 > > Mark Millard wrote: > > > >> > >> > >>> On 2021-Mar-2, at 10:50, Mark Millard wrote: > >>> > >> > >> So I tried to start an approximate replicate-problems sequence, > >> documented below. > >> > >> > >>> On 2021-Mar-2, at 03:20, Emmanuel Vadot wrote: > >>> > >>> > >>>> Over the past years I've handled the update of the > >>>> sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. > >>>> For that I've bought a lot of different RPI to ensure that we could > >>>> boot on all different models that the RPI Foundation folks deliver to > >>>> us. > >>> > >>> Thanks for the past effort of supporting the RPi*'s. > >>> I can easily understand the frustration. > >>> > >>> Do not take the below as a request for any action on > >>> your part. They are just notes about the current > >>> context as seen from my somewhat different environment. > >>> > >>>> . . . > >>>> > >>>> 1/ Take the latest BETA4 image for RPI and burn on your sdcard > >>>> 2/ Boot with or without hdmi screen. > >>>> 3/ You will see that u-boot fails to init usb : > >>>> starting USB... > >>>> Bus xhci_pci: probe failed, error -110 > >>>> No working controllers found > >> > >> I made a FreeBSD-13.0-BETA4-arm64-aarch64-RPI.img on > >> a microsd card and replicated this. > >> > >>>> If you drop to u-boot prompt and do 'usb list' it will say that the > >>>> usb system is stopped and you can of course not start it without having > >>>> the above error. > >>>> 4/ If you boot to FreeBSD everything that we support seems to work > >>>> except for usb (of course). > >>>> 5/ Take the two files proposed as a fix from upstream > >>>> (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-779355320) > >>>> and copy them to the sdcard. > >> > >> I did not try the issue 1518 files: Skipping (5) and (6). > >> > >>>> 6/ Boot that and you will see that usb is working again in u-boot and > >>>> in FreeBSD, perfect. > >>>> 7/ Update the ports using [1] or download the files from > >>>> github.com/raspberrypi/firmware and copy them on the sdcard (The issue > >>>> should be fixed right ?) > >> > >> Here I also included the *.dtb files relevant to > >> RPi4B's (and analogous), resulting in the following > >> files being updated on the otherwise BETA4 media: > > > > I also did that, sorry if I wasn't clear. > > I've updated all the start* fixup* *dtb and bootcode.bin files on the > > sdcard as this is what would have been done if the ports was updated > > on the futur images that we provide. > > I just looked at your patch and it specified the version > before the updates to the firmware were released, likely > explaining our differing results: > > +TIMESTAMP = 1614679337 > +SHA256 (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) = bb34b5d0cb04d4ec2161954af78310825ee7f6a580f313af523ff50ddd71fa52 > +SIZE (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) = 192229572 > > > https://github.com/raspberrypi/firmware/commits/master shows . . . > > cb8cbb2 is: > > Commits on Feb 22, 2021 > kernel: Bump to 5.10.17 > > > Then there are 2 more relevant updates . . . > > 7872272 is: > > Commits on Feb 24, 2021 > firmware: platform: vl805: Get BAR2 address from PCIe BAR2 registers > > (That is the one for fixing issue 1518 but it has another > issue that solidly needs a fix. See below.) > > > 5985247 is: > > Commits on Feb 25, 2021 > firmware: arm_loader: Return all borrowed DMA channels > > (Specifically DMA channel 6 is known to have been messed > up by the firmware.) > > > I used materials originally taken from 5985247 so we did > not match in what we tested. Crap, yes indeed, I first did this patch when I saw a commit with updated files but did not test at that time and didn't looked again later ... Well, I'll test this update and commit an update if that fixes things for me but this will still be my last update on this ports. Thanks for looking deeper ;) > >> # ls -Tldt /boot/msdos/* > >> -rwxr-xr-x 1 root wheel 49090 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-4-b.dtb > >> -rwxr-xr-x 1 root wheel 48794 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-400.dtb > >> -rwxr-xr-x 1 root wheel 49202 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-cm4.dtb > >> -rwxr-xr-x 1 root wheel 5448 Feb 27 03:24:28 2021 /boot/msdos/fixup4.dat > >> -rwxr-xr-x 1 root wheel 2228800 Feb 27 03:24:28 2021 /boot/msdos/start4.elf > >> . . . (others unchanged) . . . > >> > >> (That u-boot required the more modern *.dtb's was something > >> I knew from past list activity: the newer *.dtb's provide > >> something that u-boot uses to decide to handle the potential > >> lack of the eeprom for the xhci.) > > We did not match for start4.elf and fixup4.dat . The .dtb tested > was newer as well, but might not have made a difference given > those two mismatches. My notes over emphasize the *.dtb . > > >>>> 8/ Boot that and now you find that u-boot is failing in its synchronous > >>>> abort handler. > >>> > >> > >> With the *.dtb files included, boots fine and supports my USB SSD being > >> plugged in: > >> > >> ugen0.3: at usbus0 > >> umass0 on uhub0 > >> umass0: on usbus0 > >> umass0: SCSI over Bulk-Only; quirks = 0x0100 > >> umass0:0:0: Attached to scbus0 > >> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > >> da0: Fixed Direct Access SPC-4 SCSI device > >> da0: Serial Number 000000000011 > >> da0: 400.000MB/s transfers > >> da0: 228936MB (468862128 512 byte sectors) > >> da0: quirks=0x2 > >> . . . > >> root@generic:~ # gpart show > >> => 63 62333889 mmcsd0 MBR (30G) > >> 63 2016 - free - (1.0M) > >> 2079 102312 1 fat32lba [active] (50M) > >> 104391 62228537 2 freebsd (30G) > >> 62332928 1024 - free - (512K) > >> > >> => 0 62228537 mmcsd0s2 BSD (30G) > >> 0 57 - free - (29K) > >> 57 62228480 1 freebsd-ufs (30G) > >> > >> => 40 468862048 da0 GPT (224G) > >> 40 2008 - free - (1.0M) > >> 2048 413138944 1 freebsd-ufs (197G) > >> 413140992 9437184 2 freebsd-swap (4.5G) > >> 422578176 204800 3 efi (100M) > >> 422782976 46079112 - free - (22G) > >> > >> => 40 468862048 diskid/DISK-000000000011 GPT (224G) > >> 40 2008 - free - (1.0M) > >> 2048 413138944 1 freebsd-ufs (197G) > >> 413140992 9437184 2 freebsd-swap (4.5G) > >> 422578176 204800 3 efi (100M) > >> 422782976 46079112 - free - (22G) > >> . . . > >> root@generic:~ # mount -onoatime /dev/gpt/RPi4Broot /mnt > >> root@generic:~ # ls -Tld /mnt/* > >> -r--r--r-- 1 root wheel 6109 Jan 7 08:22:59 2021 /mnt/COPYRIGHT > >> drwxr-xr-x 2 root wheel 1024 Feb 9 21:52:22 2021 /mnt/bin > >> drwxr-xr-x 22 root wheel 1536 Mar 2 20:07:27 2021 /mnt/boot > >> dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/dev > >> -rw------- 1 root wheel 4096 Mar 2 20:07:27 2021 /mnt/entropy > >> drwxr-xr-x 27 root wheel 2560 Feb 9 21:53:45 2021 /mnt/etc > >> drwxr-xr-x 5 root wheel 2048 Feb 9 21:52:12 2021 /mnt/lib > >> drwxr-xr-x 3 root wheel 512 Feb 9 21:51:38 2021 /mnt/libexec > >> drwx------ 2 root wheel 512 Jul 25 04:28:53 2020 /mnt/lost+found > >> drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/media > >> drwxr-xr-x 2 root wheel 512 Sep 26 05:03:33 2020 /mnt/microsd_efi > >> drwxr-xr-x 2 root wheel 512 Mar 22 19:19:37 2020 /mnt/microsd_ufs > >> drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/mnt > >> drwxr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/net > >> dr-xr-xr-x 2 root wheel 512 Mar 30 12:25:14 2020 /mnt/proc > >> drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:12 2021 /mnt/rescue > >> -rw------- 1 root wheel 137380424 Aug 9 03:09:20 2020 /mnt/restoresymtable > >> drwxr-xr-x 21 root wheel 4608 Feb 27 21:40:06 2021 /mnt/root > >> drwxr-xr-x 2 root wheel 2560 Feb 9 21:52:30 2021 /mnt/sbin > >> lrwxr-xr-x 1 root wheel 11 May 2 02:22:54 2018 /mnt/sys -> usr/src/sys > >> drwxrwxrwt 61 root wheel 3584 Mar 2 20:07:26 2021 /mnt/tmp > >> drwxr-xr-x 2 root wheel 512 May 20 01:52:47 2020 /mnt/usb_efi > >> drwxr-xr-x 17 root wheel 512 Mar 30 12:25:13 2020 /mnt/usr > >> drwxr-xr-x 26 root wheel 512 Mar 2 19:48:16 2021 /mnt/var > >> drwxr-xr-x 3 root wheel 512 Sep 18 20:04:15 2018 /mnt/wrkdirs > > > > Ok well the fact that it works for your board and not mine confort me > > that there is some difference in boards and that it's hard to maintain > > this port for someone who doesn't really care about this platform tbh. > > Looks to me like file version differences, not necessarily board > differences in this case. > > >>> I use sysutils/u-boot-rpi4 with a patch for an issue that > >>> I've reported to the lists in the past, one that makes sure > >>> u-boot internally avoids the same pages that the kernel is > >>> told to avoid. (I'm still at "U-Boot 2020.10 (Dec 13 2020 - > >>> 08:04:27 +0000)" for such.) > >>> > >>> In this context I did not see a problem when I updated to the > >>> recently published start4.elf and fixup4.dat . The context is > >>> a RPi4B 8GiByte, USB-SSD based boot without a microsd card > >>> involved, based on the RPi4B bootloader eeprom content: > >>> > >>> RPi: BOOTLOADER release VERSION:c305221a DATE: Sep 3 2020 TIME: 13:11:46 > >>> > >>> Similarly, I've used https://github.com/pftf/RPi4 v1.24 that > >>> uses the published start4.elf and fixup4.dat files and have > >>> had no problems with the UEFI/ACPI based boot. > >>> > >>> I expect that this overall suggests a u-boot problem for (8) > >>> instead of a start4.elf / fixup4.dat problem. (But possibly > >>> a different vintage of RPi bootloader eeprom content?) > >> > >> Turns out to be a lack of *.dtb updates instead of u-boot > >> itself. > > I got that "turns out" wrong because I assumed that we had > a start4.elf and fixup4.dat match. I should have validated > the status at the time. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Mar 3 12:15:37 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 48CB9568D52 for ; Wed, 3 Mar 2021 12:15:37 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrCd440gfz3PKS for ; Wed, 3 Mar 2021 12:15:36 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-lf1-x132.google.com with SMTP id d3so36698103lfg.10 for ; Wed, 03 Mar 2021 04:15:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=BT2dE5/ESq0FlZH/Xhq+dafJgm/WVlF5mBki1qJMeUI=; b=H1qWVcg3sMUbJMyQbQWbzSJz8nrufeElDIO+A7KVQRX1gd0xHHHC6Q0QH9rLR9Syv7 Dt3b8bOQzN/F0ZoxqYEyNBfiWiiyTAnxb48tVxrS0ZJkexxD5SDtUPN6zm/y18F/RHet DgqSMTXNo52f7q/L147cDeCAuqRTN0k8Q2rdf2G4AmormxBxDBwE7/FlytxNEDDGSkrM 9r1BdRwtESDCdjvl+NQXekbHgqx4UmjcAMVZUZTI2b4lnD68rduz+6mNTrfvZpUYxz0v EgovhHviZNS/bJvlfChY5tnUxP7Uq2xacphjKZOIGbZdVdKXSqVY3/d4LUJCmy1SejA5 5x7g== X-Gm-Message-State: AOAM533JGCZwzNPDCA1cGC7DKXw8pxXVZy2rnzB0Y/+5nmIZ/B576yTs t68L0HlpWnuDoFC8gFjDVE9x826EkqZO/g== X-Google-Smtp-Source: ABdhPJzPAkZvrxSoiYdmxl0WMIHv1DPUsFEFtFE1zA4PnAXWeee1sManhW+jzz5keumx00qJT+qozA== X-Received: by 2002:adf:f3c2:: with SMTP id g2mr20796461wrp.300.1614773364159; Wed, 03 Mar 2021 04:09:24 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-154-245.46.114.pool.telefonica.de. [46.114.154.245]) by smtp.googlemail.com with ESMTPSA id j16sm7164164wmi.2.2021.03.03.04.09.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Mar 2021 04:09:23 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware Date: Wed, 3 Mar 2021 13:09:22 +0100 References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303091239.7bc66cfda6918215278c0899@bidouilliste.com> To: Emmanuel Vadot , Mark Millard , Stefan Parvu , freebsd-arm@freebsd.org In-Reply-To: <20210303091239.7bc66cfda6918215278c0899@bidouilliste.com> Message-Id: <27E93DAE-54FD-4ECA-B8FF-B5D1180D05E0@googlemail.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrCd440gfz3PKS X-Spamd-Bar: ++++++++ X-Spamd-Result: default: False [8.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; FREEMAIL_TO(0.00)[bidouilliste.com,yahoo.com,kronometrix.org,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.56)[subject]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::132:from]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.154.245:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.54)[0.536]; RECEIVED_SPAMHAUS_XBL(5.00)[46.114.154.245:received]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::132:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::132:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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: Wed, 03 Mar 2021 12:15:37 -0000 > Am 03.03.2021 um 09:12 schrieb Emmanuel Vadot : >=20 > On Tue, 2 Mar 2021 19:55:54 +0100 >=20 > Even if we find a version of the firmware files that works for every > RPI boards that all of our users have right now, we will need to = update > them when a new RPI boards is out. And with the Compute Module 4 being > out and a lot more carrier board being made than for the CM3 I expect = a > lot more firmware updates than before. >=20 Exactly, and where=E2=80=99s the problem ? There never was a firmware-problem which we couldn=E2=80=99t fix(or = identify) quickly=20 and adopt patches(or remove broken files) in : 1.: the firmware itself 2. in Rob`s & Mike`s drivers 3. in u-boot 4. for older models by eeprom-upgrade .. same for cm4, I would be willing to order one if things go better in=20= rpi-maintenance. And if I don=E2=80=99t order, the new maintainer , = whoever ,=20 will buy one and fix issues in one- day- fashion :-) That=E2=80=99s what Rob, Mike, me, Mark Millard & bug-reporters did and = it always worked. >> I could also offer a dtb-patch >=20 > Your earlier proposal was to commit into base a modified DTS based on > (I think) a decompiled version of the rpi-firmware DTB and put that in > place of the Linux mainline DTS (which is different) in the contrib > device-tree import tree. > This cannot work in the long time, if you don't see a problem I'm > soryr for you. >=20 If you would have had applied that patch ( in release of course, = regardless where it=E2=80=99s source-file is in the src-tree)=20 you wouldn=E2=80=99t have heard of any unfixed fw-issue since then. There is no mainline Linux in that sense, instead there are companies ,=20= projects and individuals who apply patches as needed. That=E2=80=99s common practice & that patch was based on the original by = Nicolas Saenz Julienne of Suse linux. It triggers an xhci-reset-function in u-boot, and who was the author of = the u-boot-patch? Right: the man from Suse linux. So give a shi* on any mainline... the mainline for you and us is = FreeBSD so we pick exactly the files/patches=20 we need for ourselves. That=E2=80=99s what your linux-mainline is doing, = OpenBSD, EDKII does it that way and absolutely everybody else is doing = that. You only have to know what exactly is going on in rpi-org, u-boot,=20= gnu, other BSDs and so on.=20 You can be sure you you will love your RPI again if you give the = port-maintenance to Crowston , Millard, Karels or whoever has the = background knowledge and passion to track what happens in rpi-world. Just buy a cm4 now, you will love it :-) Ha Ha , lol K. From owner-freebsd-arm@freebsd.org Wed Mar 3 12:26:41 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 60712568CFA for ; Wed, 3 Mar 2021 12:26:41 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrCss1jvTz3QsH for ; Wed, 3 Mar 2021 12:26:41 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32a.google.com with SMTP id o7-20020a05600c4fc7b029010a0247d5f0so2744247wmq.1 for ; Wed, 03 Mar 2021 04:26:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=NbQ7bKuZE7kVH/DztMAubx2ActhoxliNMSUM3l9usiE=; b=ayheqBznBHq8FgZLANNf6YkVGkhuTAkcy/QhYNeUUEWDQJGulzSHUuIIsEEkY9IgKs wRWFSysPEjI+YdY0tcPRahJs9fKoTWSivq1n78MK/rBySNE4E5hp4IphoJJR1RynynkD hF0og9rkPsRW8sRmGiiwDfgd91WKExOOw3tMudwviz8FNREpzBEKqScFDr/gnr+ypHpR CjzG/70FtJoSUc5BS0z17whXKZEMI6/N5bJN0MgKYVk6AAD5Kk0aNXdau+EnxQdafDUC XpuHCUYhnN53fxyzJyv/Bf9Vkrrshjp2KZAqcydTgD6g4ORFsTqxMn6PiQC2kY0qylpn Mzog== X-Gm-Message-State: AOAM533hdK8HF80rMKZBNNT55/8K/wWvMvh/PAk6YxYhPvBq2HlNGCTY cheX8J2xh23b3VPu0oQLepw= X-Google-Smtp-Source: ABdhPJy2rnl37PQF22IZBRJlgVbCe3N+24p2YMy3+61XsLrZhlWLA8HtetwSXiAnlL7ZwdbmcW678Q== X-Received: by 2002:a7b:cc85:: with SMTP id p5mr8998542wma.148.1614774399775; Wed, 03 Mar 2021 04:26:39 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-154-245.46.114.pool.telefonica.de. [46.114.154.245]) by smtp.googlemail.com with ESMTPSA id y62sm7837850wmy.9.2021.03.03.04.26.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Mar 2021 04:26:39 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] Date: Wed, 3 Mar 2021 13:26:38 +0100 References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> <20210303131212.482447d7581308f7393197a4@bidouilliste.com> To: Emmanuel Vadot , Mark Millard , freebsd-arm@freebsd.org In-Reply-To: <20210303131212.482447d7581308f7393197a4@bidouilliste.com> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrCss1jvTz3QsH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 12:26:41 -0000 > Am 03.03.2021 um 13:12 schrieb Emmanuel Vadot : >=20 > On Wed, 3 Mar 2021 04:00:32 -0800 > Mark Millard wrote: >=20 > Crap, yes indeed, I first did this patch when I saw a commit with > updated files but did not test at that time and didn't looked again > later ... > Well, I'll test this update and commit an update if that fixes things > for me but this will still be my last update on this ports. >=20 > Thanks for looking deeper ;) O.K., you didn=E2=80=99t look again( what is fatal when dealing with = rpi-issues) and if this is your last commit to RPI, simply give the job to deep-looker Mark Millard, he will look again and = again, for sure, 24/7 and with -j32 :-) Ha Ha=20 K.= From owner-freebsd-arm@freebsd.org Wed Mar 3 13:15:52 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 0B08256A5BA for ; Wed, 3 Mar 2021 13:15:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrDyb3pxXz3k05 for ; Wed, 3 Mar 2021 13:15:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id 8076D56A070; Wed, 3 Mar 2021 13:15:51 +0000 (UTC) Delivered-To: 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 7F0D156A152 for ; Wed, 3 Mar 2021 13:15:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-21.consmr.mail.ne1.yahoo.com (sonic303-21.consmr.mail.ne1.yahoo.com [66.163.188.147]) (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 4DrDyb1T0zz3jrt for ; Wed, 3 Mar 2021 13:15:50 +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=1614777348; bh=WXDXfY2ycKdHfGtJlpGiOu+h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u2d7rFr9tgTGxv9DBa_Wy9pKN5fBEJhHxhuF.jNF5dbD3GkLXbtok6DcQI5hOpmNvQKoNVM0 b52ZBJbJ68jajS.VPwuo.VnRZarEgPGzi9Ke3L58hV6mILkTvM3M2Hp6iqC0nwhPm8.AZ.bRXObU mo1wZF1pv1inl4cuvHbtZWGeYYxLyQdIsSpP50.MG3ij913XP98BYPv_rLfoV7ZwX_9_h5K53aL6 P.BE68sQejY.85wnX5ENR8tMOYWYm4Fas.mLScP_5911h4UygIt1cAqurR_v.NJDNu2QAIe6a05o X9TB5lLdDRV05HaYceLSWrFPt9rbwybLDJ6qrzCO6NWVVR7.gHXJJeqMCLBXpZlYh7rRiHQJiQHQ taZ2Q2MKxFdJ1RlMAxtDh1IHfIfMqSIfydRkvelLSZtSGqY1fUzGEETnLl5ixWMLgRZZ_dfB5Gsg UiyCyIERJqXLylQnmY7SNHj5anTG.aqL.yDyKsAJkq6gF3XxpA47VGJvgrlCD21MbRXCCwbq8vEA TqRi9sRF.wsXPgX2iyX6bsAHFDEkynsvfbXab8OKFIIHmBPNpXCJIuzwfg5otaAeoO0b.Qi3CwXQ ybOCX8GS1iDTAxwFnJ_59E60SvCWlGR8lQZYPUZzsZw9t5K0YhP6tR8dn3lgarh5nWCbIFa6LW5c rWDNMPU6CnAA1FQs78RYVgcjMjjd700DlEg8tSbnI5qUqvooE2auZwe1AcGSBh6pqlUzfR372eZw J3p7skPEx1tloa3fCLE.wHePJvsFBhdb1DK7RJww7EnFKeCw8hOEKIaOvB.LWwuMuCytLLT9b5Nv 77nBLC722dQOM82RfXghDoE0yyulTeZ6bd_q8VkJ26Lds4KW3aBL5E6ac3MzBW.ETavj3tFbTtH8 dyRIq6h5oME7ZvRiu0M5ErofXfx5LZY3o2_itgTVFVVTQBaFjQHfMKDhJ X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Wed, 3 Mar 2021 13:15:48 +0000 Received: by smtp415.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6cf83fdf76666fae6a4facf4755409f2; Wed, 03 Mar 2021 13:15:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] From: Mark Millard In-Reply-To: <20210303131212.482447d7581308f7393197a4@bidouilliste.com> Date: Wed, 3 Mar 2021 05:15:44 -0800 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <2AE81A2C-61FD-4A19-AF6F-B8D22DEAA34E@yahoo.com> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> <20210303131212.482447d7581308f7393197a4@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrDyb1T0zz3jrt X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 13:15:52 -0000 On 2021-Mar-3, at 04:12, Emmanuel Vadot = wrote: > On Wed, 3 Mar 2021 04:00:32 -0800 > Mark Millard wrote: >=20 >>=20 >>=20 >> On 2021-Mar-3, at 00:05, Emmanuel Vadot = wrote: >>=20 >>> On Tue, 2 Mar 2021 12:33:29 -0800 >>> Mark Millard wrote: >>>=20 >>>>=20 >>>>=20 >>>>> On 2021-Mar-2, at 10:50, Mark Millard = wrote: >>>>>=20 >>>>=20 >>>> So I tried to start an approximate replicate-problems sequence, >>>> documented below. >>>>=20 >>>>=20 >>>>> On 2021-Mar-2, at 03:20, Emmanuel Vadot = wrote: >>>>>=20 >>>>>=20 >>>>>> Over the past years I've handled the update of the >>>>>> sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. >>>>>> For that I've bought a lot of different RPI to ensure that we = could >>>>>> boot on all different models that the RPI Foundation folks = deliver to >>>>>> us. >>>>>=20 >>>>> Thanks for the past effort of supporting the RPi*'s. >>>>> I can easily understand the frustration. >>>>>=20 >>>>> Do not take the below as a request for any action on >>>>> your part. They are just notes about the current >>>>> context as seen from my somewhat different environment. >>>>>=20 >>>>>> . . . >>>>>>=20 >>>>>> 1/ Take the latest BETA4 image for RPI and burn on your sdcard >>>>>> 2/ Boot with or without hdmi screen. >>>>>> 3/ You will see that u-boot fails to init usb : >>>>>> starting USB... >>>>>> Bus xhci_pci: probe failed, error -110 >>>>>> No working controllers found >>>>=20 >>>> I made a FreeBSD-13.0-BETA4-arm64-aarch64-RPI.img on >>>> a microsd card and replicated this. >>>>=20 >>>>>> If you drop to u-boot prompt and do 'usb list' it will say that = the >>>>>> usb system is stopped and you can of course not start it without = having >>>>>> the above error. >>>>>> 4/ If you boot to FreeBSD everything that we support seems to = work >>>>>> except for usb (of course). >>>>>> 5/ Take the two files proposed as a fix from upstream >>>>>> = (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-77935532= 0) >>>>>> and copy them to the sdcard. >>>>=20 >>>> I did not try the issue 1518 files: Skipping (5) and (6). >>>>=20 >>>>>> 6/ Boot that and you will see that usb is working again in u-boot = and >>>>>> in FreeBSD, perfect. >>>>>> 7/ Update the ports using [1] or download the files from >>>>>> github.com/raspberrypi/firmware and copy them on the sdcard (The = issue >>>>>> should be fixed right ?) >>>>=20 >>>> Here I also included the *.dtb files relevant to >>>> RPi4B's (and analogous), resulting in the following >>>> files being updated on the otherwise BETA4 media: >>>=20 >>> I also did that, sorry if I wasn't clear. >>> I've updated all the start* fixup* *dtb and bootcode.bin files on = the >>> sdcard as this is what would have been done if the ports was updated >>> on the futur images that we provide. >>=20 >> I just looked at your patch and it specified the version >> before the updates to the firmware were released, likely >> explaining our differing results: >>=20 >> +TIMESTAMP =3D 1614679337 >> +SHA256 = (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) =3D = bb34b5d0cb04d4ec2161954af78310825ee7f6a580f313af523ff50ddd71fa52 >> +SIZE (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) = =3D 192229572 >>=20 >>=20 >> https://github.com/raspberrypi/firmware/commits/master shows . . . >>=20 >> cb8cbb2 is: >>=20 >> Commits on Feb 22, 2021 >> kernel: Bump to 5.10.17 >>=20 >>=20 >> Then there are 2 more relevant updates . . . >>=20 >> 7872272 is: >>=20 >> Commits on Feb 24, 2021 >> firmware: platform: vl805: Get BAR2 address from PCIe BAR2 registers >>=20 >> (That is the one for fixing issue 1518 but it has another >> issue that solidly needs a fix. See below.) >>=20 >>=20 >> 5985247 is: >>=20 >> Commits on Feb 25, 2021 >> firmware: arm_loader: Return all borrowed DMA channels >>=20 >> (Specifically DMA channel 6 is known to have been messed >> up by the firmware.) >>=20 >>=20 >> I used materials originally taken from 5985247 so we did >> not match in what we tested. >=20 > Crap, yes indeed, I first did this patch when I saw a commit with > updated files but did not test at that time and didn't looked again > later ... > Well, I'll test this update and commit an update if that fixes things > for me but this will still be my last update on this ports. >=20 > Thanks for looking deeper ;) You are welcome. I'll note that I did not use a U-boot update: that part of 13.0-BETA4 was left as-is in my testing. (This could end up as another source of variations in behavior.) >>>> # ls -Tldt /boot/msdos/* >>>> -rwxr-xr-x 1 root wheel 49090 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-4-b.dtb >>>> -rwxr-xr-x 1 root wheel 48794 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-400.dtb >>>> -rwxr-xr-x 1 root wheel 49202 Feb 27 03:24:30 2021 = /boot/msdos/bcm2711-rpi-cm4.dtb >>>> -rwxr-xr-x 1 root wheel 5448 Feb 27 03:24:28 2021 = /boot/msdos/fixup4.dat >>>> -rwxr-xr-x 1 root wheel 2228800 Feb 27 03:24:28 2021 = /boot/msdos/start4.elf >>>> . . . (others unchanged) . . . >>>>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Mar 3 13:17:26 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 4586956A3B6 for ; Wed, 3 Mar 2021 13:17:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrF0P6zHZz3kHL for ; Wed, 3 Mar 2021 13:17:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id EF2E556A3B5; Wed, 3 Mar 2021 13:17:25 +0000 (UTC) Delivered-To: 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 EEF4356A07C for ; Wed, 3 Mar 2021 13:17:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrF0P4Tv1z3kHK for ; Wed, 3 Mar 2021 13:17:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614777443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ylwG+sINdKRtHabq7xe0LE2w+eSDxuzNuI5D5mT02do=; b=Bpy+kyjSkXy/KLh/ssPp1fp7/6j7QkN0HTaf+maHcSbgufh5hRqocxJGeZitB4R5GB3zwa ntb3i1Y5zkPxUHqkk2TF+Zrm/p3R8t4QE89G/GoORS1XalQqltO+p6Rc5mzpeC+AIO4fTC 7UXyYsKkWG8QbXbErjX5zAv61HUvwjQ= Received: from skull.home.blih.net (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 41e284d7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 3 Mar 2021 13:17:23 +0000 (UTC) Date: Wed, 3 Mar 2021 14:17:22 +0100 From: Emmanuel Vadot To: Stefan Parvu Cc: "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware Message-Id: <20210303141722.c039bef0c50c6068779cedfe@bidouilliste.com> In-Reply-To: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <20210303114724.81797c63767d6b09f5f70f59@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DrF0P4Tv1z3kHK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Wed, 03 Mar 2021 13:17:26 -0000 On Wed, 3 Mar 2021 13:29:52 +0200 Stefan Parvu wrote: > > > > Review what ? > > This: https://www.freebsd.org/platforms/ > > ARM is tier 2 platform. But this thread doesn't have anything to do with tier platforms. > > > There is a lot of other arm64 platforms. > > None are Tier 1. Or at least this is what Im seeing. Correct me if Im wrong. At least in Kronometrix, we will need a stable Tier 1 platform to continue building our IoT gateway on FreeBSD. arm64 (as an arch) will be tier-1 for 13.0 if I understood correctly. But that doesn't mean that RPI or any Allwinner or Rockchip boards will be defacto tier-1. Each board, or more exactly each SoC/SoC family, still needs to be maintain and correctly supported. > > Stefan -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Mar 3 13:21:34 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 D1B9F56A469 for ; Wed, 3 Mar 2021 13:21:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrF5B5WxYz3kcb for ; Wed, 3 Mar 2021 13:21:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B107022CA for ; Wed, 3 Mar 2021 13:21:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 123DLYPY058964 for ; Wed, 3 Mar 2021 13:21:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 123DLYft058963 for freebsd-arm@FreeBSD.org; Wed, 3 Mar 2021 13:21:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 253981] USB keyboard doesn't work on RaspberryPi 4 Date: Wed, 03 Mar 2021 13:21:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nktice@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 03 Mar 2021 13:21:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253981 Bug ID: 253981 Summary: USB keyboard doesn't work on RaspberryPi 4 Product: Base System Version: 13.0-STABLE Hardware: arm OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: nktice@gmail.com In the following releases, the system boots up to prompt enter user - Alas the keyboard, doesn't have any lights on, and isn't working.=20 [ Note the same keyboard, works just fine under Linux, and other OS. ]=20 FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210218-fa3bd463cee-256776.img.xz= =20=20=20=20=20=20 FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210225-bf667f282a7-256946.img.xz --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Mar 3 13:58: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 DB17D56B887 for ; Wed, 3 Mar 2021 13:58:54 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrFwG0Jxzz3n4h for ; Wed, 3 Mar 2021 13:58:53 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x334.google.com with SMTP id w203-20020a1c49d40000b029010c706d0642so2907810wma.0 for ; Wed, 03 Mar 2021 05:58:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=dvxq/gDPcUznuG0g9IbR6nFoz9hWSDjEXFeIuXaLy+o=; b=WV2H+ihM3SZdsATKoDHL3JpY+bT32ZkafggJwaZp2y+PU1Zdo1F8MF/MqPc9hhVxbW ptgqamlJXlRgBJ4uCeaqdse3FNJ+OkwyhB+47n7pcBHbTq0Z8J1o6xP0aILhkA7f9Pdr oEMOBhksxGOAhBrKM+OyVHitOxM/WlNXCYZuZw/7TikroVpzKt8iusPEJ6nNna79jZ94 4K4JXQ3XOtHSnZlD+ySo2r77PK2ZmJi0WJPMIqjstzdXpeEd7sYNDwYnft5hAWokOmsU qzhTsAGDEWjHjwmhMawx/w0m+bc0FlirXp0VmomAKR10vUXtz87D/N0vYGNc2P4KRWzM YmDg== X-Gm-Message-State: AOAM533UywAl62utoy6KIJIX7doQdERDGaxsbDquYRwAwnd+MhT9Cr+B TZsDSGusSZusTw5T3Dy7/mfypwS+X8+GKQ== X-Google-Smtp-Source: ABdhPJwWhxZbWFFrJtnV8I0huuHEoaIPXRHYWFX+eTC6wkRyLJ1bNQaZh2Spm2Nw8aAESW2WfNdMRQ== X-Received: by 2002:a1c:32c4:: with SMTP id y187mr9290282wmy.120.1614779932380; Wed, 03 Mar 2021 05:58:52 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-154-245.46.114.pool.telefonica.de. [46.114.154.245]) by smtp.googlemail.com with ESMTPSA id d85sm6256034wmd.15.2021.03.03.05.58.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Mar 2021 05:58:51 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware Date: Wed, 3 Mar 2021 14:58:49 +0100 References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <20210303114724.81797c63767d6b09f5f70f59@bidouilliste.com> <20210303141722.c039bef0c50c6068779cedfe@bidouilliste.com> To: freebsd-arm@freebsd.org In-Reply-To: <20210303141722.c039bef0c50c6068779cedfe@bidouilliste.com> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrFwG0Jxzz3n4h X-Spamd-Bar: +++++++ X-Spamd-Result: default: False [7.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,meta]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.56)[subject]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.154.245:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[46.114.154.245:received]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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: Wed, 03 Mar 2021 13:58:54 -0000 lol, :-) , 2 minutes ago the next bug-report came in ( 253981 ) : that issue was fixed half a year ago by fw-patch & in the pcie-driver. new port maintainer Mark Millard will fix the msdos-partition TODAY in = release ;-) K.= From owner-freebsd-arm@freebsd.org Wed Mar 3 16:10:08 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 0004256ED36 for ; Wed, 3 Mar 2021 16:10:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrJqg6Vydz4T07 for ; Wed, 3 Mar 2021 16:10:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE5ED4A2A for ; Wed, 3 Mar 2021 16:10:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 123GA7fU042505 for ; Wed, 3 Mar 2021 16:10:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 123GA7Vd042504 for freebsd-arm@FreeBSD.org; Wed, 3 Mar 2021 16:10:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 253983] RPI4 boot fails when geekworm x829 is attached over USB Date: Wed, 03 Mar 2021 16:10:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eimar.koort@tutamail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 03 Mar 2021 16:10:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253983 Bug ID: 253983 Summary: RPI4 boot fails when geekworm x829 is attached over USB Product: Base System Version: 13.0-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: eimar.koort@tutamail.com Created attachment 222940 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222940&action= =3Dedit RPI4 boot failure with attached Geekworm X829 module Hi, I'm having a problem with RPI4 booting from SD-card while 2 HDD-s are attac= hed over USB bridge from Geekworkm X829 (1) module. When USB bridge is present during boot, then it skips SD card for unknown reason and fails (see attach= ed image). When i remove the USB bridge (2), then RPI boots fine. SD card is working properly.=20 All worked with snapshot installed around october 2020. The problem appeare= d, when installed fresh 13-BETA1.=20 "Screenshot" is taken from 13-BETA (sorry about screenshot quality). Is there some way to manually force to boot from sd card? Links: 1) https://raspberrypiwiki.com/index.php/X829 2) https://raspberrypiwiki.com/images/thumb/e/eb/X829-IMG-8042.jpg/300px-X829-= IMG-8042.jpg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Mar 3 21:48:25 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 0218E551F3D for ; Wed, 3 Mar 2021 21:48:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DrSL05l2Fz3N6w for ; Wed, 3 Mar 2021 21:48:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id C4FB6551F3C; Wed, 3 Mar 2021 21:48:24 +0000 (UTC) Delivered-To: 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 C4BF5551F3B for ; Wed, 3 Mar 2021 21:48:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-9.consmr.mail.ne1.yahoo.com (sonic313-9.consmr.mail.ne1.yahoo.com [66.163.185.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 4DrSKz4HB8z3N2t for ; Wed, 3 Mar 2021 21:48:23 +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=1614808102; bh=+CjNr3DaagJ+rIIUhCcEcht2YcHQ2RkPlcvwKMagxfo=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=XqCw3w2VI80YHUTZag5S4hPAnEIVyeVqV9q9L4gE5xHA6KN/vMG8v3f6axuFCBcQ3I9JFovU0wHr0CSe7Zt41egHGURKBvatHKRvpgwby0otQSs5QJHNwaG8/cgqqIjVIg73pwfaVmVYb2QIxWaf57eTdD93ZUq6KAajWhMV8hX1ryH+VOpLhqSvaYMtTpu/k2+TrzeCJXRDUSXzh1Dzz4v8o5MXO7a0mhb1+MyyZkg7sZyo08L2+bIR8100H+zprRf8Uce1ygQT8zkVk84ZTOyZwnHz+WhPcZHoXKlKlkjlP02s2o9GovprtRnUdxyn3ZSCz/LhSnc43qWYkeEg/Q== X-YMail-OSG: L7_gJVEVM1n.sdsNUB8hnFi1vc0TzwBaX_.sjZqY6G2DT94MaLksS4qw9rKLDIe gfSFq5HRSnG7QWlwCFQQhTeSPeySDKt7EnLnvnUnN605l9r58zJffwnngh_fDOhokUUfGmlEgmo4 .F_.T_YvT6LUsi7.L0jYIU9EU9yVUfEtD6AgJe9VuXT51eTp5YqG657BZoaSM2v3.BGQc5UindAp 5f.aVRIZ5lVY16HA9TmwcMeKTE8J8kG6kjp4QVtz8x4u5gjHhmV2Ra6dpE9wNbi5q5t0CfHV9QG. 2593R3T3ZALoElq0XJsVrjJDlnO0qKlFVCGyU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3CL1LRFa gXqVgdskOtvwLqvPcNG5XPXYRrbKPP5DuF3P.gdvnVx7qOCpGJ4u5_wDFsr_n.wdhIHnsFR_Rok1 CrpRgXkvCiCbETWJPBWxUPLYHdoKa54rRH6g1CVkdHkx0YWlHZvLqywg9e1bGKgXxkaD7awanuEa Pm4YiZVIlXFVFWLwFe1ri7I4O9jtLJh1gknF3QJIucah4K7GBzbg0GF_eyg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Wed, 3 Mar 2021 21:48:22 +0000 Received: by smtp415.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 45964a7b7d07a051b80361668aa222e9; Wed, 03 Mar 2021 21:48:18 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] From: Mark Millard In-Reply-To: <2AE81A2C-61FD-4A19-AF6F-B8D22DEAA34E@yahoo.com> Date: Wed, 3 Mar 2021 13:48:16 -0800 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <3853C942-B4BF-4711-A6DA-EB2E9E3F4CA4@yahoo.com> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> <20210303131212.482447d7581308f7393197a4@bidouilliste.com> <2AE81A2C-61FD-4A19-AF6F-B8D22DEAA34E@yahoo.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrSKz4HB8z3N2t X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.14 / 15.00]; RBL_SENDERSCORE_FAIL(0.00)[66.163.185.32:server fail]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.64)[-0.640]; 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:36646, ipnet:66.163.184.0/21, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.163.185.32:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[66.163.185.32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.185.32:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.185.32:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[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: Wed, 03 Mar 2021 21:48:25 -0000 https://github.com/raspberrypi/firmware now shows a 1.20210303 tag that should get the updated materials. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Thu Mar 4 10:25:34 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 AABEE56B4AC for ; Thu, 4 Mar 2021 10:25:34 +0000 (UTC) (envelope-from Chin-ting.Chu@senao.com) Received: from snspam.senao.com (mail.senao.com [60.248.132.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Drn7d3LPnz3GNy for ; Thu, 4 Mar 2021 10:25:33 +0000 (UTC) (envelope-from Chin-ting.Chu@senao.com) Received: from webmail.senao.com (snex02.senao.com [10.0.200.179]) by snspam.senao.com with ESMTP id 124AP4Ct069579; Thu, 4 Mar 2021 18:25:04 +0800 (GMT-8) (envelope-from Chin-ting.Chu@senao.com) Received: from SNEX01.senao.com ([fe80::8559:4c2a:279d:4166]) by snex02.senao.com ([fe80::48da:9d3d:6f19:251%18]) with mapi id 14.03.0487.000; Thu, 4 Mar 2021 18:25:00 +0800 From: To: , CC: , , Subject: Re: Armada 7k8k & U-Boot/Device Tree Thread-Topic: Armada 7k8k & U-Boot/Device Tree Thread-Index: AdcQ4KAidciHGjEFQmKqndmktBMNVw== Date: Thu, 4 Mar 2021 10:24:59 +0000 Message-ID: <571973EA3A0B364497C86F5A2D6BFB81012607AD13@snex01.senao.com> References: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.174.138] x-tm-as-product-ver: SMEX-10.0.0.4152-7.000.1014-25942.007 x-tm-as-result: No--9.919700-5.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: snspam.senao.com 124AP4Ct069579 X-Rspamd-Queue-Id: 4Drn7d3LPnz3GNy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of Chin-ting.Chu@senao.com designates 60.248.132.178 as permitted sender) smtp.mailfrom=Chin-ting.Chu@senao.com X-Spamd-Result: default: False [-1.65 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[60.248.132.178:from]; HAS_XOIP(0.00)[]; DMARC_NA(0.00)[senao.com]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[snspam.senao.com]; RCPT_COUNT_FIVE(0.00)[5]; SPAMHAUS_ZRD(0.00)[60.248.132.178:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.80)[-0.796]; MIME_BASE64_TEXT(0.10)[]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[60.248.132.178:from]; NEURAL_HAM_MEDIUM(-0.96)[-0.958]; HFILTER_HELO_NORES_A_OR_MX(0.30)[snspam.senao.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3462, ipnet:60.248.0.0/16, country:TW]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Mailman-Approved-At: Thu, 04 Mar 2021 10:37:25 +0000 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: Thu, 04 Mar 2021 10:25:34 -0000 T24gMjAyMS8wMS8yNyDpgLHkuIkg5LiK5Y2IIDAzOjAzLCBNYXJjaW4gV29qdGFzIHdyb3RlOgo+ IEhpLAo+Cj4gSSBzdHJ1Z2dsZWQgYSBiaXQ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MgY29tbXVuaWNhdGlv bi4NCg== From owner-freebsd-arm@freebsd.org Thu Mar 4 17:49:24 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 87E815531CA for ; Thu, 4 Mar 2021 17:49:24 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dryzl2HX5z4byj for ; Thu, 4 Mar 2021 17:49:23 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qt1-x833.google.com with SMTP id b3so21021921qtj.10 for ; Thu, 04 Mar 2021 09:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=31Q8JIAqnd8mn1MxO+UljUGkqKPh3CxilUIL3hzUklw=; b=QshI1uGNmh8eEhCffiXp/W0NmhTWnHDVcDEzBvdODPXXsZ84c42wNXl3UmGA6H8Kon JhY6LIZmBpsBnfiW3m3zQ6aN+Aq4Y4OymDw3KjN8tB3aRKfqkm9F79WMOQ9r8+73lQTB 8cdl8IifpEJpiVs8xKGN3aUW8U24Zm1N9afEfV2iYCHb6ZaIUXoTsUGm2QEv8ljuamiz YxVCOmT7A+wjsSxpoqqgZYs+J/iLP72TqyTtbRnhyVqxRPbcvN9VqtVouuMNHq5Av5H1 4mHWYuTRa/ihsP/wWLDhwbb7n5GtOxOt2Og4EJoP81uwbQUHEkPIqPMgTjETHPZh0euR 4/8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=31Q8JIAqnd8mn1MxO+UljUGkqKPh3CxilUIL3hzUklw=; b=qkdbB3Ovgv6xM6m10gzluoY+ydQXQO6aamYnMagVlHMaP4KSlJU/oE962CnV5a5+YF eut2as+3++HwIKacJExbn+IXS6XY1Uq8m9eK8JXFD70oGMXLSjupsZ2ojz6yfrhqHpbs nv5Ctdi8/CTSATjhTQtbMPjxxEgbfqDcDsXlOQYuFY2u8ROK2Utwv7c2aFX/+CcuajWG XNiZY1kzdaMlkW8GwZ/DUfRwI+bMnFSalqLrH4i/XkQHlp1hOCmnn/AxcUabWDKF3IXt WcQgAywUgocb799ymMDSqH6tP+bORWt8WO5fQ5ZTKXqZKQl/LFoY6qP63l24nVGQ5NSU aCsA== X-Gm-Message-State: AOAM531V0Eyadvo8bTr/oIn/mZBmYizNr0eHut1Lmopyr7J1VcjPKfhD U4uptf4yxCAtSZjon0mcclRyGt8HdFg3nSBt4qfnR9i9wYg/ozQa X-Google-Smtp-Source: ABdhPJxx1bPJNQq7xgw8VwiiUQ1vBIuCEqilCWRZeFt6GjjXGuxlFfQcmtVDywy27hyjDlSK0MwnddBDVOo58H94Hvs= X-Received: by 2002:aed:2c85:: with SMTP id g5mr5056232qtd.306.1614880162357; Thu, 04 Mar 2021 09:49:22 -0800 (PST) MIME-Version: 1.0 References: <5d4d31c9-4d97-3de8-f50f-a50acd5c5cdf@gmail.com> In-Reply-To: <5d4d31c9-4d97-3de8-f50f-a50acd5c5cdf@gmail.com> From: Marcin Wojtas Date: Thu, 4 Mar 2021 18:49:10 +0100 Message-ID: Subject: Re: Armada 7k8k & U-Boot/Device Tree To: chinting Cc: freebsd-arm , Zyta Szpak , =?UTF-8?Q?Kornel_Dul=C4=99ba?= , Grzegorz Jaszczyk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Dryzl2HX5z4byj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=QshI1uGN; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::833) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-1.80 / 15.00]; RCPT_COUNT_FIVE(0.00)[5]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::833:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[mw]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[semihalf.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::833:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::833:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; SUSPICIOUS_RECIPS(1.50)[] 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: Thu, 04 Mar 2021 17:49:24 -0000 czw., 4 mar 2021 o 11:17 chinting napisa=C5=82(a= ): > > On 2021/01/27 =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=88 03:03, Marcin Wojtas = wrote: > > Hi, > > > > I struggled a bit with Armada 7k8k with FreeBSD and U-Boot (more > > general - FreeBSD and device tree) - the experience is not pleasant, > > but unfortunately in this activity switching to EDK2 firmware is not > > an opiton. > > > > On top of HEAD I see following issues (checked on MacchiatoBin, Armada > > 7040 DB, Armada 8040 DB and a custom board). Device tree used is > > aligned with Linux v5.10's. > > - PCIE init hang on MacchiatoBin (it has to be disabled to proceed) > > - CP110 interfaces do cannot operate - the devices such as SD/MMC and > > USB time out. > > KDB shows that no IRQs are received in GIC via ICU-GICP secondary contr= ollers. > > > > Does anyone use MacchiatoBin with U-Boot (and/or Device Tree) and see > > similar issues? > > Yes, the same issues here. I use custom board based on Armada 7K. > These is no Common PHY driver, so the related registers is still > configured by u-boot. This is expected, but not a blocker in any way. > > - SD/MMC on AP bus is working fine. I mount the rootfs on MMC. > - Some I2C devices on SB busis good. > - PCIE controller can be attached, not freezed. But no wifi driver to > test my device. > - USB on SB bus is broken too. Today's main branch comprises a number of GPIO driver improvements that could likely cause boot hangs on certain bords. In order to enable interrupts for SB devices a ICU/GICP rework is needed. Its first working version can be found here: https://reviews.freebsd.org/D28803 however it has to be significantly modified before merge. > > > Was there a pair of FreeBSD - device tree revisions that fully worked? > I modify device tree from the Marvell Linux v4.14.64 > > With above patch whatever is applied on top of the main's sys/contrib/device-tree/src/arm64/marvell/ tree should easily work. Best regards, Marcin From owner-freebsd-arm@freebsd.org Fri Mar 5 10:38:49 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 C602955654A for ; Fri, 5 Mar 2021 10:38:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DsPNT4DZTz4TWk for ; Fri, 5 Mar 2021 10:38:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.nyi.freebsd.org (Postfix) id 912B95564C5; Fri, 5 Mar 2021 10:38:49 +0000 (UTC) Delivered-To: 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 90EC35565B1 for ; Fri, 5 Mar 2021 10:38:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsPNS0d47z4TFd for ; Fri, 5 Mar 2021 10:38:47 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1614940725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xhDPl5ms59xeDYKmBo7MRzxZ/i+pnrDGkChgxxfvkRE=; b=tNAW6r5aOaStUFRIkXctkRrG/wXOpmVUeojNONygUoUaDh7KOkEzbLUptr+G2CAZrWKB6X gLMtIlbkD3BpqMpwCHl8fA2wmNVlMHtFZZj6V1oWDqidwZ9zh3aatwPKBiDzQ8W29Rm06g aPcktfcq6fTDRvmbhHr3G8koJqFQ2XA= Received: from skull.home.blih.net (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id e8191181 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 5 Mar 2021 10:38:45 +0000 (UTC) Date: Fri, 5 Mar 2021 11:38:45 +0100 From: Emmanuel Vadot To: Mark Millard Cc: "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] Message-Id: <20210305113845.7d648df842e12a7c6f39442e@bidouilliste.com> In-Reply-To: <2AE81A2C-61FD-4A19-AF6F-B8D22DEAA34E@yahoo.com> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> <20210303131212.482447d7581308f7393197a4@bidouilliste.com> <2AE81A2C-61FD-4A19-AF6F-B8D22DEAA34E@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DsPNS0d47z4TFd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=tNAW6r5a; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[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: Fri, 05 Mar 2021 10:38:49 -0000 On Wed, 3 Mar 2021 05:15:44 -0800 Mark Millard wrote: > > > On 2021-Mar-3, at 04:12, Emmanuel Vadot wrote: > > > On Wed, 3 Mar 2021 04:00:32 -0800 > > Mark Millard wrote: > > > >> > >> > >> On 2021-Mar-3, at 00:05, Emmanuel Vadot wrote: > >> > >>> On Tue, 2 Mar 2021 12:33:29 -0800 > >>> Mark Millard wrote: > >>> > >>>> > >>>> > >>>>> On 2021-Mar-2, at 10:50, Mark Millard wrote: > >>>>> > >>>> > >>>> So I tried to start an approximate replicate-problems sequence, > >>>> documented below. > >>>> > >>>> > >>>>> On 2021-Mar-2, at 03:20, Emmanuel Vadot wrote: > >>>>> > >>>>> > >>>>>> Over the past years I've handled the update of the > >>>>>> sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. > >>>>>> For that I've bought a lot of different RPI to ensure that we could > >>>>>> boot on all different models that the RPI Foundation folks deliver to > >>>>>> us. > >>>>> > >>>>> Thanks for the past effort of supporting the RPi*'s. > >>>>> I can easily understand the frustration. > >>>>> > >>>>> Do not take the below as a request for any action on > >>>>> your part. They are just notes about the current > >>>>> context as seen from my somewhat different environment. > >>>>> > >>>>>> . . . > >>>>>> > >>>>>> 1/ Take the latest BETA4 image for RPI and burn on your sdcard > >>>>>> 2/ Boot with or without hdmi screen. > >>>>>> 3/ You will see that u-boot fails to init usb : > >>>>>> starting USB... > >>>>>> Bus xhci_pci: probe failed, error -110 > >>>>>> No working controllers found > >>>> > >>>> I made a FreeBSD-13.0-BETA4-arm64-aarch64-RPI.img on > >>>> a microsd card and replicated this. > >>>> > >>>>>> If you drop to u-boot prompt and do 'usb list' it will say that the > >>>>>> usb system is stopped and you can of course not start it without having > >>>>>> the above error. > >>>>>> 4/ If you boot to FreeBSD everything that we support seems to work > >>>>>> except for usb (of course). > >>>>>> 5/ Take the two files proposed as a fix from upstream > >>>>>> (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-779355320) > >>>>>> and copy them to the sdcard. > >>>> > >>>> I did not try the issue 1518 files: Skipping (5) and (6). > >>>> > >>>>>> 6/ Boot that and you will see that usb is working again in u-boot and > >>>>>> in FreeBSD, perfect. > >>>>>> 7/ Update the ports using [1] or download the files from > >>>>>> github.com/raspberrypi/firmware and copy them on the sdcard (The issue > >>>>>> should be fixed right ?) > >>>> > >>>> Here I also included the *.dtb files relevant to > >>>> RPi4B's (and analogous), resulting in the following > >>>> files being updated on the otherwise BETA4 media: > >>> > >>> I also did that, sorry if I wasn't clear. > >>> I've updated all the start* fixup* *dtb and bootcode.bin files on the > >>> sdcard as this is what would have been done if the ports was updated > >>> on the futur images that we provide. > >> > >> I just looked at your patch and it specified the version > >> before the updates to the firmware were released, likely > >> explaining our differing results: > >> > >> +TIMESTAMP = 1614679337 > >> +SHA256 (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) = bb34b5d0cb04d4ec2161954af78310825ee7f6a580f313af523ff50ddd71fa52 > >> +SIZE (raspberrypi-firmware-1.20210222.g20210222-cb8cbb2_GH0.tar.gz) = 192229572 > >> > >> > >> https://github.com/raspberrypi/firmware/commits/master shows . . . > >> > >> cb8cbb2 is: > >> > >> Commits on Feb 22, 2021 > >> kernel: Bump to 5.10.17 > >> > >> > >> Then there are 2 more relevant updates . . . > >> > >> 7872272 is: > >> > >> Commits on Feb 24, 2021 > >> firmware: platform: vl805: Get BAR2 address from PCIe BAR2 registers > >> > >> (That is the one for fixing issue 1518 but it has another > >> issue that solidly needs a fix. See below.) > >> > >> > >> 5985247 is: > >> > >> Commits on Feb 25, 2021 > >> firmware: arm_loader: Return all borrowed DMA channels > >> > >> (Specifically DMA channel 6 is known to have been messed > >> up by the firmware.) > >> > >> > >> I used materials originally taken from 5985247 so we did > >> not match in what we tested. > > > > Crap, yes indeed, I first did this patch when I saw a commit with > > updated files but did not test at that time and didn't looked again > > later ... > > Well, I'll test this update and commit an update if that fixes things > > for me but this will still be my last update on this ports. > > > > Thanks for looking deeper ;) > > You are welcome. > > I'll note that I did not use a U-boot update: that part of > 13.0-BETA4 was left as-is in my testing. (This could end up > as another source of variations in behavior.) > > >>>> # ls -Tldt /boot/msdos/* > >>>> -rwxr-xr-x 1 root wheel 49090 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-4-b.dtb > >>>> -rwxr-xr-x 1 root wheel 48794 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-400.dtb > >>>> -rwxr-xr-x 1 root wheel 49202 Feb 27 03:24:30 2021 /boot/msdos/bcm2711-rpi-cm4.dtb > >>>> -rwxr-xr-x 1 root wheel 5448 Feb 27 03:24:28 2021 /boot/msdos/fixup4.dat > >>>> -rwxr-xr-x 1 root wheel 2228800 Feb 27 03:24:28 2021 /boot/msdos/start4.elf > >>>> . . . (others unchanged) . . . > >>>> > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > I've updated rpi-firmware to 20210303 now that they've taggued it, usb works on my RPI4. This will not be in 13.0-RC1 as the builds have already started I think but this will be in the RC2 image. If anyone wants to follow progress at https://github.com/raspberrypi/firmware please do and open reviews if you want to update the port in the futur. Cheers, -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Fri Mar 5 21:43:46 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 6BB11569400 for ; Fri, 5 Mar 2021 21:43:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dsh7j4BKpz3mxh for ; Fri, 5 Mar 2021 21:43:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id 8F84556904A; Fri, 5 Mar 2021 21:43:45 +0000 (UTC) Delivered-To: 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 8F393569305 for ; Fri, 5 Mar 2021 21:43:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-32.consmr.mail.ne1.yahoo.com (sonic301-32.consmr.mail.ne1.yahoo.com [66.163.184.201]) (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 4Dsh7j1Gc9z3n0l for ; Fri, 5 Mar 2021 21:43:44 +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=1614980623; bh=CaOl4gLo0KhWt2q5usL2vE2mqwzeZS8v5lwDCI4wCOi=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=U6d3Sv745gj65W5NQu9pQPfkhQ6JfHXU/zzpUycs7I4WZweVaONGbfycaZpg/b6t6h+jpd8hmSgtXsAoy7jEBtotPzp9hmd8ZTWhIBRIgZHp1rv9/JXPvlA2d66uUq8Az2qwgk5V81Z7j00iGcHusR5B25hp+HLVtpPTZwY3OL7f+uNywUs23MApEsRex7X3c793/DmH/dq5TN80yEmKHltjmq3SxeEmo6FwNMTpijMz4x5NEm9L1M3Q31CdLBSkckoTk7vVpbWBMEKPPTGbhisYA2y1jtQtBYdBDCxzDqGxo8Z4YrdQjkpFBB5U/D+csn9rQdZnWoi5m1XC8sLMSg== X-YMail-OSG: RiKw1h8VM1n0yxx0G_Oxlad3Gc8dZSnsjHWQ01RKXn2FmtnS4arceoNXghivGmq Tx45mb66gJDBHAHxpidmybt_jfkj3s_6Rfj1UUSymb5B2Wv4aZ4ui._2ZegdwWY9jJBko9iosvvH UDY84FJanLp4mNPGALbvQejLNVk_bgtwHiIEtIod1x53vfWELoGr.JcHa62oqSBWiBeoseIaKs1C x2V9BC2GJ6W8liOu_NvPllS2YUTXQEUZWyR1OquiMWWDgMz3hwbuYL9DXgosMDTsEmacQjWJO5Gp CX17inVbVYEJWOpmG.X2EcwvYttQxeNGwmv_bSA_y3_pFqY2UIWNnXo03oyCL.kQIyHOMm.2qtUi PVS23HYujnkDHNcyz791bf2H44UL2J99ZDFKW30D3kk9A3kEAJz5vzTr_VMUEB3ifI5ajt6hWMHV 3GjcjblQPXjELlO3vTnFMXYLloQ9L4LS2j7XINeAICXgxemjQQNqDk17f_qgqG4Ml_t7xk2FHYvk jApNE0tTfVVbdFY9rK5AJB_YFbC0P8eyOg1PgV73hOZzpHiEWr6xiMFnGAXgBaQ611KiljaUmps8 NY6qBhOu987tHh1M9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.ne1.yahoo.com with HTTP; Fri, 5 Mar 2021 21:43:43 +0000 Received: by smtp422.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c08c0f814becacc67078e326ce581b1f; Fri, 05 Mar 2021 21:43:37 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware [BETA4 with *.dtb start4.elf fixup4.dat updates works in my context, no u-boot update] From: Mark Millard In-Reply-To: <20210305113845.7d648df842e12a7c6f39442e@bidouilliste.com> Date: Fri, 5 Mar 2021 13:43:35 -0800 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <3399FAC5-6594-4AF6-B9F1-F2CFAB3E64EA@yahoo.com> <20210303090531.3bc790d12f456ee45c470825@bidouilliste.com> <5DA731CD-9EFC-440F-9BDF-615CB7D289ED@yahoo.com> <20210303131212.482447d7581308f7393197a4@bidouilliste.com> <2AE81A2C-61FD-4A19-AF6F-B8D22DEAA34E@yahoo.com> <20210305113845.7d648df842e12a7c6f39442e@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4Dsh7j1Gc9z3n0l X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Fri, 05 Mar 2021 21:43:46 -0000 On 2021-Mar-5, at 02:38, Emmanuel Vadot wrote: > . . . > I've updated rpi-firmware to 20210303 now that they've taggued it, usb > works on my RPI4. This will not be in 13.0-RC1 as the builds have > already started I think but this will be in the RC2 image. > If anyone wants to follow progress at > https://github.com/raspberrypi/firmware please do and open reviews if > you want to update the port in the futur. Thanks for the update. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sat Mar 6 06:46:38 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 4932C559128 for ; Sat, 6 Mar 2021 06:46:38 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DswB60x5tz4vYN for ; Sat, 6 Mar 2021 06:46:38 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1FF6F558FD0; Sat, 6 Mar 2021 06:46:38 +0000 (UTC) Delivered-To: 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 1FBF8559127 for ; Sat, 6 Mar 2021 06:46:38 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DswB602Gkz4vbp; Sat, 6 Mar 2021 06:46:38 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from localhost (p200300d5d740b9c950bd45a017f3c4cd.dip0.t-ipconnect.de [IPv6:2003:d5:d740:b9c9:50bd:45a0:17f3:c4cd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id 93CBC20EDB; Sat, 6 Mar 2021 06:46:37 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Sat, 6 Mar 2021 07:46:36 +0100 From: Gordon Bergling To: Emmanuel Vadot Cc: "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware Message-ID: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> X-Url: X-Operating-System: FreeBSD 12.2-STABLE amd64 X-Host-Uptime: 7:39AM up 7 days, 5:59, 4 users, load averages: 0.22, 0.24, 0.23 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, 06 Mar 2021 06:46:38 -0000 On Tue, Mar 02, 2021 at 12:20:57PM +0100, Emmanuel Vadot wrote: > Hello arm folks, > > Over the past years I've handled the update of the > sysutils/rpi-firmware and sysutils/u-boot-rpi* ports. > For that I've bought a lot of different RPI to ensure that we could > boot on all different models that the RPI Foundation folks deliver to > us. > A lot of users (and some FreeBSD devs) seems to be interested in > FreeBSD for the RPI4 and I can understand that. It's relatively cheap > and somewhat powerful (at least the RPI4) compared to other SBC > available on the market. > > FreeBSD support-wise our RPI support is pretty low. The last big > commit in term of functionality was from Mike Karels who added the > genet driver (imported from NetBSD) which handle the ethernet > controller on the RPI4 SoC and the PCI-e patches from Robert Crowston > which allow us to have working xhci as the usb controller is on the > PCI-e bus on the RPI4 Model B. > > But the updates of the firmware files have been a big problems over > the last few months, every update that I've done to fix one issue seems > to have created another one. > > It all started with commit r561841 in ports > (https://svnweb.freebsd.org/ports?view=revision&revision=561841) which > was needed for me to boot on my RPI4-8GB board (the only RPI4 board > that I have). This seems to cause a issue when booting without an hdmi > screen connected. It was also found that the previous firmware from 1st > of december has the opposite problem, you could only boot without an > hdmi screen connected. > As a workaround I added hdmi_safe=1 in the config.txt that we ship for > RPI4 image, that make the firmware not read edid from the screen and > init the hdmi controller with a basic mode. > > It also caused the cpufreq driver not working and the root cause was > that the firmware node compatible in the device tree changed and we > needed to adapt our code for it, which was done in commit > 1cf282363101f. > > Another problem that this update caused is that usb stopped working. > This was also found by the edk2 rpi guys and they reported it > upstream : https://github.com/raspberrypi/firmware/issues/1518 > Upstream proposed a fix and offered two files to make sure that the > bug was not present anymore in people setup, start4.elf and fixup4.dat. > It indeed fixed the issue for me and edk2, all good. > But what have been commited in the rpi-firmware repo seems to be > different and caused more breakage. > > So the status currently is : > > 1/ Take the latest BETA4 image for RPI and burn on your sdcard > 2/ Boot with or without hdmi screen. > 3/ You will see that u-boot fails to init usb : > starting USB... > Bus xhci_pci: probe failed, error -110 > No working controllers found > If you drop to u-boot prompt and do 'usb list' it will say that the > usb system is stopped and you can of course not start it without having > the above error. > 4/ If you boot to FreeBSD everything that we support seems to work > except for usb (of course). > 5/ Take the two files proposed as a fix from upstream > (https://github.com/raspberrypi/firmware/issues/1518#issuecomment-779355320) > and copy them to the sdcard. > 6/ Boot that and you will see that usb is working again in u-boot and > in FreeBSD, perfect. > 7/ Update the ports using [1] or download the files from > github.com/raspberrypi/firmware and copy them on the sdcard (The issue > should be fixed right ?) > 8/ Boot that and now you find that u-boot is failing in its synchronous > abort handler. > 9/ Ok, maybe updating u-boot to the latest version will fix that, > apply patch from [2] or used the compiled file from [3]. > 10/ And this isn't fixed > > There is probably a new or different node in the dtb that causes that > and usually I look at what the problem is and fix it, but now I'm tired > of doing that. Updating rpi is too much time consuming for me, > especially since I don't really care or like to work on this platform. > > So, if you care about RPI support I invite you to look at this issue > and the next ones caused by firmware update. > The maintainer of the port is uboot@f.o and I don't think that should > change. If you think that we should go back to an earlier version of > the firmware port (even if that cause my RPI4 to not boot) that's fine > with me, I don't think I will ever boot again an RPI board. > If you're not a commiter and you have patches for > sysutils/rpi-firmware I'll happily commit them if they look sane. > If you think that using our own DTBs or using the ones used in > mainline linux (available in sys/contrib/device-tree) think again of > what you're implying. We choose some time ago to use the "official" one > used by rpi-foundation so people could use the overlays also shipped by > them. That means that a user could simply follow a blog post on how to > activate something on the board using rpios and that will work for us > too (if we have a driver for the hardware of course). Maybe this was a > bad choice and we should follow linux mainline dts but this will > require some audit of all sys/arm/broadcom to be sure that we have > every compatible in the drivers and make sure that the node aren't > different so we process them correctly. Again, if you have patches that > look sane, I'll happily review and commit them. > > The TLDR is: > I won't do anything anymore on the rpi-firmware port and we need a > maintainer for this platform. > > Please keep the discussion sane in this thread too. > > Cheers, > > Links : > 1. https://people.freebsd.org/~manu/rpi-firmware-20210222.patch > 2. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.patch > 3. https://people.freebsd.org/~manu/u-boot-rpi-arm64-2021.01.bin Hi Emmanuel, thanks for your work, it is much appreciated. I personal use the RPi4B 4GB model as arm64 reference for regular tests in terms of -CURRENT performance, kyua tests and possible bugs. The 4GB model seems to not have such many firmware bugs as the 8GB model, I never updated the firmware or the u-boot image, but I'll try the patches to incorporate this into my regular testing. Thanks for your work on that platform! --Gordon From owner-freebsd-arm@freebsd.org Sat Mar 6 08:16:45 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 6EDCB55C1F6 for ; Sat, 6 Mar 2021 08:16:45 +0000 (UTC) (envelope-from samm@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DsyB52RWFz3H4T for ; Sat, 6 Mar 2021 08:16:45 +0000 (UTC) (envelope-from samm@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 53B3E55C07F; Sat, 6 Mar 2021 08:16:45 +0000 (UTC) Delivered-To: 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 537B055C63B for ; Sat, 6 Mar 2021 08:16:45 +0000 (UTC) (envelope-from samm@freebsd.org) Received: from reindeer.net-art.cz (reindeer.net-art.cz [IPv6:2001:15e8:110:513c::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "reindeer.net-art.cz", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsyB50gYWz3HFd; Sat, 6 Mar 2021 08:16:44 +0000 (UTC) (envelope-from samm@freebsd.org) Received: by reindeer.net-art.cz (Postfix, from userid 65534) id EDD045F769; Sat, 6 Mar 2021 08:16:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on reindeer X-Spam-Level: X-Spam-Status: No, score=-0.9 required=10.0 tests=BAYES_00,KHOP_HELO_FCRDNS, NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (surikat.net-art.cz [IPv6:2a03:6920:0:10::101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "owl.net-art.cz", Issuer "R3" (not verified)) by reindeer.net-art.cz (Postfix) with ESMTPS id 9CACB5EEE1; Sat, 6 Mar 2021 08:16:31 +0000 (GMT) Received: from [2001:1a48:6:10:8cb7:a04e:5bae:600b] (account samm@net-art.cz HELO Administrators-MacBook-Pro.local) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPSA id 801842; Sat, 06 Mar 2021 09:16:32 +0100 Received-SPF: softfail receiver=owl.net-art.cz; client-ip=2001:1a48:6:10:8cb7:a04e:5bae:600b; envelope-from=samm@freebsd.org Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) To: Gordon Bergling , Emmanuel Vadot Cc: "freebsd-arm@freebsd.org" References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> From: Alex Samorukov Message-ID: <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> Date: Sat, 6 Mar 2021 09:16:25 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4DsyB50gYWz3HFd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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, 06 Mar 2021 08:16:45 -0000 On 06.03.2021 7:46, Gordon Bergling wrote: > bugs. > > The 4GB model seems to not have such many firmware bugs as the 8GB model, > I never updated the firmware or the u-boot image, but I'll try the patches > to incorporate this into my regular testing. > > Thanks for your work on that platform! +1 from me. Using 2 RPi boards (RPI4/4Gb and old RPI1/512Mb) and both working very good and stable with FreeBSD. I think in fact i never had any OS crash in a last 6+ months or so. Now thinking to get 8Gb model, mostly for testing and as a build host. One of the things i found that RPi4 does not have rng driver. On attempt to port one from OpenBSD i found in this maillist patches [1], but it seems they never got any review/been merged. What is the best way to got it in the upstream? [1] https://github.com/freebsd/freebsd-src/compare/master...RobCrowston:pi4-hwrng From owner-freebsd-arm@freebsd.org Sat Mar 6 10:23:27 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 9D10F5609DE for ; Sat, 6 Mar 2021 10:23:27 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt10H2TXxz3R18 for ; Sat, 6 Mar 2021 10:23:27 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 5336F5609DC; Sat, 6 Mar 2021 10:23:27 +0000 (UTC) Delivered-To: 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 52F4B560671 for ; Sat, 6 Mar 2021 10:23:27 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt10H16w7z3R17; Sat, 6 Mar 2021 10:23:26 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Sat, 06 Mar 2021 10:23:16 +0000 To: Alex Samorukov From: Robert Crowston Cc: Gordon Bergling , Emmanuel Vadot , "freebsd-arm@freebsd.org" , James Mintram Reply-To: Robert Crowston Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Message-ID: In-Reply-To: <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4Dt10H16w7z3R17 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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, 06 Mar 2021 10:23:27 -0000 That patch was updated by James Mintram. It was accepted, but has not yet b= een committed. https://reviews.freebsd.org/D22493 =E2=80=94 RHC. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Saturday, 6 March 2021 08:16, Alex Samorukov wrote: > > > On 06.03.2021 7:46, Gordon Bergling wrote: > > > bugs. > > The 4GB model seems to not have such many firmware bugs as the 8GB mode= l, > > I never updated the firmware or the u-boot image, but I'll try the patc= hes > > to incorporate this into my regular testing. > > Thanks for your work on that platform! > > +1 from me. > > Using 2 RPi boards (RPI4/4Gb and old RPI1/512Mb) and both working very > good and stable with FreeBSD. I think in fact i never had any OS crash > in a last 6+ months or so. > > Now thinking to get 8Gb model, mostly for testing and as a build host. > One of the things i found that RPi4 does not have rng driver. On attempt > to port one from OpenBSD i found in this maillist patches [1], but it > seems they never got any review/been merged. What is the best way to got > it in the upstream? > > [1] > https://github.com/freebsd/freebsd-src/compare/master...RobCrowston:pi4-h= wrng > > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Sat Mar 6 10:52:49 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 77059561872 for ; Sat, 6 Mar 2021 10:52:49 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt1f92rkFz3jfc for ; Sat, 6 Mar 2021 10:52:49 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 60F6A561776; Sat, 6 Mar 2021 10:52:49 +0000 (UTC) Delivered-To: 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 60B85561871 for ; Sat, 6 Mar 2021 10:52:49 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt1f92G1Xz3k2Q; Sat, 6 Mar 2021 10:52:49 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [IPv6:2a02:8011:300b:42:d518:e8aa:a0d4:65ce] (unknown [IPv6:2a02:8011:300b:42:d518:e8aa:a0d4:65ce]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id CD3E7226D7; Sat, 6 Mar 2021 10:52:48 +0000 (UTC) (envelope-from markm@FreeBSD.org) Content-Type: multipart/signed; boundary="Apple-Mail=_2FC424CE-E467-428F-80E8-A066EE01F565"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) From: Mark Murray In-Reply-To: Date: Sat, 6 Mar 2021 10:52:45 +0000 Cc: "freebsd-arm@freebsd.org" Message-Id: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> To: Robert Crowston X-Mailer: Apple Mail (2.3654.60.0.2.21) 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, 06 Mar 2021 10:52:49 -0000 --Apple-Mail=_2FC424CE-E467-428F-80E8-A066EE01F565 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi As soon as I get my RPI4 8GB running reliably - hopefully really soon = now - I can commit this. I have a license to do so as I am part of = csprng@ :-) M > On 6 Mar 2021, at 10:23, Robert Crowston via freebsd-arm = wrote: >=20 > That patch was updated by James Mintram. It was accepted, but has not = yet been committed. >=20 > https://reviews.freebsd.org/D22493 >=20 >=20 > =E2=80=94 RHC. >=20 > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 = Original Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2= =80=90 > On Saturday, 6 March 2021 08:16, Alex Samorukov = wrote: >=20 >>=20 >>=20 >> On 06.03.2021 7:46, Gordon Bergling wrote: >>=20 >>> bugs. >>> The 4GB model seems to not have such many firmware bugs as the 8GB = model, >>> I never updated the firmware or the u-boot image, but I'll try the = patches >>> to incorporate this into my regular testing. >>> Thanks for your work on that platform! >>=20 >> +1 from me. >>=20 >> Using 2 RPi boards (RPI4/4Gb and old RPI1/512Mb) and both working = very >> good and stable with FreeBSD. I think in fact i never had any OS = crash >> in a last 6+ months or so. >>=20 >> Now thinking to get 8Gb model, mostly for testing and as a build = host. >> One of the things i found that RPi4 does not have rng driver. On = attempt >> to port one from OpenBSD i found in this maillist patches [1], but it >> seems they never got any review/been merged. What is the best way to = got >> it in the upstream? >>=20 >> [1] >> = https://github.com/freebsd/freebsd-src/compare/master...RobCrowston:pi4-hw= rng >>=20 >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --Apple-Mail=_2FC424CE-E467-428F-80E8-A066EE01F565 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAmBDXv4ACgkQQlsJDh9C UqCu8gf/fGqtxZ2/p/paTXt0TSBqyTpDi52dlhe2WZXQtmQo4ieUXzwD/j1B35QK zmhI5Ij/rWSoELUH9mabWT8a378oY0HZW5HR7M/gR1hfMNQTr79K1eOSAm/+9DdE K57Lxa6uR1sNM+8NA7rhpF5OJeIzOUn205ZsNX1QVcT1u3yU0m5KEYd122yPF/jE bAtRicvvqeA+bJxAhae9JtLfxILV4k2BgRCdKR4krMNDkDVsLFsat0fOnpncQZ3I GKSWjdwOxUg+mPoGdx48Y68Yroz8u0bvz6im0xlYPfEodBPfbRMH4mUn7PBAC0xD SEj/nWQ34oZ1J9Amp7z9ECQRKwtSqw== =aHJA -----END PGP SIGNATURE----- --Apple-Mail=_2FC424CE-E467-428F-80E8-A066EE01F565-- From owner-freebsd-arm@freebsd.org Sat Mar 6 10:54:58 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 08E61561D8A for ; Sat, 6 Mar 2021 10:54:58 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt1hd6fvPz3k1K for ; Sat, 6 Mar 2021 10:54:57 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E4110561963; Sat, 6 Mar 2021 10:54:57 +0000 (UTC) Delivered-To: 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 E3CA7561CE1 for ; Sat, 6 Mar 2021 10:54:57 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt1hd68Sdz3k3S; Sat, 6 Mar 2021 10:54:57 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from localhost (p200300d5d740b9c950bd45a017f3c4cd.dip0.t-ipconnect.de [IPv6:2003:d5:d740:b9c9:50bd:45a0:17f3:c4cd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id 704AC22E00; Sat, 6 Mar 2021 10:54:57 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Sat, 6 Mar 2021 11:54:56 +0100 From: Gordon Bergling To: Mark Murray Cc: Robert Crowston , "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Message-ID: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: X-Operating-System: FreeBSD 12.2-STABLE amd64 X-Host-Uptime: 11:53AM up 7 days, 10:13, 4 users, load averages: 0.24, 0.26, 0.24 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, 06 Mar 2021 10:54:58 -0000 On Sat, Mar 06, 2021 at 10:52:45AM +0000, Mark Murray wrote: > Hi > > As soon as I get my RPI4 8GB running reliably - hopefully really soon now - I can commit this. I have a license to do so as I am part of csprng@ :-) > > M I have also tested it on -CURRENT for a while and haven't seen any problems on a RPi4B 4GB model. --Gordon > > On 6 Mar 2021, at 10:23, Robert Crowston via freebsd-arm wrote: > > That patch was updated by James Mintram. It was accepted, but has not yet been committed. > > https://reviews.freebsd.org/D22493 > > — RHC. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Saturday, 6 March 2021 08:16, Alex Samorukov wrote: > >> On 06.03.2021 7:46, Gordon Bergling wrote: > >>> bugs. > >>> The 4GB model seems to not have such many firmware bugs as the 8GB model, > >>> I never updated the firmware or the u-boot image, but I'll try the patches > >>> to incorporate this into my regular testing. > >>> Thanks for your work on that platform! > >> > >> +1 from me. > >> > >> Using 2 RPi boards (RPI4/4Gb and old RPI1/512Mb) and both working very > >> good and stable with FreeBSD. I think in fact i never had any OS crash > >> in a last 6+ months or so. > >> > >> Now thinking to get 8Gb model, mostly for testing and as a build host. > >> One of the things i found that RPi4 does not have rng driver. On attempt > >> to port one from OpenBSD i found in this maillist patches [1], but it > >> seems they never got any review/been merged. What is the best way to got > >> it in the upstream? > >> > >> [1] > >> https://github.com/freebsd/freebsd-src/compare/master...RobCrowston:pi4-hwrng From owner-freebsd-arm@freebsd.org Sat Mar 6 10:57:57 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 3AA3B561E58 for ; Sat, 6 Mar 2021 10:57:57 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt1m50zklz3kMn for ; Sat, 6 Mar 2021 10:57:57 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1FCA8561EAE; Sat, 6 Mar 2021 10:57:57 +0000 (UTC) Delivered-To: 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 1F900562097 for ; Sat, 6 Mar 2021 10:57:57 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt1m46zrhz3k6b; Sat, 6 Mar 2021 10:57:56 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [IPv6:2a02:8011:300b:42:d518:e8aa:a0d4:65ce] (unknown [IPv6:2a02:8011:300b:42:d518:e8aa:a0d4:65ce]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id 6D20521FE3; Sat, 6 Mar 2021 10:57:56 +0000 (UTC) (envelope-from markm@FreeBSD.org) Content-Type: multipart/signed; boundary="Apple-Mail=_C763F4CD-C5F4-4141-B400-8EF581AC2276"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) From: Mark Murray In-Reply-To: Date: Sat, 6 Mar 2021 10:57:55 +0000 Cc: Robert Crowston , "freebsd-arm@freebsd.org" Message-Id: <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> To: Gordon Bergling X-Mailer: Apple Mail (2.3654.60.0.2.21) 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, 06 Mar 2021 10:57:57 -0000 --Apple-Mail=_C763F4CD-C5F4-4141-B400-8EF581AC2276 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 6 Mar 2021, at 10:54, Gordon Bergling wrote: >=20 > On Sat, Mar 06, 2021 at 10:52:45AM +0000, Mark Murray wrote: >> Hi >>=20 >> As soon as I get my RPI4 8GB running reliably - hopefully really soon = now - I can commit this. I have a license to do so as I am part of = csprng@ :-) >>=20 >> M >=20 > I have also tested it on -CURRENT for a while and haven't seen any = problems > on a RPi4B 4GB model. Please go ahead and commit. Please mark the commit "Approved by: = csprng(cem,markm)" M -- Mark R V Murray --Apple-Mail=_C763F4CD-C5F4-4141-B400-8EF581AC2276 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAmBDYDMACgkQQlsJDh9C UqBI2gf9FI/RlbRcG5/ctGobuWJeRHDd0Bbfsa8S/KcuKg7x3nKYXRmnzWvMPvAT BKzP2ekG66HN/YIGihTtPBDt+vbNhjs67lEg4FzJUjfFkC8dIRUsNiyjmUbE7e/n I8cV5htPfu3N5UkeC0VWWVN3x184pQ9JOU7hUSPyJuGiWYJXoBz8qjrC6SCV2MIs T2m1usmhySIF+gk6nXcdDgBwsGfCUMkDq3V8I+PUgGFSdweE12P27MCmyCkISAYr Invnjvu1LiaQFGJMGD0qA+CM4iHaYbwgUAa8IstQTPLK0wyAKcofyy0gphRbSh7c T386DCVTrseA+zsETU3sRdqWUBSf4g== =N4xT -----END PGP SIGNATURE----- --Apple-Mail=_C763F4CD-C5F4-4141-B400-8EF581AC2276-- From owner-freebsd-arm@freebsd.org Sat Mar 6 11:24:10 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 09AB056295E for ; Sat, 6 Mar 2021 11:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt2LK6jr8z3ljJ for ; Sat, 6 Mar 2021 11:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D960322B3D for ; Sat, 6 Mar 2021 11:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 126BO9Wl094311 for ; Sat, 6 Mar 2021 11:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 126BO9xG094310 for freebsd-arm@FreeBSD.org; Sat, 6 Mar 2021 11:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254060] genet driver for raspberry pi 4 has problems with ipv6 forwarding Date: Sat, 06 Mar 2021 11:24:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: denis@h3q.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 06 Mar 2021 11:24:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254060 Bug ID: 254060 Summary: genet driver for raspberry pi 4 has problems with ipv6 forwarding Product: Base System Version: 13.0-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: denis@h3q.com I use a raspberry 3 as DSL router. builtin interface for lan and external u= sb interface for pppoe. all works fine, ipv4 and ipv6. The exact same setup with a raspberry pi 4 does not work for ipv6. I use dhcpcd to setup the ipv6 addresses. I captured a telnet connection to www.kame.org on both interfaces: freebsd@raspirouter:~ % sudo tcpdump -vvv -s0 -n -i intern0 host 2001:200:dff:fff1:216:3eff:feb1:44d7 tcpdump: listening on intern0, link-type EN10MB (Ethernet), capture size 26= 2144 bytes 11:30:44.013698 IP6 (flowlabel 0xb0700, hlim 64, next-header TCP (6) payload length: 44) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [SEW], cksum 0x3f10 (correct= ), seq 3119817516, win 65535, options [mss 1440,nop,wscale 6,nop,nop,TS val 874444215 ecr 0,sackOK,eol], length 0 11:30:44.288079 IP6 (flowlabel 0x8c63f, hlim 54, next-header TCP (6) payload length: 40) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [S.E], cksum 0xb33e (correct), seq 2308490815, ack 3119817517, win 65535, options [mss 1440,nop,wscale 6,sackOK,TS val 2506143756 ecr 874444215], length 0 11:30:44.288412 IP6 (flowlabel 0xb0700, hlim 64, next-header TCP (6) payload length: 32) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [.], cksum 0xd91f (correct),= seq 1, ack 1, win 2052, options [nop,nop,TS val 874444489 ecr 2506143756], leng= th 0 11:30:49.718541 IP6 (class 0x02, flowlabel 0xb0700, hlim 64, next-header TCP (6) payload length: 48) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [P.], cksum 0xff80 (correct), seq 1:17, ack 1, win 2052, options [nop,nop,TS val 874449917 ecr 2506143756= ], length 16: HTTP, length: 16 GET index.html 11:30:49.992868 IP6 (flowlabel 0x8c63f, hlim 54, next-header TCP (6) payload length: 32) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [F.], cksum 0xb0a8 (correct), seq 227, ack 17, win 1035, options [nop,nop,TS val 2506149461 ecr 874449917], length 0 11:30:49.993273 IP6 (flowlabel 0xb0700, hlim 64, next-header TCP (6) payload length: 44) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [.], cksum 0xeb3a (correct),= seq 17, ack 1, win 2052, options [nop,nop,TS val 874450191 ecr 2506143756,nop,nop,sack 1 {227:228}], length 0 ^C 6 packets captured 2525 packets received by filter 0 packets dropped by kernel freebsd@raspirouter:~ % sudo tcpdump -vvv -s0 -n -i ng0 host 2001:200:dff:fff1:216:3eff:feb1:44d7 tcpdump: listening on ng0, link-type NULL (BSD loopback), capture size 2621= 44 bytes 11:30:44.013777 IP6 (flowlabel 0xb0700, hlim 63, next-header TCP (6) payload length: 44) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [SEW], cksum 0x3f10 (correct= ), seq 3119817516, win 65535, options [mss 1440,nop,wscale 6,nop,nop,TS val 874444215 ecr 0,sackOK,eol], length 0 11:30:44.287428 IP6 (flowlabel 0x8c63f, hlim 55, next-header TCP (6) payload length: 40) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [S.E], cksum 0xb33e (correct), seq 2308490815, ack 3119817517, win 65535, options [mss 1440,nop,wscale 6,sackOK,TS val 2506143756 ecr 874444215], length 0 11:30:44.288446 IP6 (flowlabel 0xb0700, hlim 63, next-header TCP (6) payload length: 32) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [.], cksum 0xd91f (correct),= seq 1, ack 1, win 2052, options [nop,nop,TS val 874444489 ecr 2506143756], leng= th 0 11:30:49.718607 IP6 (class 0x02, flowlabel 0xb0700, hlim 63, next-header TCP (6) payload length: 48) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [P.], cksum 0xff80 (correct), seq 1:17, ack 1, win 2052, options [nop,nop,TS val 874449917 ecr 2506143756= ], length 16: HTTP, length: 16 GET index.html 11:30:49.992764 IP6 (class 0x02, flowlabel 0x8c63f, hlim 55, next-header TCP (6) payload length: 258) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [P.], cksum 0xbb69 (correct), seq 1:227, ack 17, win 1035, options [nop,nop,TS val 2506149461 = ecr 874449917], length 226: HTTP 11:30:49.992844 IP6 (flowlabel 0x8c63f, hlim 55, next-header TCP (6) payload length: 32) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [F.], cksum 0xb0a8 (correct), seq 227, ack 17, win 1035, options [nop,nop,TS val 2506149461 ecr 874449917], length 0 11:30:49.993307 IP6 (flowlabel 0xb0700, hlim 63, next-header TCP (6) payload length: 44) 2003:c1:df10:9801:3cd9:d041:c580:584b.63658 > 2001:200:dff:fff1:216:3eff:feb1:44d7.80: Flags [.], cksum 0xeb3a (correct),= seq 17, ack 1, win 2052, options [nop,nop,TS val 874450191 ecr 2506143756,nop,nop,sack 1 {227:228}], length 0 11:30:51.070753 IP6 (flowlabel 0x8c63f, hlim 55, next-header TCP (6) payload length: 258) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [FP.], cksum 0xb620 (correct), seq 1:227, ack 17, win 1035, options [nop,nop,TS val 2506150539 = ecr 874450191], length 226: HTTP 11:30:52.974578 IP6 (flowlabel 0x8c63f, hlim 55, next-header TCP (6) payload length: 258) 2001:200:dff:fff1:216:3eff:feb1:44d7.80 > 2003:c1:df10:9801:3cd9:d041:c580:584b.63658: Flags [FP.], cksum 0xaeb0 (correct), seq 1:227, ack 17, win 1035, options [nop,nop,TS val 2506152443 = ecr 874450191], length 226: HTTP Here you can see, that the http answer arrives in ng0 but leaves intern0 somehow broken. All packets before have the same checksum in and out of the raspberry until the HTTP answer arrives. It seems the payload is then missi= ng. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sat Mar 6 11:37:05 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 409B9562C78 for ; Sat, 6 Mar 2021 11:37:05 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt2dF1Dghz3mVG for ; Sat, 6 Mar 2021 11:37:05 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 287BC562DD5; Sat, 6 Mar 2021 11:37:05 +0000 (UTC) Delivered-To: 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 283CD562C77 for ; Sat, 6 Mar 2021 11:37:05 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt2dF0YwNz3mZw; Sat, 6 Mar 2021 11:37:05 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from localhost (p200300d5d740b9c950bd45a017f3c4cd.dip0.t-ipconnect.de [IPv6:2003:d5:d740:b9c9:50bd:45a0:17f3:c4cd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id A50B423235; Sat, 6 Mar 2021 11:37:04 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Sat, 6 Mar 2021 12:37:03 +0100 From: Gordon Bergling To: Mark Murray Cc: Robert Crowston , "freebsd-arm@freebsd.org" Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Message-ID: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HIF56N0J6ZomVpL+" Content-Disposition: inline In-Reply-To: <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> X-Url: X-Operating-System: FreeBSD 12.2-STABLE amd64 X-Host-Uptime: 12:35PM up 7 days, 10:56, 4 users, load averages: 0.12, 0.24, 0.25 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, 06 Mar 2021 11:37:05 -0000 --HIF56N0J6ZomVpL+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 06, 2021 at 10:57:55AM +0000, Mark Murray wrote: > > On 6 Mar 2021, at 10:54, Gordon Bergling wrote: > >=20 > > On Sat, Mar 06, 2021 at 10:52:45AM +0000, Mark Murray wrote: > >> Hi > >>=20 > >> As soon as I get my RPI4 8GB running reliably - hopefully really soon = now - I can commit this. I have a license to do so as I am part of csprng@ = :-) > >>=20 > >> M > >=20 > > I have also tested it on -CURRENT for a while and haven't seen any prob= lems > > on a RPi4B 4GB model. >=20 > Please go ahead and commit. Please mark the commit "Approved by: csprng(c= em,markm)" >=20 > M > -- > Mark R V Murray Done in e797dc58bd29c5bc0873fc620fc11d5332f90e7f. Thanks for the approval. --Gordon --HIF56N0J6ZomVpL+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAmBDaV9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYx QjU4OEQwQTYzOTVGQkM4N0ZDNUNCODM5MDVGNjU3Q0FDRkQzREMACgkQOQX2V8rP 09y/oQf/cazGJ8jHa87fh/Zsyrx6mNdVEGNrJwqtXiLMTg/tVwnn+1m+C4CztQ90 AT3cxdwIeWvV7wlCF9XodjDYe+1FIavloj9rOmN7gzli59Q5PD4/KVXRG+iCDTjb 0KU5AZmufOIlnI1hbF/YoLswzDdrycryKaLNRWAUoQ50lnNQwXknu+cONQH1NM1H 0tQpS+TTPyHAo0CvMKL3JTjVfC16+AQzMZ5GAyvFDt8k0vcSgkSsdQSPzViu3J+h cL/wO3vMEaFEh28BryfJxsdzB6oARUc0m7lRz+bh7pVjrjyIhF4MFgOiNRoQ0T/F Oqnrj19AZUGshkTvIQBrSm3tOAiKyQ== =EV4f -----END PGP SIGNATURE----- --HIF56N0J6ZomVpL+-- From owner-freebsd-arm@freebsd.org Sat Mar 6 11:42:09 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 0FC1F5630A0 for ; Sat, 6 Mar 2021 11:42:09 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt2l46xbTz3msc for ; Sat, 6 Mar 2021 11:42:08 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id EC5CE56319A; Sat, 6 Mar 2021 11:42:08 +0000 (UTC) Delivered-To: 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 EC263562FCF for ; Sat, 6 Mar 2021 11:42:08 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt2l46F22z3mfg; Sat, 6 Mar 2021 11:42:08 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [IPv6:2a02:8011:300b:42:d518:e8aa:a0d4:65ce] (unknown [IPv6:2a02:8011:300b:42:d518:e8aa:a0d4:65ce]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id 77F2C234DB; Sat, 6 Mar 2021 11:42:08 +0000 (UTC) (envelope-from markm@FreeBSD.org) Content-Type: multipart/signed; boundary="Apple-Mail=_F79F479C-DFF5-4902-B41A-3B9CE878B7C5"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) From: Mark Murray In-Reply-To: Date: Sat, 6 Mar 2021 11:42:06 +0000 Cc: "freebsd-arm@freebsd.org" Message-Id: <020D6BDE-D0B6-4476-8E95-B3C6C5DA7B5F@FreeBSD.org> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> To: Gordon Bergling X-Mailer: Apple Mail (2.3654.60.0.2.21) 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, 06 Mar 2021 11:42:09 -0000 --Apple-Mail=_F79F479C-DFF5-4902-B41A-3B9CE878B7C5 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 6 Mar 2021, at 11:37, Gordon Bergling wrote: > Done in e797dc58bd29c5bc0873fc620fc11d5332f90e7f. Thanks for the approval. You are welcome. Thanks for doing the work! M -- Mark R V Murray --Apple-Mail=_F79F479C-DFF5-4902-B41A-3B9CE878B7C5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAmBDao4ACgkQQlsJDh9C UqBTdwf/fM+oAd+8ACXDZ8dVDove/7EpcdwJDTE+1WYbCJhq/YdVtDsHIShXNfao Xh2PPdTh/RzLOk9dclMHKKj7fyk8NnINehTc7yYZiXWH55rAyW45HCfT94HeKOM9 EyxvDeR3TdyzWx6X0OyzQ7veCaMf/AB6+xczUEcDLZOGbTcdRW0jvBSnZgKrAxRA z0D49CT1CE8DksPD/pqT+L16OHOgTORQGP4RLQbC+WcW8iP9gbmHU6z0lFryAj1S 3DIZviZkSnwY9GBmygmqJVlARvBw5+HTtpmTThnNAPTGrlHFz1z5lZc3pta6lwyL HA6vkC6I8AZmSlYTj/U8JXzSUg1g4A== =mfX/ -----END PGP SIGNATURE----- --Apple-Mail=_F79F479C-DFF5-4902-B41A-3B9CE878B7C5-- From owner-freebsd-arm@freebsd.org Sat Mar 6 11:52:49 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 97829563799 for ; Sat, 6 Mar 2021 11:52:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt2zP3pybz3nC2 for ; Sat, 6 Mar 2021 11:52:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 753E82302D for ; Sat, 6 Mar 2021 11:52:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 126Bqnow008706 for ; Sat, 6 Mar 2021 11:52:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 126Bqncd008705 for freebsd-arm@FreeBSD.org; Sat, 6 Mar 2021 11:52:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 253983] RPI4 boot fails when geekworm x829 is attached over USB Date: Sat, 06 Mar 2021 11:52:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eimar.koort@tutamail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 06 Mar 2021 11:52:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253983 eimar.koort@tutamail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sat Mar 6 11:53:08 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 BA8A55635BF for ; Sat, 6 Mar 2021 11:53:08 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt2zm3kNmz3nCJ for ; Sat, 6 Mar 2021 11:53:08 +0000 (UTC) (envelope-from peter@rulingia.com) Received: by mailman.nyi.freebsd.org (Postfix) id 7DD78563895; Sat, 6 Mar 2021 11:53:08 +0000 (UTC) Delivered-To: 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 7D6C2563894; Sat, 6 Mar 2021 11:53:08 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt2zl0smXz3n1x; Sat, 6 Mar 2021 11:53:06 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.16.1/8.15.2) with ESMTPS id 126Bqvkm067365 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 6 Mar 2021 22:53:02 +1100 (AEDT) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 126Bqvkm067365 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 126BqqEH044233 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 6 Mar 2021 22:52:52 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 126BqqKa044232; Sat, 6 Mar 2021 22:52:52 +1100 (AEDT) (envelope-from peter) Date: Sat, 6 Mar 2021 22:52:52 +1100 From: Peter Jeremy To: stable@freebsd.org, current@freebsd.org, arm@freebsd.org Subject: Re: geli broken in 13.0-BETA4 and later on armv8 Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/L4dX2a77ji5mAUE" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4Dt2zl0smXz3n1x X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[rulingia.com:s=default]; FREEFALL_USER(0.00)[peter]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2001:19f0:5801:ebe:5400:1ff:fe53:30fd:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[rulingia.com:+]; DMARC_POLICY_ALLOW(-0.50)[rulingia.com,quarantine]; NEURAL_HAM_SHORT(-0.62)[-0.623]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5801:ebe:5400:1ff:fe53:30fd:from]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[arm,current,stable] 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, 06 Mar 2021 11:53:08 -0000 --/L4dX2a77ji5mAUE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Adding arm@ and making it clearer that this is armv8-only] On 2021-Mar-06 20:26:19 +1100, Peter Jeremy wro= te: >On 2021-Mar-06 19:18:37 +1100, Peter Jeremy via freebsd-stable wrote: >>Somewhere between 13.0-ALPHA2 (c256201-g02611ef8ee9) and 13.0-BETA4 >>(releng/13.0-n244592-e32bc253629), geli (at least on my RockPro64 - >>RK3399, arm64) has changed so that a geli-encrypted partition (using >>AES-XTS 128) that was readable on 13.0-ALPHA2 becomes garbage on >>13.0-BETA4. > >I've confirmed that the problem is f76393a6305b - reverting that >commit fixes the problem in releng/13.0. > >I've further verified that the bug is still present in main (14.x) >at 028616d0dd69. --=20 Peter Jeremy --/L4dX2a77ji5mAUE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmBDbRNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQOwRAAkFfEMecDkUphOofOCPFWbnT2psqfOgz3ZSB25ywrnOK4TIJwzvWkhH7H FFMlrAfcAJQKBmwL+l6WQEpL1FvzZm5VJlv/9fPJ1E2gQOVIf5q487xT0QAbmWpc UyXivJ1wkNaFi7WIKR4SwXWzdR4cqOYNBUGeFIs+9pnydcZDs/FQy9M5s4c/irkl zmNtAMtUcU6h5zzg2PNKcLOkiFWnh8InRiFoh8Q/G5fGByNZkXR3puU/Oq6kpMkX GUYNd6zpuEJnC0g7oNF0fh0dGZHu5+hbRslngfYAIX6a5t+h+elDYuErZew762to qy9emmjqDn/bX4G/+cib39cAJmMPzD4RFTVuQ1oVMsDWHednq0WS+pg4Bec8Y5st kQfIMO+GuuCpWs0x5xPXxztyWfBXuK3c5jGaFXW5NIK7F7yFxNREpnDp2xxHGdO7 0EN1dHpraUJvTnKhs1caHDwulhHl/4P6yVXnogpZwsijZPKGBfqqdT8IMvTDaCA2 hvv84eJlHFlb1DY5x4zAz54eVPPCVg0AWxQMOW93AI2pYdYl14IC2wt9h1HyyFtV dnh9Lk6TkmMYNIBeV0rlN2j9WjlzEoGrbV5LcD67VHttsTgX9xDefqPqxIl3j2AI k96jMbTBNn85TnWZK4vQjfjFMqGasOk75nZNBZFX0MI7wI2WwVQ= =k9VZ -----END PGP SIGNATURE----- --/L4dX2a77ji5mAUE-- From owner-freebsd-arm@freebsd.org Sat Mar 6 10:56:03 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 3080A561E98 for ; Sat, 6 Mar 2021 10:56:03 +0000 (UTC) (envelope-from samm@net-art.cz) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dt1jt75kRz3k4Q for ; Sat, 6 Mar 2021 10:56:02 +0000 (UTC) (envelope-from samm@net-art.cz) Received: by mailman.nyi.freebsd.org (Postfix) id F380E561F9C; Sat, 6 Mar 2021 10:56:02 +0000 (UTC) Delivered-To: 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 F34A4561B78 for ; Sat, 6 Mar 2021 10:56:02 +0000 (UTC) (envelope-from samm@net-art.cz) Received: from reindeer.net-art.cz (reindeer.net-art.cz [IPv6:2001:15e8:110:513c::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "reindeer.net-art.cz", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt1jt5m7Xz3k65; Sat, 6 Mar 2021 10:56:02 +0000 (UTC) (envelope-from samm@net-art.cz) Received: by reindeer.net-art.cz (Postfix, from userid 65534) id 2A0355F769; Sat, 6 Mar 2021 10:55:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=net-art.cz; s=netart; t=1615028158; bh=PE4Tt7roJRgadh334M27EftK+pgsnkcQ4DF0eSRkWwo=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=zZo0csyNIBzn1hvDA1yovUhZko9liwEYzlsu1Zktmv7lNlQIhOQv35m8rjxA+jON8 uuqAlzCnt6oIO8elyYyb7rI2sQ6cdKAP/v1JSS21cCI0Ip4FJ2WJemW728MKbp3Vk9 FxMUKBlIRaebqcThxg6j7GC124LelNGyYEfHoBxcy3ryLuxIRD6+LYKatMFE0GWSh5 qy8DcQjPn14wtRWLMZ8vUad8TMm+S7lm3p0cdFDD/3JfTaE7iJfDGolcB0fxR3uRp4 inop+4E9AbOHRGmFdqmv/RQeTIzgIP7xCSNfTVyivmQch6y8Cs22aFq1B1RD/EZaZ4 iFV9XGRTLA/cw== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on reindeer X-Spam-Level: X-Spam-Status: No, score=-2.0 required=10.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (surikat.net-art.cz [IPv6:2a03:6920:0:10::101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "owl.net-art.cz", Issuer "R3" (not verified)) by reindeer.net-art.cz (Postfix) with ESMTPS id 085445EEE1; Sat, 6 Mar 2021 10:55:57 +0000 (GMT) Received: from [2001:1a48:6:10:8cb7:a04e:5bae:600b] (account samm@net-art.cz HELO Administrators-MacBook-Pro.local) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPSA id 801888; Sat, 06 Mar 2021 11:55:57 +0100 Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) To: Mark Murray , Robert Crowston Cc: "freebsd-arm@freebsd.org" References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> From: Alex Samorukov Message-ID: <97e270e3-a42e-4660-618c-c523204eaa7b@net-art.cz> Date: Sat, 6 Mar 2021 11:55:54 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4Dt1jt5m7Xz3k65 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Mailman-Approved-At: Sat, 06 Mar 2021 13:10:09 +0000 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, 06 Mar 2021 10:56:03 -0000 On 06.03.2021 11:52, Mark Murray wrote: > Hi > > As soon as I get my RPI4 8GB running reliably - hopefully really soon now - I can commit this. I have a license to do so as I am part of csprng@ :-) Great news, thank you :) In the meantime i will test this patch on my devices. From owner-freebsd-arm@freebsd.org Sat Mar 6 17:38:40 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 A1CA156DABD for ; Sat, 6 Mar 2021 17:38:40 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtBfR5FqVz4c7M for ; Sat, 6 Mar 2021 17:38:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 126HccSA097901 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 6 Mar 2021 09:38:38 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 126HcbDG097900; Sat, 6 Mar 2021 09:38:37 -0800 (PST) (envelope-from fbsd) Date: Sat, 6 Mar 2021 09:38:37 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Message-ID: <20210306173837.GA97835@www.zefox.net> References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> <020D6BDE-D0B6-4476-8E95-B3C6C5DA7B5F@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <020D6BDE-D0B6-4476-8E95-B3C6C5DA7B5F@FreeBSD.org> X-Rspamd-Queue-Id: 4DtBfR5FqVz4c7M X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [-1.03 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[50.1.20.27:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[50.1.20.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.93)[-0.934]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] 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, 06 Mar 2021 17:38:40 -0000 On Sat, Mar 06, 2021 at 11:42:06AM +0000, Mark Murray wrote: > > > > On 6 Mar 2021, at 11:37, Gordon Bergling wrote: > > Done in e797dc58bd29c5bc0873fc620fc11d5332f90e7f. Thanks for the approval. > > You are welcome. Thanks for doing the work! > > M > -- Any hint when a bootable snapshot image might become available? The target host is an 8GB Pi4 without a serial console, so it's limited to USB keyboard and HDMI console, no wired ethernet. Thanks for reading! bob prohaska From owner-freebsd-arm@freebsd.org Sat Mar 6 18:16:59 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 0680456EECE for ; Sat, 6 Mar 2021 18:16:59 +0000 (UTC) (envelope-from m@blat.at) Received: from pinecone.uffish.net (pinecone.uffish.net [139.162.163.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtCVd75lLz4fkV for ; Sat, 6 Mar 2021 18:16:57 +0000 (UTC) (envelope-from m@blat.at) Received: from [192.168.0.4] (80-109-33-21.cable.dynamic.surfer.at [80.109.33.21]) by pinecone.uffish.net (Postfix) with ESMTPSA id ACC491DE1A; Sat, 6 Mar 2021 19:16:50 +0100 (CET) From: Mike Knell Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_2C86CFB4-48DE-49BE-B82B-0399A9CC6125"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Date: Sat, 6 Mar 2021 19:16:24 +0100 In-Reply-To: <20210306173837.GA97835@www.zefox.net> Cc: freebsd-arm@freebsd.org To: bob prohaska References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> <020D6BDE-D0B6-4476-8E95-B3C6C5DA7B5F@FreeBSD.org> <20210306173837.GA97835@www.zefox.net> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DtCVd75lLz4fkV X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_ATTACHMENT(0.00)[]; DKIM_TRACE(0.00)[blat.at:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[blat.at,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[139.162.163.4:from]; ASN(0.00)[asn:63949, ipnet:139.162.160.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[80.109.33.21:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[blat.at:s=uffish]; FREEFALL_USER(0.00)[m]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SPAMHAUS_ZRD(0.00)[139.162.163.4:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; 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, 06 Mar 2021 18:16:59 -0000 --Apple-Mail=_2C86CFB4-48DE-49BE-B82B-0399A9CC6125 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 6 Mar 2021, at 18:38, bob prohaska wrote: >=20 > Any hint when a bootable snapshot image might become available? > The target host is an 8GB Pi4 without a serial console, so it's > limited to USB keyboard and HDMI console, no wired ethernet. I=E2=80=99ve built a release image from arm64/RPI.conf (releng/13.0 = branch and ports HEAD) - have tested it briefly on an 8GB Pi with a monitor and USB keyboard and it seems to do the right thing. I can put it somewhere accessible if anyone wants a copy before an official snapshot gets built. Mike --Apple-Mail=_2C86CFB4-48DE-49BE-B82B-0399A9CC6125 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE63rcTyYbDCIb37nhkcxsj9BQS1YFAmBDxvgACgkQkcxsj9BQ S1bEZBAAo8L/1KJB0bdImnAeAl2yyA8JA2QmROgoEJj01C9v6UwueqHvDEDW5g7G m/82XBPiZPvbffOl7N8UXVgm79ByRjZ7YUy7UPqStxS1cHv9s3bWOu2X9uvrbECk v/G+AQOgVEXUeAfc/nX7nZ7YFI21GQ0M/8TplX5q8ZQvpz705I3qPcu4mRzJQ/4Z rS4TBMVp51UvjpyfK4p3YDai0PuOUCwzdomZhs7uPZJVAEKPmIhxi9ikRfQxesc2 AQOiDxIIKnYAE8zWSlld5TCAU/kFW7s856FgwRUmwVFVCYrlzj3DGYJlJNK96wyr mvZlnT+NT6hqw7rcgd5OvS7gMYg5LXvs3P/k5CnVsEgjHM2j/7UiLM0G3QjG1oiI OSPaL53DolLOAkhM78J0K1QlUjX4V/nZ48t8TCjH3Pklsmxg2ZeJaJ6VRfR6bAF1 Y4obO+poMfPU5Y/grL79d4HTFwRTBJIZzmuwuhNLIlESL2jJyAx4PULMyIhO6j+H tT/+yYVTjlpvZo5dAOOO0UF8F9rgLj2pe5zQOw+YTVZ1El3KSlqcg2KFPJ4G1Nbe J41VQczoDgJ579vHftQpciz3DlbFAz95Hkt/n+EkqtWk1d79iLf5hk+RKroEU9wp v43KQixLkfyfIFdr0rRyTQ5tg36JHCoIfeaRmWgYAZiAtoH+9Kg= =tuwQ -----END PGP SIGNATURE----- --Apple-Mail=_2C86CFB4-48DE-49BE-B82B-0399A9CC6125-- From owner-freebsd-arm@freebsd.org Sat Mar 6 18:19:34 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 B979F56EF44 for ; Sat, 6 Mar 2021 18:19:34 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtCYd5yKPz4fkv for ; Sat, 6 Mar 2021 18:19:33 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Sat, 6 Mar 2021 19:19:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1615054765; bh=pMnykrAdw7AozvRJE/UqP3YIGbR5I08Gg52ORYHVJSM=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=mulSlJVpkhxY0yg/XnBNGyluqQIFqJrVXOUpIMHFmjsw/jS72H4OjQW0NINgnQneq l1nkCTKH7E+7g/YOpttJqX42KdKM0dz+zUFt3sp1JsGCpYHbFet1aczb5uLCwCPdbX TExeoYoD/MfPpgSmHU2q5akXW+sJXfcvN+63jrKlWHc/3xOC1xVpPYhVlOBS6rjbAC UvkEpQzECvZLfp1QQrPW/5plmIvEcH1VaAXMOzrrVxSvVMcuB9L0r5xXNI2u+nMZip 6JKs/kptfsS3ijKHYaHE0rq6UsyvhcTvl17vSb/PNbgVLQWUmbBJbr9g9EqbuzCj1y H0olcyAuroOCQ== From: "Herbert J. Skuhra" To: freebsd-arm@freebsd.org Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Message-ID: References: <20210302122057.86ba62bb1daa7f922134ecd9@bidouilliste.com> <43169560-334a-8bed-5546-c97112a1884f@freebsd.org> <4885AA40-7026-4BAF-BC89-B76EAB36F04C@FreeBSD.org> <020D6BDE-D0B6-4476-8E95-B3C6C5DA7B5F@FreeBSD.org> <20210306173837.GA97835@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210306173837.GA97835@www.zefox.net> X-Rspamd-Queue-Id: 4DtCYd5yKPz4fkv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=mulSlJVp; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:4f8:13b:240c::25:from:127.0.2.255]; DKIM_TRACE(0.00)[gojira.at:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:13b:240c::25:from]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; 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, 06 Mar 2021 18:19:34 -0000 On Sat, Mar 06, 2021 at 09:38:37AM -0800, bob prohaska wrote: > > Any hint when a bootable snapshot image might become available? > The target host is an 8GB Pi4 without a serial console, so it's > limited to USB keyboard and HDMI console, no wired ethernet. > > Thanks for reading! According to the snapshot mailing list[1]: main, stable/11 and stable/12 snapshots are built at Thursdays. releng/13.0 snapshots are built after sys/conf/newvers.sh has changed. Alternatively you can take the latest snapshot and update /boot/msdosfs yourself. Easy! :) -- Herbert [1] https://lists.freebsd.org/mailman/listinfo/freebsd-snapshots From owner-freebsd-arm@freebsd.org Sat Mar 6 18:39:11 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 5580056EFFC for ; Sat, 6 Mar 2021 18:39:11 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DtD0G6PCgz4gcM for ; Sat, 6 Mar 2021 18:39:10 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: by mailman.nyi.freebsd.org (Postfix) id D9D1F56F361; Sat, 6 Mar 2021 18:39:10 +0000 (UTC) Delivered-To: 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 D972A56EFFB; Sat, 6 Mar 2021 18:39:10 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtD0G5gL4z4gRT; Sat, 6 Mar 2021 18:39:10 +0000 (UTC) (envelope-from gonzo@bluezbox.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bluezbox.com; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=b/pb8IkyJlyeTcex6lzZ6L0PFf4FxMf2emZoSSBPKeI=; b=NoqSckVt/U0mWHDSW1Z+UxtK+q UuPguiR1mtR7CvoSnozOP4lWW/aRquNItq7Q7cId0FkUAQWK5hcSjgiRqutWBZarI8LaY+xFI/yD0 g6J8nEnkftI50UIc9VfkwseX52dZINQ+sFUeVA/tCU0joa0bgRZ0S7Tqk4PuxrFE5Css=; Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lIbpO-0006uU-QL; Sat, 06 Mar 2021 10:39:03 -0800 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id 126Id29N026565; Sat, 6 Mar 2021 10:39:02 -0800 (PST) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Sat, 6 Mar 2021 10:39:02 -0800 From: Oleksandr Tymoshenko To: Peter Jeremy Cc: stable@freebsd.org, current@freebsd.org, arm@freebsd.org Subject: Re: geli broken in 13.0-BETA4 and later on armv8 Message-ID: <20210306183901.GA26556@bluezbox.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Peter Jeremy via freebsd-current (freebsd-current@freebsd.org) wrote: > [Adding arm@ and making it clearer that this is armv8-only] > > On 2021-Mar-06 20:26:19 +1100, Peter Jeremy List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 18:39:11 -0000 Peter Jeremy via freebsd-current (freebsd-current@freebsd.org) wrote: > [Adding arm@ and making it clearer that this is armv8-only] > > On 2021-Mar-06 20:26:19 +1100, Peter Jeremy wrote: > >On 2021-Mar-06 19:18:37 +1100, Peter Jeremy via freebsd-stable wrote: > >>Somewhere between 13.0-ALPHA2 (c256201-g02611ef8ee9) and 13.0-BETA4 > >>(releng/13.0-n244592-e32bc253629), geli (at least on my RockPro64 - > >>RK3399, arm64) has changed so that a geli-encrypted partition (using > >>AES-XTS 128) that was readable on 13.0-ALPHA2 becomes garbage on > >>13.0-BETA4. > > > >I've confirmed that the problem is f76393a6305b - reverting that > >commit fixes the problem in releng/13.0. > > > >I've further verified that the bug is still present in main (14.x) > >at 028616d0dd69. Could you test this patch and let me know if it fixes the issue? https://people.freebsd.org/~gonzo/patches/armv8crypto-xts-fix.diff Thanks -- gonzo From owner-freebsd-arm@freebsd.org Sat Mar 6 22:08:31 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 F2B03573E7D for ; Sat, 6 Mar 2021 22:08:31 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DtJdq4bwmz4vD3 for ; Sat, 6 Mar 2021 22:08:31 +0000 (UTC) (envelope-from peter@rulingia.com) Received: by mailman.nyi.freebsd.org (Postfix) id 9D66B574335; Sat, 6 Mar 2021 22:08:31 +0000 (UTC) Delivered-To: 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 9D07457413E; Sat, 6 Mar 2021 22:08:31 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtJdq1Mktz4vSD; Sat, 6 Mar 2021 22:08:30 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.16.1/8.15.2) with ESMTPS id 126M7lCM070789 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 7 Mar 2021 09:07:52 +1100 (AEDT) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 126M7lCM070789 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 126M7fjJ012555 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 7 Mar 2021 09:07:41 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 126M7fc3012554; Sun, 7 Mar 2021 09:07:41 +1100 (AEDT) (envelope-from peter) Date: Sun, 7 Mar 2021 09:07:41 +1100 From: Peter Jeremy To: Oleksandr Tymoshenko Cc: stable@freebsd.org, current@freebsd.org, arm@freebsd.org Subject: Re: geli broken in 13.0-BETA4 and later on armv8 Message-ID: References: <20210306183901.GA26556@bluezbox.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u8vzHGsXtwBgpsBr" Content-Disposition: inline In-Reply-To: <20210306183901.GA26556@bluezbox.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4DtJdq1Mktz4vSD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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, 06 Mar 2021 22:08:32 -0000 --u8vzHGsXtwBgpsBr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-Mar-06 10:39:02 -0800, Oleksandr Tymoshenko wr= ote: >Peter Jeremy via freebsd-current (freebsd-current@freebsd.org) wrote: >> [Adding arm@ and making it clearer that this is armv8-only] >>=20 >> On 2021-Mar-06 20:26:19 +1100, Peter Jeremy = wrote: >> >On 2021-Mar-06 19:18:37 +1100, Peter Jeremy via freebsd-stable wrote: >> >>Somewhere between 13.0-ALPHA2 (c256201-g02611ef8ee9) and 13.0-BETA4 >> >>(releng/13.0-n244592-e32bc253629), geli (at least on my RockPro64 - >> >>RK3399, arm64) has changed so that a geli-encrypted partition (using >> >>AES-XTS 128) that was readable on 13.0-ALPHA2 becomes garbage on >> >>13.0-BETA4. >> > >> >I've confirmed that the problem is f76393a6305b - reverting that >> >commit fixes the problem in releng/13.0. >> > >> >I've further verified that the bug is still present in main (14.x) >> >at 028616d0dd69. > >Could you test this patch and let me know if it fixes the issue? > >https://people.freebsd.org/~gonzo/patches/armv8crypto-xts-fix.diff Yes, it does. Thank you very much. ---=20 Peter Jeremy --u8vzHGsXtwBgpsBr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmBD/SZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQaSg/+KiZqBm7SsuP5OSbSJutRc+kJqHhaCfJAdYZf2lTBOjKxTm1WEjmx9CET 1HN95aE9NC/vsHs+oO5l4G5FOOcNYj5hJWlMJEYsbTsJPmszso2d4i2cHqNWzkEw 6lc9xXmsvMdcYDBxZuBfIIqckqOLYJirJGe7o3/qeaucCfUxsH27pAYzZyomLqe1 Iu+0okIW21LvNCWmKLYu6qJs0yR3rynmQhngi8VUq53WkMhzzLIJL+C3koHqpL7c SfX11w0boDFD8GTrQRfPcoa5f/8+gkj6zy//a50CbyW0lWzR6Py/RNYhjZxBnQfh WpXyYJ5c85S2614W3msrKS5bz4C02/2zBTnDc6UoKlUIupDjYi8qYmm0lWLvErLl ynovrZj5mQjn1wgaaTR3eV/hUV8DaxsiZtMEZ4CxRlgzcuStVkhCxeX1Cq6LrWh7 aaO3bJ+hXU6b3k/dUK2ThWPGOE4YxQ7kQACd4/EywPMfXw+adOl6PiHAMPo9W9QD yj4qRRBpyq2t0iNPITXK6bkneb1zEgw5m131cj1aPkK56dgTs7p9OyQDaW8nNYah oZCURXdo52tlAupnd3F5HwOD1L9ku71gcoSDe4cOfhKnIfcBIpQN153C8WRpnJlu Qt3ZBHFcQo/4IKHGEvP6joH+OT09qUFX80nGmR5p14NQ4ztxNIQ= =qkq9 -----END PGP SIGNATURE----- --u8vzHGsXtwBgpsBr-- From owner-freebsd-arm@freebsd.org Sat Mar 6 23:14:53 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 C7B61575C73 for ; Sat, 6 Mar 2021 23:14:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-22.consmr.mail.ne1.yahoo.com (sonic303-22.consmr.mail.ne1.yahoo.com [66.163.188.148]) (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 4DtL6N4JfSz3FmM for ; Sat, 6 Mar 2021 23:14:52 +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=1615072490; bh=ksmDwhO681oECRr25gGrUAVv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llf5G7SjQo7tPTBL7MFZzIH25qCpXkmdOYAKaHL._UyUnfNRc0pgstS8IlAT GRSb6UQwvd7bnhWT5sRlxuS.xnyV4959o0Lh4WVC081cHIMDrZNLvdyQdmiDrgRnWDUMS28ZdV.L O65HVvpr0EUOle.9dUmcgNLWeIc49B23.iNRnk7JzQ6_8qj92dHIwCrTOjOfjq1JLfSyPUkYJd4P HAABtbHXNb2mXgK1E5SDm8eYblz2JyfuxQU.0.0t7n7JY6P.477CxIC31OpLIPinmrb6yXqMaQe8 ft4.R1A8uNhHCW9TUFSNcNV2qA7AEcaUjtsOP9DiLzbGnO4VTScpScXVlgT9E0XWjTkdycaQzCWZ 6THXmPDrmKoQNV6oWwNU7jweCtzo7aut7dF.MmjopIvSBQ9IGbV1laAMEVJLe3jX_U73I1mGLMku PwcneExWbhHd2DZBo8gSozvaVZDNL6NTQSO5Slv73X3wWXjL5qdQ.yHcQE_0fbP23bQYSrVLpXgf hcTHNxt790b9yJdvjuHGdWYPlqEJaNFR6tpq0Tc6izGt4T4xzaxKFBHNRfUgDLY9OPSJopwyzzTG ydIasaQfgv0ln.karvRdET5bZsHGvHCLm8Ve5jpm_cPLB.5Opna.s7sqDPiMY_iyejBxFGHhQjyX 7qUhlcdqPNY9_3bnt9htdq1GF9NEnALkHkQP9cRdLVJc3G0pqM7LGg_psBvy.1qHz86Lw7VP003t oipxA.Z7iRxA0H1pp X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sat, 6 Mar 2021 23:14:50 +0000 Received: by smtp401.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5f8a03e5aeb928c3c3ba2d33e2f62ea6; Sat, 06 Mar 2021 23:14:47 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPi4 Status and sysutils/rpi-firmware (and rng) Message-Id: Date: Sat, 6 Mar 2021 15:14:46 -0800 To: freebsd-arm X-Mailer: Apple Mail (2.3654.60.0.2.21) References: X-Rspamd-Queue-Id: 4DtL6N4JfSz3FmM X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; 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)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.163.188.148:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.163.188.148:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[66.163.188.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.188.148: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, 06 Mar 2021 23:14:53 -0000 bob prohaska fbsd at www.zefox.net wrote on Sat Mar 6 17:38:40 UTC 2021 : > On Sat, Mar 06, 2021 at 11:42:06AM +0000, Mark Murray wrote: > >=20 > >=20 > > > On 6 Mar 2021, at 11:37, Gordon Bergling = wrote: > > > Done in e797dc58bd29c5bc0873fc620fc11d5332f90e7f. Thanks for the = approval. > >=20 > > You are welcome. Thanks for doing the work! > >=20 > > M > > -- >=20 > Any hint when a bootable snapshot image might become available? > The target host is an 8GB Pi4 without a serial console, so it's > limited to USB keyboard and HDMI console, no wired ethernet. Are you picky about debug-builds ( main [so 14] ) vs. non-debug builds ( stable/13 or releng/13.0 based )? Also, are you picky about sysutils/rpi-firmware already being up to date in what you get vs. your having to replace the files with files from a recent sysutils/rpi-firmware build? Technically I've no clue how to know what sysutils/rpi-firmware vintage or sysutils/u-boot-rpi4-arm64 vintage would be used in future builds on the FreeBSD build servers. The FreeBSD commit hash/id does not identify that information in any way that I know of. For past builds, as far as I know one must examine the files contained and back trace the vintage that they came from. Nothing reports what it takes to reproduce the context that I know of. Such points seem to be involved for all media-builds that have sysutils/* materials providing some the media content. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)