From nobody Sat Jan 7 18:07:16 2023 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 4Nq7Td0lkLz2rCW9 for ; Sat, 7 Jan 2023 18:07:33 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nq7Tc4P5cz3Nhd for ; Sat, 7 Jan 2023 18:07:32 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x631.google.com with SMTP id fc4so10345735ejc.12 for ; Sat, 07 Jan 2023 10:07:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=v024224RRfv3G8vOkJ6NiDyAB/90bt4RJ8ZWVd3bsg8=; b=XR+5HzfDHS4DGMTYtWiAshgtsgLYC6aP8lGOm0sXraxDeC0zC8sSGXpWCn9wK7ZPrV 1/FUu5WaKgVcUbPBVSHAyRKfn5+tJNAVBOoEoSmS4nW+I+gMinlW43oHL/MyrGjRH4br dPF7wbRCl3W2bv51SKlSdM/4jUz4wSqy8/so7IDZ0D0jRldh79XFyPh1gGMJsm58j8Je s6BAykLfO+D4xWkwqOE8NSduQhvlP+6WcFisgqRG+lY5oatGX590dyJ476d6JDTYqbOk 8xUZXdlnvBmglnYDITEJk7BU5+6CJJ71PX271vNEzqeti2CeAu9kTHzvf3fj9I5Aq7kt NXMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v024224RRfv3G8vOkJ6NiDyAB/90bt4RJ8ZWVd3bsg8=; b=egow4vi8pTG9tcR/KnN3h6RfhKRnR42Yxd0bKpQfSUnWp9ooMEqHL1cFQyy8/mXihg bCE9+o1DjZuwqO3rIESsTYJEvskBFhmagpfF1voMQ6i0qgqJRToVlX/9UrBhZEAx+8KK cszac/QrPm8GfPuUGXLe6DMXMseczBV7HRoIEc8Q2WoZA4z8/GYW6dS/9dj9YpJW0YTY f6PUe7xlmLftXNJPppOdNPblO7ri6mw4F5fKCkMcv/rtzBkIHPmSJNsQgpum18g2qHGQ 0E/QuNUUup8G2zDhZY5kkGlN7fUslqCHwYyDOK6DkBF5vYOazVqyrRwaCGDELCu2Tp7W vqJA== X-Gm-Message-State: AFqh2kroMKO1zDQRLnNUq7v1MiIKWJp4p6XqEvd3RtXu0HSscqAo6t2e g5dM3SKOp3RVo20TjD5Rw7MGyaGdzwQ= X-Google-Smtp-Source: AMrXdXt8uvzvGOszw3Gwm5mP5OdW51a26J0YeigrMXJqhkheWKVECEge7f7TVuPl2RCyCjjIL45kNg== X-Received: by 2002:a17:907:c99d:b0:7c0:d88b:1695 with SMTP id uj29-20020a170907c99d00b007c0d88b1695mr42403413ejc.55.1673114849749; Sat, 07 Jan 2023 10:07:29 -0800 (PST) Received: from smtpclient.apple (dynamic-046-114-060-191.46.114.pool.telefonica.de. [46.114.60.191]) by smtp.googlemail.com with ESMTPSA id f5-20020a170906824500b0084d06963e6bsm1645736ejx.89.2023.01.07.10.07.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jan 2023 10:07:29 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 16.0 \(3731.300.101.1.3\)) Subject: Re: How to make FreeBSD's kernel boot a RPi4B with modern RPi* firmware Date: Sat, 7 Jan 2023 19:07:16 +0100 References: <9C037D3F-A440-4708-993D-117F313691BB@yahoo.com> <374EC3E5-4CB4-4336-A8B9-7A9CF6151691@yahoo.com> <9E9C739E-8308-472A-B797-05A37559DD00@googlemail.com> To: Mark Millard , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <7EBF1CB8-F6B9-49D4-897D-5EFAD321341F@googlemail.com> X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4Nq7Tc4P5cz3Nhd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > Am 07.01.2023 um 11:18 schrieb Mark Millard : >=20 > ...In fact, the modern firmware corrects mistakes in the > .dtb's relative to the RPi4B PCIe description. =E2=80=A6. just a short estimation for now... there is far too much to say and report on the firmware/u-boot and = specially its targeting linux kernel, so I'll just refer to your above = snippet : In such cases I presume that hacking the .dts files on a per device = basis should do the trick instead of following the upstream = =E2=80=9Eblindly=E2=80=9C because if you fix 1 thing by merging the = upstream you=E2=80=99ll perhaps import the next problem from the = upstream. There were cases when even OLDER firmware was better than new versions, so I would always focus on working fbsd(img.xz) releases on a per device = basis=E2=80=A6 or you would have to test EVERY embedded device and all (perhaps = fixed)bug reports would have been worthless when you import=20 the next problem=E2=80=A6 also you will not want confusing dmesg`s = filled up with messages of linux featured drivers which do not exist in = FreeBSD =E2=80=A6 but of course: If you can fix a relevant issue of an existing driver(like the pcie on = 4b) , please give your device-hack in phabricator review,=20 but also please be warned of =E2=80=9Enew features=E2=80=9C in = fw-releases which taget linux(or even only raspbian) instead of fbsd=E2=80= =A6 ..just my few cents.. thanks again for all your effort , Regards K.