32280 Commits

Author SHA1 Message Date
MilhouseVH
be75d3b872 RPi: update to firmware a16470a 2019-09-30 22:49:39 +02:00
sky42
c35ea1ac6c kodi: backport PR16643 always allow black screen saver
https://github.com/xbmc/xbmc/pull/16643
2019-09-27 17:52:06 +02:00
CvH
c1bb7b94ab
Merge pull request #3872 from HiassofT/le92-rpi-gpio
[le92] update RPi.GPIO to 0.7.0
2019-09-27 11:32:57 +02:00
Matthias Reichl
eff2608820 rpi-tools: bump PKG_REV because of RPi.GPIO update
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-26 11:50:00 +02:00
Matthias Reichl
4a6cf78f5d RPi.GPIO: update to 0.7.0
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-26 11:32:09 +02:00
mglae
cb59513294 init: fsck: wait for devices and unhide messages 2019-09-25 18:19:08 +02:00
MilhouseVH
236ea95fd8
Merge pull request #3833 from HiassofT/le92-systemd-debug-console
[le92] systemd: enable switch debug-tty to provide a debug console
2019-09-24 20:52:12 +01:00
MilhouseVH
2684517ad1
Merge pull request #3837 from HiassofT/le92-persistent-logging
[le92] busybox: cleanup persistent log setup when debugging is enabled
2019-09-24 20:51:55 +01:00
MilhouseVH
f979e6ab62
Merge pull request #3848 from sky42src/le92-early-squashfs
[le92] busybox: init: mount squashfs early
2019-09-24 20:51:40 +01:00
MilhouseVH
f75ec82571 RPi btuart: Sync with upstream 0.1.11 2019-09-24 20:23:37 +01:00
MilhouseVH
4e1fc8b029 linux: rebuild linux if busybox (ie. scripts/init) changes 2019-09-24 20:23:06 +01:00
MilhouseVH
ecc3500395 config/options: log PWD when the current directory includes a space 2019-09-24 20:23:06 +01:00
MilhouseVH
dae7e1c534 u-boot-tools: fix missing dependencies 2019-09-24 20:23:05 +01:00
MilhouseVH
d25b4aef4a bcmstat: update to bcmstat-0.5.3 2019-09-24 20:22:17 +01:00
Matthias Reichl
b18d021586 rpi-eeprom: allow overriding BOOTFS from environment
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-24 20:21:46 +01:00
MilhouseVH
766cfd33a2 init: add fix for RPi4 serial numbers 2019-09-24 20:21:46 +01:00
CvH
a33f204304
Merge pull request #3844 from MilhouseVH/le92_nvidia-430.50
xf86-video-nvidia: update to xf86-video-nvidia-430.50 [backport]
2019-09-24 21:10:59 +02:00
CvH
a873b63d46
Merge pull request #3850 from MilhouseVH/le92_kodi_pastekodi
kodi: add pastekodi script [backport]
2019-09-24 21:10:43 +02:00
Matthias Reichl
b0d2a1f51d linux (RPi): update to 4.19.75-6d8bf28
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-24 21:02:46 +02:00
MilhouseVH
8f3a881f12 RPi: update to firmware f5c626c 2019-09-24 20:53:30 +02:00
Matthias Reichl
68bf4bdd00 linux (RPi): update to 4.19.73-db69008
adds "drm/v3d: clean caches at the end of render jobs on
request from user space" commit.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-20 20:22:49 +02:00
MilhouseVH
dbf8f36048 RPi: update to firmware c3f9eee 2019-09-20 20:11:16 +02:00
Matthias Reichl
259a5b7f73 systemd: use upstream method to enable and configure debug shell
With systemd-debug-generator installed we can use the standard
"systemd.debug_shell" kernel command line parameter to enable the debug
shell. Since systemd 243 the tty can also be changed by appending
"=ttyXYZ" to that parameter.

Use this method instead of enabling the debug shell on all systems
by default.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-19 09:09:27 +02:00
MilhouseVH
e1d6e92907 systemd: fix issues after #3326
/etc/98-busybox.conf configures the prompt and TERM.

PR #3326 stopped sourcing /etc/profile, which meant the
prompt no longer includes the HOSTNAME.

Additionally, #3326 removed code which unhides the cursor.
2019-09-19 09:09:27 +02:00
Lukas Rusak
010bd5fd9d systemd: enable switch debug-tty to provide a debug console
This allows us to use the default debug-shell.service provided
by systemd and cut down on custom made services. This will also
always provide a debug shell as there is no reason we shouldn't
have access to one.
2019-09-19 09:09:27 +02:00
Matthias Reichl
707b974d76 busybox: add workaround for systemd issue 867
journald on systemd versions up to 242 don't close the persistent
journal files on shutdown which leads to a harmless but annoying
Failed unmounting message during shutdown
https://github.com/systemd/systemd/issues/867

Set LazyUnmount=yes on the persistent log mount unit as a temporary
workaround until systemd is updated to 243 or newer.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-19 09:08:20 +02:00
Matthias Reichl
78080a6a46 busybox: cleanup persistent log setup when debugging is enabled
The ancient approach of symlinking /var/log to /storage/log doesn't
play nice with systemd as it doesn't setup proper dependencies and
unmounting /storage during shutdown may fail because systemd doesn't
know that it's needed for /var/log.

