Posts by HiassofT

    The reserved space is so that on normal linux installations, where the harddrive is used as a system disk, there's always some space purely reserved for system usage (logs, temporary files, other stuff the system needs to operate).

    On non-system partitions/drives it's generally fine to set that to zero.

    And on LE it's even more of a cosmetic issue as (almost) everything runs as root (with system privileges) anyways.

    so long,

    Hias

    GORBULAN your log indeed shows the TV is constantly connecting and disconnecting. I'd recommend checking your cabling, a bad cable or connection (it could also be one of the HDMI connectors) can cause such issues.

    You could try to work around it by installing a permanent EDID and video setting (in this case the TV's hotplug signal will be ignored) by running "getedid create" - but that'll be a bit tricky as you'd need to catch the right moment when the TV signals connected so it will probably take a few tries until that script completes successfully without errors.

    so long,

    Hias

    hpmueller1971 I haven't seen this on LE 10.0.2.

    Please test with LE10.0.2 and after the issue occurred ssh in and check if the RPi had throttled - insufficient power supply could cause such issues.

    Run "vcgencmd get_throttled", it should show 0x0.

    If it's 0x0 you could try applying a small over voltage, add over_voltage=2 to config.txt and see if that helps.

    so long,

    Hias

    Be very, very careful if you are not familiar with it - if you do something wrong you could easily format the wrong drive, wiping all the data. So make sure you only connect this one drive and not others.

    First run "mount" to find the device node - it'll typically be /dev/sda1 or /dev/sdb1.

    Then unmount the partition with "umount /dev/sda1" - use the device node you found out above in this and the following commands.

    To make sure this worked, run "mount" again, the partition should no longer be listed.

    If the partition was already formatted as ext4 you can simply run tune2fs to change the reserved block count - eg "tune2fs -m 0 /dev/sda1".

    If you want to format it as ext4 run "mkfs.ext4 -m 0 -L MyVolumeLabel /dev/sda1" - Change MyVolumeLabel to the label you'd like to give the partition, it'll then show up with this name in the partition list in kodi.

    Now reboot LE and the freshly formatted drive should show up in kodi.

    BTW: if you run tune2fs with the "-l" (lower case "L") option it'll show details, including the label and reserved block count of the given partition. eg "tune2fs -l /dev/sda1". This won't alter the partition and it's safe to run it even if the partition is mounted.

    so long,

    Hias

    I have this hat
    https://www.msldigital.com/collections/al…=30268836610182
    which is a power switch for the raspberry pi.

    Ah, this is important information. I highly suspect your poweroff/reboot issues are related to that hat - haven't seen anything similar on plain RPi4 installations (reboot, poweroff and then powercycling and gpio-shutdown overlay with a button all work fine).

    so long,

    Hias

    Something went wrong, you should not have HDMI-A-2 in cmdline.txt unless you actually plugged something into the second HDMI port.

    Remove all hdmi entries in config.txt (also the pixel encoding, it doesn't have any effect), ssh in and run "getedid delete", then reboot.

    After that run "getedid create" again, it should report successful install of HDMI-A-1 edid and cmdline.txt should have drm.edid_firmware and video settings for HDMI-A-1 (but not HDMI-A-2):

    Code
    LibreELEC:~ # getedid create
    successfully installed edid override for HDMI-A-1
    LibreELEC:~ # cat /flash/cmdline.txt
    boot=UUID=2907-5719 disk=UUID=cf0bbd10-802c-41cf-bb8b-3bbe78425239 console=serial0,115200 earlycon=pl011,mmio32,0xfe201000 systemd.debug_shell drm.edid_firmware=HDMI-A-1:edid/edid-HDMI-A-1.bin video=HDMI-A-1:D

    If LE doesn't come up after reboot or power off that's most likely a different issue, not related to video. You should at least have network (ping / ssh).

    The logfile shows you installed an autostart.sh, what are you running from there? Might be worth removing that for testing - trying with a clean LE10.0.2 install on a separate SD card might also be worth a try.

    so long,

    Hias

    Hmm, I would have expected that the WM8804's reset line is wired to a GPIO and controlled by the driver to avoid such issues - but that doesn't seem to be the case (the hifiberry digi and digi pro overlays don't contain wlf,reset-gpio DT properties).

    It's best you contact the manufacturer of your sound card, he should know how to deal with the issue.

    so long,

    Hias

    I believe this should be reworked as well otherwise it's easy to fell into deadlock (when an USB boot is the only possible way for some reason). And in this case both bootloader upgrade and any bootloader configuration changes are blocked.

    LE already cleans up bootloader update files in /flash during bootup if bootloader (self-)update didn't pick them up and/or remove them. This also won't deadlock, bootloader self-update had such a potential issue before timestamps were introduced, but this has been resolved long ago.

    so long,

    Hias