From nobody Mon Oct 3 02:30:57 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MglFR2x3fz4fBxn for ; Mon, 3 Oct 2022 02:31:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MglFP1pM7z3Cwr for ; Mon, 3 Oct 2022 02:31:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664764262; bh=geRrdksSZDgButiT6QHQh9Rdk+1q6NsBpGIa5BnGEss=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=NTtEpcs7mjIwCgXKpmEygnGRwPnreO7z1pLR3EZdLPMcRQR5HrE6WGBrQ/ZBwrdbFYjl+dwtdIdbv338QFhGS1eokC1xeJq5MYuzRRH0cd7IKeFaYshYFYs1kG6XxSYQYz03KP+UfOzflKHv5QEB6tyz5UsT5FGM7ockfFLYMYsm5bji2hQrT03gqE2M9WNAuG+KQlCjo1Lcghj2MYj2Cd9UJ6JTuVDlyrwfStCkTKpbHu/sKoPAgCD8JFVaw32RLw+XoUya0tAniZ/n4YqywyWtC4qDB3VfSSIMEjWpMsdQvMPRgBfTxYJ4yAboZAaT2uiNYPpAOivBGwb0iB7zgg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664764262; bh=JEq4bMIvX0eIXbDu6fRhpRAqfYkBUbkOO8wpN/LGUKy=;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cdwf3MkG14ElbBzSTddjLeqnRgck13rnqW.rZEnR41jyoqVa1E IjvHbCR1myErbqIIXrxVTA_p.t7IrKFSid4Aqdau571k3EoR5yqIKn2bylZfwIO8QJkEr9n89flG 9NASJISsRlW8oCgTkSEjQprO4a4LS3olyzbq4HOXCJvzuh3rNvGASuEkBTdDSYtrfJjCaNy8uDTh XsKEm9MeepN3bHSPqZd_7c00X_TBO08JiRE3lBkkNdcpVLch8koFIxslYeU6OOLBZSehvfiblBZK eXIJ2B2g7jRtDPibhKTs4C5uKvoDkKA3I7vEQfIWjAmnlGEdvtcosY1pbnfkI.peFJKw9dgDeTAa ejauXR4qW22ZpbynDzoYg3Z4SJgyKWEWPJ3oWnm1hfDYPShA6oFOxXeuo4zpn53vYZRnygwQH5g9 1VIBlRRbgJS9TZYG9OjBiIe4JXIiv830PYcmYqYFDrZek2sRFnzB0ragehDryd2spdESGajjJaTZ GAaFkZ.NBGZbNcPv8w9bkKy8z0CyU22O_UVuPEobUhpH8GwYhK6wzGCF.tnZ9C0MF.FMFpTwRy23 8q4MT8qyHLA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 3 Oct 2022 02:31:02 +0000 Received: by hermes--production-bf1-5fb9f4c8b8-jf7ft (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fe3815006113e3b953e91e5944a6a382; Mon, 03 Oct 2022 02:30:59 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it From: Mark Millard In-Reply-To: <20221003004624.GA3381@www.zefox.net> Date: Sun, 2 Oct 2022 19:30:57 -0700 Cc: Klaus K??chemann , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20221001174724.GA98055@www.zefox.net> <20221001193033.GA98348@www.zefox.net> <46226720-D867-4AD3-9559-A4365FAC28C4@yahoo.com> <6DB88FC9-629C-43E6-9673-32640FC547F7@yahoo.com> <20221002182049.GA2255@www.zefox.net> <5FFDAA6A-AD8C-4E40-A2EB-4082E5086679@googlemail.com> <38DFEB91-AC60-4FD1-8088-95B0A06C5E5D@yahoo.com> <20221003004624.GA3381@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4MglFP1pM7z3Cwr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=NTtEpcs7; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Oct-2, at 17:46, bob prohaska wrote: > On Sun, Oct 02, 2022 at 10:18:28PM +0200, Klaus K??chemann wrote: >>=20 >> hard to read and remember every log but I thought Bob wrote about = aprox. 30 successful reboots after the mdelay patch, >=20 > That is correct. Shortly afterward I tried a second usb-sata = enclosure. >=20 > I didn't immediately notice a difference and though it didn't matter. > You comments served to make me think again. >=20 >> while of course that could be coincidence, who really knows what = happens in this untrackable inconsistent behavior of the usb-boot?! >=20 > Unfortunately in this case, human inconsistency (my own, alas) was = compounding at least > part of the trouble.=20 >=20 > The more troublesome bridge contains a JMS577 chip, the less = troublesome JMS576. I'm confused. The logs I have show 0x0583 (earlier) and 0x577 (later). I'm not aware of a 0x0576 example in the set at all. (The JMS??? naming and the 0x0??? product ID's normally match for the ??? part.) > = https://pdf1.alldatasheet.com/datasheet-pdf/view/1136441/JMICRON/JMS576.ht= ml > Contains a brief description, but I didn't see much quantitative = information. >=20 > I've reverted the host to the less troublesome JMS576 and will try to=20= > reproduce some of the earlier results as a sanity check. I'll note that I've reverted my active environment back to its normal content. I've not figured out a way to get reasonable evidence, given the combinations we have observed. I'll note that RPi3 EDK2 UEFI is not an option as far as I know. I've never had it work for two things that I checked up front: A) microsd cards: Even pre-existing file names for msdosfs end up messed up. B) Serial console: once multi-user (or so) starts it is garbage. (I can ssh into the boot but I've not done much that way, given the problems reported above.) Another issue is that Device Tree is needed instead of ACPI because the ACPI is non-standard [matching Microsoft]. (For RPi4B EDK2 I use UEFI/ACPI, it being based on the standard. Some of the RPi4B's normally run under the UEFI/ACPI environment.) I retried RPi3B EDK2 today and the above is still the status for it. =3D=3D=3D Mark Millard marklmi at yahoo.com