Closed arelyx closed 3 years ago
Unfortunately I don't have Pi 4 < boards so I can't test it myself. If you sure about path and file format I will push it.
That's understandable.
Yes, with the previous version I was having the same problem as in issue #27 on my Pi 2. With this new fix, instead of using vcgencmd bootloader_version
I used a bash command to just find all of the installed eeproms and select the most recent one.
I've tested this fix on the Pi 2 and the Pi 4 on a clean install and the program installs and runs without issue, so I'm pretty sure the path and file format should be good.
Oops!
Looks like my initial pull request caused an issue on non Pi 4 boards.
I've improved the get_actual_version function further; Instead of splicing the string from vcgencmd bootloader_version, I am just getting the bootloader version from a bash command.
I have tested this on my Pi 4 and Pi 2, everything should be working just fine.