From nobody Sun Jan 08 17:57:32 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 4NqlCt3qJ7z2qlMp for ; Sun, 8 Jan 2023 17:57:46 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 4NqlCt042Vz4Fvf for ; Sun, 8 Jan 2023 17:57:45 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52f.google.com with SMTP id r26so9413697edc.5 for ; Sun, 08 Jan 2023 09:57:45 -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=5Ae/apReVmzIimtAvyDZb5iHKzU9nYfPDM/cHfoaMsw=; b=lq3bGwrz7cLUesz3EITXUoRt8OkNAreuDRzE9Z5fv68Tfllrr11rTZxKkLcIQjwGuI yzxGwwl5nwUjy+wjIR2tWBvnzOEvoZb9BMT5qS6uaWp1BiupglfM2QYc0qkUUKdyHrg6 D2Cb52TjwUOm26/F/Xo/0GDJCYH/Q+q4Z2vWnwRyBdZywhLStPCLMqJDhGLDY2krvnwj YCVJJm8Mb7koIvXweJmCGReb3ZHpiZgnuTFTB3eWzfXuUxzi+5Z8YwnV4Kj7HTBmQWir SELUCSoEItU/I/cmy1rhmMw75u9O8hfzctdsl1gVxhilSisJIlN3UbVSHMLMl7Hq6PQg czTQ== 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=5Ae/apReVmzIimtAvyDZb5iHKzU9nYfPDM/cHfoaMsw=; b=b4Q/SNAYXas1JAThjmph+wdotYV5evGQma5ZuTW1mLT18uL9LR2Cnt/sjPUPezkwm1 hH9A+A8da6RsRoFyn0/LrnxnDTpCbpC1E5HefSi8sTyksjbRS223AYZ3pdWuNzt84+4+ tUorDZQpfpS/R3KMGJsSpktwLCLHhdmblOqVd4Il7Gth7aO90lFzcuYWZYL9IY8hk6Dj SD/5MCopW0DZgKNa6dyyif+kSA28GgBDFpFDP/wAa63tdoZ57xoyp2x3Y/nvxovViP39 dUb+s8DF9sMZDSYhJ214epkZhcYcuGZJOetwDhQmM40dQ4Lcqr++XCVGH/N3P/jiWOa7 XwfQ== X-Gm-Message-State: AFqh2kopxzDjOM/+ex7sIJaAZZau3CIOZXK/lWA1JpyYoXHUltdXVihH AHbba2/MgyrURcLbqL2nsNVsEq2SufA= X-Google-Smtp-Source: AMrXdXtNh6cGv1MA7gC9YJCJResGgycBlNVYK7nVZ8C5xTEp5ozopJ+QCq0wYsbGAOJDKpQArfdi9Q== X-Received: by 2002:aa7:c6c2:0:b0:46c:6bdc:4116 with SMTP id b2-20020aa7c6c2000000b0046c6bdc4116mr51528992eds.33.1673200664649; Sun, 08 Jan 2023 09:57:44 -0800 (PST) Received: from smtpclient.apple (dynamic-046-114-188-092.46.114.pool.telefonica.de. [46.114.188.92]) by smtp.googlemail.com with ESMTPSA id f9-20020a056402068900b0048999d127e0sm2750937edy.86.2023.01.08.09.57.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jan 2023 09:57:44 -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: Sun, 8 Jan 2023 18:57:32 +0100 References: <9C037D3F-A440-4708-993D-117F313691BB@yahoo.com> <374EC3E5-4CB4-4336-A8B9-7A9CF6151691@yahoo.com> <9E9C739E-8308-472A-B797-05A37559DD00@googlemail.com> <217ACD33-A466-4A01-AD36-5D4A0C1B3CF0@yahoo.com> <3BE72ED7-8787-45E8-8341-FE9CF4CFB84F@googlemail.com> To: Mark Millard , "Bjoern A. Zeeb" , freebsd-arm@freebsd.org In-Reply-To: Message-Id: <1EE321BB-6738-4931-BA75-4675C0D297E2@googlemail.com> X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4NqlCt042Vz4Fvf 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 08.01.2023 um 09:26 schrieb Mark Millard : >=20 > I=E2=80=A6=E2=80=A6 ... > listed 4 kinds that sysutils/rpi-firmware does not have > .dtb files for. None of the 4 are considered supported > at this stage, so far as I know. But someone might work > on making one of them somewhat supported. Such a person > might like to avoid dealing with the > bcm_dma-lack-of-initialization related crashes. =E2=80=A6=E2=80=A6=E2=80= =A6=E2=80=A6=E2=80=A6... Thanks, Mark for detailed clarification=20 I think that's about what I expected in terms of the decision if=20 touching the firmware-upstream makes sense or not . I guess it doesn=E2=80=99t make sense (for now) .=20 For the cm4 I can say that =E2=80=9A unload=E2=80=98 of modules in = loader or for persistence disabling =E2=80=9Adevmatch' in rc.conf will get the machine to boot, newer FW not needed and it would spam = dmesg with unsupported features(for now).. No clue what the devmatch does in =E2=80=9Epre=E2=80=9C-boot because = =E2=80=9Estarting devd=E2=80=9C seems to do the job short before the = root login.. So for now of course unsupported machine type(while not bad once = booted), since pcie is buggy(and that=E2=80=99s a seeminglybig task to = fix that). What wasn=E2=80=99t clear for me is whether crashes like those from = Bj=C3=B6rn Zeeb have any relation to firmware/u-boot/eeprom, but reading closer I guess he=E2=80=99s probably using an unsupported = bootloader that could cause problems, What was also unclear for me is if there=E2=80=99s a similar boot issue = as with CM4 on the 4bC0T, Thanks for clarifying that there isn=E2=80=99t such an issue on 4bC0T. of course, it is important to examine all of this on a regular basis , thanks for that effort! Regards K.