From owner-freebsd-arm@freebsd.org Mon Feb 10 04:19:45 2020 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 62C5122A9F4 for ; Mon, 10 Feb 2020 04:19:45 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id 48GCNc55mMz3QTW for ; Mon, 10 Feb 2020 04:19:44 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mob.bitblocks.com (mob.bitblocks.com [192.168.125.11]) by mail.bitblocks.com (Postfix) with ESMTP id 7F81E156E40E; Sun, 9 Feb 2020 20:19:29 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: RPI4 Install r357606 test 09.02.2020 failed From: Bakul Shah In-Reply-To: <1AD3680D-CDD9-4FB1-86B5-C49269F2CC33@yahoo.com> Date: Sun, 9 Feb 2020 20:19:28 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <00DDDEDB-7C81-461B-87C4-E6261E2F70C2@bitblocks.com> References: <202002092026.019KQXLF021366@mail.karels.net> <4551CAE8-08DA-463F-876C-DD1BBAA5D7C5@bitblocks.com> <1AD3680D-CDD9-4FB1-86B5-C49269F2CC33@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 48GCNc55mMz3QTW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bakul@bitblocks.com designates 173.228.5.8 as permitted sender) smtp.mailfrom=bakul@bitblocks.com X-Spamd-Result: default: False [-3.61 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.5.8/29]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bitblocks.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.91)[ip: (-5.96), ipnet: 173.228.0.0/20(-2.98), asn: 46375(-0.55), country: US(-0.05)]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:46375, ipnet:173.228.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2020 04:19:45 -0000 On Feb 9, 2020, at 8:10 PM, Mark Millard via freebsd-arm = wrote: >=20 >=20 >=20 > On 2020-Feb-9, at 18:32, Bakul Shah wrote: >=20 >> On Feb 9, 2020, at 2:48 PM, Mark Millard via freebsd-arm = wrote: >>>=20 >>> If you want a build that works, use the kernel from head >>> -r356767 . The next head version ( -r356776 ) is where >>> the broken status starts for RPi4 and RPi3. RPi4B's with >>> 4 GiBYTes of RAM fail to boot. As I understand, at least >>> some forms of RPi3 boot but are messed up, such as only >>> running 1 core. (Not surprising given the PSCI version >>> problem which happens there as well.) >>=20 >> With this version I was able to boot it and log in as root. >> Thanks! >>=20 >> I don't see any bcm2711 specific files in sys/arm/broadcom/bcm2835. >> Is this intentional? pi3 (bcm2838) and pi4 (bcm2711) are rather >> different. >=20 > The ports: >=20 > sysutils/rpi-firmware > sysutils/u-boot-rpi4 >=20 > have the materials that are used, including a .dtb > file. There are other >=20 > sysutils/u-boot-rpi* >=20 > ports as well. The rpi-firmware has materials for > all of them. Thanks. Yes, I am aware of those and used them as well. Sorry, I wasn't clear. I am talking about FreeBSD driver code. For example PCIe, XHCI and ethernet code will be different. There are other differences as well. Not sure all that is captured in the device tree files.=