From nobody Sun Oct 31 00:31:15 2021 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 B2B0318355A9 for ; Sun, 31 Oct 2021 00:31:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (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 4HhcXz363qz3DL6 for ; Sun, 31 Oct 2021 00:31:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635640284; bh=H1dzMeCSasCrPVuT3YwAlKoE/OCNH7ZPpxLdN8h3CHw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=U/qeZdwRDsQVqe6f0pMgwSb00rEAzhlVwEXPWNY8CY9PfKN1fPAJLYbbRi/EzwvNooJLCMq3t67Fcl9lvCzjJhmrpldBcpVACOmyvQUT/YbavMkviiLpfva54iXLMmRC7vTeupTCpOBaHI7/OQJcpRVp+YKgxLCnFR7qoqw9cF4d2rX5S4sWfGfw8w+Z+gXJ8a6eX8tzXvWaMZ8kyqrrjlT3II2xtRIl+KumZreeU90Y5P6aQTQnneml6yECaR4MW71o8/yz3yEME5Pid1e4P9Hr77e+cJViyfPWQaM53Mp4IaDA2mggKIBQVxmtX3v0NZ/xkOJsvXtEYA6zLoce5w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635640284; bh=Ukb0FUurxVKlL+MDsbjD5XZd1UWA0Jm5GI5mco4CIg7=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=VR5scWMt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_KPBct_9s9HL 1mE_2u1oi6HK1HVsZSg3SA2Sh8_MejpvyCZgu_64KH2Vb06Ye85wMclujuPBzwPxtRQM_CGMe92Q kVgDgFwxklRoMpUkO8oZnDinI0rOca7XYm5wmDOYj0kzVRr9pBTJjuNjP07zl4yeuKK1xQe6sXSH WKtxaO84w.pUcRk2iQXDnJOIWucpG2PTYgtSWK_7Vy1jTCEvSYEsBPKfhabYCcikt_1VrN.T3Y9W 3.SgEN_p7QgNPP6FoNarw.RaVjPwlRVVJdj2U72CJzXtEWB36.LziNVbNvla7aqbGMhdyxJybcsW Q0ZVXipM8XMCh1LwdrFThZpAaV.S4ryjUMA0QtHjtahq_OGaJdcxTF7IaZY5CzVtSR5xKhJAxhwh 7VFIkOuaT98KB4camkKWbAPUtrzrsnaR2IXkkuynJ2CNwCvY6HkzYmN7y_kHTrEDBN2Pq2uq31n6 Kj2ksxng39.TduZLvJJzG.w_sj53edbN2zfe6.VHYlg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sun, 31 Oct 2021 00:31:24 +0000 Received: by kubenode510.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 20842e8ffa9bea12e5a421d58d64eeb3; Sun, 31 Oct 2021 00:31:17 +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 14.0 \(3654.120.0.1.13\)) Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method In-Reply-To: <20211030213553.GA25712@www.zefox.net> Date: Sat, 30 Oct 2021 17:31:15 -0700 Cc: Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: <8F574089-08CD-4B33-A376-CA1E9E726090@yahoo.com> References: <41C0A656-D898-4381-BB81-034D54CA04A0@yahoo.com> <02806205-6685-41FD-B2D1-415C82FBCF92@yahoo.com> <20211028191635.GA19540@www.zefox.net> <7AC0733A-3FC9-4FA6-A6D7-0689A8ACB4CA@yahoo.com> <20211029182430.GA22414@www.zefox.net> <086D6998-A96F-4560-92C5-4E2CE05FF668@yahoo.com> <20211030213553.GA25712@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HhcXz363qz3DL6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Oct-30, at 14:35, bob prohaska wrote: > On Sat, Oct 30, 2021 at 01:41:52AM -0700, Mark Millard via freebsd-arm = wrote: >>>>=20 >>>> Yep: it picks one. Swapping or moving which ports are used >>>> may change which one is used when both are connected. >>>>=20 >=20 > It appears that choice of USB hub ports makes a difference.=20 > At least sometimes, connecting the USB3 drive to the hub > port formerly occupied by the USB2 drive results in a hands- > off boot. Unfortunately, not always. Interrupting u-boot > and issuing a usb reset command or two generally finds the > USB3 drive, which can then be booted explicitly. >=20 >=20 >=20 > I've captured one failure session at > http://www.zefox.net/~fbsd/rpi2/bootproblems/bootlog-usb3-solo.fail > but cannot reliably reproduce it.=20 >=20 > When the console offers the > U-Boot>=20 > prompt, is that coming from bootcode.bin, or something else? >=20 > Could anything be learned from trying to boot the armv7-configured > disk on a Pi3B or B+ ? That's a relatively easy experiment. I'm > trying to use a rather old Pi with a comparatively new USB drive. > The Pi3s on hand are at least somewhat more modern. Some of the bootlog-usb3-solo.fail content makes me think of a prior exchange that we had about U-Boot and getting it to wait appropraitely or other such issues: QUOTE FROM OLD MESSAGE (Outmost and inner most is my material, the other is your material) >> But I've also seen other, more complete information >> indicating that there is a environment setting >> (showing an example value): >>=20 >> usb_ready_retry=3D5 >>=20 >> to set up before the usb restart (or usb start) >> command. It deals with the issue more explicitly >> for slow devices. >>=20 >> Another one is (units: msec): >>=20 >> usb_pgood_delay=3D10000 >>=20 > Presto! using editenv usb_pgood_delay prompted for input, typing 10000 > and hitting return set the value and the disk was found. Cool. > It looks like the setting can only be saved to microSD. With > no card saveenv reports > Saving Environment to FAT... Card did not respond to voltage select! > Failed (1) >=20 >=20 >=20 >> There are also device that have problems with >> large transfers and require extra protocol to >> deal with transfer problems before they will >> work again, U-Boot not doing that. >>=20 >> usb_max_blk=3D20 >>=20 >> sets a old historical value that generally >> just works for such devices form what I read. >>=20 >> I see no indication that other usb commands are >> worthwhile until one has avoided that "Request >> Sense returned 02 04 01" message for usb reset >> (a.k.a. usb start). >>=20 >> The reports of this sort of thing are not limited >> to RPi's and go back to at least 2014. >>=20 >> If I understand correctly, usb_ready_retry and >> usb_pgood_delay and usb_max_blk are part of >> normal U-Boot builds these days. But I'm not >> certain of that. END QUOTE FROM OLD MESSAGE =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)