From nobody Thu Jan 11 01:30:08 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 4T9Rtn0dc2z56hvV for ; Thu, 11 Jan 2024 01:30:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 4T9Rtm4q2Bz4VMl for ; Thu, 11 Jan 2024 01:30:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704936622; bh=xHweX6xs9/fPo7B6PLYAkkTQEBj/KxPZbVpnmT7N0XA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=M84exFc5XvRdTaoEioHwxHk1VSKSdKf0IwSa3el/zQzQXDgqfPljqWqfk6XZpnkYnIkRGknsmhFwWxj8yVUfk8OItK/4iMcdT1j2dNnzgpas6znkG82LZ/9n6fG1zf4pjBsPnCFv2RVfCI4VAaF0FgBUeWzUiz3tF2j8SA0pXxTOnp9TxRKFmaHrCyynaLUPvQGTt5iN8QpJVbzl9Ti3qJkLUTRHoYaR9GxDVv58n2tm9xNkyGchI2td27+LFFfCsqFFiFtNDIEQ0TOn4UYZ+/EVqR0J/xOdFErRuGcC8b4lujomAd7yy9GI0oef0PiQgLSilLqvEZpIAu/Ck+zrdQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1704936622; bh=0EFKEuVhvNscgoqjeDgYMx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05xxJ.yqMfpgCIcRlPfTnR HNtVBuUHVQiNbz5nkqm5Xr58kkYdvculBJqp6fQ7BzbMEEQzwKCKKvJ9PyLfrEWGAmjlcus6R2YK hN29iZmJGkJkxT93jv0ZnLI8EvdB2Wvq.PTNxBGj_Gs5Zv.elZX0DhPc54Gnl9s3VWp_w3_QmuUK F4X75mhEEFL8XNTxHtneYW7E6GqE86JaVjU7RZwE3W7gqca.rLE5vbQfWZRfgMPqtVswyftaZlqy 5k_VspnRUpeCcqWE6RyYedvMDBxcvEcs9Y561aTKWxnMIhR_qz.wiiL_wMnGbB8yDCeqX1Pd5fao duptwkyUvPR0QaTKKVazHmtFgFlyLUw6sO0TgmvwdHI2YJ27iE1OWzaG3RllJnJjs.o9kzYjuzg4 Pf7ijViwfWCPAqJejSUdEZ8xbuKNRMdZHxmbtgCvdpGfKsiCrgKulB4iVw1WeJal07LzIdZMgnd2 bdw.mJdjwcd.Joi9tH7KJpthH_SNKVA_bpNzk5ryTlk_H634ll8ikadrBkFVnViriAh7wHs9I0R5 6uTLdGepaGUQqzg809k0omjulHQUJH0fS0C2y0w4KhMlGcPl5DvsNlfeu5kmobbcEcAEALx9A_B4 9YQ-- X-Sonic-MF: X-Sonic-ID: 8f623dc7-ea07-468d-900e-95122854ab1e Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Jan 2024 01:30:22 +0000 Received: by hermes--production-gq1-78d49cd6df-hlpbq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID de56ffec38b6ac5d4e70bdb42e99f1fa; Thu, 11 Jan 2024 01:30:19 +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: Wed, 10 Jan 2024 17:30:08 -0800 Cc: Jesper Schmitz Mouridsen , John Kennedy , ykla , FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: References: <5a39810c-5fd8-4969-a222-2561b050b035@FreeBSD.org> To: Doug Rabson X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Queue-Id: 4T9Rtm4q2Bz4VMl X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Jan 10, 2024, at 07:45, Doug Rabson wrote: > I was able to boot FreeBSD-14.0 on an rpi5 using EDK2 from = https://github.com/worproject/rpi5-uefi. I put the EDK2 firmware on an = SD card and an aarch64 memstick image on a USB thumb drive and was able = to boot all the way into the installer. PCI express is missing as well = as ethernet but it's a really promising start. Same sort of thing here . . . I normally use USB3 media set up to boot nearly all the aarch64 systems that I have access to, including the RPi* ones. So I did (da3 for the microsd card was already in present for this): # fetch = https://github.com/worproject/rpi5-uefi/releases/download/v0.2/RPi5_UEFI_R= elease_v0.2.zip # mkdir RPi5_UEFI_materials # cd RPi5_UEFI_materials/ # unzip ../RPi5_UEFI_Release_v0.2.zip # gpart destroy -F da3 # gpart create -s gpt /dev/da3 # gpart add -t efi -a1m -lRPi5-edk2 /dev/da3 # newfs_msdos /dev/da3p1 # mount -onoatime -tmsdosfs /dev/da3p1 /mnt # cp -aRx ./ /mnt/ # umount /mnt I put the microsd card in the RPi5's slot, connected an example boot media, connected the serial console cabling and connected that to a system, connected a USB3 Ethernet dongle and Ethernet connection to it, and tried to boot. It worked just fine, logging in on the serial console and over ssh. The other example USB3 media that I've tried also work. These are main [so: 15] personal builds. I've not done any testing, yet, for problems FreeBSD has for RPi4B UEFI/ACPI (EDK2) based use to see if they happen with FreeBSD snapshot builds for the RPi5. (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.) I do not normally use the video and I've not tested it, but it is documented as having support. FYI: # mount -onoatime -tmsdosfs /dev/mmcsd0p1 /mnt # ls -Tloa /mnt/ total 2148 drwxr-xr-x 1 root wheel - 32768 Dec 31 16:00:00 1979 . drwxr-xr-x 49 root wheel uarch 1536 Jan 5 10:29:46 2024 .. -rwxr-xr-x 1 root wheel uarch 2031616 Jan 5 10:29:34 2024 RPI_EFI.fd -rwxr-xr-x 1 root wheel uarch 76038 Jan 5 10:21:50 2024 = bcm2712-rpi-5-b.dtb -rwxr-xr-x 1 root wheel uarch 388 Jan 5 10:18:24 2024 config.txt # more /mnt/config.txt armstub=3DRPI_EFI.fd device_tree_address=3D0x1f0000 device_tree_end=3D0x210000 # Leave RP1 PCIe configured on hand-off. pciex4_reset=3D0 # Force 32 bpp framebuffer allocation. framebuffer_depth=3D32 # Disable compensation for displays with overscan. disable_overscan=3D1 # Force maximum USB power regardless of the power supply. usb_max_current_enable=3D1 # Force maximum CPU speed. force_turbo=3D1 (No adjustments made.) =3D=3D=3D Mark Millard marklmi at yahoo.com