Runtime on Raspberry pi5 stops after 15 seconds

adaffern
2024-06-10
2024-08-10
  • adaffern - 2024-06-10

    Hi Guys,

    I'm new to CODESYS on the pi and I'm struggling to get it working.

    My issue is that the runtime keeps stopping after approximately 15 seconds.

    I have installed the runtime package 4.11.0.0 on the pi, trying on both a 64 bit and 32 bit OS. Looking at old forums it all references the 4B and the fact they used 32 bit Debian bullseye (the last version of raspberry pi os) however the pi 5 doesn't offer this version when I try select it in the imager.

    Has anyone managed to get running using the pi 5?

    Any help would be greatly appreciated.

    Thanks,
    Adam

     
  • eschwellinger

    eschwellinger - 2024-06-10

    Think this is bootloader related:
    Workaround:
    Use previous bootloader version
    cp /lib/firmware/raspberrypi/bootloader-2712/stable/pieeprom-2024-01-15.bin ./pieeprom.bin
    rpi-eeprom-config pieeprom.bin > bootconf.txt
    rpi-eeprom-config --out pieeprom-new.bin --config bootconf.txt pieeprom.bin
    sudo rpi-eeprom-update -d -f ./pieeprom-new.bin
    sudo reboot

     
  • danwoodlock - 2024-06-16

    Can confirm this fixed my rpi5 problem!

     
  • shubadubalu - 2024-08-10

    After a second restart the old Bootloader will be activated.
    To avoid use: sudo systemctl mask rpi-eeprom-update

     

Log in to post a comment.