Use a conditional bind mount instead so systemd can automatically
create proper dependencies and unmount filesystems in the correct order.

Also store the persistent logfiles on /storage in a .cache/log
directory instead of log to avoid confusing users - users can access
logfiles via /var/log.

Note: we can't use tmpfiles.d to create the .cache/log directory on
/storage because that would run after local-fs.target but we need
the .log directory before that so it has to be done via a one-shot
service.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-19 09:08:20 +02:00
sky42
01931c4940 busybox: init: changed upgrade to update in notes/messages 2019-09-18 23:04:50 +02:00
sky42
4ba4ba6df2 busybox: init: less mount/umount for update process 2019-09-18 23:04:43 +02:00
sky42
f44f964127 busybox: init: mount squashfs early
to have a full set of binaries in the init process as early as possible
it now mounts the squashfs direct after mounting /flash.
there is also a hook /flash/post-sysroot.sh for custom scripting.
i will use this e.g. for lvm2 and cryptsetup in the init process,
because they are very big and i dont like them in initramfs.
2019-09-18 23:00:14 +02:00
MilhouseVH
f504f8cdcf LibreELEC-settings: update to LibreELEC-settings-d9765c9 2019-09-18 21:47:01 +01:00
MilhouseVH
a06ddbdce1 kodi: add pastekodi script 2019-09-18 21:47:01 +01:00
Matthias Reichl
28ecf8f4ac
Merge pull request #3803 from MilhouseVH/le92_rpi4_firmware
RPi4: add tools for updating SPI bootloader [backport]
2019-09-18 22:42:34 +02:00
MilhouseVH
ebceed98a9
Merge pull request #3845 from CvH/9.2/kodi-heif
imagedecoder.heif addon
2019-09-18 19:51:00 +01:00
CvH
c74a96b92d imagedecoder.heif: add package 2019-09-18 18:56:06 +02:00
CvH
bd07ce9ac5 libheif: initial package 2019-09-18 18:56:06 +02:00
CvH
a559932c08 libde265: initial package 2019-09-18 18:56:06 +02:00
MilhouseVH
97c2967826
Merge pull request #3805 from HiassofT/le92-systemd-fix-fs-corruption
[le92] fix filesystem corruption on reboot/shutdown
2019-09-18 17:18:44 +01:00
MilhouseVH
a6459fe37e
Merge pull request #3838 from HiassofT/le92-init-toram
[le92] init: make copying SYSTEM to RAM opt-in
2019-09-18 17:16:33 +01:00
MilhouseVH
12495fad3f
Merge pull request #3836 from HiassofT/le92-kodi-shutdown
[le92] kodi: give kodi enough time to properly shut down
2019-09-18 17:16:01 +01:00
MilhouseVH
17827c1c71 xf86-video-nvidia: update to xf86-video-nvidia-430.50 2019-09-18 16:37:20 +01:00
5schatten
226cc4234c
Merge pull request #3824 from MilhouseVH/le92_mesa-19.1.6
mesa: update to mesa-19.1.6 [backport]
2019-09-18 17:32:57 +02:00
MilhouseVH
e807b9ca54 rpi-eeprom: update to rpi-eeprom-1923a55 2019-09-18 11:05:14 +01:00
MilhouseVH
e5236c3910 RPi: update to firmware f8e0510 2019-09-17 23:19:04 +02:00
MilhouseVH
138374b949 RPi: update to firmware 7f607df 2019-09-17 19:19:34 +02:00
Matthias Reichl
1c091618e8 linux (RPi): update to 4.19.73-2b1731f
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-17 14:15:03 +02:00
Matthias Reichl
5f778a505a init: make copying SYSTEM to RAM opt-in
Copying SYSTEM to RAM eats up precious memory that'd be better used
for kernel filesystem cache and other things and can takes quite some
time on slower storage devices like SD cards.

Instead of having two options to define a minimum RAM size (below
which SYSTEM won't be copied) and the "noram" option (which disables
copying completely) reverse the logic and use a single "toram" option
which users can set on kernel command line if they want SYSTEM copied
to RAM.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 21:35:22 +02:00
Matthias Reichl
7cfe729d29 kodi: give kodi enough time to properly shut down
The current stop timeout of 5 seconds is way too low and
leads to systemd frequently killing kodi while it's still
shutting down. This is really bad since it can potentially
lead to corrupted files or databases and should be avoided
at all costs.

eg plain kodi 18.4 setup with only pvr.hts installed takes
about 6 seconds to stop on RPi4.

Increase the stop timeout to 30 seconds to allow proper shutdown
on slower systems.

While that is still a lot lower than the 90 seconds
systemd default it should both be enough for very slow systems
and also for us and users to notice kodi issues - in which case
those issues have to be investigated.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 14:34:32 +02:00
MilhouseVH
1c3da1e645 RPi: update to firmware a2778bf 2019-09-16 12:25:04 +02:00
CvH
536a2d0014
Merge pull request #3809 from HiassofT/le92-hyperion
[le92] hyperion: Update to version 2019-08-19
2019-09-15 18:58:53 +02:00