From nobody Thu Jan 9 16:21:43 2025 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 4YTVTr3Cskz5l44Z for ; Thu, 09 Jan 2025 16:24:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-48.consmr.mail.gq1.yahoo.com (sonic310-48.consmr.mail.gq1.yahoo.com [98.137.69.174]) (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 4YTVTq4ZKcz4Nfq for ; Thu, 9 Jan 2025 16:23:59 +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=1736439836; bh=VKGm7fSTQhFQkxU8xzX0cnPwEzRWsBN1s7LekR5H5fo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HgOe6bf0Iz+Pdo+KfxdHveRCjYPJozbu90m2Ihmzbo/HZa3rMsJAsY5Szk9EGKwQWgd9CWgct0z6DJmwLgupo5k0nYJbY8vh33iURrKIhTm8i5NvT+dPlu8TjVAj30he8mWHPcA4YMnqDku1dXKm0knLNjWh6q66yLDC4wxexZ+y5iVBNDyCKWr/+rwyxLZjWZoHMd9MNalI4XNLOpeBTy5z9gzuj1UYXZHPkxPIVRbJOn7OvOnZ0ODsnrlnBjpW16MSvgVWmE2CKEeqnAVZEtuEphT/CcYCzJ3KGv8jje/L3t0/6E6i00hJ9s4AzlPXPUGMqNagdlV8ysyU9isiqg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1736439836; bh=inZSZyTxxkmjz/TJmCcoX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K0L4QMahLrtAn4H3yuLI4hq5u3b_2onWavqgHJ2YDp4c2JGYe8j1c1HVj6Uguw13pG33XJB4 ilZ3wHeSR0MC1.xvHRI9vO5O4iT5lvRhNEGZT4sIaWjC_WbJnvCkDPU_qlqzdxuhlZTcKjSH0Key gbqTtajLIPaCWRkfMMIT5YnVemoUZKXuEf.mchiAb7oECZDpI__L9efJSu_VCsH8Ie4pICiD5jZj zgC8ir7bu1oOKep_Kj3c_FYZ3g2DzltEmhivcisyPDJm1uN4hNkBBKTbgQkHqhywZeBdH3QX6jRd wCzZHiuFrJO1rvkAAaLfnFE_BlBSdp8pT4TQwpNmlK8UQKm0Y63il.SzdzeUA0xQZWbLRxPXYHIh sF.dMKyOwCabKGkK1v2LrC4yvQwl6IqU80KFCqzI76oHnXpoWmFIic8dPM4_RQVW2fXuZ3Fu2Vx. 9OTh5Us3H3WQtcnDa2Ysgk.sofyeUXiv4pwDSIXz3E8tDb8tc5EuES9BFzyXjCzE_bigTPzfwMAJ F1Hsu4wvNDzapY61O5jRD2r.r2M9rnZmmWtU1a6T2r58JWFUaiwLGx69HXYdnIhw- X-Sonic-MF: X-Sonic-ID: 3fd12f9b-159f-4407-a524-c2413b0a92f3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Thu, 9 Jan 2025 16:23:56 +0000 Received: by hermes--production-gq1-5dd4b47f46-zz6g6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 92b5b411685c95f678f1b33ad6b62b3f; Thu, 09 Jan 2025 16:21:55 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 \(3826.300.87.4.3\)) Subject: Re: Raspbery Pi support (release notes/wiki page) update? From: Mark Millard X-Priority: 3 (Normal) In-Reply-To: <1284671542.924.1736419337261@localhost> Date: Thu, 9 Jan 2025 08:21:43 -0800 Cc: freebsd-arm@freebsd.org, "Bjoern A. Zeeb" Content-Transfer-Encoding: quoted-printable Message-Id: References: <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg> <7sp0np90-0rnn-n327-qps0-358493p411rs@yvfgf.mnoonqbm.arg> <68B36F4A-76AD-4CEC-ACBA-3EEF6863BB04@yahoo.com> <1284671542.924.1736419337261@localhost> To: Ronald Klop X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Rspamd-Queue-Id: 4YTVTq4ZKcz4Nfq 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] Hello Ronald, I'm away from all FreeBSD system access for a couple of weeks, doing things that need to take priority on my time. I do know that https://github.com/worproject/rpi5-uefi is not being actively updated by anyone, including its original author. It (in ACPI mode) is the only way I know how to FreeBSD-boot the only RPi5 that I (usually) have access to. Relative to the author's notes about the status, see: = https://github.com/worproject/rpi5-uefi/issues/18#issuecomment-2080098959 It says, in part: "I'm not actively working on it, but this doesn't mean it's dead - contributions are welcome." No contributions have been made. The last commit was on 2024-Mar-15. It also reports, relative to the (failed/incomplete) upstreaming: QUOTE (2024-Apr-26 material): =E2=80=A2 The TF-A port is upstreamed, minus one PCI patch that's = waiting on review. =E2=80=A2 I've also submitted the patches in my EDK2 base fork back in January, but I haven't heard anything since. The EDK2 review process is slow in general, at times non-existent (understandably, not many maintainers), so I just gave up on that idea. END QUOTE I also know that https://github.com/worproject/rpi5-uefi will not recognize the 16 GiByte of memory: The board revision code was used to assign the memory size. There is no use of anything that would track total_mem from config.txt . (That, in turn, controls what the live-dtb indicates for memory size and layout issues as I understand.) See: https://github.com/worproject/rpi5-uefi/issues/12 . Sorry for the news, Mark On Jan 9, 2025, at 02:42, Ronald Klop wrote: Hi Mark, I just noticed an RPI5 with 16GB RAM became available [1]. Which = triggers my interest in an upgrade of my current RPI4/8GB used to build = aarch64 ports. I see that you have quite some experience in setting up the RPI5 with = knowledge expressed in several emails. Would you mind to setup a https://wiki.freebsd.org/arm/RPI5 page and = collect your knowledge/experience there? When RPI5 works well in the future we can then merge the information = into https://wiki.freebsd.org/arm/Raspberry%20Pi. Regards, Ronald. [1] = https://www.raspberrypi.com/news/16gb-raspberry-pi-5-on-sale-now-at-120/ Van: Mark Millard Datum: maandag, 2 december 2024 22:43 Aan: "Bjoern A. Zeeb" CC: freebsd-arm@freebsd.org Onderwerp: Re: Raspbery Pi support (release notes/wiki page) update? On Dec 2, 2024, at 12:43, Bjoern A. Zeeb = wrote: > On Wed, 27 Nov 2024, Mark Millard wrote: > > I assume that all also means there's no way on FreeBSD to update the > eeprom contents on the RPi4/5[1] (contents replaced the bootcode.bin = on > older PIs.) I update the EEPROM's via booting a standard RaspiOS64 (my = abbreviation). That includes updating some defaults/definitions that can be stored in the EEPROM. (For example, I enable more debug output than is the default. That includes enabling BOOT_UART .) There are commands like: sudo -E rpi-eeprom-config --edit I'm not aware of FreeBSD having any such software, even via the ports tree. However, the description of the command is: QUOTE Editing the current bootloader configuration The following command loads the current bootloader configuration into a = text editor. When the editor is closed, rpi-eeprom-configapplies the = updated configuration to latest available bootloader release and uses = rpi-eeprom-update to schedule an update when the system is rebooted: END QUOTE In essence doing a (after the edit): sudo rpi-eeprom-update -a I do not have the references handy, but as I remember, this puts a file in the msdosfs that, if found at (re)boot, is automatically used to do the EEPROM update, well before U-boot is involved. So: putting a correctly formed file in the right place with the right name for a reboot to pick up is basic to the EEPROM update operation. The EEPROM contains the bootloader. The RPi5B has less that goes in the msdosfs (on the microsd card I use to boot the RPi5 via a separate USB3 drive): # find /RPi5-edk2/ -print /RPi5-edk2/ /RPi5-edk2/RPI_EFI.fd /RPi5-edk2/config.txt /RPi5-edk2/bcm2712-rpi-5-b.dtb Nothing analogous to start4*.elf or fixup4*.dat is involved. # more /RPi5-edk2/config.txt armstub=3DRPI_EFI.fd device_tree_address=3D0x1f0000 device_tree_end=3D0x210000 # 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 # # Local additions: enable_uart=3D1 uart_2ndstage=3D1 dtdebug=3D1 disable_commandline_tags=3D1 # [pi5] over_voltage_delta=3D100000 arm_freq=3D2600 [all] > /bz > > > [1] https://github.com/raspberrypi/rpi-eeprom/tree/master/ Releases: https://github.com/raspberrypi/rpi-eeprom/releases Tagged: https://github.com/raspberrypi/rpi-eeprom/tags (More is tagged than is eventually declared to also be a release.) =3D=3D=3D Mark Millard marklmi at yahoo.com =20 =20 =3D=3D=3D Mark Millard marklmi at yahoo.com