From owner-freebsd-arm@freebsd.org Sun Jan 3 13:29:40 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C60F4D208C for ; Sun, 3 Jan 2021 13:29:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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 "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D803l5Q6xz4vLn; Sun, 3 Jan 2021 13:29:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1609680577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AMojD/w6lsSrPFbUtwoYXfPEJs96DAk25Fws9ZObbHM=; b=kNPAwVZ07QUlpvfNpAifMFe3NkhCglLrY6XJz8XJNM817OXXQn/HI9VP9wljcXjZk199/1 6lANGtiv8bWVguZOkjMPRPdqiDaCVpnY1VnMHZzC3qCD5gFYJKJa9nlzZ6d7rZiolTm6Mw XkKjO0eNyTr6llr40V1g5/c18Mpdg+A= Received: from amy (31-38-167-109.abo.bbox.fr [31.38.167.109]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 55be8bf2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 3 Jan 2021 13:29:37 +0000 (UTC) Date: Sun, 3 Jan 2021 14:29:36 +0100 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: Andy McClements , Robert Crowston , freebsd-arm@freebsd.org, Mark Millard , Kyle Evans Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Message-Id: <20210103142936.d155633ed87427d9c144f7e8@bidouilliste.com> In-Reply-To: <480205D0-4153-4351-BC67-C4A535116E18@googlemail.com> References: <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net> <5B626DCC-6F7C-4554-803C-F488A1ED9BEB@googlemail.com> <56d10ea4-3284-3e4c-9521-8bf1008caa2b@ip-ether.net> <26D146B8-0362-4008-9A1F-A6CD6B1479BB@googlemail.com> <8edaad69-422f-8c9c-599c-e9eea00077f0@ip-ether.net> <26E20BD2-BD91-433F-9149-367D8AB9DFED@googlemail.com> <20210103115751.9d9d5470a6e4e3f849016b88@bidouilliste.com> <480205D0-4153-4351-BC67-C4A535116E18@googlemail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4D803l5Q6xz4vLn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 13:29:40 -0000 On Sun, 3 Jan 2021 13:36:39 +0100 Klaus K=FCchemann wrote: >=20 > > Am 03.01.2021 um 11:57 schrieb Emmanuel Vadot : > >=20 > >=20 > > Check the RPI image > > (https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.= 0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz) >=20 > I did and now I?m sure that you don?t own an RPI4-8GB(because the image d= oesn?t boot from USB/SSD).. > But the good news is that you have everything done well in ?organizing? t= he firmware-port. Ok, one thing at a time please. I was just answering your mail about the release image not using the port and using some hardlink whatever files. I do own a RPI4-8GB but indeed I've never tested usb boot on it. > With this last image the start4.elf & fixup4.dat is fine ! So:good work. > So it?s all about : https://reviews.freebsd.org/D26853=20 > which fixes pcie/usb-bootup-firmware-issues.( tested by me & Andy for now= ). And again please provide an overlay for this with an explanation of what and why things are needed. We will not replace a dts in sys/gnu/ with some other one coming from a different upstream. > > Am 03.01.2021 um 11:57 schrieb Emmanuel Vadot : > >> So the question is WHICH files should differ from sysutils/rpi-firmwar= e. > >=20 > > None. >=20 > it?s bcm2711-rpi-4-b.dtb which(currently) has to differ if we want to b= oot straight up from USB/SSD . > I say `currently` because that could change upstream. But why struggle wi= th upstream if we can fix it ourselves? We have to do both, fix it ourselves and working with upstream. Now that being said please remember that RPI doesn't care about u-boot so they might don't care about this problem. >=20 > > Am 03.01.2021 um 12:43 schrieb Andy McClements : > >=20 > > ?.. > > I am happy to say that, WITH PATCH D26853, all of these will successful= ly allow FreeBSD 20201224 to boot from USB SSD. Also that the vanilla 20201= 224 img (which I have checked includes the 20201201 firmware) also works fi= ne, WITH PATCH D26853. > > ?. >=20 >=20 > That?s awesome news, Andy=20 > and many many thanks for all your extensive tests ! > So we can probably say that currently we don?t have to struggle with diff= erent silicon-version, very good news. >=20 > And while #0XJTAG-Boss Rob privately is booting from a poor uSD-fingernai= l himself, > the nicest present he gave us is the USB/SSD-bootup ;-) , superf**king fa= st, 10 times faster(measured) than uSD, great! >=20 >=20 > Regards >=20 > K. >=20 > =20 > =20 >=20 >=20 >=20 >=20 >=20 --=20 Emmanuel Vadot