Re: Raspbery Pi support (release notes/wiki page) update?
- In reply to: Bjoern A. Zeeb: "Re: Raspbery Pi support (release notes/wiki page) update?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Dec 2024 21:43:34 UTC
On Dec 2, 2024, at 12:43, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> 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=RPI_EFI.fd device_tree_address=0x1f0000 device_tree_end=0x210000 # Force 32 bpp framebuffer allocation. framebuffer_depth=32 # Disable compensation for displays with overscan. disable_overscan=1 # Force maximum USB power regardless of the power supply. usb_max_current_enable=1 # Force maximum CPU speed. force_turbo=1 # # Local additions: enable_uart=1 uart_2ndstage=1 dtdebug=1 disable_commandline_tags=1 # [pi5] over_voltage_delta=100000 arm_freq=2600 [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.) === Mark Millard marklmi at yahoo.com