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

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.scr
  • 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