From nobody Fri Jun 11 00:22:00 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 C459A5D116C for ; Fri, 11 Jun 2021 00:22:11 +0000 (UTC) (envelope-from freebsd@dsllsn.net) Received: from mail.disillusion.net (mail.disillusion.net [96.126.127.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.disillusion.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G1M3k1wZnz4vk4 for ; Fri, 11 Jun 2021 00:22:09 +0000 (UTC) (envelope-from freebsd@dsllsn.net) Received: from roast.disillusion.net (localhost [127.0.0.1]) by roast.disillusion.net (OpenSMTPD) with ESMTP id 161f5d4f; Thu, 10 Jun 2021 19:22:01 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dsllsn.net; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; s=drip; bh=g8u3sTU9VjqVPGZCHi7upwOaIeAfDKAV5B agRsGUSrk=; b=2bugqoNvl/eHy3AkbSzpsl1ABBadSJBk1RETeiQ0qIoybUetjQ Px1pw3VVkPTDotVRQxeGFctgYdRpCRIrIxl9smIwRWmcOGXQQAWO3lAm3N5HBRde nZHV2r1+SSp8/FzCv1Z8yeDC7n1q8JhdGMYEmSNtlr7sOsrYU0JtPg/bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=dsllsn.net; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; q=dns; s=drip; b=qLjHOObD3gY2pSqN5CeRq9CZkyIi N7+9UCoivkC5m4dls50k2kf/ISTHfL8/8Bf5Y8spyRWHxcd8V5CcgeiGEZ/NMCqK GCEOxGK6eXXgaQiSx9Pb28ajGOfexcvRJ6tzKiSGwhUfttu1C4EvQMA5NnHxLJZP eO47ST483ZPd86c= Received: by mail.disillusion.net (OpenSMTPD) with ESMTPSA id a12848f3 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 10 Jun 2021 19:22:01 -0500 (CDT) Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_15676D4B-6923-46F8-9A3F-472A02C3ABF0" 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 13.4 \(3608.120.23.2.7\)) Subject: Re: Boot from USB on RPi4 8GB? Date: Thu, 10 Jun 2021 19:22:00 -0500 In-Reply-To: Cc: freebsd-arm To: Mark Millard References: <4F3EE8D2-649B-4522-AD5A-7C308291802F@dsllsn.net> <43FAEEAC-EE36-4810-88AA-FF82AFBCC128@yahoo.com> <2F58272B-BD9C-464B-9A98-BF638971BA86@dsllsn.net> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4G1M3k1wZnz4vk4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dsllsn.net header.s=drip header.b=2bugqoNv; dmarc=pass (policy=reject) header.from=dsllsn.net; spf=pass (mx1.freebsd.org: domain of freebsd@dsllsn.net designates 96.126.127.161 as permitted sender) smtp.mailfrom=freebsd@dsllsn.net X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dsllsn.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dsllsn.net,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[96.126.127.161:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:63949, ipnet:96.126.112.0/20, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dsllsn.net:s=drip]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[96.126.127.161:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Reply-To: freebsd@dsllsn.net From: William Carson via freebsd-arm X-Original-From: William Carson X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail=_15676D4B-6923-46F8-9A3F-472A02C3ABF0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 30, 2021, at 6:54 PM, William Carson via freebsd-arm = wrote: >=20 >>=20 >> On May 30, 2021, at 4:08 PM, Mark Millard wrote: >>=20 >> On 2021-May-30, at 13:50, Mark Millard via freebsd-arm wrote: >>=20 >>> On 2021-May-30, at 10:59, William Carson via freebsd-arm = wrote: >>>=20 >>>>> . . . >>>>> I use a USB3 SSD that has small enough power requirements >>>>> to not require a powered hub. (I also use a 5.1V 3.5A >>>>> power supply as part of that context.) I've never tried >>>>> spinning rust or higher powered USB3 media. >>>=20 >>> I view the power supply that I use as just giving a little >>> more margin, not as a way to increase what the devices >>> total to. >>>=20 >>>> . . . I'm not sure what's considered "high powered" but the Samsung = tech specs say this particular model uses 5.7 W on average and 10.0 W = maximum. But it does seem curious that the Raspberry PI OS will boot = this disk without issue, so I don't think it's the drive. I also tried a = Samsung 950 PRO using a different enclosure (QNINE NVME Enclosure, M.2 = PCIe SSD (M Key) to USB 3.0 External Case), but it behaved the same. >>> . . . >>>=20 >>> Then you need to use a powered hub for that device. >>=20 >> I should have just referred to independent power. You >> had written: >>=20 >> QUOTE >> I'm trying to use a SAMSUNG (MZ-V7E500BW) 970 EVO SSD 500GB - M.2 = NVMe, attached via the Geekworm X872 M.2 NVMe 2280/2260/2242/2230 SSD = Expansion Board. >> END QUOTE >>=20 >> = https://geekworm.com/products/raspberry-pi-4-x872-m-2-nvme-2280-2260-2242-= 2230-ssd-expansion-board >>=20 >> shows that it has its own power connector and has an image >> that says "please power x872 via DC Jack of XH2.54 connector >> if SSD is not recognized or low power". Later text on the >> page says: >>=20 >> QUOTE >> Specifications: >> Power Supply >> =E2=80=A2 5Vdc +/-5% , Powered by Raspberry Pi USB port >> =E2=80=A2 5Vdc via DC power jack or XH2.5 connector, Extra power = for the SSD >> END QUOTE >>=20 >> So, if I gather right, you need to connect a power >> supply to the X872 and another to the RPi4B. >>=20 >> Another image says "Note: NOT recommended to use SAMSUNG SSD, >> if use SAMSUNG SSD, please close WiFi". Later text on the page >> says the same. >=20 > A-ha, indeed. I just noticed that as well. I've gone ahead and ordered = a supplementary power supply and a lower-power NVMe to do more testing. = I'll send an update once I've received and tested them. >=20 > Thank you for hopefully pointing me in the right direction. Alright, so, I ended up buying a WDS500G2B0C, which seems to only use a = maximum of 75 mW (this seems ... low, to say the least, but the column = is unlabeled in the spec sheet I found here = https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/= public/western-digital/product/internal-drives/wd-blue-nvme-ssd/product-br= ief-wd-blue-sn550-nvme-ssd.pdf). Sadly, it also would not boot from = either of my NVMe-USB adapters. After a while of getting frustrating forgetting which combination of = image + usb adapter + drive configuration I had or hadn't tried, I = thought to myself.. what would happen if I tried one of the USB2 ports? = Bingo! It booted FreeBSD no problem. So I'm not sure what exactly that means, except that I know the = power/usb adapter/drive/image is not the issue. I don't think I really = "need" the performance improvement of the USB3 port at the moment, but = maybe that's something that will help troubleshoot the issue? It would = certainly be nice to use little USB bridge pcb "cable" to have a neater = installation though. Any ideas? >> = https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/READM= E.md >>> lists: >>>=20 >>> "Maximum total USB peripheral current draw" as: 1.2A , >>> which at 5.1V is 6W. >>>=20 >>> That figure is the total for all USB devices attached >>> that are not powered independently. >>>=20 >>> That document also says that a 5.1V supply is required, >>> not 5V. >>>=20 >>> The power supply that the RPi folks supply is 5.1V @ 3A >>> or 15.3W. Even the 5.1V 3.5A power supply that I use >>> only multiplies out to 17.85W. >>=20 >> =3D=3D=3D >> Mark Millard >> marklmi at yahoo.com >> ( dsl-only.net went >> away in early 2018-Mar) >>=20 >>=20 >>=20 >> =3D=3D=3D >> Mark Millard >> marklmi at yahoo.com >> ( dsl-only.net went >> away in early 2018-Mar) --Apple-Mail=_15676D4B-6923-46F8-9A3F-472A02C3ABF0--