Raspberry Pi 4 Model B Rev 1.5 - error -5 whilst initialising SD card

Hello Everyone,

first of all, thanks for IPFire - i think i use it for 10+ years now and were always happy with it.

But today i ran into a new issue - The new Rev 1.5 of the Raspberry Pi 4 Model B i received last week. (In Raspberry OS Raspbian you can see it via “cat /proc/cpuinfo | egrep -A3 Hardware”)

The issue is somehow similar as it has been with Rev 1.4 booting from the internal ySD card. You always get the: “error -5 whilst initialising SD card” boot loop.

The Version i tried is IPFire 2.27 - Core Update 164 (and also tried 162 and 163 - and even the latest nightly next Core 166)

What i allready did: Read all topics regarding Rev 1.4 of the Raspberry and also did the eeprom update, mentionend in this topic: RPi 4 boot failure with 162 and 163 - #9 by lincoln - But even with eeprom firmware from the stable channel, the Raspberry will not boot from the ySD Card.

To be sure, it has something to do with the eeprom, i also tried to boot via a USB-ySD adapter, which worked. And also installing IPFire on an USB-Stick directly worked without any issues. So the issue is only the internal ySD card slot.

I also found a topic at arch Linux regarding the new Rev 1.5 of the Raspberry - Maybe this can assist in finding, what should be changed on IPFire to be working again with the Rev 1.5 - Here is the arch Linux forum: Arch Linux ARM • View topic - Raspberry Pi 4 Model B 8 GB (2/3 Fail with SD Card error)

If you’d like me to try something out, please, i will do my best to assist in getting IPFire back to work on the Rev 1.5.

Thank you and all the best
wiesel

Hello wiesel - Welcome to the IPFire Community!

Please post the output of this command.

Hardware: BCM2835
Revision: a03115
Serial: …
Model: Raspberry Pi 4 Model B Rev 1.5

Anyone has an idea how to get the 1.5 Raspi booting again from ySD card?

It realy seems to be an issue with the eeprom and 1.5 Rasp in combination and all previous recommended steps did not help (and i tried many of them now.)

Thank you,
wiesel

I am guessing the answer is “unknown” at the moment. @arne_f is the Dev and probably does not have this Revision of the device. He’ll respond when he can…

The boot partition of the bootrom is different in 1.4v and 1.5v.

I just came to know through a YouTube video.
It leads to boot issues.

Idk if it is the same issue in your case, most of the default images must be for 1.4v.

Ok thanks.

Maybe i will try what they did in the Arch Topic “replacing “fdt_addr_r” with “fdt_addr”” - But i will have to see if this can be done easily with IPFire. If there is success i will share it, for sure.

1 Like

Finally i managed to get it working with booting from the ySD card.

So here the steps to get the Raspberry Rev 1.5 working:

  • Flash/dd aarch64 Core 166 Flash image to ySD Card
  • Don’t forget to set “SERIAL-CONSOLE=OFF” in uEnv.txt
  • Edit boot.cmd Lines 90 and 93 (the “booti” lines) from
 booti ${kernel_addr_r} ${ramdisk_addr} ${fdt_addr_r};

to

 booti ${kernel_addr_r} ${ramdisk_addr} ${fdt_addr};

and

booti ${kernel_addr_r} - ${fdt_addr_r};

to

booti ${kernel_addr_r} - ${fdt_addr};
  • To rebuild the boot image i did this on a debian/raspbian:
apt install u-boot-tools

Mount and change to the directory of the ySD card and run:

mkimage -A arm -T script -O linux -d boot.cmd boot.src
  • Insert ySD into Raspberry and boot it

After this, the first bootup, resizing of the partition with rebooot and IPFire first start with setup finished successfull

1 Like