From owner-freebsd-arm@freebsd.org Sat Jan 2 11:08:13 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 B69054CB649 for ; Sat, 2 Jan 2021 11:08:13 +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 4D7Jz03Xd7z3kPs for ; Sat, 2 Jan 2021 11:08:12 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=65139 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 1kvelR-0000Iu-SE; Sat, 02 Jan 2021 11:08:10 +0000 Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? To: freebsd-arm References: <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net> <6420fc92-202f-6ea7-72eb-7868c6df032b@ip-ether.net> From: Andy McClements Message-ID: Date: Sat, 2 Jan 2021 11:08:03 +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: <6420fc92-202f-6ea7-72eb-7868c6df032b@ip-ether.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 9 X-Spam-Status: No, score=0.9 X-Rspamd-Queue-Id: 4D7Jz03Xd7z3kPs 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.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; 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(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-arm]; FREEMAIL_CC(0.00)[protonmail.com] 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 11:08:13 -0000 On 01/01/2021 19:27, Andy McClements wrote: > On 01/01/2021 19:17, Robert Crowston wrote: >> As is often the case, I am behind the times. :-) >> >> Andy, could you try booting with the unmodified, vanilla image? > > Hi Robert, the notes I made earlier this afternoon tell me I just got a > 'crash loop' in U-boot on my hardware with the vanilla '20201224' RPI > disk image. Output quoted below. My RPi4b has the Sept 03 bootloader. > > This was fixed by overwriting the RPI firmware files in the DOS > partition with the current files from: > https://github.com/raspberrypi/firmware/archive/master.zip Just to check, I re-tested this using a USB3.0 SSD instead of the SD card. With the SSD, I get the crash loop in the 20201224 U-Boot, even *with* the latest RPI firmware copied over to the DOS partition. The output is more or less the same but with a couple of additions: "Card did not respond to voltage select!" "USB is stopped. Please issue 'usb start' first." With SSD: U-Boot 2020.10 (Dec 24 2020 - 04:18:29 +0000) DRAM: 7.9 GiB RPI 4 Model B (0xd03114) MMC: mmc@7e300000: 1, emmc2@7e340000: 0 Loading Environment from FAT... In: serial Out: vidconsole Err: vidconsole Net: eth0: ethernet@7d580000 PCIe BRCM: link up, 5.0 Gbps x1 (SSC) starting USB... Bus xhci_pci: probe failed, error -110 No working controllers found Hit any key to stop autoboot: 0 Card did not respond to voltage select! starting USB... Bus xhci_pci: probe failed, error -110 No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... Bus xhci_pci: probe failed, error -110 No working controllers found "Synchronous Abort" handler, esr 0x96000044 elr: 000000000009bd2c lr : 0000000000091a10 (reloc) elr: 000000003b278d2c lr : 000000003b26ea10 x0 : 0000000000000000 x1 : b900080152b00000 x2 : 003aeea8f0000000 x3 : 0000000000000000 x4 : 000000003b2d30b0 x5 : 000000003aeea920 x6 : 0000000000000021 x7 : 656c696674646603 x8 : 0000000000000000 x9 : 0000000000000008 x10: 00000000ffffffd0 x11: 0000000000000006 x12: 000000000001869f x13: 00000000000069cc x14: 0000000000000000 x15: 00000000fffffffe x16: 0000000000004110 x17: 0000000000000000 x18: 000000003ae58d90 x19: 000000003b2d30b0 x20: 0000000000000030 x21: 0000000000000001 x22: 00000000ffffffff x23: 000000000000000b x24: 000000003b2bf8ef x25: 000000003b2c7ad6 x26: 0000000000000001 x27: 0000000000000020 x28: 000000003b2e4e94 x29: 000000003ae4c3e0 Code: f9400c02 927ef421 f9000c62 8b010001 (f9000843) Resetting CPU ... resetting ... (With SD card) > > U-Boot 2020.10 (Dec 24 2020 - 04:18:29 +0000) > > DRAM: 7.9 GiB > RPI 4 Model B (0xd03114) > MMC: mmc@7e300000: 1, emmc2@7e340000: 0 > Loading Environment from FAT... In: serial > Out: vidconsole > Err: vidconsole > Net: eth0: ethernet@7d580000 > PCIe BRCM: link up, 5.0 Gbps x1 (SSC) > starting USB... > Bus xhci_pci: probe failed, error -110 > No working controllers found > Hit any key to stop autoboot: 0 > "Synchronous Abort" handler, esr 0x96000004 > elr: 000000000009c0c8 lr : 0000000000092194 (reloc) > elr: 000000003b3790c8 lr : 000000003b36f194 > x0 : d519b040aa010000 x1 : 000000000000005c > x2 : 0000000000800000 x3 : 000000003b3d3670 > x4 : b900080152b00000 x5 : 000000000000005c > x6 : 000000003b3d3670 x7 : b900080152afff90 > x8 : 0000000000000000 x9 : 0000000000000008 > x10: 00000000ffffffd0 x11: 0000000000000006 > x12: 000000000001869f x13: 000000000000adcc > x14: 000000003af4ce38 x15: 0000000000000002 > x16: 0000000000004110 x17: 0000000000000000 > x18: 000000003af58d90 x19: 000000003b3d30b0 > x20: 0000000000000070 x21: 000000000000006d > x22: 000000000000000a x23: 0000000000000005 > x24: 000000003b3bf8ef x25: 000000003b3c7ad6 > x26: 0000000000000000 x27: 000000000000006d > x28: 000000003b3e4e94 x29: 000000003af4c100 > > Code: eb03005f 54ffff43 f9400ca4 17ffffe0 (f9400404) > Resetting CPU ... > > resetting ... > > > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"