RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Raspberry Pi EEPROM Manager

Fri Aug 21, 2020 12:06 am

Raspberry Pi EEPROM Manager (rpi-eeprom-mgr) is a menu-driven front-end for rpi-eeprom-update.

Available actions are:


Display EEPROM Status

Update Bootloader EEPROM

Edit Bootloader Configuration

Update VL805 (USB) EEPROM

Remove Pending Update

Change Firmware Directory

Disable Automatic EEPROM Updates

Enable Automatic EEPROM Updates

Automatic EEPROM Update Status


All actions have a confirmation prompt before being executed.
Attachments
rpi-eeprom-mgr.zip
(3.15 KiB) Downloaded 736 times
Last edited by RonR on Tue Sep 01, 2020 2:43 am, edited 2 times in total.

melqui
Posts: 45
Joined: Fri Jun 19, 2020 8:07 am

Re: Raspberry Pi EEPROM Manager

Fri Aug 21, 2020 12:04 pm

RonR wrote:
Fri Aug 21, 2020 12:06 am
Raspberry Pi EEPROM Manager (rpi-eeprom-mgr) is a menu-driven front-end for rpi-eeprom-update.

Available actions are:


Display EEPROM Status

Update Bootloader EEPROM

Edit Bootloader Configuration

Update VL805 (USB) EEPROM

Remove Pending Update

Change Firmware Directory

Disable EEPROM Update Service

Enable EEPROM Update Service


All actions have a confirmation prompt before being executed.
Great , is in the official repository?

hippy
Posts: 8870
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Raspberry Pi EEPROM Manager

Fri Aug 21, 2020 2:20 pm

Nice job.

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Fri Aug 21, 2020 6:30 pm

melqui wrote:
Fri Aug 21, 2020 12:04 pm
Great , is in the official repository?

It's attached to the first post of this topic (rpi-eeprom-mgr.zip).

Simply extract rpi-eeprom-mgr (unzip rpi-eeprom-mgr.zip), make it executable (chmod +x rpi-eeprom-mgr) and run it (sudo ./rpi-eeprom-mgr).

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Sun Aug 30, 2020 10:26 pm

rpi-eeprom-mgr (in the first post of this topic) has been updated.

The previous version contained two actions that allowed automatic EEPROM updates to be disabled/enabled:


Disable EEPROM Update Service

Enable EEPROM Update Service


These actions have been replaced by:


Disable Automatic EEPROM Updates

Enable Automatic EEPROM Updates

Automatic EEPROM Update Status


These new actions allow automatic EEPROM updates to be disabled/enabled without exacerbating the Serious Problem in Bootloader EEPROM.

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Tue Sep 01, 2020 2:44 am

rpi-eeprom-mgr (in the first post of this topic) has been updated.

rpi-eeprom-mgr has been enhanced to circumvent the issue described in the topic: Serious Problem in Bootloader EEPROM

rpi-eeprom-mgr now ensures that no previous EEPROM updates are pending, thus preventing the possibility of an endless EEPROM reprogramming loop.

scotty101
Posts: 4149
Joined: Fri Jun 08, 2012 6:03 pm

Re: Raspberry Pi EEPROM Manager

Tue Sep 01, 2020 8:11 am

Why not share this via a Github (or similar) repository rather than a download that some might be suspicious of? I certainly won't download a random zip
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

wildfire
Posts: 705
Joined: Sat Sep 03, 2016 10:39 am
Location: Dundee, Scotland

Re: Raspberry Pi EEPROM Manager

Tue Sep 01, 2020 8:38 am

To be fair it's a bash script which can easily be examined before execution.
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls

User avatar
algorithm
Posts: 232
Joined: Mon Nov 25, 2013 9:09 pm
Location: Flatland

Re: Raspberry Pi EEPROM Manager

Sun Sep 13, 2020 9:12 am

Typo on line 368 "errrxit"

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Sun Sep 13, 2020 6:35 pm

algorithm wrote:
Sun Sep 13, 2020 9:12 am
Typo on line 368 "errrxit"

Yes, that should be "errexit". Fortunately, it does no harm. I'll get that changed.

Thanks!

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 3:51 am

It's attached to the first post of this topic (rpi-eeprom-mgr.zip).

Simply extract rpi-eeprom-mgr (unzip rpi-eeprom-mgr.zip), make it executable (chmod +x rpi-eeprom-mgr) and run it (sudo ./rpi-eeprom-mgr).
[/quote]

