agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
507 stars 397 forks source link

rpi-eeprom_git: Update recipe to latest rpi-eeprom repo #1239

Closed mdsketch closed 8 months ago

mdsketch commented 8 months ago

I needed newer versions of the firmware so I updated this recipe and I was wondering if it's something we can update here as well? Wasn't sure if I should make a PR or Issue, so here we go:

- What I did

I upped the commit version to the latest release of https://github.com/raspberrypi/rpi-eeprom

This will allow updating the pi4 to the latest version eeprom. It does not support the pi5 (but it could with some more editing).

- How I did it

I had to change the directories that are installed as they changed upstream. I matched the compatibility that upstream provides.

Also removed the patch as it's already changed.

mdsketch commented 8 months ago

Ok I'll make those changes. And yes as far as I can tell the patch was included upstream, I have tested this change on my Mickledore branch so that's why I was merging it here, but I will change that.

Just so we have the record in this PR, here is the upstream change that does the same thing as the patch https://github.com/raspberrypi/rpi-eeprom/blob/5ec5c003bacc73847aadad712aa1fbdace8f1c4e/rpi-eeprom-update#L122

and here is the actual patch commit https://github.com/raspberrypi/rpi-eeprom/commit/55ca589ab9e6e719c1e1f9fc72997d1643d28fe3