From owner-freebsd-arm@freebsd.org Sat Jan 2 18:39:25 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 B81DF4DA731 for ; Sat, 2 Jan 2021 18:39:25 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D7Vzd0hz2z4m4P for ; Sat, 2 Jan 2021 18:39:24 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=57799 helo=[10.0.30.30]) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92.3) (envelope-from ) id 1kvlo6-0004u6-3o; Sat, 02 Jan 2021 18:39:22 +0000 Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? To: =?UTF-8?Q?Klaus_K=c3=bcchemann?= References: <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net> <5B626DCC-6F7C-4554-803C-F488A1ED9BEB@googlemail.com> From: Andy McClements Cc: freebsd-arm Message-ID: <56d10ea4-3284-3e4c-9521-8bf1008caa2b@ip-ether.net> Date: Sat, 2 Jan 2021 18:39:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <5B626DCC-6F7C-4554-803C-F488A1ED9BEB@googlemail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 9 X-Spam-Status: No, score=0.9 X-Rspamd-Queue-Id: 4D7Vzd0hz2z4m4P X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ajm@ip-ether.net designates 2a00:1098:0:82:1000:0:2:1 as permitted sender) smtp.mailfrom=ajm@ip-ether.net X-Spamd-Result: default: False [-2.36 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1098:0:82:1000:0:2:1:from]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ip-ether.net]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[2a00:1098:0:82:1000:0:2:1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.86)[-0.856]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 02 Jan 2021 18:39:25 -0000 On 02/01/2021 17:51, Klaus Küchemann wrote: >> was actually booting from the SSD with no SD card present, this caused a crash in U-boot. >> > Hi, > > thanks for testing ! ..and pleased to hear that we have made progress … > there seems to be something goin wrong with our release which doesn’t embed the rpi-firmware correctly > In the rpi-release… > Could you please test by overwriting the following files to the msdos - partition : > https://github.com/raspberrypi/firmware/blob/master/boot/bcm2711-rpi-4-b.dtb > https://github.com/raspberrypi/firmware/blob/master/boot/start4.elf > https://github.com/raspberrypi/firmware/blob/master/boot/fixup4.dat > > or better with all files which have the number 4 in it in : > https://github.com/raspberrypi/firmware/tree/master/boot > > That should fix the SD-card-thing because I guess the dtb-fix made it upstream meanwhile, > If not we will continue hacking that... Hi Klaus, I have been using firmware files datestamped 27/12/2020 6:14, from: https://github.com/raspberrypi/firmware/archive/master.zip I have used these, to replace ALL those files on the DOS partition in the 20201224 img. I had assumed these were all the 'latest' versions. I just did a 'fc' of a file from the ZIP file, against one downloaded from your links above: D:\RPi4b\RPI_Firmware>fc blob-master_dtb\bcm2711-rpi-4-b.dtb master\boot\bcm2711-rpi-4-b.dtb Comparing files BLOB-MASTER_DTB\bcm2711-rpi-4-b.dtb and MASTER\BOOT\BCM2711-RPI-4-B.DTB FC: no differences encountered So I am reasonably confident I have indeed been using the correct latest versions. I am happy to do any further testing, or checking on my tests if you feel they may have been in error.