Help updating CM5 EEPROM

Hello, new to the EM5 and uconsole. I have used many Raspberry pi computers and run different projects with them but this is my first Compute Module. It is also my first Uconsole.
I have finished building my Uconsole and it has all the HackerGadget stuff added to it including the battery board with the NVME drive. For now I want to build from the SD card while I mess around with different OS options and programs and once I figure out what I want I will add the NVME drive and set it up to boot from there.
My question is what is the correct way to update the EEPROM on the CM5 while installed to the Hacker carrier board.
I googled it and came up with lots of options including an addistional board to mount it in and do the update there, using the SDcard and so on. Some say to use RPIBoot but I can olny find USBBoot so I’m a little lost. Also what positions should the dipswitches on the carrier board be set to?
Thank you for the help

1 Like

Identical setup here and I had Rex’s latest Trixie image running from a quality 1Tb 90Mb/s sd card for a few months before moving to a 256Gb NVME. DON’T CHANGE THE CARRIER BOARD SWITCHES !. I had already updated my CM5 bios (see below) and played with boot options before adding the new blank NVME while powered off (then still boot from Trixie on SD card). I then simply used ‘Accesories - SD Card Copier’ that is part of the Rex build. Be careful selecting your two devices, should be moderately obvious, and don’t tick the 'new partition UUID’s box. Ensure your battery is full or on USB power as might take a while. Then switch off and remove your SD card, voila !. Working well and over 400% faster.

UPDATING CM5 EEPROM/Firmware (Rex’s Trixie image)…

Enter in Terminal -
vgencmd version… (show CM5 firmware version)
sudo rpi-eeprom-update … (check and update CM5 firmware)
sudo rpi-eeprom-config … (view boot config)
sudo rpi-eeprom-config -e … (edit boot config)

My current EEPROM boot config…
Note this is NOT the config.txt that is run after the EEPROM config !

Via /boot/firmware/config.txt I have limited my GEN4x4 NVME drive to GEN2 to reduce power draw and possible signal corruption, working very well !. No noticeable battery drain vs the sd card. Probably a very good idea to edit this config BEFORE copying your SD card to the NVME !!..

In Terminal…
sudo nano /boot/firmware/config.txt

Note bottom of [pi5] section

NOTE - Nvme drives have an issue with the Raspberry boards when it comes to powering down. The system might seem to hang on the last line for up to 20 seconds or so, dont worry, just wait. One quick fix till further (hopefully) firmware update is apparently to have a blank formatted SD card in the slot.

I would do that but I cannot get it to boot at all. And looking at the other thread about a blank screen it said to update the EEProm first. SO I was hoping I could do that without booting first.

Ok nevermind I got it to boot so now the fun starts. Time ti test different OS’s and different programs until I find a setup I like.

1 Like

usbboot is an application implementing the protocol RPIBOOT. I started a thread about using the HackerGadgets board with RPIBOOT and usbboot.