From nobody Thu Jan 11 18:09:11 2024 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 4T9t3b4dctz56cXc for ; Thu, 11 Jan 2024 18:09:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9t3Z0bp6z58DW for ; Thu, 11 Jan 2024 18:09:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=uNW5E58Z; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704996568; bh=1Jw0IwQ5n5hnyMpWZeQ2PLs1RAUPJt2LVlmCGhelHfA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=uNW5E58ZIxTO7L6Gl79VlNQTVBdV9XzYbI0iptlpP2pkQfqO1Hh5Y9mWEMFHtXDGgZTe5pqrJYbvq8BG/5CeF6dv+GnFlWVCnoB0lOZSCKbi9/HRc6rzRinYaV5Gyq5Q1eARhWT5ZRJh6FgOXr/NzmLhyqFG5avoyZ/mIZtRE/AYtn8/XdS6fWF332bz+ZVimZCDIsZ/Bqbg7OyvbcbCs7QKnPaCODW/pxIKH5QFOhAt//GlyVPcCn+VIzDXI4AAAu4DfiJNpcyVh8aP+SxOIHSerRxYeDd60sACSotM+7AnwLtHWyzoANyx8CPUbNK4zUgcunq2nfCmGcwANfZAJw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704996568; bh=S6HeURayjJ3VvmUGs+VduO2yuSQOrCWaEoGK00dypWe=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=IIiVhQckLcNfUL42OqjEAmFQyIIUNQOgud6djcTiIvejVwy3SUVDIf6IrdwrcHPMAHeMDrc7nwW8boI0lqa81m60nmGEWk0oDPyZQDw/awXgVMMsipW/z3dp8Hsm/Vsesu57ZcuC6LD+rdyP9iZdRTvxPcBRmWkxCe37IbsC/OdI6bRhX8Ch3XFqpxCYO6lsjTZ2SyW2YeG3oHHHf//RG5qS69welvIoS06p7uxNLllngr10NoQGXPLszAVoBIflafwdrQC5facCYn3JrqxsnMOp2q//mxntwoqH0zhC4nV46l/JKAtp0hulp7wYZYYmWIPAh/z/xAGRB1u8nn2Ohw== X-YMail-OSG: ODvSj8gVM1l2UTdaeoJyXAVn3m2cK6ZKE4.pOTA5rYNX2yjkzm8g8kHYbfEQQUa jcnabx717AEKr2U_LvkhInK23k3AZmZTQ60u0C8_Ss7jbXcke1ulw2qx.InLdx_P_KvyM39skn4A iqgvP.UI2aHC.EyMmKl1dQazd6EWMd5W0moinYXNpQZjmCPJL3g26xNRSNsTOCp7YqQ32Cnfs8uB FdO3hXD8zH_cI17lIdyh8YQ_X1DCZicaVwGRTTdlu6Zrj0Z30XzYhS1oAok9pnXkNhT93bLSxiSd zCf4VYVMXArCdABMTjkwLofMu1EeohA__HdZETgVqj8iKYQDbxfPNASB_e3vVlnTPaI3i_vDibrW 3Rv5BdIsesUnjtOhUVC7x5ZO1kjUveXlR0d1bI1vFvK9m9gdCpMpXXseFFOAOQajviPi61bfPBXZ JG.1q1o9Oo.O1.Wle8Yy6jxnvEZ7cQ_YqEB1A9vs4LIubnoJWoT7eCYwCnF8szXapYtfbg866XA2 nqDMaIDgWR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y8jD_Acp70cVX41B.psCsvAMECMJbDs8ng3j9.QDd41N7B7IOVeQYFvt2mX8GYv h.KrHShP.Qdm508pS94cWZsurmj8FDCQ5mnnnPYd8D.AroBCQIQztscqLUEEnfV7XqvkT.wMTiQB 1hFs.F5Ugd4or.Zs5QOeqSbM9D2HyVKftxfPUAbeS4kwGFPw9k6_mvqNEFp0Y801uSHGYwIgZZGI RKqIMZ66.oXPEJGjYBkbgyb89I0OPAoL35asS44uUSBf9P1YSOTc1UYmRQLgTQglm7RJKwt7e5xW S4Erb.CZizPZWGaz_uRqrBjtl3wH1ZJXxLo1dMALXSJzAwm_Mt.AX4z_JcQVHKSeVHfh_mmFfguG No_1BrPji3KikCFTDkXKbptJeFuvsgaUVtSzLfuzDnrGPtkZY.iYE7QXTELclzMUTQwFL56Eutak mJOm_MwLCrdDgijlap3c0vblvVcU0matLvbvFsOfrb03.cYQAOQRHWaSP4OVLI_wgaBGt3.YTEpB 9YbRi9nQWLzzE5ONmdEe38L_LsBpVXljrknL4qpUHrTSKXHklP7uumOqIFKhgd1gH_hQfTSQdURk 1XULweKU3a.WPLLSc7vBm1M3XA2me7s2V0GSHVSrvVDwTXTonudRj0PZLSfBU9Kp5YnsRtrJaBsa tearVBUqtqVOwWfYbcEdAE4SO75JMUqhymylXF1g6llnz7OG1yKjx4pJdoaxPosJ0Eu_EfsH3Zdo - X-Sonic-MF: X-Sonic-ID: 9c2c31e0-d5e2-41d2-9924-034c8b0b07d7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jan 2024 18:09:28 +0000 Received: by hermes--production-gq1-78d49cd6df-7zwgw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ef1e86d96e62f0eb9c40eb1f23ed2ca1; Thu, 11 Jan 2024 18:09:22 +0000 (UTC) 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 16.0 \(3774.300.61.1.2\)) Subject: Re: When will FreeBSD support RPI5? From: Mark Millard In-Reply-To: Date: Thu, 11 Jan 2024 10:09:11 -0800 Cc: Jesper Schmitz Mouridsen , John Kennedy , ykla , FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: <347FE009-A470-4765-A9B9-7C9AB5E954DA@yahoo.com> References: <5a39810c-5fd8-4969-a222-2561b050b035@FreeBSD.org> To: Doug Rabson X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_CC(0.00)[freebsd.org,phouka.net,gmail.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.31:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.31:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_FIVE(0.00)[5] X-Rspamd-Queue-Id: 4T9t3Z0bp6z58DW On Jan 11, 2024, at 08:56, Mark Millard wrote: > On Jan 11, 2024, at 08:20, Doug Rabson wrote: >=20 >>> On Thu, 11 Jan 2024 at 01:30, Mark Millard = wrote: >>> (While I normally use FreeBSD's U-Boot type of context, >>> My builds do have patches to allow RPi4B EDK2 use to >>> avoid the problems that I know to test for.) >>=20 >> I'm curious how you were able to boot FreeBSD on rpi4 with EDK2 - I = tried with both the FreeBSD package as well as the latest release from = github. FreeBSD-14.0 stalled trying to initialise xhci while FreeBSD-15 = gets a little further but also hangs before reaching single user mode. = I'm wondering if perhaps I should use the dtbs from = sysutils/rpi-firmware rather than the ones from sysutils/edk2@rpi4. >=20 > It has been a while since I last tested booting based on > a EDK2-based release from https://github.com/pftf/RPi4/ . > It looks like v1.35 is from 2023-Jun-05. At some point > I'll (re?-)try it. >=20 > I used the same style of having EDK2 on a microsd card and > booting my normal USB3 media. The RPi4B is configured to > first try the microsd card slot (usually empty for me) and > then to try USB. I do set things up in EDK2 for serial > console use as primary. (I only rarely connect video to > the RPi*'s that I have access to. Mostly I ssh to them over > ethernet and otherwise use the serial console.) >=20 > I've access to RPi4B Rev 1.1, 1.4, and 1.5 examples, > a mix of 4 GiByte and 8 GiByte. >=20 > I've never used sysutils/edk2@rpi4 to boot as far as I > remember. My EDK2 activity started long before that > existed and I did not switch. >=20 > The RPPi4B EDK2-based releases that I've used were from: >=20 > https://github.com/pftf/RPi4/releases/ >=20 > But there are many releases that I've never tried. >=20 > I do use patches to avoid some reliability > problems with USB file I/O . The reliability > problems never interfered with booting and were > only systematically reproducible via generating huge > files. But the problems were originally notice via > buildworld/buildkernel oddities that involved > randomly corrupted files, but not many. The problems > are FreeBSD bugs/incompletenesses in an area not used > with most UEFI/ACPI contexts that FreeBSD supports. >=20 I found my v1.35 microsd card from the last time I tried. I had forgotten that the boot attempts now get a FreeBSD panic (seen via serial console use): panic: ram_attach: resource 5 failed to attach cpuid =3D 0 time =3D 1 KDB: stack backtrace: #0 0xffff00000050f450 at kdb_backtrace+0x58 #1 0xffff0000004ba930 at vpanic+0x19c #2 0xffff0000004ba790 at panic+0x44 #3 0xffff00000086e7c0 at ram_attach+0x1ac #4 0xffff0000004fba88 at device_attach+0x3f8 #5 0xffff0000004fdce8 at bus_generic_new_pass+0x120 #6 0xffff0000004fdc78 at bus_generic_new_pass+0xb0 #7 0xffff000000500450 at root_bus_configure+0x40 #8 0xffff00000042b600 at mi_startup+0xdc #9 0xffff0000000008ac at virtdone+0x70 It is a FreeBSD problem, not an EDK2 problem. My old notes on the lists about the FreeBSD problem are at: = https://lists.freebsd.org/archives/freebsd-current/2023-September/004775.h= tml I do not know if v1.34 might sidestep the mishandling in FreeBSD or not. =3D=3D=3D Mark Millard marklmi at yahoo.com