RP4 error with rpi-eeprom-update, cant find RP bootloader

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

RP4 error with rpi-eeprom-update, cant find RP bootloader

Postby dim » Thu May 16, 2024 7:46 pm

My rp4 is setup with a usb ssd and everything works well, except rpi-eeprom-update was giving error: "No Raspberry Pi board info found".

Then I installed raspberrypi-devicetree-git, and now I get error: Device does not a have a Raspberry Pi bootloader EEPROM (e.g. Pi 4 or Pi 5). Skipping bootloader update.

> uname -a
Linux rp4 6.8.9-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Sat May 4 06:41:28 MDT 2024 aarch64 GNU/Linux
>

> rpi-eeprom-config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
ENABLE_SELF_UPDATE=1
BOOT_ORDER=0xf41


> cat /etc/default/rpi-eeprom-update

FIRMWARE_ROOT=/lib/firmware/raspberrypi/bootloader
FIRMWARE_RELEASE_STATUS="latest"
FIRMWARE_BACKUP_DIR="/var/lib/raspberrypi/bootloader/backup"
EEPROM_CONFIG_HOOK=

# BOOTFS can be set here to override auto-detection in rpi-eeprom-update
#BOOTFS=/boot

# Use flashrom if available to update the bootloader without rebooting - Raspberry Pi 5
#RPI_EEPROM_USE_FLASHROM=1


From the rpm-eeprom-update script:

> ls /sys/firmware/devicetree/base/system
ls: cannot access '/sys/firmware/devicetree/base/system': No such file or directory

> sed -n '/^Revision/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo
>

> vcgencmd otp_dump | grep '30:' | sed 's/.*://'
>




> ls -l /boot/
total 176880
-rw-r--r-- 1 root root 29634 May 16 18:55 bcm2708-rpi-b.dtb
-rw-r--r-- 1 root root 29937 May 16 18:55 bcm2708-rpi-b-plus.dtb
-rw-r--r-- 1 root root 29296 May 16 18:55 bcm2708-rpi-b-rev1.dtb
-rw-r--r-- 1 root root 29377 May 16 18:55 bcm2708-rpi-cm.dtb
-rw-r--r-- 1 root root 29247 May 16 18:55 bcm2708-rpi-zero.dtb
-rw-r--r-- 1 root root 31114 May 16 18:55 bcm2708-rpi-zero-w.dtb
-rw-r--r-- 1 root root 31631 May 16 18:55 bcm2709-rpi-2-b.dtb
-rw-r--r-- 1 root root 31546 May 16 18:55 bcm2709-rpi-cm2.dtb
-rw-r--r-- 1 root root 31760 May 16 18:55 bcm2710-rpi-2-b.dtb
-rw-r--r-- 1 root root 33952 May 16 18:55 bcm2710-rpi-3-b.dtb
-rw-r--r-- 1 root root 34587 May 16 18:55 bcm2710-rpi-3-b-plus.dtb
-rw-r--r-- 1 root root 31663 May 16 18:55 bcm2710-rpi-cm3.dtb
-rw-r--r-- 1 root root 32929 May 16 18:55 bcm2710-rpi-zero-2.dtb
-rw-r--r-- 1 root root 32929 May 16 18:55 bcm2710-rpi-zero-2-w.dtb
-rw-r--r-- 1 root root 55369 May 16 18:55 bcm2711-rpi-400.dtb
-rw-r--r-- 1 root root 55365 May 16 18:55 bcm2711-rpi-4-b.dtb
-rw-r--r-- 1 root root 56005 May 16 18:55 bcm2711-rpi-cm4.dtb
-rw-r--r-- 1 root root 38349 May 16 18:55 bcm2711-rpi-cm4-io.dtb
-rw-r--r-- 1 root root 52776 May 16 18:55 bcm2711-rpi-cm4s.dtb
-rw-r--r-- 1 root root 80174 May 16 18:55 bcm2712d0-rpi-5-b.dtb
-rw-r--r-- 1 root root 80190 May 16 18:55 bcm2712-rpi-5-b.dtb
-rw-r--r-- 1 root root 80631 May 16 18:55 bcm2712-rpi-cm5-cm4io.dtb
-rw-r--r-- 1 root root 80623 May 16 18:55 bcm2712-rpi-cm5-cm5io.dtb
-rw-r--r-- 1 root root 52476 May 14 04:22 bootcode.bin
drwxr-xr-x 16 root root 8192 Mar 1 2023 dtbs
-rw-r--r-- 1 root root 3210 May 14 04:22 fixup4cd.dat
-rw-r--r-- 1 root root 5436 May 14 04:22 fixup4.dat
-rw-r--r-- 1 root root 8425 May 14 04:22 fixup4db.dat
-rw-r--r-- 1 root root 8423 May 14 04:22 fixup4x.dat
-rw-r--r-- 1 root root 3210 May 14 04:22 fixup_cd.dat
-rw-r--r-- 1 root root 7303 May 14 04:22 fixup.dat
-rw-r--r-- 1 root root 10266 May 14 04:22 fixup_db.dat
-rw-r--r-- 1 root root 10268 May 14 04:22 fixup_x.dat
-rw-r--r-- 1 root root 44601856 May 4 12:01 Image
-rw-r--r-- 1 root root 15387721 May 4 12:01 Image.gz
-rw-r--r-- 1 root root 88688829 May 15 21:22 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 8944527 May 15 21:21 initramfs-linux.img
drwxr-xr-x 2 root root 32768 May 16 18:58 overlays
-rw-r--r-- 1 root root 809628 May 14 04:22 start4cd.elf
-rw-r--r-- 1 root root 3754152 May 14 04:22 start4db.elf
-rw-r--r-- 1 root root 2257024 May 14 04:22 start4.elf
-rw-r--r-- 1 root root 3004648 May 14 04:22 start4x.elf
-rw-r--r-- 1 root root 809628 May 14 04:22 start_cd.elf
-rw-r--r-- 1 root root 4826024 May 14 04:22 start_db.elf
-rw-r--r-- 1 root root 2981184 May 14 04:22 start.elf
-rw-r--r-- 1 root root 3728296 May 14 04:22 start_x.elf
>