Where do i put "rpi-eeprom-mgr"? I extracted it on my desktop but when i go into command line and type in "chmod +x rpi-eeprom-mgr". I get an error that says " chmod: cannot access 'rpi-eeprom-mgr': No such file or directory "

I am stuck on what to do from here. Please help

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 5:18 pm

skr1b wrote:
Wed Sep 23, 2020 3:51 am
Where do i put "rpi-eeprom-mgr"? I extracted it on my desktop but when i go into command line and type in "chmod +x rpi-eeprom-mgr". I get an error that says " chmod: cannot access 'rpi-eeprom-mgr': No such file or directory "

I am stuck on what to do from here. Please help

You can put rpi-eeprom-mgr anywhere you like.

If it resides on your desktop and you open a command prompt in /home/pi, you would execute:

Code: Select all

chmod +x Desktop/rpi-eeprom-mgr
sudo Desktop/rpi-eeprom-mgr

or

Code: Select all

cd Desktop
chmod +x rpi-eeprom-mgr
sudo ./rpi-eeprom-mgr
Last edited by RonR on Wed Sep 23, 2020 9:00 pm, edited 1 time in total.

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 8:57 pm

You can put rpi-eeprom-mgr anywhere you like.

If it resides on your desktop and you open a command prompt in /home/pi, you would execute:

Code: Select all

chmod +x Desktop/rpi-eeprom-mgr
sudo Desktop/rpi-eeprom-mgr

or

Code: Select all

cd Desktop
chmod + x rpi-eeprom-mgr
sudo ./rpi-eeprom-mgr
[/quote]


Thanks but no luck still getting same error message for both . Am I doing something wrong? File is still on my desktop

chmod: cannot access 'Desktop/rpi-eeprom-mgr': No such file or directory

chmod: cannot access 'rpi-eeprom-mgr': No such file or directory

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 9:09 pm

skr1b wrote:
Wed Sep 23, 2020 8:57 pm
Thanks but no luck still getting same error message for both . Am I doing something wrong? File is still on my desktop

chmod: cannot access 'Desktop/rpi-eeprom-mgr': No such file or directory

chmod: cannot access 'rpi-eeprom-mgr': No such file or directory

I just tried both methods here and they both work as expected.

Is your command prompt running in /home/pi/Desktop when you run 'chmod +x rpi-eeprom-mgr'? Does 'ls -l' show rpi-eeprom-mgr?

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 10:06 pm

I just tried both methods here and they both work as expected.

Is your command prompt running in /home/pi/Desktop when you run 'chmod +x rpi-eeprom-mgr'? Does 'ls -l' show rpi-eeprom-mgr?
[/quote]


I attached a screen shot of what I tried. How do i know if my command prompt is running in home/pi/desktop? Im using Putty Image
Attachments
Screenshot 2020-09-23 150427.png
Screenshot
Screenshot 2020-09-23 150427.png (32.52 KiB) Viewed 2877 times

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 10:24 pm

I attached a screen shot of what I tried. How do i know if my command prompt is running in home/pi/desktop?

Your command prompt shows your current location:

pi@retropie:~/Desktop $

The '~' means your HOME directory (/home/pi).

What does 'ls -l /home/pi/Desktop' show? You should see whatever is on your Desktop, including:

Code: Select all

-rw-r--r-- 1 pi pi  13505 Sep 23 17:19 rpi-eeprom-mgr

Both of your attempts were incorrect.

In the first one, you typed rpi-eeprom=mgr instead of rpi-eeprom-mgr.

In the second one, you typed '+ x' instead of '+x'.

Something else to try is: 'find ~ -name rpi-eeprom-mgr'

It should display: '/home/pi/Desktop/rpi-eeprom-mgr'

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 11:34 pm

Your command prompt shows your current location:

pi@retropie:~/Desktop $

The '~' means your HOME directory (/home/pi).

What does 'ls -l /home/pi/Desktop' show? You should see whatever is on your Desktop, including:

Code: Select all

-rw-r--r-- 1 pi pi  13505 Sep 23 17:19 rpi-eeprom-mgr

Both of your attempts were incorrect.

In the first one, you typed rpi-eeprom=mgr instead of rpi-eeprom-mgr.

In the second one, you typed '+ x' instead of '+x'.

Something else to try is: 'find ~ -name rpi-eeprom-mgr'

It should display: '/home/pi/Desktop/rpi-eeprom-mgr'
[/quote]


