User Tools

Site Tools


linux:distros:arm:libreelec

This is an old revision of the document!


Information

  • LibreELEC 1)
  • Raspberry Pi
  • AArch64
  • Plaguewing = Raspberry Pi 4 Model B Rev 1.1 (notes)
uname -a
Linux Plaguewing 6.12.56 #1 SMP Sat Nov  1 08:49:19 UTC 2025 aarch64 GNU/Linux

Download

  • Last tested: LibreELEC-RPi4.aarch64-12.2.1.img.gz

Installation Notes

Partitioning

  • 1GB SD Card
Filesystem           Type            Size      Used Available Use% Mounted on
devtmpfs             devtmpfs      662.1M      4.0K    662.1M   0% /dev
tmpfs                tmpfs         369.3M     14.4M    354.9M   4% /run
/dev/mmcblk0p1       vfat          511.7M    162.8M    349.0M  32% /flash
/dev/loop0           squashfs      145.0M    145.0M         0 100% /
/dev/mmcblk0p2       ext4          391.6M     17.5M    370.1M   5% /storage
tmpfs                tmpfs         923.2M         0    923.2M   0% /dev/shm
tmpfs                tmpfs         923.2M      4.0K    923.2M   0% /var
tmpfs                tmpfs         923.2M         0    923.2M   0% /tmp

Initial Set-up

  • Continue from ssh
  • Log-in as root

passwd

  • :!: Change root user password
passwd

TODO

mount -o 'remount,rw' '/flash'
nano '/flash/config.txt'
#dtparam=audio=off
dtparam=i2c_arm=off
dtparam=spi=off
#dtparam=hdmi=off
dtparam=eee=off
dtparam=uart0=off
dtparam=sd_poll_once

dtoverlay=disable-bt
dtoverlay=disable-wifi

enable_tvout=0
disable_splash=1
disable_fw_kms_setup=1

over_voltage=8
arm_boost=1
force_turbo=1
initial_turbo=300
arm_freq=1900
core_freq=600
core_freq_fixed=1
dtparam=sd_overclock=100

force_eeprom_read=0
disable_poe_fan=1

# End

Software

Update

Firmware

Boot Loader

YaST

sudo yast2 'bootloader'

Boot Code Options

  • Boot Loader: GRUB2 for EFI
  • [ ] Secure Boot Support
  • [x] Update NVRAM Entry
  • Protective MBR flag: do not change

Kernel Parameters

  • CPU Mitigations: Off
  • [ ] Graphical console
  • [ ] Serial console

Kraityn

security='' hibernate='no' nohz='off' preempt='lazy' init_on_alloc='0' init_on_free='0' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' hostname='Kraityn' pci='pcie_bus_perf,notph' nomodeset rootflags='data=writeback'

config.txt

Drive Maintenance

Trim

fstrim -v -a

External

  • SD in another computer

EFI

sudo fsck.fat -a -t -w -v '/dev/mmcblk0p1'

ext4

sudo e2fsck -D -E 'discard' -f -v -y '/dev/mmcblk0p3'

Tweaks

General

echo "export LD_BIND_NOW='1'" | sudo tee '/etc/profile.d/99-general-tweaks.sh' > '/dev/null'

journald

mkdir -p '/etc/systemd/journald.conf.d' && nano '/etc/systemd/journald.conf.d/99-tweaks.conf' && journalctl --vacuum-time='1s' --rotate
[Journal]
Storage=none
Compress=false
MaxLevelStore=0
MaxLevelSyslog=0
MaxLevelKMsg=0
MaxLevelConsole=0
MaxLevelWall=0

# End
journalctl --vacuum-time='1s' --rotate

fstab

nano '/etc/fstab'

swap

,discard=once

ext4

,noatime,discard,nobarrier,data=writeback

EFI

,discard
/srv/www/wiki/data/attic/linux/distros/arm/libreelec.1794622957.txt.gz · Last modified: by Sean Rhone