Fedora IOT on Raspberry Pi 4 boot loop problem

I have a Rapsberry Pi4 B. I created an SD card with FedoraIOT 33 on it, with the following command:

sudo arm-image-installer --image=Fedora-IoT-33-20210315.0.aarch64.raw.xz --target=rpi4 --media=/dev/mmcblk0 --addkey --addconsole --resizefs

Then I put it in the Pi, and booted it. I noticed it was looping, and attached a serial port cable to see what was going on. This is what I was seeing:

U-Boot 2020.10 (Oct 28 2020 - 08:21:56 +0000)

DRAM:  7.9 GiB
RPI 4 Model B (0xd03114)
MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: probe failed, error -110
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
"Synchronous Abort" handler, esr 0x96000004
elr: 00000000000a2df0 lr : 00000000000a2e2c (reloc)
elr: 000000003df7bdf0 lr : 000000003df7be2c
x0 : ffffffffffffffe0 x1 : 0000000000000000
x2 : 000000003db54e50 x3 : 0000000000000015
x4 : b900001f58000540 x5 : 0000000000000015
x6 : 000000003dfd31a0 x7 : 000000003dfd31a0
x8 : 000000003dbea190 x9 : 0000000000000008
x10: 0000000000000001 x11: 0000000000000006
x12: 0000000000000a20 x13: 0000000000000001
x14: 000000003db48fb0 x15: 0000000000000021
x16: 000000003df851b0 x17: 122014037044b504
x18: 000000003db54d90 x19: 0000000000000000
x20: 0000000000000010 x21: 0000000000000006
x22: 0000000000000000 x23: 000000003db47368
x24: 000000003dfbb680 x25: 000000000000005c
x26: 000000003dbe6428 x27: 000000003dfbb000
x28: 0000000000000018 x29: 000000003db472e0

Code: eb02003f 54000061 d2800000 d65f03c0 (f9400401)
Resetting CPU ...

resetting ...

This keeps repeating ad infinitum…

What is the problem here?

1 Like

“bad CRC” suggests a corrupt file. Perhaps all the file systems were not unmounted when the SD card was removed or some data was otherwise not flushed properly? I would try running eject /dev/mmcblk0 before removing the SD card. I have no experience with this sort of equipment, however, so I don’t know if that is normally necessary.

You might try the fedora workstation image for arm. It works for me.