From nobody Sat Oct 30 21:35:53 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 025761831302 for ; Sat, 30 Oct 2021 21:36:02 +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 4HhXfT5CpPz3LZ0 for ; Sat, 30 Oct 2021 21:36:01 +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 19ULZsq8026034 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 30 Oct 2021 14:35:54 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 19ULZscf026033; Sat, 30 Oct 2021 14:35:54 -0700 (PDT) (envelope-from fbsd) Date: Sat, 30 Oct 2021 14:35:53 -0700 From: bob prohaska To: marklmi@yahoo.com Cc: Free BSD Subject: Re: Troubles booting Pi2 from USB using bootcode.bin method Message-ID: <20211030213553.GA25712@www.zefox.net> 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> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <086D6998-A96F-4560-92C5-4E2CE05FF668@yahoo.com> X-Rspamd-Queue-Id: 4HhXfT5CpPz3LZ0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, Oct 30, 2021 at 01:41:52AM -0700, Mark Millard via freebsd-arm wrote: > >> > >> Yep: it picks one. Swapping or moving which ports are used > >> may change which one is used when both are connected. > >> It appears that choice of USB hub ports makes a difference. 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. I've captured one failure session at http://www.zefox.net/~fbsd/rpi2/bootproblems/bootlog-usb3-solo.fail but cannot reliably reproduce it. When the console offers the U-Boot> prompt, is that coming from bootcode.bin, or something else? 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. Thanks for reading, bob prohaska