RPI4 crash

  • There's missing ground connection between RPi and top DC-DC converter on the diagram...

    I suppose it's done through the common ground wire from a single 12V PSU but if not, it could behave very strange.

  • It's also important if the wires (including connectors) used are capable enough to transfer power spikes, especially the lowest ground wire on the schema. If this is really the only ground wire, I would avoid using the USB-C power connector and power the RPi from the pins on the large connector instead.

    Nevertheless, I think omitting the ground connection between top DC-DC module and RPi is not a good design.

  • Why do I want to use LE 9.2

    Kodi18 and not use LE 10 Kodi10.0:

    - several PI3s on the network at home

    - iptv simple client - works much faster, with multicast and HLS

    - addons flexget and transmission

  • The obvious error in your log is:

    Code
    апр 11 19:28:42 server kernel: [drm:vc4_bo_create] *ERROR* Failed to allocate from CMA

    and the related:

    Code
    апр 11 19:28:36 LibreELEC kernel: cma: Failed to reserve 256 MiB
    апр 11 19:28:36 LibreELEC kernel: Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1360x768M@60 smsc95xx.macaddr=E4:5F:01:81:78:7D vc_mem.mem_base=0xec00000 vc_mem.mem_size=0x10000000  boot=UUID=0607-1118 disk=UUID=dcad1c13-ae95-4d08-935d-befe971ffab6 quiet root=/dev/ram0 rdinit=/init usbcore.autosuspend=-1

    Now, kodi 18 was awkward on Pi4, as gpu_mem is used for 3d textures, and cma is used for hevc decode,
    and it's a bit of a juggling act to get both memory pools to be happy. In your case it's not happy.

    Kodi 19 uses kms, and 3d textures move from gpu_mem top cma, which makes like much better.
    Leave gpu_mem as a default, then you can give a decent chunk (e.g. 512M) to cma and everything is happy.

    You can continue juggling with gpu_mem and cma settings on kodi 18, and you may get a satisfactory balance.

    But moving to Kodi 19 is likely to just avoid this issue completely.

  • cmdline.txt

    Code
    boot=UUID=0607-1118 disk=UUID=dcad1c13-ae95-4d08-935d-befe971ffab6 quiet 

    config.txt

  • As you swapped the firmware for a much newer version my bet would be this is causing the issue - LE 9.2.8 is using an ancient 4.19 kernel and should be running the firmware that came with it.

    Just install official 10.0.4 or LE11 nightly versions.

    so long,

    Hias