From owner-freebsd-arm@freebsd.org Sun Jan 3 10:43:47 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 5447F4CD4A8 for ; Sun, 3 Jan 2021 10:43:47 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D7wNM1Tspz4l4N; Sun, 3 Jan 2021 10:43:46 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32d.google.com with SMTP id v14so14539966wml.1; Sun, 03 Jan 2021 02:43:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=OQi+EN99AIHVnQfcEQLinaWqiU43gE6RetcT73lFM20=; b=NJxy4V5lxWzNdGOx6psr2yFVKTtOtU9EAOYzMJjWjTKSs3dOxPQQS7l92wZNDpO7un 9O9IiZH2Z0CAbo0A47nzvTGncZntIblIw/Ed7GQykN1nUYhowxGwWJPmDtlCNFPyk8pu KtLFh9UZ88C+p34BVI4+e08HfhrJughiUAcM5bpwoIxZQ90RlpQEqMag0B/wV3//uZQu P3nQgySU8/bhsxQGT47xCxrYkbz8jbwx3jVvBUrrOPkPw0qKHzOICmllKqjmqbbl6JOs E7w1XC5e/3wwCkDMcpNGHvrAMfvHRyLJ4b09euUpgGe1JayqdrHTLnOYLbwpM/2iX4DX DyPA== X-Gm-Message-State: AOAM531F3vl1x9+nTpmPo5IthmarS9L67du/dIju2TeCtiqv6fdCnU/p YP91Okv+zbfk1U4sZ7f6Y80= X-Google-Smtp-Source: ABdhPJxPKS9tG0qVLWlBVvTYcJvArAeTdBTgQI83wWnwwTspxQaTUsxxB7NNKovBfNhN18B5SoENTg== X-Received: by 2002:a05:600c:410d:: with SMTP id j13mr22714292wmi.95.1609670625458; Sun, 03 Jan 2021 02:43:45 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-104-069.46.114.pool.telefonica.de. [46.114.104.69]) by smtp.googlemail.com with ESMTPSA id z63sm31427470wme.8.2021.01.03.02.43.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2021 02:43:44 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Sun, 3 Jan 2021 11:43:41 +0100 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> To: Andy McClements , Robert Crowston , Emmanuel Vadot , freebsd-arm@freebsd.org, Mark Millard In-Reply-To: <8edaad69-422f-8c9c-599c-e9eea00077f0@ip-ether.net> Message-Id: <26E20BD2-BD91-433F-9149-367D8AB9DFED@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D7wNM1Tspz4l4N X-Spamd-Bar: ---- 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 10:43:47 -0000 Hi Andy & friends :-) ,=20 according to https://www.freshports.org/sysutils/rpi-firmware/=20 we are using 20201201 , assumed that releases are compiled on = amd64(aarch64-port is behind). 20201201 is exactly what I see when I compile sysutils/rpi-firmware = manually=20 on amd64(for all files). But when I open = https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/13.0/F= reeBSD-13.0-CURRENT-arm64-aarch64-RPI3-20201210-7578a4862f0.img.xz I see a mixture of versioning(what has good reason), specially=20 2019/Nov/22 and 2020/Dec./10 . So the good reason is exactly those problems with different versions of = special files. And this let me assume that=20 EMBEDDEDPORTS=3D"sysutils/u-boot-rpi-arm64 sysutils/rpi-firmware=E2=80=9C=20= In https://github.com/freebsd/freebsd-src/release/arm64/RPI.conf is NOT embedded by default, instead we use different files, The files we deal with are specially bcm2711-rpi-4-b.dts ( the reason = for https://reviews.freebsd.org/D26853)=20 and start4.elf and fixup4.dat . So assuming that the firmware is not embedded by default in the sysutils = -port and instead uses different HARD-LINKED versions of = firmware-files, What we do here is finding the correct files which we have to hard-link = for the (*.img)releases. That=E2=80=99s why I sent you the link to :=20 = https://sourceforge.net/projects/d26853-bcm2711-rpi-4-b-dtb/files/rpi4_pac= k_freebsd.zip/download Because currently I assume that start4.elf and fixup4.dat of that link=20= Will boot up your machine directly from USB/SSD. So the question is WHICH files should differ from sysutils/rpi-firmware. While organizing u-boot/firmware/releases is the area of =E2=80=8B=E2=80=8B= manu@, the hardcoded #0X=E2=80=A6. -driver is the area of PCIE-Boss Rob = Crowston :-), this two have the last word what is to do. So finding the right combination of hardcoding, firmware-updates and = hard-linked firmware-files and organizing the (*.img)-release is what = we currently try while I have to browse the fbsd-src again to look for = WHERE=20 some files are hard-linked. So giving manu@ a chance to =E2=80=9Ereorganize" the release is possible = when , let=E2=80=99s say at least 3 Persons=20 ( e.g. Rob, YOU & me) say: these are the files we have to go with for = hard-link. long story short:=20 Andy, yes, thanks in advance to test = https://sourceforge.net/projects/d26853-bcm2711-rpi-4-b-dtb/files/rpi4_pac= k_freebsd.zip/download and=20 https://reviews.freebsd.org/D26853=20 against whatever firmware-version from rpi-org you like., but best = against those which are in the current img-release. (22/November/2019 = and 10/December/2020) AND the latest release from rip-org. By the way, it=E2=80=99s an annoying thing with the firmware but we re = nor the only ones who have to deal with that, e.g. edkII also has sometimes. (M. Millard, didn=E2=80=99t you post a link in the past to src where the = files are hard linked?) Sorry for my chaotic English thanks,Regards K. > Am 03.01.2021 um 09:45 schrieb Andy McClements : >=20 > =E2=80=94=E2=80=94=E2=80=94 > =E2=80=A6... > However may I suggest I test with files from one of the previous = official repository ZIP archives ? That way we can be sure of the = versioning. eg: >=20 > https://github.com/raspberrypi/firmware/releases >=20 > Should I test with the 1.20201022.zip ? >=20 > Regards, Andy From owner-freebsd-arm@freebsd.org Sun Jan 3 10:58:01 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 575444CDB0F for ; Sun, 3 Jan 2021 10:58:01 +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 4D7whn0MrRz4m00 for ; Sun, 3 Jan 2021 10:58:00 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1609671472; 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=EaEhI1HXJaNzV9pdenOrIopqs16Hjs8mj+6RioADkkw=; b=tuURSXzFmyoGyAMtBu8LURCrFVUkvvJfIGOd9R0U7xkZiV9KSVyGJTLvwBPQb+2q0xM45V lZ/Y9IPpwSNlGmYvbRuP0SZC8/JQJqYd7wljVGyAT8KVE0njQnKHx7v9168tKakV8C0VWq vzYj5ckTeOQ6bz9vKI+xR0uuVsC4yXQ= Received: from amy (31-38-167-109.abo.bbox.fr [31.38.167.109]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 9739cb48 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 3 Jan 2021 10:57:52 +0000 (UTC) Date: Sun, 3 Jan 2021 11:57:51 +0100 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: Klaus =?ISO-8859-1?Q?K=FCchemann?= via freebsd-arm , Andy McClements , Robert Crowston , Mark Millard Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Message-Id: <20210103115751.9d9d5470a6e4e3f849016b88@bidouilliste.com> In-Reply-To: <26E20BD2-BD91-433F-9149-367D8AB9DFED@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> 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: 4D7whn0MrRz4m00 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 10:58:01 -0000 On Sun, 3 Jan 2021 11:43:41 +0100 Klaus K=FCchemann via freebsd-arm wrote: > Hi Andy & friends :-) ,=20 > according to https://www.freshports.org/sysutils/rpi-firmware/=20 > we are using 20201201 , assumed that releases are compiled on amd64(aarch= 64-port is behind). > 20201201 is exactly what I see when I compile sysutils/rpi-firmware manua= lly=20 > on amd64(for all files). This port only compile the rpi3-psci-monitor part. The boot file for rpi (bootcode, dtb, start* etc ...) aren't compiled, they are just fetched and installed. > But when I open https://download.freebsd.org/ftp/snapshots/arm64/aarch64/= ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-arm64-aarch64-RPI3-20201210-7578a4862f= 0.img.xz > I see a mixture of versioning(what has good reason), specially=20 > 2019/Nov/22 and 2020/Dec./10 . I've updated the port on the 13th of december (https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D557893) so you will not see the same files in this image. > So the good reason is exactly those problems with different versions of s= pecial files. > And this let me assume that=20 > EMBEDDEDPORTS=3D"sysutils/u-boot-rpi-arm64 sysutils/rpi-firmware?=20 > In https://github.com/freebsd/freebsd-src/release/arm64/RPI.conf > is NOT embedded by default, instead we use different files, > The files we deal with are specially bcm2711-rpi-4-b.dts ( the reason for= https://reviews.freebsd.org/D26853)=20 > and start4.elf and fixup4.dat . > So assuming that the firmware is not embedded by default in the sysutils = -port and instead uses different HARD-LINKED versions of firmware-files, > What we do here is finding the correct files which we have to hard-link f= or the (*.img)releases. > That?s why I sent you the link to :=20 > https://sourceforge.net/projects/d26853-bcm2711-rpi-4-b-dtb/files/rpi4_pa= ck_freebsd.zip/download > Because currently I assume that start4.elf and fixup4.dat of that link=20 > Will boot up your machine directly from USB/SSD. The port IS used for generating the image (and I mean the port not the package so even if an update is made to the port and there is no package yet the port, so the new files, will be used when the image is created). Check the RPI image (https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CU= RRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz) > So the question is WHICH files should differ from sysutils/rpi-firmware. None. > While organizing u-boot/firmware/releases is the area of ??manu@, the har= dcoded #0X?. -driver is the area of PCIE-Boss Rob Crowston :-), this two ha= ve the last word what is to do. > So finding the right combination of hardcoding, firmware-updates and hard= -linked firmware-files and organizing the (*.img)-release is what we curre= ntly try while I have to browse the fbsd-src again to look for WHERE=20 > some files are hard-linked. > So giving manu@ a chance to ?reorganize" the release is possible when , l= et?s say at least 3 Persons=20 There is nothing to "reorganize". > ( e.g. Rob, YOU & me) say: these are the files we have to go with for har= d-link. >=20 > long story short:=20 > Andy, yes, thanks in advance to test https://sourceforge.net/projects/d26= 853-bcm2711-rpi-4-b-dtb/files/rpi4_pack_freebsd.zip/download and=20 > https://reviews.freebsd.org/D26853=20 > against whatever firmware-version from rpi-org you like., but best agains= t those which are in the current img-release. (22/November/2019 and 10/Dece= mber/2020) AND the latest release from rip-org. >=20 >=20 > By the way, it?s an annoying thing with the firmware but we re nor the on= ly ones who have to deal with that, > e.g. edkII also has sometimes. >=20 > (M. Millard, didn?t you post a link in the past to src where the files ar= e hard linked?) >=20 > Sorry for my chaotic English > thanks,Regards >=20 > K. >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > > Am 03.01.2021 um 09:45 schrieb Andy McClements : > >=20 > > ??? > > ?... > > However may I suggest I test with files from one of the previous offici= al repository ZIP archives ? That way we can be sure of the versioning. eg: > >=20 > > https://github.com/raspberrypi/firmware/releases > >=20 > > Should I test with the 1.20201022.zip ? > >=20 > > Regards, Andy >=20 > _______________________________________________ > 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" --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Jan 3 11:43:34 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 EFF324CECE0 for ; Sun, 3 Jan 2021 11:43:34 +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 4D7xjL6WSqz4pRF; Sun, 3 Jan 2021 11:43:34 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=56917 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 1kw1nF-00060X-1S; Sun, 03 Jan 2021 11:43:33 +0000 Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? To: freebsd-arm@freebsd.org 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> From: Andy McClements Cc: =?UTF-8?Q?Klaus_K=c3=bcchemann?= , Robert Crowston , Emmanuel Vadot Message-ID: <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> Date: Sun, 3 Jan 2021 11:43:27 +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: <26D146B8-0362-4008-9A1F-A6CD6B1479BB@googlemail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 84 X-Spam-Status: No, score=8.4 X-Rspamd-Queue-Id: 4D7xjL6WSqz4pRF 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 11:43:35 -0000 On 02/01/2021 19:39, Klaus Küchemann wrote: > thanks a lot, I could reproduce the issue you have with > their firmware files datestamped 27/12/2020 > , it seems that they have mixed up something > @ the rpi-org since I`ve got the following files from them earlier... > > Could you please overwrite on msdos-partition with these files : > https://sourceforge.net/projects/d26853-bcm2711-rpi-4-b-dtb/files/rpi4_pack_freebsd.zip/download > I’m quite sure, that this will fix the SD-card-issue , > So it should boot directly from USB/SSD. > You can begin with only : start4.elf & fixup4.dat , > If that doesn`t work you can also apply u-boot.bin. I've done some further tests using the three previous RPI firmware releases to the current 20201227 release which does not work for me. Again, my environment is: HW: RPi4b 8GB, late 2020 purchase, Sept 3rd EEPROM OS: FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz Boot device: 128GB USB3 SSD Releases tested: https://github.com/raspberrypi/firmware/archive/1.20201022.zip https://github.com/raspberrypi/firmware/archive/1.20201126.zip https://github.com/raspberrypi/firmware/archive/1.20201201.zip I am happy to say that, WITH PATCH D26853, all of these will successfully allow FreeBSD 20201224 to boot from USB SSD. Also that the vanilla 20201224 img (which I have checked includes the 20201201 firmware) also works fine, WITH PATCH D26853. I have also double-checked that the current firmware release, 20201227, with the patch, DOES NOT WORK. As previously reported, I just see a crash-loop in U-boot, if attempting to boot from USB SSD. With hindsight it was unfortunate that I made the assumption that my initial problem was due to not having the latest firmware. Test details, including dmesgs: Test #9 128GB USB3.0 SSD FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz 20201224 U-Boot RPI firmware refreshed from firmware-1.20201022.zip bcm2711-rpi-4-b-dtb replaced with D26853 patched version Result: Boots OK. XHCI all working. Dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5856 Test #10 128GB USB3.0 SSD FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz 20201224 U-Boot RPI firmware refreshed from firmware-1.20201126.zip bcm2711-rpi-4-b-dtb replaced with D26853 patched version Result: Boots OK. XHCI all working. Dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5857 Test #11 128GB USB3.0 SSD FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz 20201224 U-Boot RPI firmware refreshed from firmware-1.20201201.zip bcm2711-rpi-4-b-dtb replaced with D26853 patched version Result: Boots OK. XHCI all working. Dmesg: https://dmesgd.nycbug.org/index.cgi?do=view&id=5858 From owner-freebsd-arm@freebsd.org Sun Jan 3 12:44:26 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 C9AB94D108C for ; Sun, 3 Jan 2021 12:44:26 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D7z3Y5rPdz4sBD; Sun, 3 Jan 2021 12:44:25 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-ej1-x634.google.com with SMTP id b9so33344551ejy.0; Sun, 03 Jan 2021 04:44:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=M+GsUxfNPizws23UYwkIvU5vk3nz+NKdF8y1VUYV+B0=; b=pup2xWD3h/ic1Ufqm212WHP1+Lj45CLfuXqR9MkbAKAiegGcgG7m9G8ZMRVt617YnH bR1DpvnFZXanXPC8f1KvpfZ3kgUHRFYSd0NH+5pSclTQ4pP9mpyLEdHphPGTk7U2zRCt 39a4iBKp3NdUy5pUkzL7EbceB3XJ/mtzOoHKAiDqjyumCyXOn0ATr0UeEL8lpEDSsUTy q5HxB1ymAP/Dhpfoxxgb99rg87W+ITY6VCTg5MDl4dJ7Rx+na6iBQ999SbqmCLMDybGU Ns9JnFrQGoYt8/FFiW+7E+OrWLcJ0w5My7IlECpRynQf+bYO4FOiTMPf6VtR+7SkTIzM hj1A== X-Gm-Message-State: AOAM5334qmw+dbrg5b6X3aCYV4lWZ2ref+4m2zkWoeoQMw54wPqfIfWF Wua6RaE2qMUrawWW+qY+JVH/nMdlXKJ1bA== X-Google-Smtp-Source: ABdhPJwsVMCSee4eTwtqo4c1pyjlVqiwBFFbjK1iTAxcnh0jXUw7tqUjuKgWKKJvKrbIcTvJjJYMVQ== X-Received: by 2002:a5d:6cc9:: with SMTP id c9mr74245802wrc.411.1609677403281; Sun, 03 Jan 2021 04:36:43 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-104-069.46.114.pool.telefonica.de. [46.114.104.69]) by smtp.googlemail.com with ESMTPSA id l8sm28361668wmf.35.2021.01.03.04.36.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2021 04:36:42 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Sun, 3 Jan 2021 13:36:39 +0100 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> To: Emmanuel Vadot , Andy McClements , Robert Crowston , freebsd-arm@freebsd.org, Mark Millard , Kyle Evans In-Reply-To: <20210103115751.9d9d5470a6e4e3f849016b88@bidouilliste.com> Message-Id: <480205D0-4153-4351-BC67-C4A535116E18@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D7z3Y5rPdz4sBD X-Spamd-Bar: +++++++ X-Spamd-Result: default: False [7.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[bidouilliste.com,ip-ether.net,protonmail.com,freebsd.org,yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::634:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.104.69:received]; FROM_HAS_DN(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[46.114.104.69:received]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::634:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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 12:44:27 -0000 > 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-C= URRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz) I did and now I=E2=80=99m sure that you don=E2=80=99t own an = RPI4-8GB(because the image doesn=E2=80=99t boot from USB/SSD).. But the good news is that you have everything done well in = =E2=80=9Eorganizing=E2=80=9C the firmware-port. With this last image the start4.elf & fixup4.dat is fine ! So:good work. So it=E2=80=99s all about : https://reviews.freebsd.org/D26853=20 which fixes pcie/usb-bootup-firmware-issues.( tested by me & Andy for = now). > Am 03.01.2021 um 11:57 schrieb Emmanuel Vadot : >> So the question is WHICH files should differ from = sysutils/rpi-firmware. >=20 > None. it=E2=80=99s bcm2711-rpi-4-b.dtb which(currently) has to differ if we = want to boot straight up from USB/SSD . I say `currently` because that could change upstream. But why struggle = with upstream if we can fix it ourselves? > Am 03.01.2021 um 12:43 schrieb Andy McClements : >=20 > =E2=80=A6.. > I am happy to say that, WITH PATCH D26853, all of these will = successfully allow FreeBSD 20201224 to boot from USB SSD. Also that the = vanilla 20201224 img (which I have checked includes the 20201201 = firmware) also works fine, WITH PATCH D26853. > =E2=80=A6. That=E2=80=99s awesome news, Andy=20 and many many thanks for all your extensive tests ! So we can probably say that currently we don=E2=80=99t have to struggle = with different silicon-version, very good news. And while #0XJTAG-Boss Rob privately is booting from a poor = uSD-fingernail himself, the nicest present he gave us is the USB/SSD-bootup ;-) , superf**king = fast, 10 times faster(measured) than uSD, great! Regards K. =20 =20 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 From owner-freebsd-arm@freebsd.org Sun Jan 3 16:39:18 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 1A3DA4D69BC for ; Sun, 3 Jan 2021 16:39:18 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D84GY6yhNz3Ncf; Sun, 3 Jan 2021 16:39:17 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x432.google.com with SMTP id y17so28506421wrr.10; Sun, 03 Jan 2021 08:39:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=XxLLZ3qGRUywyKXIRLRVCTomYowHSPzLyqAXZstBBsY=; b=FcWqOU04bWmkZIA/yEvfv8p2YeToVMygZJ9Uxplqw37jZcMWy5BudSzVDaBdnBZrUn UHBJ9ScTKNV0RdWICwuUdbJv0fHGdQ+ERvOKuAwY/jrXA8W/s0JYZLTR95AZRbIKm0YM rp+w1ljLION6K7qXRKsrLEbr3+Vvke9kAp00junz+8SXTh+JIZS5fqZuZRYN7Ss57nNs FY43LtciOa6NDcp0ccZo4wUd+9thYCE35yuKBbHPJa63vMvNrhBMRaD6ebolei6zGudq rrfsx83uLDIkorjpr7n1kGXQM6ZmIElnrh54wyb2vznmRpjObfo9567dsDWDt6xS0CIf Q6Zg== X-Gm-Message-State: AOAM531hYz0RJYsaXm1IQ+a2jN0RiYtVX0bhfXCPo2SEg6UVL90TRnM+ 5O5CL4+i1ACGZoRvm5Hwy+w= X-Google-Smtp-Source: ABdhPJxHAxjGRnff5tmdAEsUWPurWbxY0N6hB8xCFHn8qYfmKiz6w5s/xUbpDnTwAIRNaJePBn5PQA== X-Received: by 2002:a5d:6983:: with SMTP id g3mr40762085wru.168.1609691956391; Sun, 03 Jan 2021 08:39:16 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-104-069.46.114.pool.telefonica.de. [46.114.104.69]) by smtp.googlemail.com with ESMTPSA id m2sm28818122wml.34.2021.01.03.08.39.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2021 08:39:15 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Sun, 3 Jan 2021 17:39:13 +0100 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> <20210103142936.d155633ed87427d9c144f7e8@bidouilliste.com> To: Emmanuel Vadot , Robert Crowston , freebsd-arm@freebsd.org, Mark Millard , Kyle Evans , Andy McClements In-Reply-To: <20210103142936.d155633ed87427d9c144f7e8@bidouilliste.com> Message-Id: <26F944C6-B69A-4C5E-AC0B-9D05F5BC9E6F@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D84GY6yhNz3Ncf X-Spamd-Bar: ---- 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 16:39:18 -0000 > Am 03.01.2021 um 14:29 schrieb Emmanuel Vadot : >=20 >> =E2=80=A6. >=20 > Ok, one thing at a time please. O.K, one thing at a time while I=E2=80=99m sorry in advance , that this = will be a lot ;-) >=20 > And again please provide an overlay for this with an explanation of > what and why things are needed. Well, as commented in https://reviews.freebsd.org/D26853#598685 the reset-function is triggered in line 2363 bcm2711-rpi-4-b.dts while = has places in line 1965=20 and 1422 . So what I assume is that the function has to be triggered at = a special moment, That=E2=80=99s why I DIDN`T consider to create an overlay, since = bcm2711-rpi-4-b.dtb comes UNCHANGED from upstream(afaik), And is NOT compiled by ourselves(what I don=E2=80=99t like)( I do not = know everything you do in new releases or elsewhere and I haven=E2=80=99t = access to the filesystem). This doesn=E2=80=99t necessarily mean that we shouldn=E2=80=99t want to = provide an overlay but it makes things much much more complicated, e.g. = : sys/dts/arm64/overlays/spigen-rpi4.dtso / sys/modules/dtb/rpi/Makefile=20= I do not see an spigen-rpi4.dtbo loaded by the firmware although it is = available in : dtb/overlays on the msdos partition . Output of firmware-load(which shows that bcm2711-rpi-4-b.dtb is loaded = FIRST and misses spigen-rpi4..) : =E2=80=94 Read start4.elf bytes 2213312 hnd 0x00000896 hash '19bbfbc3ec1da69d' Read fixup4.dat bytes 5428 hnd 0x00000019 hash '5481e23d9a139ecb' 0x00d03114 0x00000000 0x0000003f MEM GPU: 76 ARM: 947 TOTAL: 1023 Starting start4.elf @ 0xfeb00200 partition 0 MESS:00:00:05.341884:0: brfs: File read: /mfs/sd/config.txt MESS:00:00:05.344650:0: brfs: File read: 187 bytes MESS:00:00:05.412783:0: brfs: File read: /mfs/sd/config.txt MESS:00:00:05.431333:0: brfs: File read: 187 bytes MESS:00:00:05.893817:0: gpioman: gpioman_get_pin_num: pin = DISPLAY_DSI_PORT not defined MESS:00:00:05.901072:0: *** Restart logging MESS:00:00:05.906275:0: hdmi: HDMI:hdmi_get_state is deprecated, use = hdmi_get_display_state instead MESS:00:00:05.915565:0: hdmi: HDMI:hdmi_get_state is deprecated, use = hdmi_get_display_state instead MESS:00:00:05.921499:0: HDMI0: hdmi_pixel_encoding: 300000000 MESS:00:00:05.926967:0: HDMI1: hdmi_pixel_encoding: 300000000 MESS:00:00:05.937190:0: dtb_file 'bcm2711-rpi-4-b.dtb' MESS:00:00:05.942006:0: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb MESS:00:00:05.945296:0: Loading 'bcm2711-rpi-4-b.dtb' to 0x4000 size = 0xbab8 MESS:00:00:05.964151:0: brfs: File read: 47800 bytes MESS:00:00:06.021379:0: brfs: File read: /mfs/sd/config.txt MESS:00:00:06.023868:0: dtparam: audio=3Don MESS:00:00:06.036453:0: dtparam: i2c_arm=3Don MESS:00:00:06.045531:0: dtparam: spi=3Don MESS:00:00:06.053747:0: brfs: File read: 187 bytes MESS:00:00:06.055998:0: brfs: File read: /mfs/sd/overlays/mmc.dtbo MESS:00:00:06.073055:0: Loaded overlay 'mmc' MESS:00:00:06.102564:0: brfs: File read: 1221 bytes MESS:00:00:06.104918:0: brfs: File read: = /mfs/sd/overlays/disable-bt.dtbo MESS:00:00:06.124664:0: Loaded overlay 'disable-bt' MESS:00:00:06.162765:0: brfs: File read: 1073 bytes MESS:00:00:06.164881:0: Failed to open command line file 'cmdline.txt' MESS:00:00:07.205210:0: brfs: File read: /mfs/sd/armstub8-gic.bin MESS:00:00:07.208193:0: Loading 'armstub8-gic.bin' to 0x0 size 0x1700 MESS:00:00:07.214371:0: brfs: File read: 5888 bytes MESS:00:00:07.242883:0: brfs: File read: /mfs/sd/u-boot.bin MESS:00:00:07.245355:0: Loading 'u-boot.bin' to 0x80000 size 0x8c708 MESS:00:00:07.251440:0: Device tree loaded to 0x4000 (size 0xbf2c) MESS:00:00:07.260578:0: uart: Set PL011 baud rate to 103448.300000 Hz MESS:00:00:07.266906:0: uart: Baud rate change done... MESS:00:00:07.268962:0: uart: Baud rate change done... MESS:00:00:07.274289:0: bfs_xhci_stop MESS:00:00:07.277204:0: XHCI-STOP MESS:00:00:07.280402:0: xHC ver: 256 HCS: 05000420 fc000031 00e70004 = HCC: 002841eb MESS:00:00:07.288600:0: PCI reset U-Boot 2020.10-rc5 (Oct 05 2020 - 03:08:23 +0000) =E2=80=94=E2=80=94 We see here that the xhci-reset is the last thing loaded before u-boot. So., O.K., if we could ensure that an overlay with a pure reset-function = could be loaded after everything else=20 we could perhaps go this way. But I ask myself : why? bcm2711-rpi-4-b.dts in https://reviews.freebsd.org/D26853 is a = decompilation from a professional distribution=20 which is proved to be working , even proved by Andy McClements to boot = vanilla or whatever from USB. And: the original xhci-reset-patch is from a u-boot programmer ( Nicolas = Saenz of Suse linux, while this is not a decompilation from Suse)- I asked myself why it didn=E2=80=99t make it upstream but manu@ himself = found the answer :-) > Am 03.01.2021 um 14:29 schrieb Emmanuel Vadot : > remember that RPI doesn't care about u-boot > so they might don't care about this problem. So, from my view(while not important:-) : why should I care about an = upstream which doesn=E2=80=99t care about me ??? > Am 03.01.2021 um 14:29 schrieb Emmanuel Vadot : > We will not replace a dts in sys/gnu/ with some other one coming from > a different upstream. I know. And my intention of course wasn=E2=80=99t to overwrite any = directory which is probably even not in use by fbsd. My intention is to replace the current bcm2711-rpi-4-b.dtb in the msdos = - partition with a proved working one which=20 contains things we need, created by people who know what they=E2=80=99re = doing and who care about u-boot( because they ARE contributors to = u-boot). The original patch by Nicolas Saenz is intended to live in = bcm2711-rpi-4-b.dtb , While , O.K.: we could =E2=80=9Eplay around=E2=80=9C a little with = overlays the next days=E2=80=A6 Regards K. From owner-freebsd-arm@freebsd.org Sun Jan 3 18:29:45 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 6C7CD4D9CA8 for ; Sun, 3 Jan 2021 18:29:45 +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 4D86k05PCkz3nDl; Sun, 3 Jan 2021 18:29:44 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=61651 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 1kw88I-0002E0-Kn; Sun, 03 Jan 2021 18:29:42 +0000 Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? To: freebsd-arm@freebsd.org 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> From: Andy McClements Cc: Emmanuel Vadot , =?UTF-8?Q?Klaus_K=c3=bcchemann?= Message-ID: Date: Sun, 3 Jan 2021 18:29:34 +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: <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 9 X-Spam-Status: No, score=0.9 X-Rspamd-Queue-Id: 4D86k05PCkz3nDl 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)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; 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)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1098:0:82:1000:0:2:1:from]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-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)[freebsd.org,googlemail.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: Sun, 03 Jan 2021 18:29:45 -0000 On 03/01/2021 11:43, Andy McClements wrote: > HW: RPi4b 8GB, late 2020 purchase, Sept 3rd EEPROM > OS: > FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz > Boot device: 128GB USB3 SSD > I am happy to say that, WITH PATCH D26853, all of these will > successfully allow FreeBSD 20201224 to boot from USB SSD. Also that the > vanilla 20201224 img (which I have checked includes the 20201201 > firmware) also works fine, WITH PATCH D26853. > > I have also double-checked that the current firmware release, 20201227, > with the patch, DOES NOT WORK. As previously reported, I just see a > crash-loop in U-boot, if attempting to boot from USB SSD. Further on this, I have just done another test by replacing only: bcm2711-rpi-4-b.dtb on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI firmware 20201227 release. This **allows booting from USB**, which fails on the stock 20201224 img. So it seems to me that patch D26853 **is not required**, if the upstream file is now working OK. HOWEVER, the 20201227 firmware release appears to introduce some other problem, as already reported if ALL the files on the DOS partition are replaced with those from 20201227, it results in a crash in U-boot. To summarise then, on the hardware mentioned above: 1. Vanilla FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224 " starting USB... Bus xhci_pci: probe failed, error -110 No working controllers found " Result: disk boot fails, RPi attempts to net boot. 2. Vanilla FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224 + REPLACE ONLY bcm2711-rpi-4-b.dtb with the version from the 20201227 release. "starting USB... Bus xhci_pci: Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 scanning bus xhci_pci for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found" Result: disk boot succeeds 3. Vanilla FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224 + REPLACE ALL FIRMWARE FILES with the versions from the 20201227 firmware release. Result: U-Boot crashes: 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: serial Err: serial 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. "Synchronous Abort" handler, esr 0x96000004 elr: 000000000009bae0 lr : 00000000000919dc (reloc) elr: 000000003b278ae0 lr : 000000003b26e9dc x0 : 0000000b00000000 x1 : 0000000b00000030 x2 : 000000003aee9e00 x3 : fffffff53aee9d70 x4 : 000000003b2d30b0 x5 : 000000003aee9da0 x6 : 000000003b2d30c0 x7 : 000000003aee9dd0 x8 : 000000003ae4bd20 x9 : 0000000000000008 x10: 00000000ffffffd0 x11: 0000000000000006 x12: 000000000001869f x13: 00000000000069c4 x14: 0000000000000000 x15: 00000000fffffffe x16: 0000000000004110 x17: 0000000000000000 x18: 000000003ae58d90 x19: 0000000000000000 x20: 0000000000000000 x21: 000000003aee9db0 x22: 0000000000000000 x23: 0000000000000002 x24: 0000000000000000 x25: 0000000000000000 x26: 0000000000000028 x27: 0000000000000003 x28: 000000003b2e4e94 x29: 000000003ae4c1c0 Code: f85f0000 91004086 cb000063 8b000021 (f9400860) Resetting CPU ... From owner-freebsd-arm@freebsd.org Sun Jan 3 18:57:17 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 9590C4DA693 for ; Sun, 3 Jan 2021 18:57:17 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D87Kn3Vkxz3pBq; Sun, 3 Jan 2021 18:57:17 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32e.google.com with SMTP id g185so16119118wmf.3; Sun, 03 Jan 2021 10:57:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=OgLvH2fh2SfneeXFZzl6CvdjZjpoUUGSe8XrDUkfN7o=; b=CCVcPYQVLZc+z7v9XXsH+hOyjvsVhsdtnyjZLb//foORPrLBCkHl1rLgbjWxgGHvQi HDdN+x1n0zKVoLPOBPSPRGliEuG6pbgDLgLPJJLAU92dhnF1GXakTAMNF+Ll7B9cTOJ9 r2cdbI+vgeRsOONvmvnACECoTGgD0565SNtIn1c/+fza/eWIB/agvZZShZe310IbzRqF TOplY2+9AYWWvy8RL8kVaChIsq3xNuvJHLVFy5xlYOZZ1JdahND7KLLFzqoEeCDia4l3 S8VaTMr2iwiZStgNR+r2Ep4nQFHfUmynhCI0e/qiKwSsrqo63sUUdH05m/ZVvWdvOLJN SQZQ== X-Gm-Message-State: AOAM531g1J72qyk/dbCexNVIlfIsmIirYEreWPk8Y6No9POdmu0/vQOo WPAdEhrIG4IrP0QYup+X4aA= X-Google-Smtp-Source: ABdhPJy1PJxW4DVW4z22XlImYDE0iCV1yF5F3+AFxF4HFzxmmW7o1beojqCCYK0FmgC5aEgi1iC4xA== X-Received: by 2002:a1c:6a10:: with SMTP id f16mr23811911wmc.106.1609700235658; Sun, 03 Jan 2021 10:57:15 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-104-069.46.114.pool.telefonica.de. [46.114.104.69]) by smtp.googlemail.com with ESMTPSA id u10sm28222813wmd.43.2021.01.03.10.57.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2021 10:57:15 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Sun, 3 Jan 2021 19:57:12 +0100 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> To: Andy McClements , Kyle Evans , Robert Crowston , freebsd-arm@freebsd.org, Emmanuel Vadot In-Reply-To: Message-Id: <219ADB09-3A60-4EE6-8ACD-0AC3130D1F64@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D87Kn3Vkxz3pBq X-Spamd-Bar: ---- 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 18:57:17 -0000 Hi Andy, thanks for your further testing! > Am 03.01.2021 um 19:29 schrieb Andy McClements : >=20 > =E2=80=A6... >=20 > So it seems to me that patch D26853 **is not required**, if the = upstream file is now working OK. -),yes, possible, that was my last comment on = https://reviews.freebsd.org/D26853#623408 , that perhaps the reset-patch made it upstream. > Am 03.01.2021 um 19:29 schrieb Andy McClements : >=20 > HOWEVER, the 20201227 firmware release appears to introduce some other = problem, as already reported if ALL the files on the DOS partition are = replaced with those from 20201227, it results in a crash in U-boot. =E2=80=A6 yes, that=E2=80=99s why I uploaded different start4.elf, = fixup4.dat etc. yesterday for testing =E2=80=A6 So the question here seems to be: WHO is here the upstream( gnu,rpi-org,jesus christ, who knows) ,WHAT is = going on with that upstream and at least: what the heck has to sit in our msdospartion- DOWNstream :-) Ha Ha=20 The simplest were to replace one file instead of more, I guess it should = simply work , nothing else. In best case with files which are controlled = by ourselves, not by uncontrollable` upstream, whoever that is=E2=80=A6 = we can choose to load an upstreamed file which perhaps works today=20 and breaks tomorrow. Or we can choose to compile dts ourselves, which is = then under control=E2=80=A6 Just my humble opinion, while that doesn`t count =E2=80=A6 only thing = counts is that it should work, by what way ever.=20 Regards K.=20 From owner-freebsd-arm@freebsd.org Sun Jan 3 18:58:11 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 6EB114DA723 for ; Sun, 3 Jan 2021 18:58:11 +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 4D87Lp5h3qz3pC2 for ; Sun, 3 Jan 2021 18:58:10 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=51800 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 1kw8Zp-0006Yu-Ga for freebsd-arm@freebsd.org; Sun, 03 Jan 2021 18:58:09 +0000 To: freebsd-arm@freebsd.org From: Andy McClements Subject: RPi4b 13.0-Current, big performance hit with HDMI connected Message-ID: <654ae9bb-012a-ccfe-3656-7bb100bca6a0@ip-ether.net> Date: Sun, 3 Jan 2021 18:58:05 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 0 X-Spam-Status: No, score=-0.1 X-Rspamd-Queue-Id: 4D87Lp5h3qz3pC2 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 [-3.32 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[ip-ether.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1098:0:82:1000:0:2:1:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; NEURAL_HAM_SHORT(-0.82)[-0.817]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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]; RCVD_TLS_ALL(0.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: Sun, 03 Jan 2021 18:58:11 -0000 This may not be news to folks around here but it suprised me. I was just doing some very quick performance checks having got my RPi4b to boot from SSD. I wanted to verify CPU frequency scaling was working so did a quick net and disk throughput check. Any insights on this would be most welcome. Results: HDMI connected ============== root@generic:~ # iperf3 -c 10.0.30.30 Connecting to host 10.0.30.30, port 5201 [ 5] local 10.0.30.130 port 60995 connected to 10.0.30.30 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.01 sec 75.0 MBytes 625 Mbits/sec 0 209 KBytes [ 5] 1.01-2.00 sec 76.2 MBytes 641 Mbits/sec 0 209 KBytes [ 5] 2.00-3.00 sec 76.7 MBytes 645 Mbits/sec 0 209 KBytes root@generic:~ # diskinfo -t /dev/da0 Transfer rates: outside: 102400 kbytes in 0.694994 sec = 147339 kbytes/sec middle: 102400 kbytes in 0.692708 sec = 147826 kbytes/sec inside: 102400 kbytes in 0.692531 sec = 147863 kbytes/sec HDMI disconnected ================= root@generic:~ # iperf3 -c 10.0.30.30 Connecting to host 10.0.30.30, port 5201 [ 5] local 10.0.30.130 port 60384 connected to 10.0.30.30 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 113 MBytes 946 Mbits/sec 0 208 KBytes [ 5] 1.00-2.00 sec 113 MBytes 947 Mbits/sec 0 208 KBytes [ 5] 2.00-3.00 sec 113 MBytes 947 Mbits/sec 0 208 KBytes [ 5] 3.00-4.00 sec 113 MBytes 947 Mbits/sec 0 208 KBytes root@generic:~ # diskinfo -t /dev/da0 Transfer rates: outside: 102400 kbytes in 0.541603 sec = 189068 kbytes/sec middle: 102400 kbytes in 0.468219 sec = 218701 kbytes/sec inside: 102400 kbytes in 0.473097 sec = 216446 kbytes/sec From owner-freebsd-arm@freebsd.org Sun Jan 3 19:16:54 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 53FE54DABEA for ; Sun, 3 Jan 2021 19:16:54 +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 4D87mP6cslz3qST; Sun, 3 Jan 2021 19:16:53 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1609701410; 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=KmeTdVkgFNeJWRb6AU0Qm2ZvUci5YyCB/vb9VPsf6EY=; b=TdOuerXEtS2mebd9T0/XIlfQ+HhdhVhutziD3DvnSCm/xwLk8JvKfR+8r24T7D6l73pMoB 59oD8hrQEBbcOeQWCZBm7xhZsO4IuckezmVEUkP3DSMkuljasS7qI6in9lRgvJEeMzkQ+y abwI+DNokx0LG679otWYuuRWj+a/s4Y= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 4fde6ef2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 3 Jan 2021 19:16:50 +0000 (UTC) Date: Sun, 3 Jan 2021 20:16:50 +0100 From: Emmanuel Vadot To: Andy McClements Cc: freebsd-arm@freebsd.org, Emmanuel Vadot Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Message-Id: <20210103201650.e84bee4065888be792c25c05@bidouilliste.com> In-Reply-To: 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4D87mP6cslz3qST 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 19:16:54 -0000 On Sun, 3 Jan 2021 18:29:34 +0000 Andy McClements wrote: > On 03/01/2021 11:43, Andy McClements wrote: > > > HW: RPi4b 8GB, late 2020 purchase, Sept 3rd EEPROM > > OS: > > FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz > > Boot device: 128GB USB3 SSD > > > I am happy to say that, WITH PATCH D26853, all of these will > > successfully allow FreeBSD 20201224 to boot from USB SSD. Also that the > > vanilla 20201224 img (which I have checked includes the 20201201 > > firmware) also works fine, WITH PATCH D26853. > > > > I have also double-checked that the current firmware release, 20201227, > > with the patch, DOES NOT WORK. As previously reported, I just see a > > crash-loop in U-boot, if attempting to boot from USB SSD. > > Further on this, I have just done another test by replacing only: > > bcm2711-rpi-4-b.dtb > > on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI > firmware 20201227 release. There is no 20201227 release so I guess you just took whatever is in github at this day ? > This **allows booting from USB**, which fails on the stock 20201224 img. Diffing the dtb present in the ports (and so in the 20201201 release) and the one in git currently (last updated on the 15th of december) I see that the raspberrypi,firmware-reset node is now present. U-boot have a driver for this to reset the vl805 usb chip so I guess this explain that it's needed for usb working in u-boot. https://github.com/u-boot/u-boot/blob/master/drivers/reset/reset-raspberrypi.c > So it seems to me that patch D26853 **is not required**, if the upstream > file is now working OK. > > HOWEVER, the 20201227 firmware release appears to introduce some other > problem, as already reported if ALL the files on the DOS partition are > replaced with those from 20201227, it results in a crash in U-boot. > > To summarise then, on the hardware mentioned above: > > 1. Vanilla FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224 > > " starting USB... > Bus xhci_pci: probe failed, error -110 > No working controllers found " > > Result: disk boot fails, RPi attempts to net boot. > > 2. Vanilla FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224 > > + REPLACE ONLY bcm2711-rpi-4-b.dtb with the version from the 20201227 > release. > > "starting USB... > Bus xhci_pci: Register 5000420 NbrPorts 5 > Starting the controller > USB XHCI 1.00 > scanning bus xhci_pci for devices... 3 USB Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found" > > Result: disk boot succeeds > > 3. Vanilla FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224 > > + REPLACE ALL FIRMWARE FILES with the versions from the 20201227 > firmware release. > > Result: U-Boot crashes: > > 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: serial > Err: serial > 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 This error looks a lot like the one with the old dtb, are you sure you did update everything ? Could you try replacing the file one by one to bisect which one causes the problem ? Cheers, > USB is stopped. Please issue 'usb start' first. > "Synchronous Abort" handler, esr 0x96000004 > elr: 000000000009bae0 lr : 00000000000919dc (reloc) > elr: 000000003b278ae0 lr : 000000003b26e9dc > x0 : 0000000b00000000 x1 : 0000000b00000030 > x2 : 000000003aee9e00 x3 : fffffff53aee9d70 > x4 : 000000003b2d30b0 x5 : 000000003aee9da0 > x6 : 000000003b2d30c0 x7 : 000000003aee9dd0 > x8 : 000000003ae4bd20 x9 : 0000000000000008 > x10: 00000000ffffffd0 x11: 0000000000000006 > x12: 000000000001869f x13: 00000000000069c4 > x14: 0000000000000000 x15: 00000000fffffffe > x16: 0000000000004110 x17: 0000000000000000 > x18: 000000003ae58d90 x19: 0000000000000000 > x20: 0000000000000000 x21: 000000003aee9db0 > x22: 0000000000000000 x23: 0000000000000002 > x24: 0000000000000000 x25: 0000000000000000 > x26: 0000000000000028 x27: 0000000000000003 > x28: 000000003b2e4e94 x29: 000000003ae4c1c0 > > Code: f85f0000 91004086 cb000063 8b000021 (f9400860) > Resetting CPU ... -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Jan 3 19:33:38 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 A36884DB15F for ; Sun, 3 Jan 2021 19:33:38 +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 4D887k1m09z3rgV for ; Sun, 3 Jan 2021 19:33:37 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=59755 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 1kw988-0003Mn-EY for freebsd-arm@freebsd.org; Sun, 03 Jan 2021 19:33:36 +0000 Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? To: freebsd-arm@freebsd.org 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> From: Andy McClements Message-ID: <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> Date: Sun, 3 Jan 2021 19:33:31 +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: 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: 4D887k1m09z3rgV 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.32 / 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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1098:0:82:1000:0:2:1:from:127.0.2.255]; DMARC_NA(0.00)[ip-ether.net]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; NEURAL_HAM_SHORT(-0.82)[-0.818]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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: Sun, 03 Jan 2021 19:33:38 -0000 On 03/01/2021 18:29, Andy McClements wrote: > Further on this, I have just done another test by replacing only: > > bcm2711-rpi-4-b.dtb > > on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI > firmware 20201227 release. > > This **allows booting from USB**, which fails on the stock 20201224 img. > > So it seems to me that patch D26853 **is not required**, if the upstream > file is now working OK. ************************* * A P O L O G I E S ! * ************************* I have just noticed that with the 20201227 firmware version of 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but the onboard GE is not recognised. The only way I can get everything working on my RPi4b 8G with FreeBSD 20201224, is to use the D26853 patched version of 'bcm2711-rpi-4-b.dtb'. The firmware version I've been referring to as 20201227, has files in it with that datestamp, and was obtained from: https://github.com/raspberrypi/firmware/archive/master.zip From owner-freebsd-arm@freebsd.org Sun Jan 3 19:54:54 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 053BC4DB7C1 for ; Sun, 3 Jan 2021 19:54:54 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D88cF3wLRz3srD for ; Sun, 3 Jan 2021 19:54:53 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x436.google.com with SMTP id y17so29268546wrr.10 for ; Sun, 03 Jan 2021 11:54:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=WEKdvGYE+Y2ZCq3W2HyMVmTBHJn4zR6ommqT1V7i/aw=; b=JRxiYrvfeeACQb1yaKG4MfbyMAADMsPF/pCVHy9c6XD9kTVVtW0ymG//uDsz4BxMY6 L0Vf48Tg3lJMkpY3x/q80l0tFuw92bmd/w/aVxPnmMTa5W1LshGWQ9Q+L/jh9yyVKwqy 2/cpeWrUfsKSwgy8Cpy9BA6wxYiPd/SBChHNOlYMqdGipqnTdpqeeGyA9Rbz9CnPEcOP rxg7fUqpmVs7LKkYVL/8MgPapDB4jqzLuTWD7Q+DAE/KWU+b8VHIH7Qc8/d+TL1ICSys 8Ua6qt71BWJO00JaUE2BC1VkAs6lRaEDAfiVnjWv2ZSroNG/a2GM7Dp3sh14yLzSB/kH NIgw== X-Gm-Message-State: AOAM530h6WOoeAXTY1hJzcCnx5SHbXohqLRo+PaJx50l/mT806fHotGx aNTiZS/hud1jBdJ9OGsxjvnPqnXuY+41lw== X-Google-Smtp-Source: ABdhPJwGIpRzt2GtpbKNOzf5UgI3K16otWHGTorvQxQIVKLizywO3EZQ1d/QoKdqlq8pJyf/F7KSjA== X-Received: by 2002:adf:fdce:: with SMTP id i14mr77647603wrs.58.1609703356373; Sun, 03 Jan 2021 11:49:16 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-104-069.46.114.pool.telefonica.de. [46.114.104.69]) by smtp.googlemail.com with ESMTPSA id h83sm30850193wmf.9.2021.01.03.11.49.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2021 11:49:15 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Sun, 3 Jan 2021 20:49:13 +0100 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> To: Andy McClements , freebsd-arm@freebsd.org, Robert Crowston In-Reply-To: <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> Message-Id: <294F0C41-3F81-4896-B046-89361083633D@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D88cF3wLRz3srD X-Spamd-Bar: +++++++ X-Spamd-Result: default: False [7.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[ip-ether.net,freebsd.org,protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::436:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.104.69:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RECEIVED_SPAMHAUS_XBL(5.00)[46.114.104.69:received]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::436:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::436:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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 19:54:54 -0000 > Am 03.01.2021 um 20:16 schrieb Emmanuel Vadot : > =E2=80=A6=E2=80=A6.. > U-boot have a driver for this to reset the vl805 usb chip so I guess > this explain that it's needed for usb working in u-boot. > = https://github.com/u-boot/u-boot/blob/master/drivers/reset/reset-raspberry= pi.c =E2=80=A6. Yes , that is the driver by Nicolas Saenz which will be triggered by = bcm2711-rpi-4-b.dtb reset function , in his whole related patchset bcm2711-rpi-4-b.dts is patched with the = reset-function. bcm2711-rpi-4-b.dts in D26853 is the professional version of it :-)... = Ha Ha .. just kidding... > Am 03.01.2021 um 20:33 schrieb Andy McClements : >=20 > On 03/01/2021 18:29, Andy McClements wrote: >=20 > ************************* > * A P O L O G I E S ! * > ************************* >=20 > I have just noticed that with the 20201227 firmware version of = 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but = the onboard GE is not recognised. >=20 > The only way I can get everything working on my RPi4b 8G with FreeBSD = 20201224, is to use the D26853 patched version of 'bcm2711-rpi-4-b.dtb'. >=20 > The firmware version I've been referring to as 20201227, has files in = it with that datestamp, and was obtained from: >=20 > https://github.com/raspberrypi/firmware/archive/master.zip >=20 >=20 we really should control bcm2711-rpi-4-b.dts by ourselves, It=E2=80=99s not the first time that strange versions of that file are = breaking drivers, we had that with genet(and pcie) in the past IIRC(Rob and me have talked = about it). Andy, thanks for testing so extensively useful ! Regards K. From owner-freebsd-arm@freebsd.org Sun Jan 3 21:25: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 F11E84DFFCC for ; Sun, 3 Jan 2021 21:25: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 4D8BcS6BbGz4nrg for ; Sun, 3 Jan 2021 21:25:12 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=55956 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 1kwAs6-0002tO-PK for freebsd-arm@freebsd.org; Sun, 03 Jan 2021 21:25:10 +0000 Subject: Re: RPi4b 13.0-Current, big performance hit with HDMI connected To: freebsd-arm@freebsd.org References: <654ae9bb-012a-ccfe-3656-7bb100bca6a0@ip-ether.net> From: Andy McClements Message-ID: Date: Sun, 3 Jan 2021 21:25:06 +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: <654ae9bb-012a-ccfe-3656-7bb100bca6a0@ip-ether.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 0 X-Spam-Status: No, score=-0.1 X-Rspamd-Queue-Id: 4D8BcS6BbGz4nrg 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 [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1098:0:82:1000:0:2:1:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1098:0:82:1000:0:2:1:from:127.0.2.255]; DMARC_NA(0.00)[ip-ether.net]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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]; RCVD_TLS_ALL(0.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: Sun, 03 Jan 2021 21:25:14 -0000 On 03/01/2021 18:58, Andy McClements wrote: > This may not be news to folks around here but it suprised me. > > I was just doing some very quick performance checks having got my RPi4b > to boot from SSD. I wanted to verify CPU frequency scaling was working > so did a quick net and disk throughput check. APOLOGIES - AGAIN ! The discrepancy I saw, was due to the kernel cpufreq module being loaded, but powerd not enabled, by default, in this build. I had done a 'powerd -v' in a shell in one case, but not the other, so one set of results were at 600MHz, the other at 1500MHz. Doh ! From owner-freebsd-arm@freebsd.org Mon Jan 4 07:54:32 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 BBD1A4CD9C5 for ; Mon, 4 Jan 2021 07:54:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-54.consmr.mail.gq1.yahoo.com (sonic308-54.consmr.mail.gq1.yahoo.com [98.137.68.30]) (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 4D8SZb5vlZz3tFn for ; Mon, 4 Jan 2021 07:54:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609746869; bh=SOvWzmDESz1vWxI1m/zlxMR6sDIoz5e8dfSgkmlJZXp=; h=Subject:From:Date:To:From:Subject; b=FJ2h9WuZgI3q58j5KRHksrCyM8QgqoIc+MThw87OnFwb0HZ3NRHmUYDN84FHhQj0+yU6RMshGonsRgeDYlShaDm4wo74cLFsQ/SEjqZLhwNxOpVXqulnwnLBliV4y802rBnjAB2fc+KPyr1to5bN+yz4WlWQIA5DQYfgPOFopiMdxKLT0vqLR4Pr9I031Mc07n2sj4DNpUt1LFBhdr+ETsWezYiAIA9OVJ+tdkCkM/M+p4xYOcBHTLukXVc0NTPadVY6kJWM7etPnXn20wWV3GaF20nEwUO1AVp4atUXtBBeJBvwbD30C2o7Ah/QmAGsdaiBjzmnE4sTQsDXeqwL+w== X-YMail-OSG: tBEm5CcVM1kU9WhGlxbVSR7tGTIOaDcsEhTbkrPgO0Qj5Dj4rrr.pdLJ1qcvWDZ UDNuYrwZSi3XsGqkDGrg0CcqJ2T5GbCvhcHIEAlr2ff2.tFegzRGyZdwZikKrs3NKF_Mg.FzdO0D Gby6zSmu8Ef4iz2_tY9lA5NdAfRikKKOBlj_bDTTURSXRn4MD_R2mztgEyf76WwZwvpBAZfSR3HA XfYKpSGjkjPXZFqykBL8nDDBsxlJIwgNaOMrfHHHcdP6gp.scJl_NNH1sR1x8WOl1PnmSl2RKTVE Tipt0nFFgdNiHlnvG9dbIDenoTHUNTgVEM1ANKvPx.319T1L8u85W_VnipfvYRr6fVSCgjwtShlo Gffx9TYGF3bQwT4_oPhBymQCUWN0pGku1e8goE3DdhdYxmrGQTyl0WQpUBsdIioNsL67_CrvLbX5 SkCj4vbS5ez49w0owPUQqk34w2kdd0SNxZk55V9et3LQg_b7zYfu.gf3CcZqoatdvrM8y0WO_33v uKtOHVDWFxdTSyvOC0A.pTmOhQfkXK9uIan2gyHvIybNUYOv75eQxTU93fvSiFXtQ229xgH5YeQC RmiNrXOXX7L4nquJKWqr3HQv5_D83kCkn0F8vsIAa2rPb.k5t3WCfu.I0gzhAieDvlpSZF_d5MqR 7Jq._ZWGitBk1g961B7FDgMc_i_qMdBRHYoBj4UuDv8z7Jl3SN4BNT42IVdcGym8gg8tx7UJB7To YuNQalVx1lzi9XGAdKniaXV4LO7cHmpEKV8eh7uGLFfAsYQF_tIx6JD0ss5qQsw2emz5CAErS8cZ xfY0hDrDAVouap.64lqw8FGLS3UAoVJUlET9y56MPTTGtjCpHyKKQYkCNybQ0.YsszzAUyRztYdP _VXjlXaKCJ18kK7gJmTOQ6lVPaeQWjidJYJXlgVzAp2ma9Ef1lq5LPNvVTHFCpp4oDsg1TxKMRVd kSzdKwCo1Vjxfl.AgvJg2MTxLrki.F2OLGVp5eBCfrb.Q11UarYCpjgNiAUxjgsdeX6QC3hY9aqn D0.ofntb9BI_AMCvEsMBwKS.wnm7mHN5YABhYYSWPDPHZuiT4rY_VJ.0NMEX8uyarmTf6Wf4XNXm e8CqmSwZiSsEIklIkr4iDMPnZtXBSgrczcD0DP6zYLoo2qtuNZnBvHsTQ5vCsqOtYZs1amj_7q2H Xlx93CPsb6ypE7Up45ob.jMLV7a5tGYPmHoeROchdNuHUOsQh1na_Ob2RPDRG9y3F0SZWhclsRg2 kjQsd6jnWAxZTCeDm0v7dbAKL_e_gKtVaq.wQG5iXfLI.qqbe6xa3x0Vr7hetD2NhYUUZiPgkxOw 2YMh0me_8B0_liJ1uK33VXpuKenN_jlbJLuZJ337NkpDnkjtVNrTnrL0TFu.jSsxf4wYzHY48RYH t4ehnQ937k1LTvf7U12Fr3WJqudCP.4SDNm2b8dQfzqYgyUQ8XodNIk509gd1DANZePvanHOqE2c lYOKINyPl228iwgAtcFgk4SmIzz3UGnMerHDOoTAqvHuqMucsRGP6KJts1aPaZIQcMhmqtED6TQF qC2NNYRwXRSLTQRuUaVyCeEm17ydnhdKezax6mSqRp6ne8cb.vElC5YcOtASL.hfIH8xBjegNm2a mRo3BVnrvankTz32ZtXKCSWs5ZJaijsodGR.D2sLYIUDZdUbKo2rd.1Gm99_3HN3W4dGO3_5l5FJ CApzHBtbOCjG_pubXV1exx.tTqSE468W5z96gSxZQamgBpC2aedWPH9gu8E6e1BKhfVT3fRPhELc nI_e5lD95a_Nw.ul_VlCwsaoO0063q.I.7oUGgM4DREjtq7KDtjf4BZ4fNYpVMaAfff_PtD9q.gH aLuY39oIlFECwRZwNEQg0V..iU2yUhuiGoiSLVqZQ1AA2_wV5NwByplRvmIxmOhQ3FFAXREqmX90 C8iN2FedoxoX.Tj2X7AAabE8iz5OWSfRei3vQEygSgU_acyO36B1_kUqgcnz_E3_OAqVU_hg6rmF Z7bQRLmljdlKn_0d_22KeMdK_wm6Uqo769XxIdrtObqzoK9yss6OvlPnp7ccSQsGrltJKJvDQwSu kDH2cmh9j42xMhFd897.jJQyCy9UPEuR4EInP3WFb6fl0WRnTvLR_606LD1AK1nIZTXrJl3mYepz azKUNseaL.93gEv_36mt2PIdYHDdedbVaOSIT0sFqbWtZkMbsQGIvvO.HJKTDA3IS5RlRsKRJIi8 r54vA2ZYsU89UIt5zJbKTnDyfpS.QLilSI59V351rTjygfCYGbIdfbsZclIFaeSBrj8Kak983ih_ 4CmEYF2sLT.8qCMM8JT_TGDKkrV4G7fj6PG0iMUsKhOYspJzsl.uThW26oA6av6F.ah5t0eIhk7q pSSrvuI_QhjgvODNImbO1pmD7Sle9c_VQB2Ba0ct3XBf8I_ugUSkUk7sH8uqUfVAUGHZRpFEVc1j LKqaab4OSEeZczgySIOWFHs5MVA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Mon, 4 Jan 2021 07:54:29 +0000 Received: by smtp403.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0a4532d846ec02cf828d54898de4e55d; Mon, 04 Jan 2021 07:54:23 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? From: Mark Millard In-Reply-To: <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> Date: Sun, 3 Jan 2021 23:54:21 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> To: Andy McClements X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D8SZb5vlZz3tFn X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.30:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.30:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.30:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.30:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Mon, 04 Jan 2021 07:54:32 -0000 On 2021-Jan-3, at 11:33, Andy McClements wrote: > On 03/01/2021 18:29, Andy McClements wrote: >=20 >> Further on this, I have just done another test by replacing only: >>=20 >> bcm2711-rpi-4-b.dtb >>=20 >> on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI >> firmware 20201227 release. >>=20 >> This **allows booting from USB**, which fails on the stock 20201224 = img. >>=20 >> So it seems to me that patch D26853 **is not required**, if the = upstream >> file is now working OK. >=20 > ************************* > * A P O L O G I E S ! * > ************************* >=20 > I have just noticed that with the 20201227 firmware version of = 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but = the onboard GE is not recognised. >=20 > The only way I can get everything working on my RPi4b 8G with FreeBSD = 20201224, is to use the D26853 patched version of 'bcm2711-rpi-4-b.dtb'. >=20 > The firmware version I've been referring to as 20201227, has files in = it with that datestamp, and was obtained from: >=20 > https://github.com/raspberrypi/firmware/archive/master.zip The Raspberry Pi folks warn against picking up firmware from Master unless requested to by them. Although this is indirect via referencing a tool that gets materials from master. See: = https://www.raspberrypi.org/documentation/raspbian/applications/rpi-update= .md There are also stable and next branches, next being the progression toward the next stable. There are also tagged officially-identified versions. (eeprom firmware is not handled the same as this and is not covered here.) It looks to me like the following are the firmware changes since stable and the most recent tag: 2020-Dec-01 (I'm unsure of the timing/status of this one vs. stable or the most recent tag: same day) firmware: Switch DA9121 PMIC to PWM mode when ARM > 600 MHz 2020-Dec-8 or 9 (9 being the Hexxeh copy): firmware: arm_dt: Handle parent interrupt controllers when masking firmware: config: Add cm4 and pi400 config section filters firmware: MMAL/IL/ISP component: Set the ISP boost frequency once on = open firmware: sdcard: Remove legacy NOOBS support to support booting from = primary partition 4 firmware: arm_loader: Move 2711 RAM to PCIe address 16GB firmware: video_decode: Add parameter to disable timestamp validation firmware: Imx477 camera tuning fixes 2020-Dec-14 or 15: firmware: Use DMA40 for PWM audio firmware: imx477: Replace existing 720p120 mode with a new 1332x990 = 120fps mode firmware: arm_loader: Allow max_framebuffers=3D0 to disable framebuffers 2020-Dec-15: firmware: dmalib: Allow sdcard to borrow channel 6 (I omit the kernel-only update notes.) So: There are things like moving the 2711 RAM PCIe address and putting channel 6 to use for the sdcard and using DMA40 for PWM audio. But I do not claim to understand the implications. NOTE: The above are in branch next as well as master. The most recent tag is at: https://github.com/raspberrypi/firmware/commits/1.20201201 This is likely what is officially distributed for general use. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Jan 4 08:35:33 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 85CEC4CEBAA for ; Mon, 4 Jan 2021 08:35:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-19.consmr.mail.gq1.yahoo.com (sonic306-19.consmr.mail.gq1.yahoo.com [98.137.68.82]) (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 4D8TTv5Sc7z3vyp for ; Mon, 4 Jan 2021 08:35:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609749329; bh=OrRyou5mKgNIEhxQMGU7gyPz3NtY9XsYNvjYd2woH7b=; h=Subject:From:Date:To:From:Subject; b=cyIriNa6FOt6fWLIbDTsyI44ImN9R2DYtMR9B1W54+KP6z9edpl9kpu2ASDEYvzC/3ivB+XsVR7hNihcxdntVIh9R1rkC0GN1Q+OGFwItKS2A/Str5rj5yvWTbfkhf7m0E3mQy6ENfSWV1JL7Hbtgf8sRMqu27lzcvn0FaNYKflehTDsU1ez+DvR3sClOzkQlYIb9C0di/pZUfZJ+xkjR/JlY97DJCimLov+qt/2jjdFwAnPGj5YxeS0QWl6XmCKiW84Gk2eh781TEmgySw5KC+H6JHAM8cU/23Mi9ghADFHGtqXwpb+Ldqs5H2XarG2Y1HSayhU6sCesRhjTk+nUg== X-YMail-OSG: jxlSUZ8VM1npwZAoDjxRTQM2O59oWTyLabAZ80V6ykt6VF2Xtlj_fquh.wdZfb4 cM4KluOlLP9v4776N77rZsTLsQnrhMhlPqOpNiC4SwtuesHfUgIY2zt21EpKy0UxCSaX5JxfvstD 4RZwNt4RndlADvkuuBtmCDwCTM6j97sik_5LY7KHgmwg.7NLbK60Shluydn_dUkAOnkQf_1nO3DN eibG647IEmp.qfb5wYIIuwfhw16eDkZk0FeCpOH1UGVr3TNXVDpeRiOHHdHoLiuRHvy6Czrw89w_ Kr5RyGUxkjJHd_YZ.9euJvFv8I8ZBwIVl6kluxLWvO3cXqu_5JMlluLNuN4RXMY0IlbCNaUDBAUi aRdi2HkAJ4TmeRoGd0FTseKGsNyfJ9s2EDRNlalj9saX_u925z9LJJyAZ1tC9hqGJNlv56GA7vKy fBZ1m7yBRo5fH7vK9hV_fJhHVVUQz64kdQ7EWim3cNMaG92nbMNlU7XzZBG9sJJeiZbgJxp.3FNj MbqIEpwneFk4j0.01_T6SYFCcZcSZLmHWUXajCas3Wwk8YbmcnGbQ._zJXsmvoynIRu5oeD_qLEV 8U5.SBYfIoQ0vYUvANU.IzfGfJolsDTj4nAaZQhPQM2Vj26jVo_OvPHqa5sENVDu8YiYOpYnrGX. yy1TuMSCDB191JI4jvCHYk2d7JWJ44f.MnnQLWOVkJo7s2G_i3Fo8VMNgKfKDKXD5OyzSPpudK0Z Gos5gGti5CPwPgelpJSWxo7_qCNNnjo00MGdii6jK1iYm96pBqPIvbJRZ.nEA6XS_KGN87kFqdEO JCutKIq5xdCQlszcpI.OacMGDNGxykLkmV3KvL34rXC_XthKQ_LAm1PZ8nSjOTtMSKUfgWjFop9R DxTGsf3n3709f_OTQIPiVA1C7PnoArQh1wDHTeS4YBEGpy4Ecxdgqw68BPBeNKh0HNt2Ng9TzCwU hMMe54TmbB4hGIs2P1aBPiN1rWZK5hhb_IVZ2LvD3vojjqs6gdFE9b4uwo82ZYvFkc9PoHl7sJU8 Fjti3ZSybZaB.8rLYZ6Goxx7smtMAlPASS_2TkLTGrVICZlc1XAwSgIcpm8xpUbRiwwkn_SL174C 5B5Mhk368CbtMABiHDyt2gDSeFIwm2de_h9l8vyo2V6VWxAwRznODpeT5xFbH.yKzoHPrxcDz1vF AVpTS.AaS_cfMqq50l4cAbpUqrt67xE7rCQXeXLGIM7fgpEZk9Faa.XC0Nlj8yep9C98dhK034yY .PkrxSGq2dOb1WxFy9gHMT.deIbTZ93IXgZF1fbQ9VbjxbdImLDf7Jl5K3PZtYBhwf3o8jFP69K6 .ubMi5c1pSN0v3HNurzV79xlh8n_5ezRIGn0eBGQr5olzRW5wRz2MceLZIr.VyJ9Pse88bYe8HSV insMP9cztmcJjqf3okK4rxahQ0r62xq8vdMPG.T0cRLXGIC_Kd7x4OAocTZE4pfgc3m4k7Z47Gqv vZAiBYOyfRR2jwk.29K.xdqjMQ.x2mgSwUaKIds.peefq.a6lpZS3DczWEp0HppYmq8Av0Xc.l_w UAjwWlGzYC96QEMOvi5GpCbeUBlsMIsH1RK46ZFFBMASc_7bUY8b725Nt6BUVZkCBm239uS1tyaC XsLwVpt_9SQpXWVOoF4.TDS0DFYnBeCBsHBaS.KvonFUPiUO5kED1XGk4s5b3trX69E0Id3NZuHK hTB3yZjPA7YtJhrBSPy8TmlinuaPY.B8LpzkLgeh0MEBe77UEeBrxykEwALt.AVzbOXocF7epfmg sCxrp6yBkt208Kp1oXtptAzoU5JlzVPIu3wCl17Sq6oUAQ8KheQ4hgZAwQjZMCVstEf1KyeE6ZLg K.b0buB5Ik7B.dUXT3iK.Tftd3xdpu15smaBRwQtZIN9OlBAJdTNqYAe0p3tTM1GF1uC92vzwq_l rBwl1ci54YWDVt1BK5yfYp309hioLwho6oBkmxZKBDwXICNoEaxB6W.z2zGHHki01qIMZDeSFE_i hA91b12v5n499eKwV4Ro.I2CcoAYCKZrIlsuvOWQjATg77rzFx.MuA7LWIpNmLQrernWS1UuzQhy gem5OejPeVC0lAs61wuUegxPI01n3b84nwNBjuwARPXSQ73NNZEPCNkN5k4.00qugOaYQdOt6BlZ rD3WaIgG2qP1zaTlHMTwFOTMJrT1p68y6jogC9UvU01Y9I3xyEUHYnQIWG6zHrmAmndV7BJmBJmM LYI1ff2HAK2_ApYad3FF4NcKNAwMsspfNdDYd4ccM4m4jC3SKPcuuM6rf2CzaR_ZlbcQgsEjkVFe S3MBcHMSyeLX7jdC_0rnKm0Xzp0U9VDbT0hem1WZj3B6eGl.9CVQSbYnhv7sSZOYr9I50q.xrHL4 .okA0NbgLnVezpJ_eDCS23zqwY_lvXJyzouLK7iHyBGsR9.uxv0SesA1hxPFFtlhEBbMa3c6UOWm wWlJMeq5qTwCh_KlkFgfQ Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Mon, 4 Jan 2021 08:35:28 +0000 Received: by smtp417.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3ad61e1d8782b737ee0b3bb28fc869dd; Mon, 04 Jan 2021 08:35:26 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? From: Mark Millard In-Reply-To: <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.com> Date: Mon, 4 Jan 2021 00:35:25 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <819ED63C-FB4C-41B6-BB06-3043C6F76D54@yahoo.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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.com> To: Andy McClements X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D8TTv5Sc7z3vyp X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.82:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.82:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.82:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.82:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Mon, 04 Jan 2021 08:35:33 -0000 On 2021-Jan-3, at 23:54, Mark Millard wrote: > On 2021-Jan-3, at 11:33, Andy McClements wrote: >=20 >> On 03/01/2021 18:29, Andy McClements wrote: >>=20 >>> Further on this, I have just done another test by replacing only: >>>=20 >>> bcm2711-rpi-4-b.dtb >>>=20 >>> on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI >>> firmware 20201227 release. >>>=20 >>> This **allows booting from USB**, which fails on the stock 20201224 = img. >>>=20 >>> So it seems to me that patch D26853 **is not required**, if the = upstream >>> file is now working OK. >>=20 >> ************************* >> * A P O L O G I E S ! * >> ************************* >>=20 >> I have just noticed that with the 20201227 firmware version of = 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but = the onboard GE is not recognised. >>=20 >> The only way I can get everything working on my RPi4b 8G with FreeBSD = 20201224, is to use the D26853 patched version of 'bcm2711-rpi-4-b.dtb'. >>=20 >> The firmware version I've been referring to as 20201227, has files in = it with that datestamp, and was obtained from: >>=20 >> https://github.com/raspberrypi/firmware/archive/master.zip >=20 > The Raspberry Pi folks warn against picking up firmware from > Master unless requested to by them. Although this is indirect > via referencing a tool that gets materials from master. See: >=20 > = https://www.raspberrypi.org/documentation/raspbian/applications/rpi-update= .md >=20 > There are also stable and next branches, next being the progression > toward the next stable. There are also tagged officially-identified > versions. (eeprom firmware is not handled the same as this and is > not covered here.) >=20 > It looks to me like the following are the firmware changes since > stable and the most recent tag: >=20 >=20 > 2020-Dec-01 (I'm unsure of the timing/status of this one vs. stable > or the most recent tag: same day) >=20 > firmware: Switch DA9121 PMIC to PWM mode when ARM > 600 MHz >=20 >=20 >=20 > 2020-Dec-8 or 9 (9 being the Hexxeh copy): >=20 > firmware: arm_dt: Handle parent interrupt controllers when masking >=20 > firmware: config: Add cm4 and pi400 config section filters >=20 > firmware: MMAL/IL/ISP component: Set the ISP boost frequency once on = open >=20 > firmware: sdcard: Remove legacy NOOBS support to support booting from = primary partition 4 >=20 > firmware: arm_loader: Move 2711 RAM to PCIe address 16GB >=20 > firmware: video_decode: Add parameter to disable timestamp validation >=20 > firmware: Imx477 camera tuning fixes >=20 >=20 > 2020-Dec-14 or 15: >=20 > firmware: Use DMA40 for PWM audio >=20 > firmware: imx477: Replace existing 720p120 mode with a new 1332x990 = 120fps mode >=20 > firmware: arm_loader: Allow max_framebuffers=3D0 to disable = framebuffers >=20 >=20 >=20 > 2020-Dec-15: >=20 > firmware: dmalib: Allow sdcard to borrow channel 6 >=20 >=20 > (I omit the kernel-only update notes.) >=20 >=20 > So: There are things like moving the 2711 RAM PCIe address > and putting channel 6 to use for the sdcard and using DMA40 > for PWM audio. But I do not claim to understand the > implications. >=20 >=20 > NOTE: The above are in branch next as well as master. >=20 >=20 >=20 > The most recent tag is at: >=20 > https://github.com/raspberrypi/firmware/commits/1.20201201 >=20 > This is likely what is officially distributed for general > use. >=20 I found another aspect of the changes that affects dts files, used to produce the .dtb files: the .dts files come from their linux source code and . . . The 2020-Dec-15 commit switched from linux 5.4.81 to 5.10.0 . Recent sequencing of kernel versions in master: 2020-Nov-23: 5.4.79 2020-Dec-08: 5.4.81 2020-Dec-14: 5.4.81 (Yep: again. Seems to have a fix.) 2020-Dec-15: 5.10.0 2020-Dec-18: 5.10.1 2020-Dec-23: 5.10.2 2020-Dec-27: 5.10.3 If I understand right, the 5.10.?? kernels are intended to have more in common with their linux upstream than their 5.4.?? kernels did, partially via contributing to upstream. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Jan 4 08:51:07 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 888574CF3A0 for ; Mon, 4 Jan 2021 08:51:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-20.consmr.mail.gq1.yahoo.com (sonic310-20.consmr.mail.gq1.yahoo.com [98.137.69.146]) (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 4D8Tqt327Rz4R3L for ; Mon, 4 Jan 2021 08:51:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609750263; bh=F6xzlzLcA09dVVJWWrmMmJa+OE/6XjhmIAiKmAqL1Fo=; h=Subject:From:Date:To:From:Subject; b=DNx7rv6Osum/fVZAXeezTZd/l3macaqT1eeWrMmQuApyL0wQ4TL5HcW8NH3nnB0KH7d71B/RaW/Niap/4OgetLLVnYwglu8iYYILbNLKw7LvpUNc1NhRk+MMmIQHkvZenJ+GlqXE6nuljjiSPaImJONZ5u45hLGQPSY4pgYt/q5AgFI7zNG1L+Ca9sD6pSrwCFuloUPHNkrVV//tGIozd+Ubw1zR6/GMxSXyQR2qA3OKiJmQGvvRlRs8GZdMnxSkLGj15lV97Ocs0rgXjvtFQbk+hUuz6kfFSu/VGsryBQhZPWA/PKGr1SYOwbygztRDxehs1VyghcVaLcWs4AikVg== X-YMail-OSG: soOmIdMVM1n222GzJMrMuQUPLVfQXtKt8rXGRknppJ9NzQdDGptdLcBqo75tXNp 2NGjDSRtr9QtU9IPusi6MyjKSF3iIY.C4bR.MyLIIwpa.PfQ5kbVbhv9zibEclozkyYm8Y7OsGKe FLR61PN0Jos1aETWcoEhJsgNgBRRv9UacOzbFCODa.tUpqYW63_9gYiKl0_5IKvrpn6aPqXnZXjn OvxpUMLBgCdM7vbfsoNXCV6vUTCk_YS1zJ8UbDHX4xLFGJouSKTQ6IBrkoKBFhiA2GN9ySVTY2nx CbFOSAf8Rc4KpsxIN0CQVr42PYS2AKRFuEB9JLYFp8mv1Ul0AiPVVJWRPoyJCv59bnVPiSBxSfRB Z4tV.Bs9KA70dNmYpeASJWC95Ncgs_ymCbnpFa9eHNAP.kikstzWpXjAVRxaehj3GeWJ6DH9nUpV uypbUQzNsYORl2QiTAe.HdHeWnWEWO.h1XiD7JGtolNhGBdUXhIA4c2lvRk2Uj3F4ubfYw7qRcRd XtHPOPwf5jsOOc5gXXvO9TtBTSyCACf3sqp9H9K2p9LLRf_BvKV54obtYQ13ezMYz_gYOoVq28Q6 LJXDldCjuxMY8b5XNPafSqHLl2TqI9g1us6sjUNlLtQOFhlr6F4wkU.dy1Rs1zTEXdYJ4G4myahA BOtvZ5F9l3Uz_szaQmhsaWQ0ms_fqn8b2P.YSoI9h1BlYt1C7B2iM8icZADoU95icuUzYd4fbKxt p6wgnfowKyMm2ModEI_03go9WOD7G8I25CHrXDbS36Tl3qRCEZGrbuHuf.29UJ5crvBG5InNpO8e bGEoq2KT.j.Tgulkzbhv_ePn.kZt.TwKTRPBY1uh9wphrLKuQlUOViT6AYDQdYkArCP9FSray1VK frsJ_Iw530XmF2nlM7XmUn6_EkuOcWOa8qwOk2lA6EmZ2VSUdnuV.sAIPdemBlFW5nrYljh4U4OK t.maPFbkEfn17blVyb5QN2WMx61cDhIupxiZSPFkXTtzgnZlJ5t0Bda5uwdd.bmTiCm2.wTCjbf9 VGJvPBUC6ctZxrJkvwwzYFLousLG9SJ4ZMnR7inLVQddXnb_DQL7EJSjcEZMMUzp3heiy7uDMbo1 m2DtB1.Ztr5XORqozdTXYpNGM7cnNms6CGvCVncRkS8B9eGAeBjmwl0I3F2HgN1zN8OgBcir3Xcp Eq8luiJKbR99iCnkS58XdFMuB5CU3LzNEDjOOs_yAJZl6pYX.zNg7G7u4_iUqyfR6ntsSYNxY6kP 4bci6px0E_eTe2tvDq1p_XsBAWWggLRtmsyMku7YF6GkNJa2GRfdyqschOC6kY2vxa.OEapBWxaG JVnsJD1JTe3z8wJhfr3jXRlewhXBKy.tES7txxC3kCXi56TlLu6ghHhoxa15oCufdf8tpliCowkd XthN91RYdsTrBsT0bFPro_mFZUp_aXS9707dCZqnCLu.mvdtP1XiEhA69q_ojb3.O1fQ9Qm0UPle OZNfQ3vF8Fn8erEN8b4xpdDqg8UiXCtb7nnSyJm3hbCweiAmMPWhzpaNJWHik8KGmX8l0NlP5nad pHaMy5eV_hNWwRwHJzz6HMNAbmSMo6MtopsqzNmTVQUmgGqKOQEoxk7RYLhHwQutSiD8rSb8AKkX gnQpghPKqK.C_7E9h4YfXzraLsjPqWI_rK5L95MCKr.UttsQKrUtpTO6TfikOdX0aYxk4mrVwBXL kOcvZ50l0WPstXl1lVNXpVumEhWmF9O3FQn7Ey7620AylBczuzY2a3eZVrzPehn4ofu9V.UZlpOi KykvSz4Yjx0ahfU50HlrtY3Z_wFFmrQrn2U8BaBG4d09dpKT6RVGXQZ7e24gw.hZG6vmwZ6_io8p ba2CjP1KEi2mHbwy36IRhhgbYbcixwnH9b9tFsphixuaL4zhNsW5Lr9oKHhtyngQ.oJ0LYdZ4SEl fCp3LvlKENWGvcMhCQc0o3jKZso0brtNGHBGX15NN5lTPg19_ygXI1g5b3zbQRGr8kuMXEiTmlAl 5c3MOKel17F7ogDBJoduMXJOtr4QVbRidr7QSwWecgnp92IwA3BxZ5Bbf01DOsgfqIatJ1F6rPQt bFDB4tatGzl85Bn7es7u2OXQzomqCvi_lI9wzddwnhk.ZhfeGFuF7hYah0WNqhCdYc3Wg0n0IHXi pUAPCjVaRoLgzcVmBnIau2oHrH7R6Dc3nwu8Ybh7GfyMysgIfe67w4ipg2d1c54RnrqzL.QyfS4f bmJD50PhoZbjOJRmfZ9_kYytDRbXXyeItMNIuWcP7nmQdv2fMF.iBKMGD5wSzAiTsCBG__biIlzu KzPN.wxNhPiSsdhyOplwMmTtpdUaV8I_sJERL7Fwle8omk.8X.6H0CbMHnjL3YIYpiDwRcwOKyse XS5MGzwM_bjGr6zhmyXDgDx8dE.VdZSF4ORdO7KwC_mR_U6GLA6Fn5xU6od9sfpCzTz5vocDic3. 4TWpsCAm5SmnHlkLgcrk4 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 4 Jan 2021 08:51:03 +0000 Received: by smtp409.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 42f9d4912fc7d6038845555e5ab48039; Mon, 04 Jan 2021 08:50:58 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? From: Mark Millard In-Reply-To: <819ED63C-FB4C-41B6-BB06-3043C6F76D54@yahoo.com> Date: Mon, 4 Jan 2021 00:50:57 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.com> <819ED63C-FB4C-41B6-BB06-3043C6F76D54@yahoo.com> To: Andy McClements X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D8Tqt327Rz4R3L X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.146:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.146:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.146:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.146:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Mon, 04 Jan 2021 08:51:07 -0000 On 2021-Jan-4, at 00:35, Mark Millard wrote: >=20 >=20 > On 2021-Jan-3, at 23:54, Mark Millard wrote: >=20 >> On 2021-Jan-3, at 11:33, Andy McClements wrote: >>=20 >>> On 03/01/2021 18:29, Andy McClements wrote: >>>=20 >>>> Further on this, I have just done another test by replacing only: >>>>=20 >>>> bcm2711-rpi-4-b.dtb >>>>=20 >>>> on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI >>>> firmware 20201227 release. >>>>=20 >>>> This **allows booting from USB**, which fails on the stock 20201224 = img. >>>>=20 >>>> So it seems to me that patch D26853 **is not required**, if the = upstream >>>> file is now working OK. >>>=20 >>> ************************* >>> * A P O L O G I E S ! * >>> ************************* >>>=20 >>> I have just noticed that with the 20201227 firmware version of = 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but = the onboard GE is not recognised. >>>=20 >>> The only way I can get everything working on my RPi4b 8G with = FreeBSD 20201224, is to use the D26853 patched version of = 'bcm2711-rpi-4-b.dtb'. >>>=20 >>> The firmware version I've been referring to as 20201227, has files = in it with that datestamp, and was obtained from: >>>=20 >>> https://github.com/raspberrypi/firmware/archive/master.zip >>=20 >> The Raspberry Pi folks warn against picking up firmware from >> Master unless requested to by them. Although this is indirect >> via referencing a tool that gets materials from master. See: >>=20 >> = https://www.raspberrypi.org/documentation/raspbian/applications/rpi-update= .md >>=20 >> There are also stable and next branches, next being the progression >> toward the next stable. There are also tagged officially-identified >> versions. (eeprom firmware is not handled the same as this and is >> not covered here.) Looks like I got the definition for "next" wrong. The notice about the future move to the 5.10 linux kernel is at: https://www.raspberrypi.org/forums/viewtopic.php?t=3D288234 It describes next vs. master via: QUOTE We will do this in a few stages. Starting now, we are updating the = "next" firmware branch to the 5.10 kernel. Assuming testing is positive, we'll update the master rpi-update = firmware branch. Eventually the 5.10 kernel will appear with "apt upgrade" and on new = RPiOS images in the future. . . . EDIT: The next upstream LTS (Long Term Support) kernel is 5.10, and we = have now switched to testing this. EDIT: master branch of rpi-update now gets 5.10 kerne. next branch is = now dormant END QUOTE >> It looks to me like the following are the firmware changes since >> stable and the most recent tag: >>=20 >>=20 >> 2020-Dec-01 (I'm unsure of the timing/status of this one vs. stable >> or the most recent tag: same day) >>=20 >> firmware: Switch DA9121 PMIC to PWM mode when ARM > 600 MHz >>=20 >>=20 >>=20 >> 2020-Dec-8 or 9 (9 being the Hexxeh copy): >>=20 >> firmware: arm_dt: Handle parent interrupt controllers when masking >>=20 >> firmware: config: Add cm4 and pi400 config section filters >>=20 >> firmware: MMAL/IL/ISP component: Set the ISP boost frequency once on = open >>=20 >> firmware: sdcard: Remove legacy NOOBS support to support booting from = primary partition 4 >>=20 >> firmware: arm_loader: Move 2711 RAM to PCIe address 16GB >>=20 >> firmware: video_decode: Add parameter to disable timestamp validation >>=20 >> firmware: Imx477 camera tuning fixes >>=20 >>=20 >> 2020-Dec-14 or 15: >>=20 >> firmware: Use DMA40 for PWM audio >>=20 >> firmware: imx477: Replace existing 720p120 mode with a new 1332x990 = 120fps mode >>=20 >> firmware: arm_loader: Allow max_framebuffers=3D0 to disable = framebuffers >>=20 >>=20 >>=20 >> 2020-Dec-15: >>=20 >> firmware: dmalib: Allow sdcard to borrow channel 6 >>=20 >>=20 >> (I omit the kernel-only update notes.) >>=20 >>=20 >> So: There are things like moving the 2711 RAM PCIe address >> and putting channel 6 to use for the sdcard and using DMA40 >> for PWM audio. But I do not claim to understand the >> implications. >>=20 >>=20 >> NOTE: The above are in branch next as well as master. >>=20 >>=20 >>=20 >> The most recent tag is at: >>=20 >> https://github.com/raspberrypi/firmware/commits/1.20201201 >>=20 >> This is likely what is officially distributed for general >> use. >>=20 >=20 > I found another aspect of the changes that affects dts files, > used to produce the .dtb files: the .dts files come from their > linux source code and . . . >=20 > The 2020-Dec-15 commit switched from linux 5.4.81 to 5.10.0 . > Recent sequencing of kernel versions in master: >=20 > 2020-Nov-23: 5.4.79 > 2020-Dec-08: 5.4.81 > 2020-Dec-14: 5.4.81 (Yep: again. Seems to have a fix.) > 2020-Dec-15: 5.10.0 > 2020-Dec-18: 5.10.1 > 2020-Dec-23: 5.10.2 > 2020-Dec-27: 5.10.3 >=20 > If I understand right, the 5.10.?? kernels are intended to > have more in common with their linux upstream than their > 5.4.?? kernels did, partially via contributing to upstream. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Jan 4 09:54:23 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 DE4424D08A2 for ; Mon, 4 Jan 2021 09:54:23 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8WDv18yFz4Tmq for ; Mon, 4 Jan 2021 09:54:22 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x331.google.com with SMTP id y23so18713490wmi.1 for ; Mon, 04 Jan 2021 01:54:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=gurWvT6Qi2N6cRl4nuXL+iyrPU9yL2+33TEYu2wI744=; b=k0JvFPVr+gl3Aar/0XTRasJeIGUCmbE7zZEN6c3eK0PCqIrny4Vsc+CO/+EmXF/E3k gpLDWlq6Bj1jxhHMOlRf1wT+VKVBMYooPu/yvsDRAkeJeP6SlbAOx0Yo8jRv3f0YhwrK 4AFoPpKBiyMWQxt94f1i+Xg9q5OVWZlbf0koWWn7EikOF8AWnVasscRGCtmlG0680a+3 LPXUQKkM/xAP3Zte1ElShQ/hEru/zksqR6JK/c/k1egLVDGiA7ykUVdCksBPQSdOsrhp EL7SSEGU6ZDKVKjc2c0SU8IVQnxOE+8oHdlhmTaluW9e37FXUh4GaG+n0eioOwiv+qSg bY1g== X-Gm-Message-State: AOAM533yaFfkLGLat4t9tITErI+3k3B/Qb1iA/5TsJh2+46C7wI+kvp+ mHtmZdqWqtx+cH5hYxg8jzE= X-Google-Smtp-Source: ABdhPJxUbWHNPOgIBqyf9/9Gwq4HXZ08q66tJA4akz5R6TIwnq3eaDltaLefXG7bArHPzKpz6mNrEg== X-Received: by 2002:a1c:2d6:: with SMTP id 205mr26325827wmc.60.1609754061667; Mon, 04 Jan 2021 01:54:21 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-155-167.46.114.pool.telefonica.de. [46.114.155.167]) by smtp.googlemail.com with ESMTPSA id a13sm85087196wrt.96.2021.01.04.01.54.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jan 2021 01:54:21 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Mon, 4 Jan 2021 10:54:18 +0100 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <86961F76-0B50-48C5-B584-BB9DA21CC588@yahoo.com> <819ED63C-FB4C-41B6-BB06-3043C6F76D54@yahoo.com> To: Mark Millard , Andy McClements , freebsd-arm@freebsd.org, Robert Crowston In-Reply-To: <819ED63C-FB4C-41B6-BB06-3043C6F76D54@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D8WDv18yFz4Tmq X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com,ip-ether.net,freebsd.org,protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::331:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.155.167:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::331:from:127.0.2.255]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::331:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Mon, 04 Jan 2021 09:54:23 -0000 just a small estimate ... > Am 04.01.2021 um 09:35 schrieb Mark Millard via freebsd-arm = : >=20 >> The most recent tag is at: >>=20 >> https://github.com/raspberrypi/firmware/commits/1.20201201 thanks for the link. No surprise what we`ll find when we click the issue-tab on that website = : https://github.com/raspberrypi/firmware/issues/1518 Following the the last comment from u-boot-hacker Nicolas Saenz Julienne = : = https://github.com/raspberrypi/firmware/issues/1518#issuecomment-750910297= : .. IIUC you are also triggering an xHC firmware load through the mailbox = interface. AFAIK this mailbox interface expects a configured PCIe bus = honoring whatever is in DT. .. Whereas edkII doesn=E2=80=99t expose PCIe afaik, Rob Crowston doesn=E2=80=99= t have problems with the mailbox : = https://github.com/freebsd/freebsd-src/blob/098dbd7ff7f3da9dda03802cdb2d87= 55f816eada/sys/arm/broadcom/bcm2835/bcm2838_xhci.c#L169 > Am 04.01.2021 um 09:35 schrieb Mark Millard via freebsd-arm = : >=20 >> The Raspberry Pi folks warn against picking up firmware from >> Master unless requested to by them.=20 >=20 Yes, and thanks to Andy McClements we exactly know(at the moment) , what to = pickup and what not. So the Nicolas Saenz- hack is included in = https://reviews.freebsd.org/D26853 and fell in love with Rob`s mbox-hack = :-) ..as far as I understand.. Everything else , I guess, what Nicolas Saenz is preparing for upcoming = u-boot versions should be handled later with the next fbsd-u-boot-port=20= Regards K. From owner-freebsd-arm@freebsd.org Mon Jan 4 14:03:12 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 F17D64D71DC for ; Mon, 4 Jan 2021 14:03:12 +0000 (UTC) (envelope-from max@stucchi.ch) Received: from mailout.glevia.com (mailout.glevia.com [45.129.225.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8clz6BB8z4ltT for ; Mon, 4 Jan 2021 14:03:11 +0000 (UTC) (envelope-from max@stucchi.ch) Received: from ISOC-W0LVDL.local (unknown [45.129.224.254]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by mailout.glevia.com (Postfix) with ESMTPSA id D678F21C3E for ; Mon, 4 Jan 2021 14:03:03 +0000 (UTC) To: freebsd-arm@freebsd.org From: Massimiliano Stucchi Subject: FreeBSD on RPI Compute Module 3+ 32G Message-ID: Date: Mon, 4 Jan 2021 15:03:02 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f58157p2epYSGaZCDWIrwviTOCQSDDP3A" X-Rspamd-Queue-Id: 4D8clz6BB8z4ltT X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of max@stucchi.ch designates 45.129.225.5 as permitted sender) smtp.mailfrom=max@stucchi.ch X-Spamd-Result: default: False [-5.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:45.129.225.5]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; SIGNED_PGP(-2.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.129.225.5:from]; ASN(0.00)[asn:58280, ipnet:45.129.224.0/22, country:CH]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[max]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[stucchi.ch]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[45.129.225.5:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Mon, 04 Jan 2021 14:03:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --f58157p2epYSGaZCDWIrwviTOCQSDDP3A Content-Type: multipart/mixed; boundary="AcKhcaHFvSIuQIt9X8XagMGYzDMUo2NlL"; protected-headers="v1" From: Massimiliano Stucchi To: freebsd-arm@freebsd.org Message-ID: Subject: FreeBSD on RPI Compute Module 3+ 32G --AcKhcaHFvSIuQIt9X8XagMGYzDMUo2NlL Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable Hi, I have recently received a turingPi and a bunch of compute modules 3+ 32G, and I started playing with them. I managed to make FreeBSD 13-CURRENT (latest snapshopt) boot on them by adding the specific dtb as seen on the crochet files (https://github.com/freebsd/crochet/tree/master/board/RaspberryPiCM3L) However, my modules have a 32G built-in eMMC, and the boot just turns into a series of timeouts related to the MMC. I don't have the necessary knowledge required to look into the sources and fix it myself, but I would be happy to provide access to the board and help fo whoever would like to have a look. Alternatively, I would be happy to get some guidance on how to debug further and provide more infos to help fully run FreeBSD on these devices. Ciao! --=20 Massimiliano Stucchi MS16801-RIPE Twitter/Telegram: @stucchimax --AcKhcaHFvSIuQIt9X8XagMGYzDMUo2NlL-- --f58157p2epYSGaZCDWIrwviTOCQSDDP3A Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEG4RERrpEQHEGlNwEzydGXnVBuuUFAl/zIBYFAwAAAAAACgkQzydGXnVBuuXz Twf/YK7+XlsgnU5rWOWcbHqEBDZOxt3Q9b7dji6AmSOXKEMuPnkNzfk44+i5GJdPwSC3pHbuRRnl hsUOEbFVIPJ/PK0+3arKu9rSVMR1+m5FLOFWyc0x8G3ReD7jLHEwby8IHEGZVUbR/BvkJVZuG0nv gLU3zNHY2n3CSn9E25YkQ8irtL33Vpx2q6pYW9qN/zMyzdvKYjgyPVt3QCpwGl04eS765uw5FN7m 4Uduz6hG3olLTgwZOXipM67BQRYh8wcu+D2AaLPLXoZwT9N8xN0sIYOwjqTtqN6R1Obzu+t4NDxf SblJ03Xu6M+ogoEIAYMQcq/rYXK2n0SyvJdg+ttjiA== =UCvg -----END PGP SIGNATURE----- --f58157p2epYSGaZCDWIrwviTOCQSDDP3A-- From owner-freebsd-arm@freebsd.org Mon Jan 4 21:11:12 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 D37124CD397 for ; Mon, 4 Jan 2021 21:11:12 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (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 4D8pFq6PCgz4WTP for ; Mon, 4 Jan 2021 21:11:11 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id 104LB5Pq064547 for ; Mon, 4 Jan 2021 15:11:05 -0600 (CST) (envelope-from mgrooms@shrew.net) Received: from [10.22.200.30] (unknown [136.49.68.36]) by mail.shrew.net (Postfix) with ESMTPSA id 99668199CA9 for ; Mon, 4 Jan 2021 15:11:00 -0600 (CST) To: freebsd-arm@freebsd.org From: Matthew Grooms Subject: rpi4 network boot Message-ID: Date: Mon, 4 Jan 2021 15:11:02 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Mon, 04 Jan 2021 15:11:05 -0600 (CST) X-Rspamd-Queue-Id: 4D8pFq6PCgz4WTP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-2.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_BASE64_TEXT(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.131:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_NA(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[shrew.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.131:from:127.0.2.255]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Mon, 04 Jan 2021 21:11:12 -0000 Hi All, Recently I've been trying to net boot a rpi4 4gb board using bootp, tftp = and nfs. It get's to the point to where it appears to have problems with = the genet adapter but it's hard to tell from the output. I'm not the=20 only one who's seeing the same issue as it's also been reported in the=20 FreeBSD forum ... https://forums.freebsd.org/threads/network-boot-fail-on-rpi4.78180/ I'm happy to provide any other info that may be helpful. Any ideas? -Matthew ---- serial boot output below ---- U-Boot 2020.10 (Dec 24 2020 - 04:18:29 +0000) DRAM: 3.9 GiB RPI 4 Model B (0xc03112) 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: Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 scanning bus xhci_pci for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 2 1 0 Card did not respond to voltage select! Device 0: unknown device ethernet@7d580000 Waiting for PHY auto negotiation to complete. done BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 DHCP client bound to address X.X.X.26 (1759 ms) Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/loader.efi'. Load address: 0x200000 Loading: *################################################## 1.1 MiB 8.4 MiB/s done Bytes transferred =3D 1183548 (120f3c hex) missing environment variable: pxeuuid Retrieving file: freebsd/boot/pxelinux.cfg/01-dc-a6-32-a8-54-13 Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/01-dc-a6-32-a8-54-13'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C81A Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C81A'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C81 Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C81'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C8 Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C8'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16 Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A16'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A1 Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A1'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0A'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0 Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/0'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default-arm-bcm283x-rpi Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/default-arm-bcm283x-rpi'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default-arm-bcm283x Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/default-arm-bcm283x'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default-arm Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/default-arm'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/pxelinux.cfg/default'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Config file not found BOOTP broadcast 1 DHCP client bound to address X.X.X.26 (2 ms) Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'boot.scr.uimg'. Load address: 0x2400000 Loading: * TFTP error: 'File not found' (1) Not retrying... BOOTP broadcast 1 DHCP client bound to address X.X.X.26 (2 ms) Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'freebsd/boot/loader.efi'. Load address: 0x80000 Loading: *################################################## 1.1 MiB 8.2 MiB/s done Bytes transferred =3D 1183548 (120f3c hex) Using ethernet@7d580000 device TFTP from server X.X.X.25; our IP address is X.X.X.26 Filename 'dtb/broadcom/bcm2711-rpi-4-b.dtb'. Load address: 0x2600000 Loading: * TFTP error: 'File not found' (1) Not retrying... libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@7e300000.blk... Disk mmc@7e300000.blk not ready Card did not respond to voltage select! Scanning disk emmc2@7e340000.blk... Disk emmc2@7e340000.blk not ready Found 0 disks No EFI system partition Booting /dtb\broadcom\bcm2711-rpi-4-b.dt Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env FreeBSD/arm64 EFI loader, Revision 1.1 (Fri Dec 18 19:40:33 CST 2020 root@rpi4.blah.lab) Command line arguments: loader.efi Image base: 0x39e05000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8224.4096) Console: comconsole (0) Load Path: /dtb\broadcom\bcm2711-rpi-4-b.dt Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(dca632a= 85413,1) Setting currdev to net0: net0: cannot set rx. filters (status=3D3) |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\Loading /boot/defaults/loader.con= f |/-Loading /boot/defaults/loader.conf Loading /boot/device.hints \|/-\|Loading /boot/loader.conf /-Loading /boot/loader.conf.local \|/-\|/-\|/-\|/-\|Loading kernel... /-\|/-\|/-\|/-\|/-\/boot/kernel/kernel text=3D0x2a8 text=3D0x9321c0 |/-\|= /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-= \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\= |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|= /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-= \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\= |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\t= ext=3D0x1b8ed4 |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/data=3D0x19a2d0 -\|/-= \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\= |/-\|/-\|/-\|/-\|/-\|/-\|data=3D0x0+0x4a3cf6 syms=3D[0x8+0x113b08/-\|/-\|= /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+0x8+0x138a0= 2-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\] Loading configured modules... |/-\|/can't find '/etc/hostid' -\|/-\can't find '/boot/entropy' |/-\|//boot/kernel/umodem.ko text=3D0x1c00 text=3D0xfb0 data=3D0x618+0x8 = -syms=3D[0x8+0xe40+0x8+0xa8c] loading required module 'ucom' \|/-\|//boot/kernel/ucom.ko text=3D0x1d38 text=3D0x2c18 -data=3D0x820+0x8= 50 syms=3D[0x8+0x1140+0x8+0xac5] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x7f00000. \|/-\|EFI framebuffer information: addr, size 0x3e495000, 0x6d8c00 dimensions 1824 x 984 stride 1824 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 r368766: Fri Dec 18 21:16:54 CST 2020 root@rpi4.blah.lab:/var/rpi4/build/obj/usr/src/arm64.aarch64/sys/GEN= ERIC-NODEBUG arm64 FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmor= g-11.0.0-0-g176249bd673) VT(efifb): resolution 1824x984 module firmware already present! real memory =3D 4147933184 (3955 MB) avail memory =3D 4021624832 (3835 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random de= vice because it was not yet seeded and the knob 'bypass_before_seeding' w= as enabled. random: entropy device external interface MAP 39f2b000 mode 2 pages 1 MAP 39f2f000 mode 2 pages 3 MAP 39f33000 mode 2 pages 4 MAP 3b350000 mode 2 pages 16 MAP fe100000 mode 0 pages 1 WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 1= 3.0. kbd0 at kbdmux0 WARNING: Device "openfirm" is Giant locked and may be deleted before Free= BSD 13.0. ofwbus0: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 simplebus1: on ofwbus0 simplebus2: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 simplebus3: on ofwbus0 clk_fixed2: on ofwbus0 regfix2: on ofwbus0 simple_mfd0: mem 0x7d5d2000-0x7d5d2= eff on simplebus0 psci0: on ofwbus0 gic0: mem 0x40041000-0x40041fff,0x4004= 2000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 31 on sim= plebus0 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 mbox0: mem 0x7e00b880-0x7e00b8bf irq 14 on si= mplebus0 bcm2835_firmware0: on simplebus0 ofw_clkbus1: on bcm2835_firmware0 gpio0: on bcm2835_firmware0 gpiobus0: on gpio0 gpioregulator0: on ofwbus0 generic_timer0: irq 4,5,6,7 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 usb_nop_xceiv0: on ofwbus0 uart0: mem 0x7e201000-0x7e2011ff irq 17 on simpl= ebus0 uart0: console (115200,n,8,1) spi0: mem 0x7e204000-0x7e2041ff irq 19 on s= implebus0 spibus0: on spi0 spibus0: at cs 0 mode 0 spibus0: at cs 1 mode 0 iichb0: mem 0x7e804000-0x7e804fff irq 27 on= simplebus0 bcm_dma0: mem 0x7e007000-0x7e007aff irq 32,33,34= ,35,36,37,38,39,40,41,42 on simplebus0 bcmwd0: mem 0x7e100000-0x7e100113,0x7e00a000-0x7e= 00a023,0x7ec11000-0x7ec1101f on simplebus0 gpioc0: on gpio0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff ir= q 58 on simplebus0 mmc0: on sdhci_bcm0 fb0: on simplebus0 fb0: keeping existing fb bpp of 32 fbd0 on fb0 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13= =2E0. VT: Replacing driver "efifb" with new "fb". fb0: 1824x984(1824x984@0,0) 32bpp fb0: fbswap: 1, pitch 7296, base 0x3e495000, screen_size 7237632 sdhci_bcm1: mem 0x7e340000-0x7e3400ff ir= q 69 on simplebus1 mmc1: on sdhci_bcm1 pmu0: irq 0,1,2,3 on ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 pcib0: mem 0x7d500000-0x7d509= 30f irq 70,71 on simplebus2 pcib0: hardware identifies as revision 0x304. pci0: on pcib0 pcib1: irq 81 at device 0.0 on pci0 pci1: on pcib1 bcm_xhci0: irq 82 at = device 0.0 on pci1 bcm_xhci0: 32 bytes context size, 64-bit DMA usbus0 on bcm_xhci0 genet0: mem 0x7d580000-0x7d58ffff irq 72,73 on si= mplebus2 genet0: GENET version 5.0 phy 0x0000 miibus0: on genet0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000= baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto genet0: Ethernet address: dc:a6:32:a8:54:13 gpioled0: on ofwbus0 gpioled0: failed to map pin cryptosoft0: Timecounters tick every 1.000 msec genet0: gen_intr2 genet0: gen_intr2 genet0: gen_intr2 genet0: gen_intr2 genet0: gen_intr2 genet0: gen_intr2 =2E.. last line repeats endlessly From owner-freebsd-arm@freebsd.org Mon Jan 4 23:30:02 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 2040F4D004D for ; Mon, 4 Jan 2021 23:30:02 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (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 4D8sL10bGfz4gXy for ; Mon, 4 Jan 2021 23:30:00 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id 104NTx6f065374 for ; Mon, 4 Jan 2021 17:29:59 -0600 (CST) (envelope-from mgrooms@shrew.net) Received: from [10.22.200.30] (unknown [136.49.68.36]) by mail.shrew.net (Postfix) with ESMTPSA id 3CD13199BE8 for ; Mon, 4 Jan 2021 17:29:54 -0600 (CST) Subject: Re: rpi4 network boot To: freebsd-arm@freebsd.org References: From: Matthew Grooms Message-ID: <3a1acba5-8662-55cb-c5c4-98ec7873f78f@shrew.net> Date: Mon, 4 Jan 2021 17:29:56 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Mon, 04 Jan 2021 17:29:59 -0600 (CST) X-Rspamd-Queue-Id: 4D8sL10bGfz4gXy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-3.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_BASE64_TEXT(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.131:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[shrew.net]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.131:from:127.0.2.255]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Mon, 04 Jan 2021 23:30:02 -0000 On 1/4/2021 3:11 PM, Matthew Grooms wrote: > Hi All, > > Recently I've been trying to net boot a rpi4 4gb board using bootp,=20 > tftp and nfs. It get's to the point to where it appears to have=20 > problems with the genet adapter but it's hard to tell from the output. = > I'm not the only one who's seeing the same issue as it's also been=20 > reported in the FreeBSD forum ... > > https://forums.freebsd.org/threads/network-boot-fail-on-rpi4.78180/ > > I'm happy to provide any other info that may be helpful. Any ideas? Replying to my own email, sorry. I was reading a recent thread on u-boot = and firmware versions and got the idea of trying to update to the master = version of rpi4 firmware dated January 4th ... https://github.com/raspberrypi/firmware/archive/master.zip With that I was able to netboot successfully. Want to make sure this is=20 out there for anyone else trying to do the same. I'm not sure which new=20 file did the trick as I just copied the firmware/boot files into the=20 firmware path. Here is a list of the resulting file set in the directory = =2E.. root@rpi4:/var/rpi4/netboot/firmware-master # ls -la total 49224 drwxr-xr-x=C2=A0 5 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 1536 Jan=C2=A0= 4 17:09 . drwxr-xr-x=C2=A0 9 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 512 Jan= =C2=A0 4 17:10 .. -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 18693 Jan=C2=A0 4 0= 6:57 COPYING.linux drwxr-xr-x=C2=A0 3 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 512 Dec= 24 02:38 EFI -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 1594 Jan=C2=A0= 4 06:57 LICENCE.broadcom -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 240 Dec= 23 22:19 README -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 5888 Dec 23 2= 2:22 armstub8-gic.bin -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 5888 Dec 23 2= 2:22 armstub8.bin -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 25458 Jan=C2=A0 4 0= 6:57 bcm2708-rpi-b-plus.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 24806 Jan=C2=A0 4 0= 6:57 bcm2708-rpi-b-rev1.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 25195 Jan=C2=A0 4 0= 6:57 bcm2708-rpi-b.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 24928 Jan=C2=A0 4 0= 6:57 bcm2708-rpi-cm.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 26133 Jan=C2=A0 4 0= 6:57 bcm2708-rpi-zero-w.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 24940 Jan=C2=A0 4 0= 6:57 bcm2708-rpi-zero.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 26333 Jan=C2=A0 4 0= 6:57 bcm2709-rpi-2-b.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 26482 Jan=C2=A0 4 0= 6:57 bcm2710-rpi-2-b.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 28599 Jan=C2=A0 4 0= 6:57 bcm2710-rpi-3-b-plus.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 27980 Jan=C2=A0 4 0= 6:57 bcm2710-rpi-3-b.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 26289 Jan=C2=A0 4 0= 6:57 bcm2710-rpi-cm3.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 47972 Jan=C2=A0 4 0= 6:57 bcm2711-rpi-4-b.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 48145 Jan=C2=A0 4 0= 6:57 bcm2711-rpi-400.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 48303 Jan=C2=A0 4 0= 6:57 bcm2711-rpi-cm4.dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 52456 Jan=C2=A0 4 0= 6:57 bootcode.bin -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 171 Dec= 23 22:22 config.txt drwxr-xr-x=C2=A0 7 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 512 Dec= 24 02:38 dtb -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 7297 Jan=C2=A0= 4 06:57 fixup.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 5429 Jan=C2=A0= 4 06:57 fixup4.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 3176 Jan=C2=A0= 4 06:57 fixup4cd.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 8436 Jan=C2=A0= 4 06:57 fixup4db.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 8436 Jan=C2=A0= 4 06:57 fixup4x.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 3176 Jan=C2=A0= 4 06:57 fixup_cd.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 10288 Jan=C2=A0 4 0= 6:57 fixup_db.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 10288 Jan=C2=A0 4 0= 6:57 fixup_x.dat -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 5961288 Jan=C2=A0 4 06:57 kerne= l.img -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 6301144 Jan=C2=A0 4 06:57 kerne= l7.img -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 6672456 Jan=C2=A0 4 06:57 kerne= l7l.img -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 7727470 Jan=C2=A0 4 06:57 kerne= l8.img drwxrwxr-x=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0 6144 Jan=C2=A0= 4 06:57 overlays -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 2939744 Jan=C2=A0 4 06:57 start= =2Eelf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 2215424 Jan=C2=A0 4 06:57 start= 4.elf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 791068 Jan=C2=A0 4 06:57 = start4cd.elf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 3716424 Jan=C2=A0 4 06:57 start= 4db.elf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 2975016 Jan=C2=A0 4 06:57 start= 4x.elf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 791068 Jan=C2=A0 4 06:57 = start_cd.elf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 4788392 Jan=C2=A0 4 06:57 start= _db.elf -rw-rw-r--=C2=A0 1 root=C2=A0 wheel=C2=A0 3698600 Jan=C2=A0 4 06:57 start= _x.elf -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 555264 Dec 23 22:19 u-boo= t.bin ---- serial output of boot ---- U-Boot 2020.10 (Dec 24 2020 - 04:18:29 +0000) DRAM: 3.9 GiB RPI 4 Model B (0xc03112) 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: Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 scanning bus xhci_pci for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 2 1 0 Card did not respond to voltage select! Device 0: unknown device ethernet@7d580000 Waiting for PHY auto negotiation to complete. done BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 DHCP client bound to address x.x.x.26 (1759 ms) Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/loader.efi'. Load address: 0x200000 Loading: *################################################## 1.1 MiB 8.6 MiB/s done Bytes transferred =3D 1183548 (120f3c hex) missing environment variable: pxeuuid Retrieving file: freebsd/boot/pxelinux.cfg/01-dc-a6-32-a8-54-13 Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/01-dc-a6-32-a8-54-13'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C81A Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C81A'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C81 Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C81'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C8 Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C8'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16C Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A16C'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A16 Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A16'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A1 Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A1'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0A Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0A'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/0 Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/0'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default-arm-bcm283x-rpi Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/default-arm-bcm283x-rpi'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default-arm-bcm283x Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/default-arm-bcm283x'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default-arm Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/default-arm'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Retrieving file: freebsd/boot/pxelinux.cfg/default Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/pxelinux.cfg/default'. Load address: 0x2500000 Loading: * TFTP error: 'File not found' (1) Not retrying... Config file not found BOOTP broadcast 1 DHCP client bound to address x.x.x.26 (2 ms) Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'boot.scr.uimg'. Load address: 0x2400000 Loading: * TFTP error: 'File not found' (1) Not retrying... BOOTP broadcast 1 DHCP client bound to address x.x.x.26 (1 ms) Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'freebsd/boot/loader.efi'. Load address: 0x80000 Loading: *################################################## 1.1 MiB 8.7 MiB/s done Bytes transferred =3D 1183548 (120f3c hex) Using ethernet@7d580000 device TFTP from server x.x.x.25; our IP address is x.x.x.26 Filename 'dtb/broadcom/bcm2711-rpi-4-b.dtb'. Load address: 0x2600000 Loading: * TFTP error: 'File not found' (1) Not retrying... libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@7e300000.blk... Disk mmc@7e300000.blk not ready Card did not respond to voltage select! Scanning disk emmc2@7e340000.blk... Disk emmc2@7e340000.blk not ready Found 0 disks No EFI system partition Booting /dtb\broadcom\bcm2711-rpi-4-b.dt Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env FreeBSD/arm64 EFI loader, Revision 1.1 (Fri Dec 18 19:40:33 CST 2020 root@rpi4.blah.lab) Command line arguments: loader.efi Image base: 0x39e05000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8224.4096) Console: comconsole (0) Load Path: /dtb\broadcom\bcm2711-rpi-4-b.dt Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(dca632a= 85413,1) Setting currdev to net0: net0: cannot set rx. filters (status=3D3) |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\Loading /boot/defaults/loader.con= f |/-Loading /boot/defaults/loader.conf Loading /boot/device.hints \|/-\|Loading /boot/loader.conf /-Loading /boot/loader.conf.local \|/-\|/-\|/-\|/-\|Loading kernel... /-\|/-\|/-\|/-\|/-\/boot/kernel/kernel text=3D0x2a8 text=3D0x9321c0 |/-\|= /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-= \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\= |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|= /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-= \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\= |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\t= ext=3D0x1b8ed4 |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/data=3D0x19a2d0 -\|/-= \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\= |/-\|/-\|/-\|/-\|/-\|/-\|data=3D0x0+0x4a3cf6 syms=3D[0x8+0x113b08/-\|/-\|= /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+0x8+0x138a0= 2-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/= -\|/-\] Loading configured modules... |/-\|/can't find '/etc/hostid' -\|/-\can't find '/boot/entropy' |/-\|//boot/kernel/umodem.ko text=3D0x1c00 text=3D0xfb0 data=3D0x618+0x8 = -syms=3D[0x8+0xe40+0x8+0xa8c] loading required module 'ucom' \|/-\|//boot/kernel/ucom.ko text=3D0x1d38 text=3D0x2c18 -data=3D0x820+0x8= 50 syms=3D[0x8+0x1140+0x8+0xac5] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x7f00000. \|/-\|EFI framebuffer information: addr, size 0x3e495000, 0x6d8c00 dimensions 1824 x 984 stride 1824 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 r368766: Fri Dec 18 21:16:54 CST 2020 root@rpi4.blah.lab:/var/rpi4/build/obj/usr/src/arm64.aarch64/sys/GEN= ERIC-NODEBUG arm64 FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmor= g-11.0.0-0-g176249bd673) VT(efifb): resolution 1824x984 module firmware already present! real memory =3D 4147929088 (3955 MB) avail memory =3D 4021616640 (3835 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random de= vice because it was not yet seeded and the knob 'bypass_before_seeding' w= as enabled. random: entropy device external interface MAP 39f2b000 mode 2 pages 1 MAP 39f2f000 mode 2 pages 3 MAP 39f33000 mode 2 pages 4 MAP 3b350000 mode 2 pages 16 MAP fe100000 mode 0 pages 1 WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 1= 3.0. kbd0 at kbdmux0 WARNING: Device "openfirm" is Giant locked and may be deleted before Free= BSD 13.0. ofwbus0: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 clk_fixed2: on ofwbus0 clk_fixed3: on ofwbus0 simplebus1: on ofwbus0 simplebus2: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 simplebus3: on ofwbus0 simple_mfd0: mem 0x7d5d2000-0x7d5d2= eff on simplebus0 simple_mfd1: on simplebus0 ofw_clkbus1: on simple_mfd1 psci0: on ofwbus0 gic0: mem 0x40041000-0x40041fff,0x4004= 2000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 30 on sim= plebus0 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 mbox0: mem 0x7e00b880-0x7e00b8bf irq 13 on si= mplebus0 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 generic_timer0: irq 4,5,6,7 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 usb_nop_xceiv0: on ofwbus0 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 uart0: mem 0x7e201000-0x7e2011ff irq 16 on simpl= ebus0 uart0: console (115200,n,8,1) spi0: mem 0x7e204000-0x7e2041ff irq 18 on s= implebus0 spibus0: on spi0 spibus0: at cs 0 mode 0 spibus0: at cs 1 mode 0 iichb0: mem 0x7e804000-0x7e804fff irq 26 on= simplebus0 bcm_dma0: mem 0x7e007000-0x7e007aff irq 31,32,33= ,34,35,36,37,38,39,40,41 on simplebus0 bcmwd0: mem 0x7e100000-0x7e100113,0x7e00a000-0x7e= 00a023,0x7ec11000-0x7ec1101f on simplebus0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff ir= q 62 on simplebus0 mmc0: on sdhci_bcm0 fb0: on simplebus0 fb0: keeping existing fb bpp of 32 fbd0 on fb0 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13= =2E0. VT: Replacing driver "efifb" with new "fb". fb0: 1824x984(1824x984@0,0) 32bpp fb0: fbswap: 1, pitch 7296, base 0x3e495000, screen_size 7237632 sdhci_bcm1: mem 0x7e340000-0x7e3400ff ir= q 68 on simplebus1 mmc1: on sdhci_bcm1 pmu0: irq 0,1,2,3 on ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 bcm2835_cpufreq0: Unable to find firmware device device_attach: bcm2835_cpufreq0 attach returned 6 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 pcib0: mem 0x7d500000-0x7d509= 30f irq 69,70 on simplebus2 pcib0: hardware identifies as revision 0x304. pci1: on pcib0 pcib1: irq 80 at device 0.0 on pci1 pci2: on pcib1 bcm_xhci0: irq 81 at = device 0.0 on pci2 bcm_xhci0: 32 bytes context size, 64-bit DMA usbus0 on bcm_xhci0 pci0: on pcib0 pci0: failed to allocate bus number device_attach: pci0 attach returned 6 gpioled0: on ofwbus0 gpioled0: failed to map pin gpioled0: failed to map pin gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 cryptosoft0: bcm2835_cpufreq0: on cpu0 bcm2835_cpufreq0: Unable to find firmware device device_attach: bcm2835_cpufreq0 attach returned 6 Timecounters tick every 1.000 msec iicbus0: on iichb0 iic0: on iicbus0 usbus0: 5.0Gbps Super Speed USB v3.0 sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ugen0.1: <0x1106 XHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0= sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no activ= e command. sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D uhub0: 5 ports with 4 removable, self powered mmc0: No compatible cards found on bus mmc1: No compatible cards found on bus ugen0.2: at usbus0 uhub1 on uhub0 uhub1: on us= bus0 uhub1: 4 ports with 4 removable, self powered nfs_diskless: no interface Release APs...done Loader variables: Manual root filesystem specification: : [options] CPU 0: ARM Cortex-A72 r0p3 affinity: 0 Mount using filesystem Cache Type =3D <64 byte D-cacheline,64 byte I-cacheli= ne,PIPT ICache,64 byte ERG,64 byte CWG> and with the specified (optional) option list. Instruction Set Attributes 0 =3D Instruction Set Attributes 1 =3D <> eg. ufs:/dev/da0s1a Processor Features 0 =3D zfs:zroot/ROOT/default Processor Features 1 =3D <> cd9660:/dev/cd0 ro Memory Model Features 0 =3D (which is equivalent to: Memory Model Features 1 =3D <8b= it VMID> mount -t cd9660 -o ro /dev/cd0 /) Memory Model Features 2 =3D <32bit CCIDX,48bit VA> ? List valid disk boot devices Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 Breakpoin= ts,PMUv3,Debugv8> . Yield 1 second (for background tasks) Debug Features 1 =3D <> Abort manual input mountroot> Auxiliary Features 0 =3D <> Auxiliary Features 1 =3D <> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 CPU 2: ARM Cortex-A72 r0p3 affinity: 2 CPU 3: ARM Cortex-A72 r0p3 affinity: 3 From owner-freebsd-arm@freebsd.org Tue Jan 5 00:18:28 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 8EC394D1ACF for ; Tue, 5 Jan 2021 00:18:28 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx2.shrew.net (mx2.shrew.net [38.97.5.132]) (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 4D8tPv5rZNz4jGX for ; Tue, 5 Jan 2021 00:18:27 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx2.shrew.net (8.15.2/8.15.2) with ESMTP id 1050IL7M075199 for ; Mon, 4 Jan 2021 18:18:21 -0600 (CST) (envelope-from mgrooms@shrew.net) Received: from [10.22.200.30] (unknown [136.49.68.36]) by mail.shrew.net (Postfix) with ESMTPSA id 4C57A187E20 for ; Mon, 4 Jan 2021 18:18:16 -0600 (CST) Subject: Re: rpi4 network boot To: freebsd-arm@freebsd.org References: <3a1acba5-8662-55cb-c5c4-98ec7873f78f@shrew.net> From: Matthew Grooms Message-ID: Date: Mon, 4 Jan 2021 18:18:18 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <3a1acba5-8662-55cb-c5c4-98ec7873f78f@shrew.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx2.shrew.net [10.24.10.11]); Mon, 04 Jan 2021 18:18:21 -0600 (CST) X-Rspamd-Queue-Id: 4D8tPv5rZNz4jGX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.132 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.132:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.132:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[shrew.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RECEIVED_SPAMHAUS_PBL(0.00)[136.49.68.36:received] 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: Tue, 05 Jan 2021 00:18:28 -0000 On 1/4/2021 5:29 PM, Matthew Grooms wrote: > On 1/4/2021 3:11 PM, Matthew Grooms wrote: >> Hi All, >> >> Recently I've been trying to net boot a rpi4 4gb board using bootp, >> tftp and nfs. It get's to the point to where it appears to have >> problems with the genet adapter but it's hard to tell from the >> output. I'm not the only one who's seeing the same issue as it's also >> been reported in the FreeBSD forum ... >> >> https://forums.freebsd.org/threads/network-boot-fail-on-rpi4.78180/ >> >> I'm happy to provide any other info that may be helpful. Any ideas? > > Replying to my own email, sorry. I was reading a recent thread on > u-boot and firmware versions and got the idea of trying to update to > the master version of rpi4 firmware dated January 4th ... > > https://github.com/raspberrypi/firmware/archive/master.zip > > With that I was able to netboot successfully. Want to make sure this > is out there for anyone else trying to do the same. I'm not sure which > new file did the trick as I just copied the firmware/boot files into > the firmware path. Here is a list of the resulting file set in the > directory ... > > root@rpi4:/var/rpi4/netboot/firmware-master # ls -la > total 49224 > drwxr-xr-x  5 root  wheel     1536 Jan  4 17:09 . > drwxr-xr-x  9 root  wheel      512 Jan  4 17:10 .. > -rw-rw-r--  1 root  wheel    18693 Jan  4 06:57 COPYING.linux > drwxr-xr-x  3 root  wheel      512 Dec 24 02:38 EFI > -rw-rw-r--  1 root  wheel     1594 Jan  4 06:57 LICENCE.broadcom > -rwxr-xr-x  1 root  wheel      240 Dec 23 22:19 README > -rwxr-xr-x  1 root  wheel     5888 Dec 23 22:22 armstub8-gic.bin > -rwxr-xr-x  1 root  wheel     5888 Dec 23 22:22 armstub8.bin > -rw-rw-r--  1 root  wheel    25458 Jan  4 06:57 bcm2708-rpi-b-plus.dtb > -rw-rw-r--  1 root  wheel    24806 Jan  4 06:57 bcm2708-rpi-b-rev1.dtb > -rw-rw-r--  1 root  wheel    25195 Jan  4 06:57 bcm2708-rpi-b.dtb > -rw-rw-r--  1 root  wheel    24928 Jan  4 06:57 bcm2708-rpi-cm.dtb > -rw-rw-r--  1 root  wheel    26133 Jan  4 06:57 bcm2708-rpi-zero-w.dtb > -rw-rw-r--  1 root  wheel    24940 Jan  4 06:57 bcm2708-rpi-zero.dtb > -rw-rw-r--  1 root  wheel    26333 Jan  4 06:57 bcm2709-rpi-2-b.dtb > -rw-rw-r--  1 root  wheel    26482 Jan  4 06:57 bcm2710-rpi-2-b.dtb > -rw-rw-r--  1 root  wheel    28599 Jan  4 06:57 bcm2710-rpi-3-b-plus.dtb > -rw-rw-r--  1 root  wheel    27980 Jan  4 06:57 bcm2710-rpi-3-b.dtb > -rw-rw-r--  1 root  wheel    26289 Jan  4 06:57 bcm2710-rpi-cm3.dtb > -rw-rw-r--  1 root  wheel    47972 Jan  4 06:57 bcm2711-rpi-4-b.dtb > -rw-rw-r--  1 root  wheel    48145 Jan  4 06:57 bcm2711-rpi-400.dtb > -rw-rw-r--  1 root  wheel    48303 Jan  4 06:57 bcm2711-rpi-cm4.dtb > -rw-rw-r--  1 root  wheel    52456 Jan  4 06:57 bootcode.bin > -rwxr-xr-x  1 root  wheel      171 Dec 23 22:22 config.txt > drwxr-xr-x  7 root  wheel      512 Dec 24 02:38 dtb > -rw-rw-r--  1 root  wheel     7297 Jan  4 06:57 fixup.dat > -rw-rw-r--  1 root  wheel     5429 Jan  4 06:57 fixup4.dat > -rw-rw-r--  1 root  wheel     3176 Jan  4 06:57 fixup4cd.dat > -rw-rw-r--  1 root  wheel     8436 Jan  4 06:57 fixup4db.dat > -rw-rw-r--  1 root  wheel     8436 Jan  4 06:57 fixup4x.dat > -rw-rw-r--  1 root  wheel     3176 Jan  4 06:57 fixup_cd.dat > -rw-rw-r--  1 root  wheel    10288 Jan  4 06:57 fixup_db.dat > -rw-rw-r--  1 root  wheel    10288 Jan  4 06:57 fixup_x.dat > -rw-rw-r--  1 root  wheel  5961288 Jan  4 06:57 kernel.img > -rw-rw-r--  1 root  wheel  6301144 Jan  4 06:57 kernel7.img > -rw-rw-r--  1 root  wheel  6672456 Jan  4 06:57 kernel7l.img > -rw-rw-r--  1 root  wheel  7727470 Jan  4 06:57 kernel8.img > drwxrwxr-x  2 root  wheel     6144 Jan  4 06:57 overlays > -rw-rw-r--  1 root  wheel  2939744 Jan  4 06:57 start.elf > -rw-rw-r--  1 root  wheel  2215424 Jan  4 06:57 start4.elf > -rw-rw-r--  1 root  wheel   791068 Jan  4 06:57 start4cd.elf > -rw-rw-r--  1 root  wheel  3716424 Jan  4 06:57 start4db.elf > -rw-rw-r--  1 root  wheel  2975016 Jan  4 06:57 start4x.elf > -rw-rw-r--  1 root  wheel   791068 Jan  4 06:57 start_cd.elf > -rw-rw-r--  1 root  wheel  4788392 Jan  4 06:57 start_db.elf > -rw-rw-r--  1 root  wheel  3698600 Jan  4 06:57 start_x.elf > -rwxr-xr-x  1 root  wheel   555264 Dec 23 22:19 u-boot.bin > > ---- serial output of boot ---- > ... > nfs_diskless: no interface > Release APs...done Woops. I missed the "no interface" output line. It would appear that the only reason the boot got farther was due to the genet driver not loading. So, the newer dtb file was really a step backwards :( Any ideas? -Matthew From owner-freebsd-arm@freebsd.org Tue Jan 5 00:26:09 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 1852C4D1F0C for ; Tue, 5 Jan 2021 00:26:09 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8tZm0C2mz4jdv for ; Tue, 5 Jan 2021 00:26:07 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x42f.google.com with SMTP id c5so33827536wrp.6 for ; Mon, 04 Jan 2021 16:26:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=TCvlzzPB6LR7xEtapuIvPAGOwAnlOIaljpt5M1NAykA=; b=WPjQSyyBBd4aIicnBJIuqOvcFbLaN4w8y6g6ir+bLeCX9x3DI/qCsEZUAIHtXocZSE 3/raYsz6/qTTRIpMMd8Bbxqv0WOyPFZvDMzwQG6Cda9UpvZxl03XUDWIwNQJBE+X67Sq xPQiV6b485CT3SoI6GuYyLSoHowx/EpUo6kdlDCO6rQZdubbOPj82aiZ0OPnb8jpxqOo A7SyqhdoxGePb4MztNKXCUpH7VBnwABCZQBmugzWgh5Cotqd+i/XQMCGi07/UjIPB7Xz Hl5RlIRu2f0UgPDMj8mnLIK7dJAeYKy+gnRipd7oSdTTH6v68MEGMhsAjrYEzGMIvM1s xolg== X-Gm-Message-State: AOAM533uxtjWS+Jt5hYFvv2WgEQWrcFQxbNhbflMohc7/6bb/wlWqhVs k0PeN7FaBDuIYh4cYK6MXwWfP+fdZvaJ5w== X-Google-Smtp-Source: ABdhPJzhGkRfihkcOLHl4n4UJavRzrPY3QqEuj4TH+Vy5O5IvZlVlDEiCrRCU++LCeoRceXtkWbwWA== X-Received: by 2002:adf:ce82:: with SMTP id r2mr81854829wrn.181.1609806366033; Mon, 04 Jan 2021 16:26:06 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-155-167.46.114.pool.telefonica.de. [46.114.155.167]) by smtp.googlemail.com with ESMTPSA id u3sm106811994wre.54.2021.01.04.16.26.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jan 2021 16:26:05 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: rpi4 network boot Date: Tue, 5 Jan 2021 01:26:03 +0100 References: <3a1acba5-8662-55cb-c5c4-98ec7873f78f@shrew.net> To: Matthew Grooms , freebsd-arm@freebsd.org In-Reply-To: <3a1acba5-8662-55cb-c5c4-98ec7873f78f@shrew.net> Message-Id: <88BF58E2-3E52-4BA2-A23F-224F32B337D9@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D8tZm0C2mz4jdv X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.67 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.83)[subject]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42f:from]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.155.167:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42f:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42f:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 00:26:09 -0000 Hi , > Am 05.01.2021 um 00:29 schrieb Matthew Grooms : >>=20 > Replying to my own email, sorry. I was reading a recent thread on = u-boot and firmware versions and, did you get headache from reading that ;-) > and got the idea of trying to update to the master version of rpi4 = firmware dated January 4th ... >=20 > https://github.com/raspberrypi/firmware/archive/master.zip >=20 > With that I was able to netboot successfully. Want to make sure this = is out there for anyone else trying to do the same. I'm not sure which = new file did the trick as I just copied the firmware/boot files into the = firmware path. Here is a list of the resulting file set in the directory = =E2=80=A6 while happy to hear that it works for you at the moment in your context, That firmware you linked would break in other contexts so I guess we = will not use it in release=E2=80=A6 but that=E2=80=99s a longer story=20 and by the way, it=E2=80=99s very good that you=E2=80=99re here because = we eventually could ask you to test=20 netboot again for the case we plan to make changes to firmware-files in = releases. > Am 05.01.2021 um 01:18 schrieb Matthew Grooms : >=20 > So, the newer dtb file was really a step backwards :( Any ideas? =E2=80=A6 ouch, I see in your above new message that it breaks again, = really no surprise=E2=80=A6. so I guess we have to talk about(and test) your issue the next days=E2=80=A6= =20 I`m offline for the rest of the day(night here) but perhaps there are = others still here tonight... thanks Regards K. From owner-freebsd-arm@freebsd.org Tue Jan 5 20:16:02 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 C1A6D4C9100 for ; Tue, 5 Jan 2021 20:16:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.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 4D9Nzj50Wjz3GF5 for ; Tue, 5 Jan 2021 20:16:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609877758; bh=1vltjU7ei30g277sAyxHPVyhRCmzH0mQVMSgdolfeqi=; h=From:Subject:Date:To:From:Subject; b=KQXDhk0RQ5VpSYi+8QqFPvie6nNMyZ7Go2VVZ7USkfR4akSPEX5irdMmYrSETT53JRU0KuqmoazGFt+1AGV0KQZbVGKabY63Ln/f5J5gL9m4VytMz01u5Oe9fL4Vvw1z71ate931BTeAOcbJHXyw3lgOAkHGirWdlUwvU5GPAfmbgyTIRLGfZ8xA9++jIXnVcdEKEwWEIzpoBBlKzC8F66B1p9Tu03kdVdDQChKW73/GraD3EixBWOfVZUMRaopI9qCwbae1WiyrnmMZFenJ4Vur/6i+NYOP8wF4u1KKUCkUNI0zjr3m4ye/DxhP+/0ZPMMaRzyb3yRWVcUE9+ip+Q== X-YMail-OSG: kw7h9IEVM1lDLcIJZiMU8jaxSlDW6wlIGTCnoLDXma3TnIbjw0yYtUuBzymtPM0 0P5TkyVTyCE5fgtfBWdJfdQwhPaBrFXA.OATXXazmHApv.7weMn22ks.qMHNBW30OEawMC629VMj eCN5FCLRQg_eLL5I.9PcadHEhjX22qcmsj75XttGev4wzrMpO7NOG192hHWGKm2zD97sGzHMXwxl V7jrXtUbmQgeNLU9sGjPurzTAB97tBz4H6sceit560shx7Pib6LqFQZZMrAQpmQtQVykgvkKAPgy M5sLEIOBtgqwzsFGqr339XNoFC6NaYR7saN_k5lOC7WcXuyXV3HU4Q2xcHNgBTrnbc8wg9l0O_cm NenSNi_p07GjC240EhrD0XHsOdlX115UpbNBaWjRNWfBNrqZ1YWHPhBMH7chqS52YDDEBPchnZmO nTHlWhhmr2JrpSdw8aHNuz8ognUwaW0D6raOy5UXBPeOIceNLSQ3bB6Bnv_CiQpT6p5_DmoqYAtH vrCkjj3Nk4h2x0CYvd9L6u13wTZX8rRdjtZv4TaqRc5jchyGiSn2EY2Vyxi6IMaDGU1flsPsppWL wHpotI88D8qevOP6vx1afqfNcvipFUCpPKYp5.d_DdXbjbWCTUqYqVwltFa6GFD5EOckaf5DGQz7 2oLOLuM6HDYvQ5ebPYvX_6CNOQVlCfAcZI.5fpWMZsM255HVF8jYVK3wG.YKxdOyO9zq9PC_Lk20 1R0aMuJnKNcmGwsHdAqthqkrgxlY3lCsE9QN2Gf9gr3ofkK72ChLU_WX5NUeAKkEv8kTHxgrrg2J n9X9ovfu_79MY4B9U_I3vd5ugflH0xPhKDwrXODR.nvPM4UzE54iodeLi6.pMTWv29IYyqq_iUhY IoDEUvYNidip1.NIIbIbs_jLqv2CM2r7yK7TkT2vrkuASKXhGeTR7QhaoEobt6.r8z66_3xz4K0Z K8lxjfR.Vg0_.zwf7ifzFJHUS8N0b8Nbb7Ga2LIOquaWd_.uhfaN3RRzjLUHsuFixEPA2Z_K1mJE SY_oni9nteytinA8SHNXf2IdHLAEq.2BgVzXJi0CaQN9GM9g.5FZJgmdbvTpdZRjodlQLQubNgMe IY0Z8LpjyifpvheMUSmAozfUc.1G6wcIazuEELaxW5uz8nVrO8T8cKW6Y6ty7ZkAlk80QhG1WPY3 Mc2.Cf4ijU6MnndzlG.KIVRdWncTzg3RgkMECP4M6UyzSH1iqh92S7k5S1o1.lLfawDx8BEfzfWt TGqJLfXlPFN2fqhOyXAmyoxRBXBHgXDuEuaPPC9Y2EUjJj02edxMyvyyiVhquwqFFHyjVISwN.4z CjKfpzeWosIf8FQj.AuLfQ3LnpPXqA6kPYS4b3ZIp0oRQNGhXaqrdgThz.4.y8IzX87xBqxSLueG a4ror6SYqzF4YAbHeZwDqzqj8BsIVhZV3Dt1S5h6f.xZQl8sw9FBQIgYJf5bGVjv.bMuRxJMRcZa tD6w1xwT_Inp7dlsEN4rAUeLp5eTeKBhXgQsING66.HeEyUFX8b2IsI7HPcV.SCHTVPE7meRhH.8 NbgIquI5VBmBNLdBT89hrrnBVITRM361fdScjP5v4v8ObSiOtClxQa4MFJmdLyhAoj3j8cn3rCT7 WKctsGWU1MdrRUCX.x3JfX.CLSl_UZkjbdrf10KXZLJngBPQFXb.wgGgmXjhjPeDPm7HR51XXvBt oBbZALWAkVdquu6CbSr4e9ZBdU_WPaO762TN0i5N6mR40WZlxyM4zdETv5rS4bCnEMRFTB.yzo7V bdu_0nMAZFPh9FIWuBcA3gUS5HVGpt9_nF5ujeL6gZEvR0I.C11hX4WttjzW.oyadOM3FDNKcATt PBwedsPo0WsnQL0uCpOrDem8U_nXo4BicyePXyMQx3.IDwlZF7C3Qcts3VbOsb7LxkL42bCurTBO 9cu3nzgizLneL1D11eLJ093gKtJtdLvaKqE8pEDXZlAib9_rzU6EYcOXyXLCAtODrr.t8TVYkfaf xbsDPc_USS0sfz3N6pgGFUFM0sqKiTMgRxEOilqna.g9Vy_I_JtLyD7zgjbSUq3Yqtw54AnnGqpN gjFrHN7itud8j1rHTETPdChS0lYK.NOvXZmDnx_7pI2DUpHCFpelwXeuD93v.BCiwiKMDDDAKc2C FC_jSjnnlUIWUmVBGIyRhFWNUb3L6yqTb36LES5yvjcVZBBhtJdy_ruenHohmcXqosSJj5chB6B3 .nTOiKJXPN6phb7aScTsMNZNSa9m4bt88aP2w1IcBWzSODvPe.zgMeux0B0ya2kqMMLJlwOGkK9m O2OSwkgkri3vsDjTBWJlkES6xvflxpKJV4_vRSUIvbJnUp9tB_DgrTBA2EAkXWQ8Cc6klnB807lf tuQoQpaMnzaZbs1onqNxDjz_kRUAeRSsMbXFVW2YzfY1waGGNdJj5B8pV5XPpQpZYxM1gK9NucIl .nIIBgYChYi8ot.Ln14pg_DHK3AXr.AlfGuxmz3LcZSapOf1JbcC__9chHrtQbseJvaYQa8KuzAU hZTlTbgOjyg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Tue, 5 Jan 2021 20:15:58 +0000 Received: by smtp415.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cf344b175a63ec7e6d840d465bc12b95; Tue, 05 Jan 2021 20:15:54 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: aarch64 based on main 58661b3ba9eb : panic for "ufs_dirbad: /: bad dir ino 66371814 at offset 106496: mangled entry" Message-Id: Date: Tue, 5 Jan 2021 12:15:52 -0800 To: freebsd-arm , FreeBSD Current X-Mailer: Apple Mail (2.3654.40.0.2.32) References: X-Rspamd-Queue-Id: 4D9Nzj50Wjz3GF5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.31:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.65.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 20:16:02 -0000 Later I give notes about the context. The failure reported . . . # panic: ufs_dirbad: /: bad dir ino 66371814 at offset 106496: mangled = entry cpuid =3D 0 time =3D 1609844528 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x30 pc =3D 0xffff00000081c654 lr =3D 0xffff00000011ccb4 sp =3D 0xffff0000ac7a9e60 fp =3D 0xffff0000ac7aa060 db_trace_self_wrapper() at vpanic+0x198 pc =3D 0xffff00000011ccb4 lr =3D 0xffff0000004be678 sp =3D 0xffff0000ac7aa070 fp =3D 0xffff0000ac7aa0d0 vpanic() at panic+0x44 pc =3D 0xffff0000004be678 lr =3D 0xffff0000004be4dc sp =3D 0xffff0000ac7aa0e0 fp =3D 0xffff0000ac7aa190 panic() at ufs_lookup_ino+0xc9c pc =3D 0xffff0000004be4dc lr =3D 0xffff000000775044 sp =3D 0xffff0000ac7aa1a0 fp =3D 0xffff0000ac7aa270 ufs_lookup_ino() at vfs_cache_lookup+0xd0 pc =3D 0xffff000000775044 lr =3D 0xffff00000059a768 sp =3D 0xffff0000ac7aa280 fp =3D 0xffff0000ac7aa2f0 vfs_cache_lookup() at cache_fplookup_noentry+0x158 pc =3D 0xffff00000059a768 lr =3D 0xffff00000059f270 sp =3D 0xffff0000ac7aa300 fp =3D 0xffff0000ac7aa340 cache_fplookup_noentry() at cache_fplookup+0x440 pc =3D 0xffff00000059f270 lr =3D 0xffff00000059c0f4 sp =3D 0xffff0000ac7aa350 fp =3D 0xffff0000ac7aa410 cache_fplookup() at namei+0xd0 pc =3D 0xffff00000059c0f4 lr =3D 0xffff0000005a79fc sp =3D 0xffff0000ac7aa420 fp =3D 0xffff0000ac7aa4f0 namei() at kern_statat+0xa4 pc =3D 0xffff0000005a79fc lr =3D 0xffff0000005c82d8 sp =3D 0xffff0000ac7aa500 fp =3D 0xffff0000ac7aa660 kern_statat() at sys_fstatat+0x2c pc =3D 0xffff0000005c82d8 lr =3D 0xffff0000005c888c sp =3D 0xffff0000ac7aa670 fp =3D 0xffff0000ac7aa780 sys_fstatat() at do_el0_sync+0x460 pc =3D 0xffff0000005c888c lr =3D 0xffff00000083e048 sp =3D 0xffff0000ac7aa790 fp =3D 0xffff0000ac7aa820 do_el0_sync() at handle_el0_sync+0x90 pc =3D 0xffff00000083e048 lr =3D 0xffff00000081f224 sp =3D 0xffff0000ac7aa830 fp =3D 0xffff0000ac7aa980 handle_el0_sync() at 0x403da3e8 pc =3D 0xffff00000081f224 lr =3D 0x00000000403da3e8 sp =3D 0xffff0000ac7aa990 fp =3D 0x0000ffffffffe630 KDB: enter: panic [ thread pid 58718 tid 100101 ] Stopped at 0x403dd330 db>=20 Unfortunately the db> prompt is not taking any input so all I have is the backtrace. The machine had been left idle after upgrading from being head -r368820 based and other activity. The "~/fbsd-based-on-what-freebsd-main.sh mm-src" and uname below just happened to be the last things I did before leaving it idle overnight. I've no clue how long it was idle before the panic happened. # ~/fbsd-based-on-what-freebsd-main.sh mm-src 58661b3ba9ebe82f889cbc336afe618ad7f7940a CommitDate: 2021-01-04 15:12:03 -0800 085d41abe5f1 58661b3ba9eb (HEAD -> mm-src) mm-src snapshot for mm's = patched build in git context. # uname -apKU FreeBSD FBSDmacch 13.0-CURRENT FreeBSD 13.0-CURRENT = mm-src-c255600-g085d41abe5f1 GENERIC-NODBG arm64 aarch64 1300133 = 1300133 I did a fair amount of activity after the upgrade but before leaving it idle, lots of file system activity being involved. The machine is a MACCHIATOBin Double Shot. FreeBSD was from a cross build, using -mcpu=3Dcortex-a72 . (I mention mcpu in part because I've caught a missing-synchronization issue in the past from doing this, something a cortex-a53 running the same build did not show and for which the cortex-a72 did not show the issue when running a plain aarch64 or cortex-a53 targeted build. I'm not claiming to know that the wider range of behavior for the cortex-a72 is involved here.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Jan 5 20:16:14 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 46B0F4C9104 for ; Tue, 5 Jan 2021 20:16:14 +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 4D9Nzw6cMgz3GSX for ; Tue, 5 Jan 2021 20:16:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1609877770; 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=IxZbtTKGiB9hZL+Lh7RTeC4dxR7ioKk8OI9PlCwlrDM=; b=UMNftZhvYKqrnP77eo8Y4VT6MD4gJWKKgp6AJjI36B8gN+gpUs2uZp2DGyB/cgZZRBmB55 UFp/2B6ANGJb2KGSBSbHWZvmJ9xaZI4ytvZIExtIK4m7mXgZ8qzUSbvqqxX996BY3Gg5HD F8ZcF7NNe9TLiS8F9hwwYgdOjWC1joc= Received: from skull.home.blih.net (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 6bdde756 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 5 Jan 2021 20:16:10 +0000 (UTC) Date: Tue, 5 Jan 2021 21:16:10 +0100 From: Emmanuel Vadot To: Andy McClements Cc: freebsd-arm@freebsd.org Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Message-Id: <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> In-Reply-To: <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4D9Nzw6cMgz3GSX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=UMNftZhv; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 20:16:14 -0000 On Sun, 3 Jan 2021 19:33:31 +0000 Andy McClements wrote: > On 03/01/2021 18:29, Andy McClements wrote: > > > Further on this, I have just done another test by replacing only: > > > > bcm2711-rpi-4-b.dtb > > > > on the FreeBSD 13.0-CURRENT 20201224 img, with the one from the RPI > > firmware 20201227 release. > > > > This **allows booting from USB**, which fails on the stock 20201224 img. > > > > So it seems to me that patch D26853 **is not required**, if the upstream > > file is now working OK. > > ************************* > * A P O L O G I E S ! * > ************************* > > I have just noticed that with the 20201227 firmware version of > 'bcm2711-rpi-4-b.dtb', 'genet0' is missing. USB disk boot is fine, but > the onboard GE is not recognised. > > The only way I can get everything working on my RPi4b 8G with FreeBSD > 20201224, is to use the D26853 patched version of 'bcm2711-rpi-4-b.dtb'. > > The firmware version I've been referring to as 20201227, has files in it > with that datestamp, and was obtained from: > > https://github.com/raspberrypi/firmware/archive/master.zip So I did my tests today. Indeed we cannot boot from USB with the current re@ generated image. As said before in this thread u-boot needs the raspberrypi,firmware-reset node to be present to reset the usb controller. This also means that we cannot boot from sd and use USB drives from u-boot currently. If, like Andy did, we use only the dtb from rpi-firmware git master everything works. One issue was genet related but was fixed by cb00fc7c4d. The problem is that if we use start* or fixup* (not sure since those files have to be synced) from rpi-firmware git master (tested with commit d06d94e) there is no dtb available for u-boot : U-Boot> fdt addr fdt_addr libfdt fdt_check_header(): FDT_ERR_BADMAGIC U-Boot> fdt addr fdt_addr_r libfdt fdt_check_header(): FDT_ERR_BADMAGIC I really don't want to dig into this rabbit hole now so I'll test again when rpi-firmware have another release. In the mean time if you want to usb-boot your rpi4 just download the dtb from the d06d94e commit and that will work now. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Tue Jan 5 21:54:02 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 519E74CC073 for ; Tue, 5 Jan 2021 21:54:02 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9R8n2tnNz3N56 for ; Tue, 5 Jan 2021 21:54:01 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-ej1-x633.google.com with SMTP id ga15so2539959ejb.4 for ; Tue, 05 Jan 2021 13:54:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=GiSxGE4iGYLqidz+yAvlXjVpHgwoHimxEv1iUpKyoXA=; b=FiEAH8TQ8pY8L8R6n6ei8JBOygsYvM+p7rnMAO8thXjV6dUPbbFWrHi8afEOOOfQfL 145UT7dWuIvMlSgrynRoowSNwPvM5siTD1219TgAxYHZw4KEBJ76PEJlyb33ZJaPZIxz ONuZiOMFcBe3V+4X+giC/djVUsmW4KH4FZ5boPDYfCPJy96TyeXSbBcPliLJL+VMsdGm j0p95NEIT+5Ysqh9BXacvfyVv0nEjmBn8tYR83hZN5spnq+Df1jYo60YenuZ5c2ws9sY LcaPVeiBCZAyRyWT4rUbDIfboVIcSQzAnmapQERBZR2CRvi/dj6LFEXmu+V2/7kqtFwY gL1g== X-Gm-Message-State: AOAM5300B3z84/RjZpCwmWuxJAlkstsEeSroPsQPYaPQXigkCYpaRVkg 9sc2MVdOdQsBPvJfi7fLRcfxWWS79kksZg== X-Google-Smtp-Source: ABdhPJzHEHUYEUC7+ujqsmhejpRbE78dqBnN1EcRm2cJOKlduTKH3amt9AdrXUsZCf7Az3pa0bqVVw== X-Received: by 2002:a5d:4a44:: with SMTP id v4mr1471454wrs.106.1609883223922; Tue, 05 Jan 2021 13:47:03 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-109-030.46.114.pool.telefonica.de. [46.114.109.30]) by smtp.googlemail.com with ESMTPSA id u6sm470235wrm.90.2021.01.05.13.47.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2021 13:47:03 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Tue, 5 Jan 2021 22:47:01 +0100 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> To: Emmanuel Vadot , freebsd-arm@freebsd.org In-Reply-To: <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> Message-Id: <47223EB1-93EF-4862-8041-390C3127EB3E@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D9R8n2tnNz3N56 X-Spamd-Bar: ++++ X-Spamd-Result: default: False [4.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::633:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.109.30:received]; FROM_HAS_DN(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[46.114.109.30:received]; NEURAL_HAM_MEDIUM(-0.59)[-0.592]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::633:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.989]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 21:54:02 -0000 > Am 05.01.2021 um 21:16 schrieb Emmanuel Vadot : >=20 > Indeed we cannot boot from USB with the current re@ generated image. > As said before in this thread u-boot needs the > raspberrypi,firmware-reset node to be present to reset the usb > controller. > This also means that we cannot boot from sd and use USB drives from > u-boot currently. no, there is an xhci-reset in Rob`s driver , as described in previous = post, so we could boot from uSD and plug USB-devices(although sometimes with = (xHCI-reset-)problems). > Am 05.01.2021 um 21:16 schrieb Emmanuel Vadot : >=20 > I really don't want to dig into this rabbit hole now so I'll test > again when rpi-firmware have another release.=20 It would have been easy and quick to get the matter under constant = control. But let's leave the topic alone. Anyone who is interested in will find endless information here. K.= From owner-freebsd-arm@freebsd.org Tue Jan 5 22:07:44 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 C5E154CC9D8 for ; Tue, 5 Jan 2021 22:07:44 +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 4D9RSb4q5Qz3PDf for ; Tue, 5 Jan 2021 22:07:43 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1609884461; 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=5AaVGW1hzLMoFz3JeQ/nyI3nXHCWDtv9EO6bGPSmfa4=; b=S9Ur7ka+S0W68tyioLCv6bEKjgYtJrmUJ8OCI76iSISPnSQWSl8qvUXX7f2SbO+WonOmg4 QuaOuHkg3RFwmjDClJLf6Iz6qPes1LZROGHStjL7NnXbNJ9MAqU2wG0KOaGcYQOVhIJjuN qfjDFmPt4nTGtUG76pnsWr7jX8x72s8= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 18c6f918 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 5 Jan 2021 22:07:41 +0000 (UTC) Date: Tue, 5 Jan 2021 23:07:40 +0100 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Message-Id: <20210105230740.98bfd70a29f1f6b325cf52bf@bidouilliste.com> In-Reply-To: <47223EB1-93EF-4862-8041-390C3127EB3E@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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> <47223EB1-93EF-4862-8041-390C3127EB3E@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: 4D9RSb4q5Qz3PDf X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=S9Ur7ka+; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 22:07:44 -0000 On Tue, 5 Jan 2021 22:47:01 +0100 Klaus K=FCchemann wrote: >=20 > > Am 05.01.2021 um 21:16 schrieb Emmanuel Vadot : > >=20 > > Indeed we cannot boot from USB with the current re@ generated image. > > As said before in this thread u-boot needs the > > raspberrypi,firmware-reset node to be present to reset the usb > > controller. > > This also means that we cannot boot from sd and use USB drives from > > u-boot currently. >=20 > no, there is an xhci-reset in Rob`s driver , as described in previous pos= t, > so we could boot from uSD and plug USB-devices(although sometimes with (= xHCI-reset-)problems). Doesn't matter, u-boot cannot do usb, I'm not talking about FreeBSD kernel here. >=20 > > Am 05.01.2021 um 21:16 schrieb Emmanuel Vadot : > >=20 > > I really don't want to dig into this rabbit hole now so I'll test > > again when rpi-firmware have another release.=20 >=20 > It would have been easy and quick to get the matter under constant contr= ol. > But let's leave the topic alone. > Anyone who is interested in will find endless information here. >=20 >=20 > K. --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Tue Jan 5 22:22:24 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 D43964CE522 for ; Tue, 5 Jan 2021 22:22:24 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9RnW4zNlz3Qp6 for ; Tue, 5 Jan 2021 22:22:23 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x335.google.com with SMTP id v14so905259wml.1 for ; Tue, 05 Jan 2021 14:22:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=oA2d93te4KmL4Xg8gdREaLyFVJFwwQ9oQ1CqNmvytw8=; b=eXr6+k46cSvkBsy6tZXQ3Y/b7wseGfiWMwCi8VjmsjbjoXWztMYbwdIqEZ1OxvHk7g +Mc/NYQ4FdopBtdD3P8pxLrOrTMt3Fkdaydb+VWSbKGr/OJCzzXYSqSz/Xtf0fhvz4Rk xtsgrJA4A24dKcBlqpTXPSOogfT4UCt8+wIBZOJE6N79BSyMCQqN/V+b/5yrXe3EG0B5 coCiF/VYaX0b6ven7y36Y/QUZUNaL8a11EKXPyqDwqaBahjNa3DzUYjynkxIeQNVEhew 3W3ldeSuPU9Kl2+JIvhk7ru0JlqCwF5vucBpQ5QAOcVDLkZW+LS76gN5FZN2I1dsYUgF T8VQ== X-Gm-Message-State: AOAM531REurT/qk6k82brlCzhREkOYRzpGAKnc7H9p/lC3VxkMvrIsgN 1sMwa8txorol7FaAUfukD7UIxhFZLKuuCw== X-Google-Smtp-Source: ABdhPJwTotRJacTVd6nC97jCHan5v2lQl/yWUPhqVcpkrollAeKhw8gS/o30RGR6+5/hCdeAUdSGPA== X-Received: by 2002:a7b:ce0f:: with SMTP id m15mr1043879wmc.56.1609885342261; Tue, 05 Jan 2021 14:22:22 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-109-030.46.114.pool.telefonica.de. [46.114.109.30]) by smtp.googlemail.com with ESMTPSA id a12sm617933wrh.71.2021.01.05.14.22.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2021 14:22:21 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Tue, 5 Jan 2021 23:22:19 +0100 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> <47223EB1-93EF-4862-8041-390C3127EB3E@googlemail.com> <20210105230740.98bfd70a29f1f6b325cf52bf@bidouilliste.com> To: Emmanuel Vadot , freebsd-arm@freebsd.org In-Reply-To: <20210105230740.98bfd70a29f1f6b325cf52bf@bidouilliste.com> Message-Id: <2F6E33F7-A845-42D2-9A06-7ABDBFA5DFE7@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D9RnW4zNlz3Qp6 X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.76 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,meta]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::335:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_CSS(4.00)[46.114.109.30:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.744]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::335:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.109.30:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::335:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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: Tue, 05 Jan 2021 22:22:24 -0000 > Am 05.01.2021 um 23:07 schrieb Emmanuel Vadot : >=20 >=20 > Doesn't matter, u-boot cannot do usb, I'm not talking about FreeBSD > kernel here. ?? ,=20 someone had deleted my formerly Wik-article,I really don=E2=80=99t know = who and why ;-), I described in that article that USB for the RPI4 is supported by an = eeprom-upgrade(if not available by default) , so of course we can plug USB-devices since Rob`s revolutionary = fdt-driver :-) So get your eeprom up to date and try again. K.= From owner-freebsd-arm@freebsd.org Tue Jan 5 22:39:52 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 BC0604CF7CC for ; Tue, 5 Jan 2021 22:39:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 4D9S9d6QfDz3jg0 for ; Tue, 5 Jan 2021 22:39:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609886383; bh=G2hnpS8f/oIgjRt133cYRMKlEWsTd/O+y0g/3Tefg9e=; h=Subject:From:Date:To:From:Subject; b=krAFIqeIMRuJ9cHmN1e0Zkih8eaen5f6D4DON2zA1UgV/OZhClxXjRUF/BQj/yAZzhX7rPbPV4CYtBF9iuvqZH+q46KTOrH2H31KddQbclSGAAjgUSiwtffoZ8VlifWWn3mw6PiqBk/i+kRKJfL7bYghZVsKc8VyneP4UlGStyxZTLIJIxb/7QiDdff16SwWDQSJQDsIPIYf1AY/0NpVh9GwdpUOTUhYUWiyfwHGyp+TT49sa2NhF57btAkM6qgKOnsqAW5zsg6prNRa079mkDR02cvdkOKUdBVA48wpAtgEYES7F7NRxv6fxF7fYoR32xqgkRLEvJXErkpjGwUprg== X-YMail-OSG: Kx_NOqQVM1m.1c451_ldcACD7ga5y6buQn3tJLgGRSDG.8rg5SG2tYXHYD48Aaq p5o0NGjtlgPKd7SP6xGnfDeWmgZhxVCza2vaxscaZ3kkc5OxMfUVbJ4DgfsC_SJi32WuWXBsSrs8 MjDeNpouU4gidbQ9DUQUBeITg9gidhzL9syRsnhoLhJOOwlosNHQBRsPJ3cHOZ.5JAuZIoFsaTZ0 O2wai71GlHan4v3LJxn5zRln5LaRypRRMyXUaJMV5EzPODqwroyIoj3su5svvovUe1dyMzfYTijw UuWI25ul7VKnw_CbyZVS5fhPbNT2OZbZ_N3QHtF5WLFRHdOTNLlt3BtUyhloeZM.nIhQ2aFqESdA v4nSMOzLueeE1T1lMg9WAeP6wGM8QfC5J2l9zv5kgSnUue6VThIzCfj80iRb5t1xYaaf5_XG4Ws7 .W_cYr3h5tfGdn1GyJLZvlk.0f_OMvnqG.oYFIcjOojNrFCLPFiarht_y8jhHIEaueKjFIjZcpWy d.FczIAmQhwNCFnTl8PChSS_HJ6rl2miXZBKK6ysxADl25c6q6uncQzzmP3Wn.KbY_GEFFQAaxtH lUEAau_b6ldmsZGp47JBqfvMmYUsCGVOItMyu4DzHmcE8Vr9pXrd6bgXAGkQYqhOeVivlR.XjtNH stD8H5od8m3X5pboQCJIH8b9Z.Ng1EcgBPlDnZ6K8nuCmZ0URQXACLSHoN1BK2gzlFvUwoKUlwPy olsD_5u.fFKUdCzeiIIwlAl5OYItN6rrBLHZ2DG0duSRaIIyb3Vj4lC88AZXC9y626qDe4lN1Nof yoPilAPFL5OBRU_Q0uDYH8.S61Knv9ALBBRg5r_lGno.yoO0kd8TQ8b4cZ..a8WeWKcG1lLnE1iY IzTztXeuavx2x3CrYnnoI2iH9Dd4LzuJYVj6Xj3rtQm3MNQRgPswBZaUpmEvCcMtGk9rShP9NnBH kp5eLIVvDjNtZq9K825AWHpSHUej3.obijHA87dK2Sn.OSFw5wnB6MiuXu5NQ.1tyk0jxVgR1AiT ZIHbr_1d74X7Wn_2HIaOJdY7aOr6YiqJJrBXGi4njMsAqe5.0A8.F7L69gqKhVLeJH217Oeu4MIP l0W8pKexx6N_b8qUSekL_fSOWiqlqfHuIlp4x6XOFeuY5F_ENZS.f5HVHP.QGsrwWcBXg2wUILgz Lt7OMMvRUL8NcPonFOBnB2p0L_cWmZEo6GdLCzY5y7rUmzPyKAzI8oDCbrc2AtJnp3TVJ4BNhpVi 7dM.HACetfnL.s0Dh7OorHT02Ut76c3YNbQ9SCDNdNd_AZWGL7trOIW3dk_QOt.akGqWM6XLA5V_ 83tMp8SPDpeoNhNarYVU20.HwgTneqiQtL09m8cKFrFYysULbp4cvx2DOqKoCl7roRcJgVniM0vu Uh_30qVRRgEASf9Ej.NT96juxJHc3ck8tyTe8_PhkeIJqSpKYHX9A4M0nu7uChq4bNiAFhmAZAW8 xVDQFaNkNm0T_vtKRGVRVJiKilBQZcsNLcKieuSwhlh7fciCiesYYO5hE6GpQHeWG8FYnF_gzMr0 SVmguB31ygRtBOMcq3wpHEDtgxOjyY81QRN0R9Le3aoNLdlearlqOdt65Bh8QenozHw6dUE9WJUT vhsP_jzif86OrrthxbuyEO86yfsvvgrSi7ISEbR_Y17c1xUcmEHPqW5j5HsKMJQ__3f31ylEKb2w fxAeWCyH_5Z229EgVLf8a.FWb63WVWzFiNJKwAUviDyJ.vL_c4jtN_d6AJRSn9skjqg0wXS6VkKY kAy2evSUwZ6EyTPjuyaxh5R595owCmdW1xuuOaqaySWJeKnv9uQuaH9UTabp1OOryXNxBTVI805Y a.7xH0mED68MdPYuah_k_UNRUxShT4OaqzcTB9oU_Dh.dnlkOe8fRFvuoNyt_GlsE1SHCZYd3JZX W04GceVnOBAb5k1V3wgzVn5444uFY8TebAhMOzwk8Ixmsg2aDbvZ7wXcaptjPL5axzu0eXpCerYG cEm2vZZl_N2glmqX5YhKAZRkzAT4dMLu3nxLBpGXzkhU0Yy0vTYpLwvG3zLBO56_2EfDUyWj7TWR sQEr.w1t7LkE3G5gKMBnv6CyZ.QFswgeu0Mg01UFBgP2Ne54vhzeMIfOewMXFNn3S._VwP1Wf88X K.2Pz_rbXrSPEeO6QVD7EsHQKwk0qV_tMlXT78ZtlT6f96pYcvf3nJFBa8vcEgZ1_27I1I5ny_1y 2uuJ0Z6I_6U7qAOvHkZTyetJodRdHedHENIq0mG7zNDxPPjCwWIYZxg8IBiX0iUivTmunc4CM1g9 rWohvQW7y5eWaQtPujnHMuSaTH0LDIR5JeKPmrZUeKY65iB6HL8iZJrWP4m6u26WiynJ8tPu9TY_ J4CSpC8yZ3x5_K.rg1xSp9Lc_EHqWpsptTPnzlTiMdB3a.NTpyvmDWtBgQljV4pM25Mwvyey6CmQ UGs01R.R_s9C7v6EuBtZlzZ44pLI.F9l14SXqHnLIF.ssw5zh19Wd7Sh8Gg4PH4Yt_g09ujHSC15 I8DJgzULmOOATWFDG5SmxgZyRPz5KJbF0dENDNnh8C8fhpWqmms.I.4BnJStDUUK8MHiMmOiuPXN BANcHTjH1C7c0bj7sq41XKWK_puaOHDbBxTgldaW.BVArz0eq1ddWl26BsXvBWo89gpRsPWrO03R NsqA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 5 Jan 2021 22:39:43 +0000 Received: by smtp408.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8893dd0ca21c0a19a212da70c6e2cdc3; Tue, 05 Jan 2021 22:39:40 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: aarch64 based on main 58661b3ba9eb : panic for "ufs_dirbad: /: bad dir ino 66371814 at offset 106496: mangled entry" From: Mark Millard In-Reply-To: <3420FB5B-6499-42E5-8FFE-F9BF57CCECE7@icloud.com> Date: Tue, 5 Jan 2021 14:39:38 -0800 Cc: freebsd-arm , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <5D99B7D1-CDF6-4C96-AF62-ADF9626639CF@yahoo.com> References: <3420FB5B-6499-42E5-8FFE-F9BF57CCECE7@icloud.com> To: Mark Murray X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D9S9d6QfDz3jg0 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[icloud.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.148:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.64.148:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.148:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 22:39:53 -0000 On 2021-Jan-5, at 13:28, Mark Murray wrote: >> On 5 Jan 2021, at 20:15, Mark Millard wrote: >>=20 >> The machine is a MACCHIATOBin Double Shot. >=20 > Thanks for the warning :-) >=20 > I'm using an MBin/DS as my firewall/gateway, and in its Copious Free = Time=E2=84=A2, an ARM64 build-box. >=20 > How recent is your UEFI SD boot image? Are you maintaining a history = and download site? >=20 [Note: This reply has no information related to the problem report. I'm just answering other questions.] I was given a UEFI materials to use a fair time ago and they have worked sufficiently for my use. Absent a FreeBSD port that I can use to build UEFI updates in a normal, ports-style way, I've left it alone in this area. The UEFI screen reports: MARVELL UEFI 18.09.0 The boot sequence reports: BootROM - 2.03 Starting CP-0 IOROM 1.07 Booting from SD 0 (0x29) Found valid image at boot postion 0x000 lNOTICE: Starting binary extension NOTICE: SVC: SW Revision 0x0. SVC is not supported mv_ddr: mv_ddr-armada-18.09.2-g99d7725 (Oct 29 2018 - 23:32:10) mv_ddr: completed successfully NOTICE: Cold boot NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.5(release):v1.5-219-g711ecd3 (Marvell-armada-18.09.4) NOTICE: BL1: Built : 23:32:27, Oct 29 2018 NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.5(release):v1.5-219-g711ecd3 (Marvell-armada-18.09.4) NOTICE: BL2: Built : 23:32:35, Oct 29 2018 BL2: Initiating SCP_BL2 transfer to SCP NOTICE: SCP_BL2 contains 5 concatenated images NOTICE: Skipping MSS CP3 related image NOTICE: Skipping MSS CP2 related image NOTICE: Load image to CP1 MSS AP0 NOTICE: Loading MSS image from addr. 0x40265f4 Size 0x1ad8 to MSS at = 0xf4280000 NOTICE: Done NOTICE: Load image to CP0 MSS AP0 NOTICE: Loading MSS image from addr. 0x40280cc Size 0x1ad8 to MSS at = 0xf2280000 NOTICE: Done NOTICE: Load image to AP0 MSS NOTICE: Loading MSS image from addr. 0x4029ba4 Size 0x4a40 to MSS at = 0xf0580000 NOTICE: Done NOTICE: BL1: Booting BL31 lNOTICE: BL31: v1.5(release):v1.5-219-g711ecd3 (Marvell-armada-18.09.4) NOTICE: BL31: Built : 23:32:47, Oct 29 2018 Armada 8040 MachiatoBin Platform Init (I'll stop with that.) One issue is that between: Booting [/boot/kernel/kernel]... =20 |=08/=08-=08\=08No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! and: Setting hostuuid: **REPLACED**. Setting hostid: **REPLACED**. Starting file system checks: there is no output to the serial console. If I ever have problems in that time frame, recovery would be a problem unless I found a better UEFI variation to put in place, one that outputs everything to the serial console. As for my use, no history/download site, nothing externally visible at all. No use as a firewall or gateway either. But I do some aarch64 and armv7 builds on it. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Jan 5 22:42:26 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 D8DAD4CFDB3 for ; Tue, 5 Jan 2021 22:42:26 +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 4D9SDf0kSnz3kkP for ; Tue, 5 Jan 2021 22:42:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1609886544; 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=O0ANPXbejnSql9mkUgLDBd1oXaZGuv5DfoA18CP1GBw=; b=TEvPLuKWXOMLwmLeqv/EvM5KY6PLIvtbOiDTym5K0oh5orp0M64poggsqL6EmD4f4BMMMr zr8YNcoJqhcmd0nAYLzW+lvS7h3UldUHEJQ+zYrss9mfMU6j26TIVJ+p/mmAFn3ah39wKz qc8hmblsePC2f+h/Wca445R8Ulk+xQI= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id c367e4ec (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 5 Jan 2021 22:42:24 +0000 (UTC) Date: Tue, 5 Jan 2021 23:42:24 +0100 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Message-Id: <20210105234224.9152f4a8923741a954030abb@bidouilliste.com> In-Reply-To: <2F6E33F7-A845-42D2-9A06-7ABDBFA5DFE7@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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> <47223EB1-93EF-4862-8041-390C3127EB3E@googlemail.com> <20210105230740.98bfd70a29f1f6b325cf52bf@bidouilliste.com> <2F6E33F7-A845-42D2-9A06-7ABDBFA5DFE7@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: 4D9SDf0kSnz3kkP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=TEvPLuKW; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 05 Jan 2021 22:42:26 -0000 On Tue, 5 Jan 2021 23:22:19 +0100 Klaus K=FCchemann wrote: >=20 >=20 > > Am 05.01.2021 um 23:07 schrieb Emmanuel Vadot : > >=20 > >=20 > > Doesn't matter, u-boot cannot do usb, I'm not talking about FreeBSD > > kernel here. >=20 > ?? ,=20 > someone had deleted my formerly Wik-article,I really don?t know who and w= hy ;-), You know it was me, and I did it because it was crap. > I described in that article that USB for the RPI4 is supported by an eepr= om-upgrade(if not available by default) , This is not what I'm talking about. > so of course we can plug USB-devices since Rob`s revolutionary fdt-driver= :-) Again not what I'm talking about. > So get your eeprom up to date and try again. Again not what I'm talking about. > K. I know (or at least hope) that you're trying to help, so let's start 2021 on a good base. Here I'm talking about u-boot itself, not FreeBSD, not booting from USB on the RPI4, U-Boot, only U-Boot. Right now, using the latest taggued release of rpi-firmware (20201201), there is no raspberrypi,firmware-reset compatible node in the dtb so U-Boot cannot init the usb controller. That doesn't mean that the RPI cannot boot from usb, it can and will load u-boot, but when u-boot will look for it's "root device" (the usb drive) this will fail as the usb controller couldn't be init. This also means that when we boot from SD card, we cannot access usb drives from U-Boot, as, again, the usb controller wasn't init. --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Tue Jan 5 23:17: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 0F38C4D481E for ; Tue, 5 Jan 2021 23:17:40 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9T1H27Bbz3pyD for ; Tue, 5 Jan 2021 23:17:39 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x431.google.com with SMTP id d13so740622wrc.13 for ; Tue, 05 Jan 2021 15:17:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=LW27iXGD22zZuuZGKZfkjFiS4aS90uMvaiSCQ2z8ofY=; b=Q9DkR6Br+NhcAjOmUH1Fnv5W6bKFhupZyoedQEVfzkc18dMhb8o20BZ+JSKT0nteFH HYOz4UeeYyGxI+Q2EV45q6tNJkdri75spAy+Q8oInKerI8QR7DjiGvpxdlXJqIOGG2Y0 AFQHl+5Pg1z6YCnWdft388FX9CFv8f7CI7d26UI9JtK7X6Hmm/EhaFykf5yVbf7gKlG8 /UJA9DYNqJBkgRu1EVQEUtBhSi9VdcZalTk/WowQ6gQaKsRIcbeyFEnEH+cH5G8y0QKU 31kLtLvslIxi+8nXktQKXja0bWnFoR7RAfLKeYL4AnG8bjdJHKGNgg17QlkiSZLnT32q 3IUQ== X-Gm-Message-State: AOAM531ZU9+hvScwE8dxP1h/sZIrs0G3A91Io2rClS7TpN+CR220g/6n 7H69veYvQ7YidQeYwZQEc0NWc7+iHgdgUw== X-Google-Smtp-Source: ABdhPJyl6XfXOkwqwMhDcV4JnP4fa1o/iBfwHOn4qiBg9ZjC23rx7VIJNwHSkDC2FYYQEdpNivGCbQ== X-Received: by 2002:adf:bb0e:: with SMTP id r14mr1664440wrg.159.1609888657084; Tue, 05 Jan 2021 15:17:37 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-109-030.46.114.pool.telefonica.de. [46.114.109.30]) by smtp.googlemail.com with ESMTPSA id v1sm714880wrr.48.2021.01.05.15.17.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2021 15:17:36 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ? Date: Wed, 6 Jan 2021 00:17:34 +0100 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> <6610c9a3-1e61-b7e5-c537-3080dd7ee8ae@ip-ether.net> <44de05f0-0c41-b6c8-b3f6-a4374f20eca1@ip-ether.net> <20210105211610.66a4e784b73382a74863ec09@bidouilliste.com> <47223EB1-93EF-4862-8041-390C3127EB3E@googlemail.com> <20210105230740.98bfd70a29f1f6b325cf52bf@bidouilliste.com> <2F6E33F7-A845-42D2-9A06-7ABDBFA5DFE7@googlemail.com> <20210105234224.9152f4a8923741a954030abb@bidouilliste.com> To: Emmanuel Vadot , freebsd-arm@freebsd.org In-Reply-To: <20210105234224.9152f4a8923741a954030abb@bidouilliste.com> Message-Id: <6612E8B0-D0B8-4071-838F-2FB435C1352C@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4D9T1H27Bbz3pyD X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.41 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,meta]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::431:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_CSS(4.00)[46.114.109.30:received]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_SPAM_MEDIUM(0.91)[0.912]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::431:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.109.30:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::431:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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: Tue, 05 Jan 2021 23:17:40 -0000 > Am 05.01.2021 um 23:42 schrieb Emmanuel Vadot : >=20 > I know (or at least hope) that you're trying to help, so let's start > 2021 on a good base. Happy new year, manu ! :-) > Here I'm talking about u-boot itself, not FreeBSD, not booting from > USB on the RPI4, U-Boot, only U-Boot. > Right now, using the latest taggued release of rpi-firmware > (20201201), there is no raspberrypi,firmware-reset compatible node in > the dtb so U-Boot cannot init the usb controller. That doesn't mean > that the RPI cannot boot from usb, it can and will load u-boot, but > when u-boot will look for it's "root device" (the usb drive) this will > fail as the usb controller couldn't be init. > This also means that when we boot from SD card, we cannot access usb > drives from U-Boot, as, again, the usb controller wasn't init. And all that was the reason for https://reviews.freebsd.org/D26853=20 because u-boot CAN and there IS a firmware-reset-compatible node in = D26853 At least we have talked about a simple patch in D26853 in 5 million = lines of text, while the reset-patch=20 itself is 10 lines or so :-) I found it funny that D26853 is even used in articles found by google to = get the RPI4 up to date, And it is validated by users. We now also know that current rpi-org-upstream has problems in = bcm2711-dtb AND in start4.elf, while FreeBSD wouldn=E2=80=99t have any problem with that crappy chaos = there if we simply patch the reset-node(all is then compatible=20 with your current embedded-firmware-port). While true: keeping an eye on what rpi.org is doing and will do is = always good, But we would have finished the issue with a simple patch of bcm2711-dtb = . and we wouldn't have to wait for them upstream to repair something in = order to break something else again.=20 therefore bcm2711 as source code instead of binaries from elsewhere = where we don=E2=80=99t know what happens. O.K., this is state of today-keeping an eye on it is always good(e.g. = yesterday a problem report for netboot- problems belonging to firmware, while unclear for now if it=E2=80=99s a = genet-driver-problem). The genet-driver has also a little problem to `netif restart` = -initialization & dhclient, so possible that this happens in netboot = =E2=80=A6 we will see.., Regards K. From owner-freebsd-arm@freebsd.org Wed Jan 6 18:24:06 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 18A8B4D9FA5 for ; Wed, 6 Jan 2021 18:24:06 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9yS46Bbqz4jFK for ; Wed, 6 Jan 2021 18:24:04 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 106INxl0008027 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 Jan 2021 10:23:59 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 106INxv9008026; Wed, 6 Jan 2021 10:23:59 -0800 (PST) (envelope-from fbsd) Date: Wed, 6 Jan 2021 10:23:59 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Boot oddities on rpi2 (armv7) v1.1, storage messages Message-ID: <20210106182359.GA7945@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4D9yS46Bbqz4jFK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.90 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[50.1.20.27:from]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[50.1.20.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] 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: Wed, 06 Jan 2021 18:24:06 -0000 A Pi2B v1.1 running FreeBSD www.zefox.com 13.0-CURRENT FreeBSD 13.0-CURRENT #1 main-c634-gd03fd8ede2: Wed Jan 6 00:37:38 PST 2021 bob@www.zefox.com:/usr/obj/usr/freebsd-src/arm.armv7/sys/GENERIC-MMCCAM arm generates a flurry of output seemingly related to mass storage. It seems indicative of some sort of communications problem, but the machine boots and runs when all is said and done. This isn't new behavior and is common to a Pi3 running arm64 in large part. Seeming errors, all of which eventually just go away, include Bus usb@7e980000: scanning bus usb@7e980000 for devices... unable to get device descriptor (error=-22) and a flurry of (da0:umass-sim0:0:0:0): daclose (da0:umass-sim0:0:0:0): daopen messages, which eventually just go away. There is also much chatter related to (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start ..... but I believe that's correct and related to MMCCAM, present in the kernel but (I think) absent in the Pi2B (not +) hardware. MMCCAM was added in response to a request on the mailing list for testing. A complete transcript taken from the serial console is at http://www.zefox.net/~fbsd/rpi2/success/20210106/bootlog The system is a Pi2 V1.1 with its boot file system on an old USB2 hard disk connected via powered hub. The microSD carries an msdos partition containing drwxr-xr-x 1 root wheel 4096 Jul 2 2020 EFI -rwxr-xr-x 1 root wheel 25265 Nov 22 2019 bcm2709-rpi-2-b.dtb -rwxr-xr-x 1 root wheel 52304 Nov 22 2019 bootcode.bin -rwxr-xr-x 1 root wheel 89 Jul 2 2020 config.txt drwxr-xr-x 1 root wheel 8192 Jul 2 2020 dtb -rwxr-xr-x 1 root wheel 6744 Nov 22 2019 fixup.dat -rwxr-xr-x 1 root wheel 2655 Nov 22 2019 fixup_cd.dat -rwxr-xr-x 1 root wheel 9816 Nov 22 2019 fixup_db.dat -rwxr-xr-x 1 root wheel 9816 Nov 22 2019 fixup_x.dat drwxr-xr-x 1 root wheel 4096 Jul 2 2020 overlays -rwxr-xr-x 1 root wheel 2880356 Nov 22 2019 start.elf -rwxr-xr-x 1 root wheel 688068 Nov 22 2019 start_cd.elf -rwxr-xr-x 1 root wheel 4857160 Nov 22 2019 start_db.elf -rwxr-xr-x 1 root wheel 3794600 Nov 22 2019 start_x.elf -rwxr-xr-x 1 root wheel 457716 Jul 2 2020 u-boot.bin -r-xr-xr-x 1 root wheel 392216 Jul 2 2020 ubldr.bin The remainder of the microSD carries only a 1 GB swap partition. There is neither mouse nor keyboard. Thanks for reading, and any thoughts on the odd-looking messages. bob prohaska From owner-freebsd-arm@freebsd.org Thu Jan 7 03:50:06 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 0C29D4C1E94 for ; Thu, 7 Jan 2021 03:50:06 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DBC193Sn7z4TRl for ; Thu, 7 Jan 2021 03:50:05 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x330.google.com with SMTP id c124so3997785wma.5 for ; Wed, 06 Jan 2021 19:50:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=yMzQVHKvlgzPcSoyPDYiE8VhHi7Kif7s+9hTxVl1WCw=; b=Scnwkq+GeKA2hJMjpAlZUqD4qfQ7CjYszw41Qj1Ibq9BwHcmv5qtf9xs5su/8FCHm0 /3QQqio+0x5Q551awNm4H6hLIDgt0TDp5yGhPuJeVK67MO5bzIs2AMuZ1idC6DEdNyuO RU9+uRfuP5OlBfdYeZ2QRRrFpQgRrqbTBtrzC4iMZ4w2757XfkvDKE5DluY9I/mpl6p2 0TFySCEWx9iR2b4nwMoBh7r0DSxg6OiYX+fcntwy7xq6IMIWd8xUM+hDVDvv6XjSVuyi zwnANrRzOAtn3cfaFJGmjjy6wNxXgukezDIhXlq+n+e8Nz4OztfmeIPvv1AjlvZv5rnM OE6Q== X-Gm-Message-State: AOAM532SvJHv9tRZVm0q4GHUH60rHuwe7UEjoItuVd6VvlHqIaHv/1Iy T+OdZNKl+Pw90FlVfxDhxNuOUEDVSoPV3w== X-Google-Smtp-Source: ABdhPJyU7UwNNzxpOxW5EGNG91xLLimAJGWq/MPhy2LFlJlVwjiOHqFY8w9F5zq2z5K4pppSQb2WAg== X-Received: by 2002:a1c:6a13:: with SMTP id f19mr6065192wmc.10.1609990985473; Wed, 06 Jan 2021 19:43:05 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-110-096.46.114.pool.telefonica.de. [46.114.110.96]) by smtp.googlemail.com with ESMTPSA id l20sm6086131wrh.82.2021.01.06.19.43.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jan 2021 19:43:04 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: rpi4 network boot Date: Thu, 7 Jan 2021 04:43:02 +0100 References: <3a1acba5-8662-55cb-c5c4-98ec7873f78f@shrew.net> To: Matthew Grooms , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <082BC0B9-2538-43D5-9D5E-C18B4DEE9ECB@googlemail.com> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DBC193Sn7z4TRl X-Spamd-Bar: +++++++ X-Spamd-Result: default: False [7.33 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.83)[subject]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::330:from]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.110.96:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RECEIVED_SPAMHAUS_XBL(5.00)[46.114.110.96:received]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::330:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.993]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::330:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-Spam: Yes 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: Thu, 07 Jan 2021 03:50:06 -0000 At the moment I can say that there is NO problem with the genet-driver = related to netboot : see my successful netboot incl. fully working genet : https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5864 Also it doesn=E2=80=99t seem to be a firmware problem . It=E2=80=99s more a configuration-thing. So: I also experienced the hang on genet between my first netboot-trials = , But after changing some configurations that problem went away. Since this was a quite complex and fiddly setup on both server and = uSD-client=20 I don=E2=80=99t remember at the moment which conf-setting exactly it was = that solved it :-) for further help we would need your configs: fstab, ifconfig and so = on... Best Regards Klaus =20 From owner-freebsd-arm@freebsd.org Sat Jan 9 14:08:03 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 3FED64D5C03 for ; Sat, 9 Jan 2021 14:08:03 +0000 (UTC) (envelope-from andrei.cos.martin@gmail.com) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DChdG49c6z3Gvf for ; Sat, 9 Jan 2021 14:08:02 +0000 (UTC) (envelope-from andrei.cos.martin@gmail.com) Received: by mail-pf1-x42b.google.com with SMTP id h10so8101605pfo.9 for ; Sat, 09 Jan 2021 06:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=+wiuC5ikCWApAK368lVNdOjDrBgrbvSDZF8wsZD2kN8=; b=Jue5zArQo0tkgPhu6gfn8vHpKm2uFAinRPprHJ+JANGtbcEVtRqhH6yNVgtMYDdKWz +xcZt3Rbysb+D+tOHjLqs5P8pmvc7xfJLR3PKoY0APbcwmmO4hfSCxYBVRN7J746Ly8U kqa08gRlKboOhK8MriJbLH5oq4ASU5oEGNhi6d4NlFfhTYOj+8lvMGwghkRx83/o7hIy lw0LoDdZ6ZBymwmZTeGz9fRhYeZHmofqoP1RawphgFNbD+BQiFhNuAzpmY7LThohVNyD 8ZcfNS7kEQQiTGMOgFRIzguu/HxORiGWk7+IF6hcNIkOY4p5QMNis3g9PkWNAPyb0azK C2JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=+wiuC5ikCWApAK368lVNdOjDrBgrbvSDZF8wsZD2kN8=; b=aMQ8IjINDFq5MnoEYxj6UXXkvVujmntBdjsTdnW6GUcnH368VUTSPhW2GiLQgeIAXX t0dXEs9NaUHA1IQj23Ol9AWlkElq25tCBTEL93NuUPZNZUBN316XisdbkuDTNxJ49h7S swe5e8zCfEUFm4i1LXEy1JC7wgRUziRQMFGNU5DwVrgGJVe2k0tyTI3sedYG4xN9Qo6v veKAziJv5iyQvASMCYkaz72RW7LbzO+fB36tkL2k0IN2yJlLRe3mYjUeGW7Xt5so3h1c Dr+3k0fXWNzoWKOBJU9I5poxvDDZTg3JPb+nKWME2Kyc+t1LVQth6zb23Ry0WnJ+/Bss ym4g== X-Gm-Message-State: AOAM531x64ISZ8qsKK+iKupwJmP5w0ID0iFUmLcX8llIXRxMmuBO/Xsu ttE7o2prjnLUcVGLJtZObDMEAQXGSiWFMZurWIPyql4SabEJ4A== X-Google-Smtp-Source: ABdhPJzaB9FZtON2mN/cRNN12Ttn5YOPkSpAyOSQfLEN5Yg5jP0x6hjbwhW8zwdbRtYLDPq1CkNKTm5Zt8DAbt5GjeQ= X-Received: by 2002:a65:64ce:: with SMTP id t14mr11877917pgv.36.1610201280924; Sat, 09 Jan 2021 06:08:00 -0800 (PST) MIME-Version: 1.0 From: Andrei Martin Date: Sat, 9 Jan 2021 16:07:50 +0200 Message-ID: Subject: neta device generates kernel panic To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 4DChdG49c6z3Gvf X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Jue5zArQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andreicosmartin@gmail.com designates 2607:f8b0:4864:20::42b as permitted sender) smtp.mailfrom=andreicosmartin@gmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; MAILMAN_DEST(0.00)[freebsd-arm]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::42b:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(1.00)[0.999]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::42b:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42b:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; FREEMAIL_CC(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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, 09 Jan 2021 14:08:03 -0000 Hello, While trying to run the FreeBSD on EspressoBin (arm64) a kernel panic appeared in the neta device. The following function call[1] was the one generating this behaviour. It says that the SC mutex is not owned. My solution was to add the lock/unlock operations, as follows: *mvneta_sc_lock(sc);* *mvneta_clear_mib(sc);* *mvneta_sc_unlock(sc);* *and it works fine.* *Also, reading the patch[2], found that `mvneta_clear_mib` does some new operations (counter_pdfc = counter_pofc = counter_watchdog = 0) than just clearing MIB counter registers. I do not know if it was intended but it's worth mentioning.* [1] https://github.com/freebsd/freebsd-src/blob/main/sys/dev/neta/if_mvneta.c#L1193 [2] https://github.com/freebsd/freebsd-src/commit/caf552a607191ffc798e3edb697ae99d5b15711a Andrei From owner-freebsd-arm@freebsd.org Sat Jan 9 15:08:41 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 C4D034D810E for ; Sat, 9 Jan 2021 15:08:41 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCjzF0YkBz3LMp for ; Sat, 9 Jan 2021 15:08:40 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-il1-x12d.google.com with SMTP id r17so13417711ilo.11 for ; Sat, 09 Jan 2021 07:08:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uiUqotblq++p4KuYQRftIY9eHygL1UR5/VuGHaLy/0U=; b=S6nENuYxyBsDZSndlfLXmJP0lZhbzLLwijxH9Nk07LnzrjtRcPUITRUGgxvcoqZ8bz QObsYpUFUcV/T2QQKEYVvz2Vw08K1+nJIqomrGogo8Ic5dFk+saDm/0YPZXQZf9K05P8 rZ74Z7m2mTVmzHAZbX0FQLvyGxqIgWGwOZMp+KOMh/H+3kPsmPPFLtF3uguD1+4EM6Xy kTMOFjrq94Y+KENDRg7pgNskHp9vaKbwK3YVcaCLhondlYGNcSG1gcTwMfJLkm4CwFRA eNZuZKTAZHLWkuSbjOpaNuVdcv95GgmHiAgQvBfCD4OlUS9FvbdEMxe/aM80Nqbgw5lE z5/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=uiUqotblq++p4KuYQRftIY9eHygL1UR5/VuGHaLy/0U=; b=k2ZKMU/IscLsPkwQKJIfR5F9VUCHVs9pFLrsxykOoPsyeVu11xAs1nmwvEyJp2sxpU YD65TKXzU5XKubeCq3c0hDuB4dRY2YMwMVbv6LZHlSQgD1O01dAFrlqH8txVHJl1KCBZ 64/FvUMYUpoMireQDxe0cGsZ8bHzZbPeHc9uPG63j1tXMdpcMLQabvo1kRB4DE204uWT BStOdnV1Uxp81K0v9N2mTDdke6DTcsHwVJlzLWaAEkkvOpVd1R3ias4AoYogqNyjiVl0 B/eLiSCZQYXdeAja47hsJ6d+WLb0su5uyDS7lnGWc/ymZGjCO13PF360at6Ek5Kp4PBY LAhQ== X-Gm-Message-State: AOAM531glOKS66xts9C9Ydo8SXfUqmHV2IZXMyWp+/ikpSkv1mt36prC iWR8JJPT2dw3O73LClFdmsI= X-Google-Smtp-Source: ABdhPJzEV/8iCEJ7nUuSgq7MXR1xloyQbFY54bexgee4YJku88CxA1ndWf47pTbxTTuhqcWYqF84eA== X-Received: by 2002:a92:da0f:: with SMTP id z15mr1038920ilm.287.1610204919788; Sat, 09 Jan 2021 07:08:39 -0800 (PST) Received: from raichu ([142.126.164.150]) by smtp.gmail.com with ESMTPSA id w9sm9609615ilq.43.2021.01.09.07.08.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jan 2021 07:08:39 -0800 (PST) Sender: Mark Johnston Date: Sat, 9 Jan 2021 10:08:37 -0500 From: Mark Johnston To: Andrei Martin Cc: freebsd-arm@freebsd.org Subject: Re: neta device generates kernel panic Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4DCjzF0YkBz3LMp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=S6nENuYx; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-2.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.992]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::12d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::12d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12d:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] 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, 09 Jan 2021 15:08:41 -0000 On Sat, Jan 09, 2021 at 04:07:50PM +0200, Andrei Martin wrote: > Hello, > > While trying to run the FreeBSD on EspressoBin (arm64) a kernel panic > appeared in the neta device. > The following function call[1] was the one generating this behaviour. It > says that the SC mutex > is not owned. My solution was to add the lock/unlock operations, as follows: > *mvneta_sc_lock(sc);* > *mvneta_clear_mib(sc);* > *mvneta_sc_unlock(sc);* > > *and it works fine.* Hi Andrei, Sorry for the breakage, after making some modifications to the patch I only retested with GENERIC-NODEBUG. I pushed a fix to main. > > *Also, reading the patch[2], found that `mvneta_clear_mib` does some new > operations (counter_pdfc = counter_pofc = counter_watchdog = 0) than just > clearing MIB counter registers. I do not know if it was intended but it's > worth mentioning.* That was intentional. > > [1] > https://github.com/freebsd/freebsd-src/blob/main/sys/dev/neta/if_mvneta.c#L1193 > [2] > https://github.com/freebsd/freebsd-src/commit/caf552a607191ffc798e3edb697ae99d5b15711a > > Andrei > _______________________________________________ > 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" From owner-freebsd-arm@freebsd.org Sat Jan 9 18:45:48 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 6EDC04DF924 for ; Sat, 9 Jan 2021 18:45:48 +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 4DCpnl4BdDz3rtk for ; Sat, 9 Jan 2021 18:45:47 +0000 (UTC) (envelope-from ajm@ip-ether.net) Received: from [5.83.10.113] (port=63012 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 1kyJF7-0003wU-HL for freebsd-arm@freebsd.org; Sat, 09 Jan 2021 18:45:45 +0000 To: freebsd-arm From: Andy McClements Subject: RPi4b 8GB - kudos to OBSD Message-ID: <0cfbea05-a00c-f8f6-1044-a98e43c11506@ip-ether.net> Date: Sat, 9 Jan 2021 18:45:36 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 0 X-Spam-Status: No, score=-0.1 X-Rspamd-Queue-Id: 4DCpnl4BdDz3rtk 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 [-1.49 / 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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1098::82:1000:0:2:1]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ip-ether.net]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1098:0:82:1000:0:2:1:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[2a00:1098:0:82:1000:0:2:1:from]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-0.99)[-0.994]; 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]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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, 09 Jan 2021 18:45:48 -0000 I trust this message does not breach any term-of-use for this list. However I thought it worth saying that the OpenBSD team have done a great job with their support for the RPi4b 8GB. I used the release version of 6.8 arm64 (miniroot68.img), and the 1.22 release of https://github.com/pftf/RPi4/. 8GB RAM USB: all working GENET: working (not quite as fast as FreeBSD) USB boot: no problemo This is working fully in pure ACPI mode, NO DEVICE-TREE ! (As far as OS is concerned). The only manual intervention required during installation was to copy the EDK2 boot files to the DOS partition. The system has not been fully tested yet but so far it appears that 'everything works' :) However I am hoping to continue keeping this shop a 'FreeBSD shop'. Shame the FreeBSD 'genet' driver has no ACPI support.. From owner-freebsd-arm@freebsd.org Sat Jan 9 19:41:18 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 10D904E1326 for ; Sat, 9 Jan 2021 19:41:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-54.consmr.mail.gq1.yahoo.com (sonic316-54.consmr.mail.gq1.yahoo.com [98.137.69.30]) (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 4DCr1n5Qptz3wMR for ; Sat, 9 Jan 2021 19:41:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1610221275; bh=k/u+bNVMkPfBYyFRebltgBHwH/DdEvwI+o8XI/ytvUG=; h=Subject:From:Date:To:From:Subject; b=anQx/2C1jp2n2T0+AoBXlyLtSaFSooJSc7ZEmsZ7InSaHQdLql1aPS9hvCUJDejovU4gG1izp1xSnUof41D9fenoLBRvJSapUP1g+jsVHmcr2VvOBG/NnNYtNk6VI8GI6ylDGqTlhMg7c1JN6KiXUVaLR89SFGcWo1xbtFap04gxasDF365a3pauV0jvYAVaF1yt0kWCp1WNuVzO1MYYg5ZxuNmJd6CzsWfrwAI8VTRh+l0PxjmfgJQk9rqjlgvweOFzcASfNsdeme5Kyf5Hz3deg6oaJddo0md3dXn7dFeb+uHDaTmOGUHi6Vw+9VUCqbVqRoxMhLioDmE50Plv/A== X-YMail-OSG: NQDlRJoVM1nNvKqcC9Bg6CgCT.FAfVME8z_rjlVUzbrWErE2uUkPkn7juayNelW ixuHIV5eVqQKNmIYZbahAajjdVHHxRw79tqJpvs2o9MReM2rmn2KIoG3NH9l_Fxi.bgdtUBT_M82 GW_lwMahyf1mxrbCM5a6XDu8ovzMeMnODeir0y6zDM9kgCCL2R5P_A4BkC9vc3IsetJ_RxBvoAy5 c9awWzrAxo36Pob53kEeskb8k_fogd13IhL26vevvot6WaxqEwZH2fjz5bJIyQlKqSIUbsb7aP_R UXHlDkiZlGWcGMAmpfBhmVCe4PVqR4BL49ks54ggk2SJ59fWyXYNIOEPzxMV10oQYvD6sfc8IwCy iQimGq29olz_huJxAzVURrwgD2QUVtuDiOqbRvdQ0vb_UgtLNsRKs1zqhD1b52WzbZqeC5tuJszp Z9ZvDjhk3qUJVV.o2aAUJYsEKJaAk_SuVcglRhSKyJvVdOmSCmrlzyquCmX7HNHED5Pyo1UqrMz0 SRB1Q_yiJ94flZ1fPYfEZ3b1o0DW_hxKt6BY8dN62o33I4XgQS257Mc.caWEoToGarzU379czw86 ZGtGNOylLJpgln9ybSD8AkLQIk.JuCU6VS9wCvjxzVn6mvWJGUORurnKrK.aRlWPleEPE0PeoPGR XLT9sJZ0U60djB5xytDznnH0UXnzhg4vbCDY30q1JhYdVtStw_uMywZJXK6xNippqHmNOJaq881c wgrNMYc1QvsjG9VNHzyiCQwWxKTk.b7k3AIDQMb79OugP3vppBgtlO6DjZj8AJ9tQDdXXS0.u6ha jvuBk4AFlW45weR6aCUZO9QEBPprl3Hg4.qQ.70kan5WuUAeKmRGSEE14FxSfgXk18c5zrI4iNPz Tm3m6aD5RPCv_98cGYNlrjAn4oU5vTBvjwLH0WLdjPtPkFNV.pKIcQ4f5t5Mv6Lb2O4HdKMlwEGl sM_pkzdFTYni94YQd01H0xJZ9mXj8MO9CwSfGGWHY4GzEub_z4.gMI1DAWrzgsjg_iHLZi_pVTAF 2ZH.V_MntuHoW0HD9pZFlHh59ztkjQARRxsqg8TmmfgemrNHqAbO8MNkL12Jl8lhebnlYWaGlF3K t9joXS_laMLZcgclDXTbzC5c6WPc170To57eFV..e63h0SJ.MH9dGQdC_HPUwS9c8eAU10Rul41b xIa4R31tCEJu1ld7jgXAXkdl1waM6D4qCXiJC6slIqi7XnHVUgvTo2smWfZLJW0Nu1ITf7db2KZ7 eqwhs7UX8XC_9EXqP81rGZA.oZZEL83CjYrPBCgCONmd7LKfMBYMtxEcViyi0fMIu6SYmF8ZbHm4 ioL7uqvz9aqcFVFwGV1kjGbMBMDan5RprpG6fOI.nMeZnPPXEMGLNtEoseC2xbiVIW6xU_Lb.wZM Kj4eiVTIOb_oq1Ww9vYOyLodCj8MzJ0V0Cylsg_KCwnnlFfeAUqiezyfGETd5XwEaQfZNYLJ.4kQ 0gRHuTeBn5Q1.ccOfOjLFxHeJcdRbjxigEHMuCgm8ekDY0yXM4ywIJXFmE7rdNTZy9zq3svDNKGJ ydTK9Nnw56b6Ym7pMumJANJjdusr6OEf_qTr08mJcpC0HrnFULXAv5.qJ8_q8CgzuN1HoXB9kroy WF46zXMfJCQjM8LYdRfsnJ4Ni9Z2LmwBN8164LYtgY7kRVyuVdW1QQvWAcNTtzM3GBb.9cK6sCRW jJQvsXqJxbngizGvxoheVD2_jZ5pUzqBop9RcedDJAowq8lLRQS.YfZ76mYYLYkUhQprg94_oeuT jkxFMHmwPV337dV97F67Mf5o5MNdnx.FBN0goa1_SJ3ikfOYn2lUT7cqhS8b3mfugo6jFpAZ6vdL XnWS6Tme3M.8_ylD5_Jlx6kaS8414IL.jeNkkpNrO3xg9l7YRaOfSufZGFh6FGIgLfufjFJqdz18 nmFPxsgPb5BIBM8sqPoKNuwn8GgPf.la8lDgYloa_m_nTI3MxU1oRG4yknXndEckWo7CyBnGRHDZ MSLpBwIhyxlgbULFFbRdjmYwhV5qbagWvpFBflOOwrg7iiZX7Zj9CTSPu.9mc8W4KBQT0pIWh_dl Y.w2bgH.4ljkH1zBYn6LzWYxg.tcPLzm34EoJzmyHpXdL9LzLVmA1Y22wmqgKEbzrS8mevEHUJwX 25VC8yqUUEBjMAldXPzRpOv7BtURuFxPwrpfZYM8ESYaKhSPnlrEqtiqUWCl.yI48GnAH.CoyvBP Yd7KWR_XQHuCSKu_Ao1nqi3XkZPnBCGMY9wMWgr7BpIqWnNGQwgUBRM4D2M0ByjKYaS6CvyOrJ_U XVNu08YibuRjOoOlKESylOjvsKuSGI2nLQMHIc1O97ZOOSrDLFvUkjQz3l75ynClY3qGlhmmX8tr JB2KbPhZotinRlsWpdpz7hqXdpPCF6UXdz06o94Uj9VJuwdlKli5Xp8u5Qs1lSQ8cVTqL6WaCUfl Yn.A- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Sat, 9 Jan 2021 19:41:15 +0000 Received: by smtp411.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e256496185a90cfead15e3b3eec5493d; Sat, 09 Jan 2021 19:41:14 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Rpi-firmware notes From: Mark Millard In-Reply-To: <202101090902.10992SRO077874@portscout.nyi.freebsd.org> Date: Sat, 9 Jan 2021 11:41:12 -0800 Cc: uboot@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202101090902.10992SRO077874@portscout.nyi.freebsd.org> To: "portscout@freebsd.org" , freebsd-arm X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DCr1n5Qptz3wMR X-Spamd-Bar: ---- 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: Sat, 09 Jan 2021 19:41:18 -0000 On 2021-Jan-9, at 01:02, portscout@freebsd.org wrote: > Dear port maintainer, >=20 > The portscout new distfile checker has detected that one or more of = your > ports appears to be out of date. Please take the opportunity to check > each of the ports listed below, and if possible and appropriate, > submit/commit an update. If any ports have already been updated, you = can > safely ignore the entry. >=20 > You will not be e-mailed again for any of the port/version = combinations > below. >=20 > Full details can be found at the following URL: > http://portscout.freebsd.org/uboot@freebsd.org.html >=20 >=20 > Port | Current version | = New version > = ------------------------------------------------+-----------------+-------= ----- > sysutils/rpi-firmware | = 1.20201201.g20201201| 1.20210108.master > = ------------------------------------------------+-----------------+-------= ----- >=20 >=20 . . . I will note that pftf/RPi4 (the UEFI/ACPI software) has reverted to using RPi firmware from before 2020.12.08 as of 3 days ago. For why, see: https://github.com/raspberrypi/firmware/issues/1518 For what they changed in what they extract: = https://github.com/pftf/RPi4/commit/8fcd5bc6fd04e78cf8460f5176739340751672= 4e pftf/RPi4 is now using: = https://github.com/raspberrypi/firmware/raw/08ed7a0c9ad4d9db559aaec462520a= b435c7ce1c/boot/ to select just start4.elf and fixup4.dat . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Sat Jan 9 20:33:48 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 6C8E54E2A9D for ; Sat, 9 Jan 2021 20:33:48 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCsBM3BX2z4TF8 for ; Sat, 9 Jan 2021 20:33:47 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 109KXg9s044861 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 9 Jan 2021 12:33:42 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 109KXg83044860; Sat, 9 Jan 2021 12:33:42 -0800 (PST) (envelope-from fbsd) Date: Sat, 9 Jan 2021 12:33:41 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: USB problems on FreeBSD-current and Raspberry Pi3B+, MMCCAM perhaps? Message-ID: <20210109203341.GA44642@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4DCsBM3BX2z4TF8 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [1.93 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_LONG(-0.97)[-0.965]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[50.1.20.27:from]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[50.1.20.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; MID_RHS_WWW(0.50)[] 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, 09 Jan 2021 20:33:48 -0000 A UGreen USB3 storage card adapter (model 30333) has stopped working with FreeBSD-current, reporting a stream of (da1:umass-sim1:1:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 (da1:umass-sim1:1:0:0): CAM status: SCSI Status Error (da1:umass-sim1:1:0:0): SCSI status: Check Condition (da1:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da1:umass-sim1:1:0:0): Error 6, Unretryable error (da2:umass-sim1:1:0:1): TEST UNIT READY. CDB: 00 00 00 00 00 00 (da2:umass-sim1:1:0:1): CAM status: SCSI Status Error (da2:umass-sim1:1:0:1): SCSI status: Check Condition (da2:umass-sim1:1:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) (da2:umass-sim1:1:0:1): Error 6, Unretryable error in what looks like an infinite loop (there are 4 daX devices on the adapter). The present kernel displaying these errors is FreeBSD 13.0-CURRENT (GENERIC-MMCCAM) #5 main-c255664-g4d64c7243d26: Sat Jan 9 11:27:58 PST 2021 Unplugging the adapter restores normal operation. Rebooting to FreeBSD www.zefox.org 13.0-CURRENT FreeBSD 13.0-CURRENT #3 r361820: Sun Jun 7 22:19:00 PDT 2020 bob@www.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 exhibits normal behavior, the adapter can be read and written without trouble. As an aside, a Raspberry Pi4 8GB suffers even worse mischief when the adapter is connected, losing communication with the USB root device even after the adapter is unplugged. A power cycle is required to recover. That system is Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux Since it implements onboard WiFi presumably it has some equivalent to MMCCAM. Might this behavior have anything to do with MMCCAM ? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Sat Jan 9 20:34:43 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 3532B4E2B13 for ; Sat, 9 Jan 2021 20:34:43 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.70]) (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 "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCsCQ3gsfz4TNV for ; Sat, 9 Jan 2021 20:34:42 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from mbp-2012.gromit23.net (unknown [73.99.214.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id AF473156; Sat, 9 Jan 2021 15:34:36 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: RPi4b 8GB - kudos to OBSD From: Paul Mather In-Reply-To: <0cfbea05-a00c-f8f6-1044-a98e43c11506@ip-ether.net> Date: Sat, 9 Jan 2021 15:34:35 -0500 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <00802F30-4151-4D5E-8560-FF0100AE7218@gromit.dlib.vt.edu> References: <0cfbea05-a00c-f8f6-1044-a98e43c11506@ip-ether.net> To: Andy McClements X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DCsCQ3gsfz4TNV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none); spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 128.173.49.70) smtp.mailfrom=paul@gromit.dlib.vt.edu X-Spamd-Result: default: False [-0.50 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[paul]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.173.49.70:from]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[128.173.49.70:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[73.99.214.146:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none] 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, 09 Jan 2021 20:34:43 -0000 On Jan 9, 2021, at 1:45 PM, Andy McClements wrote: > I trust this message does not breach any term-of-use for this list. >=20 > However I thought it worth saying that the OpenBSD team have done a = great job with their support for the RPi4b 8GB. I used the release = version of 6.8 arm64 (miniroot68.img), and the 1.22 release of = https://github.com/pftf/RPi4/. >=20 > 8GB RAM > USB: all working > GENET: working (not quite as fast as FreeBSD) > USB boot: no problemo >=20 > This is working fully in pure ACPI mode, NO DEVICE-TREE ! (As far as = OS is concerned). >=20 > The only manual intervention required during installation was to copy = the EDK2 boot files to the DOS partition. >=20 > The system has not been fully tested yet but so far it appears that = 'everything works' :) FWIW, the same is true of NetBSD on RPi 4, too. > However I am hoping to continue keeping this shop a 'FreeBSD shop'. = Shame the FreeBSD 'genet' driver has no ACPI support.. I, too, hope to be able to switch back over to FreeBSD if/when its = Raspberry Pi support improves. I do acknowledge, though, that FreeBSD = developers have historically seen it as not a priority for developer = time and resources due to the "closed" nature of its documentation = making it difficult to work on. I respect that stance. Cheers, Paul. From owner-freebsd-arm@freebsd.org Sat Jan 9 22:26:54 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 F30104E4EB5 for ; Sat, 9 Jan 2021 22:26:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4DCvhr1BrLz4ZDH for ; Sat, 9 Jan 2021 22:26:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1610231209; bh=70Mh6PD48UDhRrYE3hLMNr7hq4GufeJZz5fGtMbGkgc=; h=Subject:From:Date:To:From:Subject; b=FL+wvsTFm2BlJKvU9tuK2zzv8DCsYFD6n4anDoSqRH1KTVSBaP9bBnW+28hVz871sZ5ptavtK5dKmGIU4MaDNXxiUgpz63YfyBTnjntm2p7rwktWrQZA02lwui9IL2h1KIEwzHEyC3H/J+dicvYt8W0BN9c+RIMjDln27yXI6f8uw25oUTEFYOqpR/moDdPR8Dd0+32n/ygAVUoQ8+6zlylkfO2jL17fMD1Vf5rrXmkyRdxX/R/dyzJCWitzbUGil3owzVxKBedueAQB07J4ZFVpC5+GL5tR4PZW2rR9U6RBsRKO2/Gts6MoPS1XQe7OTcrkXMZYFr+yeaez/Qv9cw== X-YMail-OSG: dN8dgTgVM1kIF3cP3Wqkxv4mwkwOCKgi4oSOtfVkzc4XEUeHfMwty9RxJIt6vyM NdxvLsXqs19ASY3_TTEPywT3EiocIWplr1cLw01wDPN3RgeNi5vQ2JyaH_A563jIcup0ePufA37w dnsDMIqRJHia.d2gt.ZNhMegB0MWeHE5a7D8mZBOuElWKMFCkfy1BIhmHJcbHNHNanif0W9CJnqw 3_vd6.ru02UnYy5HCGeVf5q5ybkdUzMl6SU9BcfMNVTETIAjMCn4ojOlinKAehdYOzhqJM9AHSNl bzantHXTWSKC7XHwMW3JP8hJml8M7RRUB2sA8Kx4TndtYO9OInlA7bUEwrwuwcDLX1IKTss1TYXL NAt_mJWaR20L_SzhuH0MFzCaOYea7URHXosUpOxpie7Rv8Dilln_7ybJvpnPPfCuLxiisyxFmtzx AvfteYNh_KNoGmJr9KUZ7INruM2F81Jnwc3mTMEORZVlH23I5hch.nRSvbJU8EaNTUNutodmFuGb WMh.b6AQEwF1oqm.pWX.h0dVpfOt.fRuPoWu6ESON2V6JOrqL419s55yjIAmHGbUEo9v_J6Q.3ON RtIIHzNkGvfyHp2l_SHjYr9Wap3elQKR.dwBzQlXx2Tfom0v1zb2kBa2DqpvUorU0K8IL5Ij.Dhc FSTM1oazVhy2OZZbPAa4W9zOtDyAg07XQ41nCASblWQOj_iXYRutTBbsadr.hGlwK_ATbi1f.H8f s2urT3hTZh4nRMnyqwRw.Z9uAlEmKQXeyCJclk.bUQ0lcPJYjOsNcE4GXj8Lq1ggMIfJyPSmQFEn IyRRvVW5axSz2cj0vsaclJ9amaShbwX26.20biS0C1cTObJiJ1e9mcHeCzOE0s5a_qArsvocu6ZS qt_4Fi7WzF5dldip2MM3Q34BsO8NccOgPjakJKZTAzreZEI0LXG1.TirtsFO.6qFESbhVklL3WxX ax32CqZkbJ59L1.Uh_tYFPuloAqCvpnELByO4AAasQzRCs3mJKdN8kdVK0Ep.lsJWQA9AhHEIUfe AuRyZqHiEFDbC.9A2VvrUomeZlbjdsCQzJSMYZrzoGo.rVQ18WOOsD76YGpEkUQsvt29JddmWC43 abP9c70lTGfXGy7pRig.QRbF9ugxDMWfZ4DSaTK5LJfrqVM_ibQbAMNMYCjhnU_KrWK_aUXyQx.X oeRQsvoClP4svrGsB3ieLiX4JiA2CPbyRlHmBwkEn3PMa71iub5fF545dxg5OkL3Fn0esQg91vyr 2U.Su0zj_3CLR_9VG7LvLRfzIHCcc5lWOutCITqJjBgeB7IXbjn5UUzVMMyd8OL98Oem1nV2Mgvs YYw5_L2vk6dQetZ3R65qdjh1hGd9iQR_s6ElrU4Qv_m3maDGgcOvvGtDvY0Hj0.jtY1RNTyWILXf GQyqpRTqeFCyYYD0k.tHspeAyKISgmH4D3EI8YoBzi7XDYBhCCASH1gIBIVyL_qLZvxUqEizR.vt fWdGZQBg1B_II.AbjtpM_skl9InkpWvb4mmpNQQbuZ5emQeOrXlZZPz6KyAQPml5UwI9xX24vnDb sp4uBFH9EUAcY1WHCt7VJDhm9S1s96KqAmvxSi1Oh04D_DASB3wy.tfK852ly1g1n9RBhfpJHiFt 26dEivHowDQh6tfbN4NKGmdsDFODpH7XwzoB2t_Op7snj5ffZc5AHdxzH47KOOWkuLI3zXfELm3b elg7Um.e9Ry30WTe73mZoenHa25m0Ery.q8OpznQqz5QdRLeZF0ELBsebm3xKn_9iGgU4uIC.f47 _PPwVLdNJO93ChHRGqnqEW3xuEICqk0GGVtCCKvJvpbcVAXvg0qz5QqERrvrzUmykxpNKXhxKGaQ bO56EsX8.qUAOb6yZfX1KxaVPv51KvoKnRWxOoNMSeNTwZj3rKVBHlBZkJk81jJa97v3Y91ZqNFP YhRFhhzpWc2kWUoQiUx1TsorPDDDYophxWTDbVxaNuV2AvKjra.VqU9c2t1wOui98rmgSAT5JoEg II04NJeMcsAeniWzo_5MjM13Ir3dhUL4iDoC0gYs0QO9TFrJyd3ZfWSYZbwppprFTkTGbrbnpBi1 DlxC1dbJXopMXKDGWPK.mUyOxC_dibemc25LZDOz7LWP525M2MqXLX0r3qIPto3BP1KzT.INt3oS B.I1KX8D7auI3Os_6_JGElbbeTfv9lvtvJazdMOj.SzVpGIeWZERF0PbACYpSGoaJ96BOmrjgQmO fqWlvf6efDdYjGBf.zKT.7yQn3K5qKP3W04Xjlm24LzXBKOzYSkO_HK_teNmyHp54z6_GpYfLU8H 38iPPTdlV9pz5XtjOjarFMrayFEX5M0lJwgzYiouL.Awzvx6GxIevNjym2D9gM44be6hZkOzQ8j5 GKKO4kSpfktSb__t5nbCX.poTEIsqV6KtPmEA8i.zC5Yx8w6isCxK3kXScXVF7HI1WkZ8n0nOW1D 9bmagZfGajw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sat, 9 Jan 2021 22:26:49 +0000 Received: by smtp422.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7bcf93b0336bf3908d777555d58fee27; Sat, 09 Jan 2021 22:26:46 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: Rpi-firmware notes From: Mark Millard In-Reply-To: Date: Sat, 9 Jan 2021 14:26:45 -0800 Cc: uboot@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <893B108B-3FDC-499B-97C4-CBF1D4EF0272@yahoo.com> References: <202101090902.10992SRO077874@portscout.nyi.freebsd.org> To: "portscout@freebsd.org" , freebsd-arm X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Rspamd-Queue-Id: 4DCvhr1BrLz4ZDH X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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, 09 Jan 2021 22:26:54 -0000 On 2021-Jan-9, at 11:41, Mark Millard wrote: > On 2021-Jan-9, at 01:02, portscout@freebsd.org wrote: >=20 >> Dear port maintainer, >>=20 >> The portscout new distfile checker has detected that one or more of = your >> ports appears to be out of date. Please take the opportunity to check >> each of the ports listed below, and if possible and appropriate, >> submit/commit an update. If any ports have already been updated, you = can >> safely ignore the entry. >>=20 >> You will not be e-mailed again for any of the port/version = combinations >> below. >>=20 >> Full details can be found at the following URL: >> http://portscout.freebsd.org/uboot@freebsd.org.html >>=20 >>=20 >> Port | Current version | = New version >> = ------------------------------------------------+-----------------+-------= ----- >> sysutils/rpi-firmware | = 1.20201201.g20201201| 1.20210108.master >> = ------------------------------------------------+-----------------+-------= ----- >>=20 >>=20 > . . . >=20 > I will note that pftf/RPi4 (the UEFI/ACPI software) has > reverted to using RPi firmware from before 2020.12.08 as > of 3 days ago. For why, see: >=20 > https://github.com/raspberrypi/firmware/issues/1518 >=20 > For what they changed in what they extract: >=20 > = https://github.com/pftf/RPi4/commit/8fcd5bc6fd04e78cf8460f5176739340751672= 4e >=20 > pftf/RPi4 is now using: >=20 > = https://github.com/raspberrypi/firmware/raw/08ed7a0c9ad4d9db559aaec462520a= b435c7ce1c/boot/ >=20 > to select just start4.elf and fixup4.dat . Turns out that https://github.com/pftf/RPi4/releases/tag/v1.22 has a more explicit note: QUOTE Important Note: The start4.elf and fixup4.dat used in this release are = the 2020.12.01 ones, as using newer versions broke xHCI initialization = (raspberrypi/firmware#1518, raspberrypi/firmware#1495) with newer = revisions of the Bcm2711 SoC. Do not be tempted to use more recent = versions of start4.elf, as, unless you are using an old Pi 4 model, this = will most likely break USB support. END QUOTE As for v1.22 update, it reports: Raspberry Pi 4 UEFI Firmware v1.22 =E2=80=A2 Fix settings not being stored or being corrupted on = reset (#78, #82) = [tianocore/edk2-platforms@94e9fbatianocore/edk2-platforms@ae6c236] =E2=80=A2 Add internal changes for the eventual support of CM4 & = Pi400 [tianocore/edk2-platforms@100e360] =E2=80=A2 Fix type of PMU GSIV in GICC (#103) = [tianocore/edk2-platforms@734fed7] =E2=80=A2 Switch back to the old coloured logo = [tianocore/edk2-non-osi@3d1bb66] =E2=80=A2 Fix cursor appearing on top of logo (#115) = [tianocore/edk2@b585238] As I understand, start4.elf and fixup4.dat reverting were associated with the "Fix settings not being stored or being corrupted on reset". Other notes if anyone that might want to use material extracted from v1.22: So far as I know, FreeBSD use of UEFI/ACPI via the v1.22 means of = booting should still have the 3 GiByte limitation in place for reliable = operation, otherwise things like unreliable file copies can silently happen in FreeBSD. (So far as I know, no one is systematically trying to support UEFI/ACPI booting for the RPI4B's in FreeBSD: the effort is primarily = going to u-boot based booting.) I am using the rpi-firmware subset of the UEFI/ACPI materials from = v1.22, even for booting via my u-boot build. bcm2711-rpi-4-b.dtb is recent = enough to allow the 8GiByte RPi4B's to boot via a USB3 SSD, no microsd card involved. (I've got things set up so that just swapping config.txt content swaps between u-boot and UEFI/ACPI based booting.) So far, historically, I've (eventually) learned more about the = rpi-firmware problems and what vintages work better via monitoring the UEFI/ACPI project's information about such then I have learned other ways, at = least fairly generally. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)