From nobody Wed Mar 16 18:04:53 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8EA541A236C4 for ; Wed, 16 Mar 2022 18:05:03 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (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 (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KJdTn6gb1z4mFV for ; Wed, 16 Mar 2022 18:05:01 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from smtpclient.apple (87-95-51-103.bb.dnainternet.fi [87.95.51.103]) (authenticated bits=0) by mail.kronometrix.org (8.17.1/8.16.1) with ESMTPSA id 22GI4xrf057802 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Mar 2022 18:05:00 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 87-95-51-103.bb.dnainternet.fi [87.95.51.103] claimed to be smtpclient.apple Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: Re: RBPI4B+ 2GB using FreeBSD 13.1 RC1 From: Stefan Parvu In-Reply-To: Date: Wed, 16 Mar 2022 20:04:53 +0200 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4CCFB32A-A98E-4E8C-A0A4-E1ADFAA3C8B9@kronometrix.org> References: <15ec886b-b45a-29ad-ddd5-a272306adee7@shrew.net> To: Matthew Grooms X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Rspamd-Queue-Id: 4KJdTn6gb1z4mFV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[kronometrix.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > Interesting. If you're building the kernel from scratch, deleting the = entire contents of MAKEOBJDIRPREFIX directory before a rebuilding helped = at one point. Also, maybe try copying in the latest pkg firmware and = rpi4 u-boot versions. Here's what I do after mounting the sd card to = /mnt ... Right. Probable I wont try to rebuild the kernel on this. But I must try = to copy latest pkg firmware and rpi4 uboot pkg. Any ideas where should I get these from = ?=20 Then I should probable do the below !? >=20 > u-boot-rpi4-2021.07_1: >=20 > cp /usr/local/share/u-boot/u-boot-rpi-arm64/u-boot.bin = /mnt/boot/msdos/u-boot.bin >=20 > rpi-firmware-1.20210303.g20210303: >=20 > cp /usr/local/share/rpi-firmware/armstub8-gic.bin /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/armstub8.bin /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/bcm2710-rpi-2-b.dtb /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/bcm2710-rpi-3-b-plus.dtb = /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/bcm2710-rpi-3-b.dtb /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/bcm2711-rpi-4-b.dtb /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/bootcode.bin /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/fixup* /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/start* /mnt/boot/msdos/ > cp /usr/local/share/rpi-firmware/overlays/disable-bt.dtbo = /mnt/boot/msdos/overlays/ > cp /usr/local/share/rpi-firmware/overlays/mmc.dtbo = /mnt/boot/msdos/overlays/ > cp /usr/local/share/rpi-firmware/overlays/pwm.dtbo = /mnt/boot/msdos/overlays/ > cp /usr/local/share/u-boot/u-boot-rpi-arm64/u-boot.bin = /mnt/boot/msdos/u-boot.bin >=20 Stefan