From owner-freebsd-arm@freebsd.org Sun Jun 21 15:32:14 2020 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 5186C352B09 for ; Sun, 21 Jun 2020 15:32:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-21.consmr.mail.gq1.yahoo.com (sonic301-21.consmr.mail.gq1.yahoo.com [98.137.64.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 49qc3c6XcWz47wt for ; Sun, 21 Jun 2020 15:32:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: tTQ6_fQVM1kOHmHGAkWJpJulFHx0B6RfHYmQR07.ty4S.viAaVNARlxpgUt91Fq oDWt7YiqDd_a0pbssA5pKcbiJ2WxtPJu7vpZoGrgXkSFgIn6eqch13ll.nduS8KWr02v0jCud7X9 FCRrt0MQiC34vR9gt7QwZPNCUrzxKBQj0tiD8Tty8rZ4poVZaZnuHn5Hif7ZdRvr2RDpLejtKdm5 qBx1T9DuzTudhmrun3Io7DRZGnNfWO4jGuI0Z.ZiQ9Q7bTANpERHekIoyWMohKemLhdLPyRirW.h Snz31SbfxLj21Wl.TArwaT.5EVB5FRFnhtfwnVy3j5CTVTybe05DwN7f8zV32DibaxFXkppUTwmd BQr_2xYPeFAmMt.DKOgslv706tkqwy8J4eTzJs3D4PepbyBhn70u95dQ5KRDOAN_a4hh1_5w6S7G dx3pKlEIxLDIUVeYYqN7jI.C0Bew2sRzb2c2etueDkS64KV65VV32WK.gwBehLOqIx85TYB8jhRE X3_bSJb31PCJEli5Hsp8mpKYfh_OwGcDGFc9jTnQruQcbTsbmp067YCcwcOTNq5Kru0yUwEZomzN x9jCu0SLefOKAGsw2ktxbnIce7Z_yj3Af.rrK7UD09Q5W89pz6qPRPmFwsGQcR2N_vbXEAOieRu9 f3LWTkfIGQc81BY.W7kqvl5kP02DX56Db02kDEw_whP7.8yzfA1KW69A8cC2_w0yYdZpSIy7RGpq m9HYmT3Zf1Tt5I5DNVbtYCkXL9OsYWcdipzfpWE7MViqCM2w3fkrGVB3Eqg4KWp8AmlAKNxQeABL 4ivizLnDn6u4y63ZXnoDf44W1Wz0MZL5kXinDzM8Jmo_OXOfHuMzvE22C06LFXAI5.fZE0mbnaiZ lTZgUTwUbtyPZx.TL97YL6ajtfwAtpsT6CZ8x5yikJetQ04MMG0ju4KBYZ1OOTKLuK2vchlDhDEf h.30ockQM4Y5zYCuUMtBqLZrrfgLx6GQ4Ro0_NK_mss.kvVE4MdLpjQngksxUSWXGGrZCqBb8LnO cf3gNerCp8GvYYImsZqg8VYRVXPibEquSgu6iZL2.Cv54hu0xPMidgrs1BUn_UhekeX3syIMbNDJ jbpoGz3xsyYq_XAvFIkL.JvfW1hwccYtqTuD1h6n0IHR0yrn8Oxsdx9Hv3cy_hME2WUbXSM9jFcf MZhwJv3Fw6IyRPQGW9Eg.mxFul_ecFhypmpGthK9GjniO22z0d1XzDik.6yMTHh_0iS4LkaPzV1. E7VwQFLKasjFkQh_aKc64OmlaB1j_Z5gYac3AtYy1vQwMkFMpC9Y73qQ8joEirpRIQ0fyYTTVyS7 S4J0524OOXAB1BuUMhjeawsrWxh5lIMnNnSudZW4EoJ721DGONvtqXK2gDuQj6UZNFuf79g4VD04 9zGow5Fnp7zgUeY7pZJ1xJx5bIjxhia3ehmc8UjPdxny_UBUBVloPeXXrrqf5AQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Sun, 21 Jun 2020 15:32:10 +0000 Received: by smtp422.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 31a6820a8570bd0567b443f254959d06; Sun, 21 Jun 2020 15:32:05 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Raspberry Pi 4: no USB? From: Mark Millard In-Reply-To: <3Z-7rJUqdU6I528NgaO1IKyCZoVy6girPLgcDG2XCYPXlFULHYHz7_XAwZYJ611J1_MLmWGQZDM4tG1gJkgnyH1xTQSK7XxeZVz2BQQvq_0=@protonmail.com> Date: Sun, 21 Jun 2020 08:32:04 -0700 Cc: Frank Rothstein , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4E31614C-19B9-4094-9260-71485F35DE4E@yahoo.com> References: <8267e8f2-781c-2fe4-bce6-e3aa3d92789e@upokojski.de> <3Z-7rJUqdU6I528NgaO1IKyCZoVy6girPLgcDG2XCYPXlFULHYHz7_XAwZYJ611J1_MLmWGQZDM4tG1gJkgnyH1xTQSK7XxeZVz2BQQvq_0=@protonmail.com> To: Robert Crowston X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49qc3c6XcWz47wt X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.24 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.66)[-0.659]; FREEMAIL_TO(0.00)[protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.016]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.07)[-1.068]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.147:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2020 15:32:14 -0000 [This ends up reporting a possible USB3 issue.] On 2020-Jun-21, at 03:37, Robert Crowston via freebsd-arm wrote: > There are two options at present. > 1. You can use the UEFI loader instead of U-Boot, where I understand = USB now works. However, I think it is serial only, no HDMI. (?) Despite needed to select serial-console mode in UEFI in order to boot, HDMI worked just fine on the 4 GiByte RPi4 that I have access to. (Not that I usually use such.) For example, I started up lumina when doing basic tests. However, Ethernet and mmcsd0 do not show up in FreeBSD. I've had to use a USB Ethernet to have Ethernet. The following may be a function of the conditions/configuration I'm experimenting with. For example over_voltage=3D6 and arm_freq=3D2000 and it is the 1st time using two USB3 devices (SSD and Ethernet): no powered hub involved (yet). I've not investigated variations yet. I am using a 5.1V 3.5A power supply. While I'm not generally where I can see/use it, an HDMI connection is present but nothing is logged in there. It appears that I get occasional USB SSD data corruption during writes: building ports a few later extracts of prior ports builds get ". . . from package: Lzma library error: Corrupted input data". Out of 419 ports built so far I've had 4 such failures (40 other ports skipped). The last port (llvm10) is still building and probably has 4 or more hours to go. Possibly going along with that is that, when I try to copy a large tar file during the poudriere bulk, the copy ends up corrupted (diff/cmp find differences). I've not yet tried when the RPi4 was basically idle. Using cmp shows that long sequences of bytes are different. Sometimes the new copy has large blocks of binary zeros but not always. It looks like the blocks might be 4096 in size. (Some bytes at the beginning or ends of 4096 might happen to match so the size of the mismatch is can be somewhat less than 4096.) The alignment of the mismatched blocks also stays inside 4096 alignment boundaries, not crossing. (I've not seen back-to-back failed blocks yet.) The messed up blocks are rare. The poudriere bulk is using 4 builders, each allowed 4 processes. So much of the time there was/is a significant load average involved (4+) and there was such when I was testing copies. So far I've not seen variability in the read results of the files that were created. It appears to be a write-time variability. Of note: The USB SSD is the same media also used to boot and operate a Rock64. I've not observed any problems in that alternate usage context. But I should do more explicit checking now. My testing NetBSD with the built-in Ethernet in use and only a USB3 SSD has not suggested problems for the over_voltage and arm_freq so far. But I need better checking than I did. NetBSD was using the same type of USB3 SSD on the same RPi4. > 2. You can wait for my patches that enable USB to make it into Current = (assuming they are accepted). I need to rework them a little further. = You can follow the progress at > * https://reviews.freebsd.org/D25068 > * https://reviews.freebsd.org/D25261 >=20 > -- 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 Sunday, 21 June 2020 09:01, Frank Rothstein = wrote: >=20 >> Hello everybody, >>=20 >> I am trying to run FreeBSD 13.0 using the image >> FreeBSD-13.0-CURRENT-arm64-aarch64-RPI3-20200618-r362292.img. >> Everything seem to work fine, but USB is not working. Is USB on >> Raspberry Pi 4 not supported or do I have to activate it manually? >>=20 >> Thanks in advance, >> Frank >>=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" =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)