Posts by chewitt

    LE boots from two files: KERNEL (the kernel) and SYSTEM (userspace) .. the latter is expanded on boot to create a virtual (read-only) fileystem. If you look at the SD card directly you'll only see the two files (and some other RPi boot stuff). You can unsquash or mount the SYSTEM file, but it will be easiest to just boot the RPi5 normally and do things from inside LE, e.g. from a booted device you can do "cp -R /usr/share/kodi/addons/skin.estuary /storage/.kodi/addons/skin.custom" to clone skin files, then edit on /storage. Once you have cloned/renamed/selected the custom skin you can use kodi-send --action="ReloadSkin()" to live-test changes.

    You only get to that file with root privileges. If you need top-level security, you have to learn a lot.

    Unless you access /storage/.kodi/userdata through the default enabled \\LIBREELEC\Config samba share with known user/pass credential (libreelec/libreelec). You can change the Samba credential in the GUI. You can disable the Samba server in the GUI. You can disable SSH passwords (or SSH entirely) in the GUI. So the defaults are (intentionally) a little open, but if that concerns you it's simple to lock things down. That will likely inconvenience you though. Catch22.

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    The latest https://chewitt.libreelec.tv/testing/LibreE…h64-12.80.0.tar contains another attempt at getting HiFi-Shield devices working. There's one dtb for the original/plus versions, and one for the v2 card. The dtb files are obviously named and can be seen in /usr/share/bootloader/amlogic .. You need to "mount -o remount,rw /flash" first and copy the dtb to the card, then edit the /flash/extlinux/extlinux.conf file to use the different dtb name. I believe the S/PDIF output should work. I'm not sure if the RCA/Phono outputs will work. Let me know.

    RPi5 will automatically boot when power is applied (cannot be changed to do otherwise) so the remaining challenges (in rough order of priority) will be:

    a) Ensuring uses don't shut-down the device. This is easily done with a skin hack to Home.xml, although LE makes that a little more complicated vs. a conventional distro as the default skin files are inside the read-only SYSTEM file. You need to clone the Estuary skin files to /storage/.kodi/add-ons/skin.custom and rename the skin add-on.xml (to avoid name-clash with the embedded one) before editing Home.xml to hide the button.

    b) Ensuring the configuration remains consistent. This can be done with an /storage/autostart.sh script which runs early in the boot process to remove the existing /storage/.kodi and replace with a known-good copy: e.g. setup the device, stop Kodi, then clone files from /storage/.kodi to /storage/.kodi-good and then restore /storage/.kodi-good to /storage/.kodi in the script.

    c) Ensuring the device always boots to a working LE install. This is mostly about avoiding SD card corruption from uninstended power off events (more about power-cord pulls than unwanted GUI shutdowns). Booting from USB or an NVME drive (needs an NVME HAT) are generally considered to be more reliable than SD.

    I'd probably do A only unless I really saw issues that needed B or C.

    RPi5 is designed to power-on when power is applied. The RP1 chip might evolve programmable power-button behaviour over time (there were pre-launch rumours in that direction) but I haven't see it mentioned anywhere since. On RPi4 boards I've seen small circuits combined with the gpio-poweroff overlay to detect a switch state (on/off) and if left in the off position the board boots when power is applied (as that can't be stopped) but gpio-poweroff triggers shutdown almost immediately once firmware loads and applies the overlay.

    but sometimes low-tech solutions are best: https://www.amazon.com/Raspberry-Supp…d/dp/B097P2NLVH