> pacman -Q | grep -E '(rasp|rpi)'
firmware-raspberrypi 20231022-1
raspberrypi-bootloader 20240513-1
raspberrypi-devicetree-git 1:1.20240424-1
raspberrypi-utils 20240515-1
rpi-eeprom-git r610.8855da9-1
>




I've searched this forum and I don't see these errors I'm getting when running rpi-eeprom-update.

Any help is greatly appreciated!
dim
 
Posts: 1
Joined: Thu May 16, 2024 7:28 pm

Re: RP4 error with rpi-eeprom-update, cant find RP bootloade

Postby graysky » Fri May 17, 2024 11:13 am

> uname -a
Linux rp4 [b]6.8.9-1-aarch64-ARCH[/b] #1 SMP PREEMPT_DYNAMIC Sat May 4 06:41:28 MDT 2024 aarch64 GNU/Linux

You're using the vanilla kernel not the rpi kernel. Install linux-rpi
graysky
Developer
 
Posts: 1756
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RP4 error with rpi-eeprom-update, cant find RP bootloade

Postby zetxx » Tue May 21, 2024 7:03 am

Same story here, two rpi 4, with diff memory, both kernels are:
[code]Linux gw.**** 6.8.9-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Sat May 4 06:41:28 MDT 2024 aarch64 GNU/Linux
[/code]
[code]Linux home.**** 6.8.9-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Sat May 4 06:41:28 MDT 2024 aarch64 GNU/Linux[/code]

gw: [code]
ls /sys/firmware/devicetree/base/system
ls: cannot access '/sys/firmware/devicetree/base/system': No such file or directory
[/code]
home: [code]
ls /sys/firmware/devicetree/base/system
linux,revision linux,serial name
[/code]
zetxx
 
Posts: 2
Joined: Wed Oct 10, 2018 6:58 pm

Re: RP4 error with rpi-eeprom-update, cant find RP bootloade

Postby graysky » Tue May 21, 2024 12:50 pm

Same answer:
> You're using the vanilla kernel not the rpi kernel. Install linux-rpi
graysky
Developer
 
Posts: 1756
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests