LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-09-2024, 03:18 AM   #1
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Rep: Reputation: 22
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
 
Old 03-09-2024, 07:30 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
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?
 
Old 03-10-2024, 03:40 AM   #3
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by glorsplitz View Post

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 ?
 
Old 03-10-2024, 08:40 AM   #4
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by Pigi_102 View Post
/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

Last edited by glorsplitz; 03-10-2024 at 08:43 AM.
 
Old 03-10-2024, 09:43 AM   #5
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by Pigi_102 View Post
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.
 
1 members found this post helpful.
Old 03-15-2024, 05:56 AM   #6
Pigi_102
Member
 
Registered: Aug 2008
Posts: 186

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by Exaga View Post
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 !
 
1 members found this post helpful.
Old 03-15-2024, 07:32 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by Pigi_102 View Post
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
 
Old 03-16-2024, 11:32 AM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,549

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by drmozes View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Rotary Encoders for ESP32, Rpi Pico and RPi 4 LXer Syndicated Linux News 0 07-16-2023 10:25 PM
[SOLVED] Trying to mount USB drive of RPi A into RPi B suziecat Linux - Newbie 5 09-28-2021 08:23 AM
LXer: GNOME 3.33.2 Released, Krita 4.2 Debuts, RPi Camera Modules on RPi Zeros Power the Penguin Watch Project, Intrinsyc Switches Its Home LXer Syndicated Linux News 0 05-30-2019 06:23 AM
LXer: Mini-PC taps RPi Compute Module and supports RPi 2 LXer Syndicated Linux News 0 02-22-2015 03:03 PM
TV card, no sound, eeprom invalid, no eeprom present (err=-121) cncman Linux - Hardware 1 08-05-2006 07:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration