From nobody Mon Dec 02 21:43:34 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 4Y2HNS6dP0z5gV71 for ; Mon, 02 Dec 2024 21:43:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (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 4Y2HNS2GHHz4610 for ; Mon, 2 Dec 2024 21:43:52 +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=1733175830; bh=6LDl7W4+vwoT24ng9/tJUpj+kYAbOCBcR9YN9i/vig8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=isBfOhqb4zFrU/Inu7EQj/7JTld3suPKrTWhL0rupK5ovfsalxUOQxH7CIgF+duNjySeVU2mVLPZgTIWf5i7GAR1nhdohIx0NXgG62GVdmEpyCLrlYCexKBipkCy6CBHnYeTICrEreGZX87wxta7G31Yaa7EArXr/dD4xRPHQ/LV+I7N5ZfqN4GbyhirLzRnxirhcMEvUkTaqfvUKFExq/vblPGQ5oJ2XCXBXnpgMEXgUooAFB1TeLG260//lu+0uYhpXerZGigkefmBGo8ueqm2ZOdwS6UCiriKuzER2D8C5guC/dNTmBLlySdHovH3G/cgFgYgNSZsMJWGAY+T+Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1733175830; bh=q9o/ma6r/VcrjqAtTgc0uVwDm8ZVeQMtiR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X9MMPnfKddnu_8o9SodrFMsXNvYC5xZeqTEqtEgWoC3Wl9uga4h0h qgsT1g12K2oFPr6.ZyP49YFJof3it.C9g9BiozXi_bvekB5d.wp_uO.Nw6Hve22.VEMWwo5T6uYd wnTutmpypdH6Z0vuqbD3g8UgdMGTVMk1dpcImtOB3xxSiLH9it_5AndInDM2ebrOJOlAXh9.PUTL xV3499VUwg2AN4rwE..wiM5nU6wBtcXpUD6TL9oUIrdUvKFuvnWEsOZuHhJZ2AVof4T7S2kDXGH6 luGK.8UXqKzIm5HKYl_fwma9u7UeVOHc1xUaMVeE55qXZ0xJ7gpIBstKaeOuEfgE68hrMNqYhDAp Z9TEvn_RvLkRg1zOzlw4BUszKdcCSqwKc48Rq5qXalJBVo46N3OcH56whtxh2dsbc42aG45fkIJd obGTwRXQwxO4RPodKf7MHGQ.qD8ZrWBdrGaiG62N9TnZow1ixb4B90UkxPxr2t3cP5Xooh7vcXtG JYkbaWKDJahhYVq4B9y7Qvx33JmqG5Fwcy2mbTQUNv5NOsjnFNLfjlx8olgDyOlnlPfWAZxKpVIs L2S0_Dc8S X-Sonic-MF: X-Sonic-ID: f8c30fbd-a555-457a-afc8-4adfd2f4182f Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Mon, 2 Dec 2024 21:43:50 +0000 Received: by hermes--production-gq1-5dd4b47f46-9j75b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cbc17f5fcae43d2aa538320538d6bceb; Mon, 02 Dec 2024 21:43:45 +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 \(3776.700.51.11.1\)) Subject: Re: Raspbery Pi support (release notes/wiki page) update? From: Mark Millard In-Reply-To: <7sp0np90-0rnn-n327-qps0-358493p411rs@yvfgf.mnoonqbm.arg> Date: Mon, 2 Dec 2024 13:43:34 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <68B36F4A-76AD-4CEC-ACBA-3EEF6863BB04@yahoo.com> References: <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg> <7sp0np90-0rnn-n327-qps0-358493p411rs@yvfgf.mnoonqbm.arg> To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3776.700.51.11.1) 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] X-Rspamd-Queue-Id: 4Y2HNS2GHHz4610 X-Spamd-Bar: ---- On Dec 2, 2024, at 12:43, Bjoern A. Zeeb = wrote: > On Wed, 27 Nov 2024, Mark Millard wrote: >=20 > 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 >=20 >=20 > [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