From nobody Wed Oct 27 17:39:52 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 DC50F182F479 for ; Wed, 27 Oct 2021 17:40:08 +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 4HfbYh0lsQz4hDJ for ; Wed, 27 Oct 2021 17:40:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635356399; bh=IkiB3WID7KLQ0zXSfxywxe5c33LL3zRBxf+SuQrq/js=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=QL7BmDNJJOBkycTzfnpiJI/suNIxFCrUpHpOQBw3W16U+4owEH5sHYO6o1RylIUwBvY148ehjTKnZM5wYyXWCGw+4rqSs7c2j7IshZXzSwsFBuHCzE3b+UKvCWjk1Hh/ZD1tufivClBlb8I9ZKZ6D5TQus2rFKpIlYT9b/qB+ND3fcwP3077exbMPFh5U53QChNbaH++/suy7aRdmjxh1i9nBN+1dRB6iyAUlKf0kQ9MpGTMGiqrT/mY2KWdAJME3ndVk6hEenrSa9cSnN5J/BZfJQY+Z5ik/4sOJ2SBGuFApUAXkSSYAjfifmmyWp75w5Z20Uv+ENEiBFagy8LHNg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635356399; bh=gYGvlwCqh0UPVNeK1ZbGP/HK9BMcqD3BFkdTuYVJPJD=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=S7IhVzjWU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qB_IQAa.81kYDhhuBs5osfi6UOc 9WRF686P1u3dW6Qln_NupJz1xlBzxJwHB6DClAT_R7lNTZ_wk7zX8GRkBWtIe_C87SAO3.lN0AAw lKn.e8QmcbAv.Q9Sy5ruQQdWs89GcHNSU1bnU9GYObhB3HsVZ4ewox7QWIRC1Cz7osJ6mF7UsnCR IFpL3NyeK2GEMNOG1bJD7OpLyxT8vsmwPjXS737ePLJGus1c39xHV1IMntXQxc0TniMe6zlU_goO mSpryhd3.cOj0boWG3E0fU35Lm7HHFSRx1bYi0P7bGwB__j1XqYqMDibRMbfPU5hbElf16OQyMTY EZ6GuIbxo_aQtYpnlufgRosOaBvw8414pmnSRaie29h_JPBRvcKDQCpiEZujcHdv0u9h1FA1o8ih jGNd84ohlRBacDENwLDHZCxCzc7rTep4LqpLY6yoccMClVltLlZ1BX_gfl4u4M0U5mSbBd0iC4YF de93alE9Hq3WUwg6RiRwxzQrVbUptWnWW62XMXRvRrS_O X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Wed, 27 Oct 2021 17:39:59 +0000 Received: by kubenode522.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c0072271c68ba537fd50a32ff12251b5; Wed, 27 Oct 2021 17:39:55 +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: <20211027162852.GA16010@www.zefox.net> Date: Wed, 27 Oct 2021 10:39:52 -0700 Cc: freebsd-arm@freebsd.org, freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20211025034332.GA8398@www.zefox.net> <20211027162852.GA16010@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4HfbYh0lsQz4hDJ 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-27, at 09:28, bob prohaska wrote: > On Sun, Oct 24, 2021 at 08:43:32PM -0700, bob prohaska wrote: >> I've got an early Pi2B (not plus) that has been booting reliably >> from a USB2 disk connected via a USB3 hub using just bootcode.bin >> and timeout on the DOS partition of the microSD card. >>=20 > It turns out the USB3 disk boots normally _provided_ the old > USB2 disk remains connected. I didn't try that initially both > because I didn't need both disks and because the boot order=20 > couldn't be obviously controlled.=20 >=20 > It turns out the new disk is discovered first and boots as=20 > desired, so the system is busy building an up-to-date world > and kernel. There's room for a ports tree on this disk. >=20 > Does the ports version of u-boot include support for the > bootcode.bin-only mode of USB booting? Before U-Boot is involved there are other files involved such as a start* file from the USB device. With appropriate config.txt content, and possibly other settings, the boot is likely rather explicit about its early activity. (But I do not currently have access to a RPi2B v1.1 or earlier to test the details on. In fact, the accessible only RPi*'s are RPi4B 8 GiByte ones.) (I wondered if you meant RPi3B: To my knowledge there is no such thing as a RPi2B+ so the "plus" reference suggests an early RPi3B might have been what was involved.) > Right now I'm using > the version of bootcode.bin offered at=20 > = https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#spec= ial-bootcode-bin-only-boot-mode >=20 > Without having the USB2 disk connected the serial console hangs > with what looks like "cb" as the only output. It's unclear if > u-boot is starting at all. The red and green LEDs remain lit, > seemingly indefinitely.=20 >=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)