I did the above and attached a screenshot. Its not showing up even though its on my desktop?
Attachments
Screenshot 2020-09-23 163316.png
Screenshot 2020-09-23 163316.png (22.24 KiB) Viewed 2835 times

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Wed Sep 23, 2020 11:41 pm

skr1b wrote:
Wed Sep 23, 2020 11:34 pm
Its not showing up even though its on my desktop?

One last shot...

Code: Select all

sudo find / -name rpi-eeprom-mgr

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 2:27 am

RonR wrote:
Wed Sep 23, 2020 11:41 pm
skr1b wrote:
Wed Sep 23, 2020 11:34 pm
Its not showing up even though its on my desktop?

One last shot...

Code: Select all

sudo find / -name rpi-eeprom-mgr

nothing... so strange. What if i put the file somewhere in my pi folder with SSH? Like retropie/configs/all or somewhere it might be able to read it other then my desktop?

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 2:34 am

skr1b wrote:
Thu Sep 24, 2020 2:27 am
nothing... so strange. What if i put the file somewhere in my pi folder with SSH? Like retropie/configs/all or somewhere it might be able to read it other then my desktop?

I don't know what you have on your desktop that appears to be rpi-eeprom-mgr, but Linux says there's no file by that name anywhere on your system.

It doesn't matter where you put rpi-eeprom-mgr as long as you can find it, make it executable with chmod, and run it.

User avatar
AkulaMD
Posts: 147
Joined: Fri Jun 19, 2020 6:51 am

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 3:20 am

RonR wrote:
Fri Aug 21, 2020 6:30 pm
melqui wrote:
Fri Aug 21, 2020 12:04 pm
Great , is in the official repository?

It's attached to the first post of this topic (rpi-eeprom-mgr.zip).

Simply extract rpi-eeprom-mgr (unzip rpi-eeprom-mgr.zip), make it executable (chmod +x rpi-eeprom-mgr) and run it (sudo ./rpi-eeprom-mgr).
You didn't exactly answer his question.
Raspberry Pi OS (32-bit) with desktop and recommended software
Raspberry Pi 4 Model B 8GB at stock speed (never overclock)

Never overclock your Pi.
Encourage optimization instead.

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 3:29 am

AkulaMD wrote:
Thu Sep 24, 2020 3:20 am
RonR wrote:
Fri Aug 21, 2020 6:30 pm
melqui wrote:
Fri Aug 21, 2020 12:04 pm
Great , is in the official repository?

It's attached to the first post of this topic (rpi-eeprom-mgr.zip).

Simply extract rpi-eeprom-mgr (unzip rpi-eeprom-mgr.zip), make it executable (chmod +x rpi-eeprom-mgr) and run it (sudo ./rpi-eeprom-mgr).
You didn't exactly answer his question.

It appears the answer is no:

Code: Select all

root@raspberrypi:~# apt search rpi-eeprom-mgr
Sorting... Done
Full Text Search... Done
root@raspberrypi:~#

:)

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 3:48 am

It appears the answer is no:

Code: Select all

root@raspberrypi:~# apt search rpi-eeprom-mgr
Sorting... Done
Full Text Search... Done
root@raspberrypi:~#

:)
[/quote]


Well...i tried it. And it atleast now says its on my system... can you help me from here now with correct commands?
Attachments
Screenshot 2020-09-23 204727.png
Screenshot 2020-09-23 204727.png (4.24 KiB) Viewed 2745 times

RonR
Posts: 1884
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 3:56 am

skr1b wrote:
Thu Sep 24, 2020 3:48 am
Well...i tried it. And it atleast now says its on my system... can you help me from here now with correct commands?

Code: Select all

sudo chmod +x /opt/retropie/configs/all/rpi-eeprom-mgr

sudo /opt/retropie/configs/all/rpi-eeprom-mgr

skr1b
Posts: 7
Joined: Wed Sep 23, 2020 3:49 am

Re: Raspberry Pi EEPROM Manager

Thu Sep 24, 2020 5:44 am

RonR wrote:
Thu Sep 24, 2020 3:56 am
skr1b wrote:
Thu Sep 24, 2020 3:48 am
Well...i tried it. And it atleast now says its on my system... can you help me from here now with correct commands?

Code: Select all

sudo chmod +x /opt/retropie/configs/all/rpi-eeprom-mgr

sudo /opt/retropie/configs/all/rpi-eeprom-mgr
INCREDIBLE! It worked :P We finally did it ha. Thank you good sir! Appreciate it very much

Return to “Advanced users”