LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   rpi-eeprom-update not working. (https://www.linuxquestions.org/questions/slackware-arm-108/rpi-eeprom-update-not-working-4175734709/)

Pigi_102 03-09-2024 03:18 AM

rpi-eeprom-update not working.
 
Hello all,
I have a "sarpi" slackware 15+ installed on a rpi4 and being that I'm facing recently some trouble with boot, my first idea was to upgrade eeprom to a more recent version ( I have the one from 2020 as soon as the usb boot came out ).
So I tried with the rpi-eeprom-update -a as found elsewher on net but it complains about :
Code:

root@casa aarch64:/var/log/packages# rpi-eeprom-update -a
BOOTFS: "/boot/platform/hwm_bw" is not a directory

which, in my case, is true:
Code:

root@casa aarch64:/var/log/packages# ls -l /boot/platform
/bin/ls: cannot access '/boot/platform': No such file or directory

I'm not sure how this came, as eveything is working ( almost ) well, but, is there a way to fix this, or eventually a way to update firmware manually ?

Thanks in advance.

Pierluigi

glorsplitz 03-09-2024 07:30 PM

That might be because sarpi is installed little differently than Slackware ARM & AArch64.

My Slackware ARM & AArch64 rpi4 install not sarpi, I see

Quote:

locate rpi-eeprom-update
/etc/rpi-eeprom-update
/usr/bin/rpi-eeprom-update
/usr/share/hwm-bw-raspberrypi/eeprom-firmware/bootloader/rpi-eeprom-update-default
your mileage has varied?

Pigi_102 03-10-2024 03:40 AM

Quote:

Originally Posted by glorsplitz (Post 6488679)

your mileage has varied?


Not al all ( as per locate ):
Code:

root@casa aarch64:~# locate rpi-eeprom-update
/etc/rpi-eeprom-update
/usr/bin/rpi-eeprom-update
/usr/share/hwm-bw-raspberrypi/eeprom-firmware/bootloader/rpi-eeprom-update-default

but rpi-eeprom-update searcho for a directory in /boot:
Code:

root@casa aarch64:/var/log/packages# rpi-eeprom-update -a
BOOTFS: "/boot/platform/hwm_bw" is not a directory

which in my case is missing.

What about your installation ?

glorsplitz 03-10-2024 08:40 AM

Quote:

Originally Posted by Pigi_102 (Post 6488719)
/usr/bin/rpi-eeprom-update

What about your installation ?

run that one

Quote:

which rpi-eeprom-update
/usr/bin/rpi-eeprom-update
as in
Quote:

# rpi-eeprom-update -a
BOOTLOADER: up to date
CURRENT: Wed Jan 11 17:40:52 UTC 2023 (1673458852)
LATEST: Wed Jan 11 17:40:52 UTC 2023 (1673458852)
RELEASE: critical (/usr/share/hwm-bw-raspberrypi/eeprom-firmware/bootloader/critical)
Use a text editor to modify /etc/rpi-eeprom-update to change the release.

VL805_FW: Using bootloader EEPROM
VL805: up to date
CURRENT: 000138c0
LATEST: 000138c0
and on pbp
Quote:

# rpi-eeprom-update -a
This tool only works with a Raspberry Pi 4

Exaga 03-10-2024 09:43 AM

Quote:

Originally Posted by Pigi_102 (Post 6488719)
What about your installation ?

Try these... https://sarpi.penthux.net/index.php?p=rpispecpkgs

These packages are not device specific and should work fine. They do on my RPi5.

Pigi_102 03-15-2024 05:56 AM

Quote:

Originally Posted by Exaga (Post 6488796)
Try these... https://sarpi.penthux.net/index.php?p=rpispecpkgs

These packages are not device specific and should work fine. They do on my RPi5.

I will give a try on this.

Thanks !

drmozes 03-15-2024 07:32 AM

Quote:

Originally Posted by Pigi_102 (Post 6489846)
I will give a try on this.

Thanks !

Or you could just edit the config file:

Code:

sed -i 's?/boot/platform/hwm_bw?/boot?g' /etc/rpi-eeprom-update

drmozes 03-16-2024 11:32 AM

Quote:

Originally Posted by drmozes (Post 6489874)
Or you could just edit the config file:

Code:

sed -i 's?/boot/platform/hwm_bw?/boot?g' /etc/rpi-eeprom-update

I've updated the rpi-eeprom package for new installations to automatically adjust the config at install time if /boot/platform/hwm_bw isn't mounted.


All times are GMT -5. The time now is 06:47 AM.