Commit graph

361 commits

Author SHA1 Message Date
Christian Hewitt
f55929632e busybox: drop VIM3 workaround from ledfix 2021-01-13 11:29:08 +00:00
Christian Hewitt
ea100f54a0 busybox: add fsl to dthelper compatibles 2020-12-09 02:54:13 +00:00
Christian Hewitt
05174a6f99 busybox: rework device-tree helper scripts 2020-11-19 05:20:56 +00:00
CvH
ebdbda6024
Merge pull request #4463 from antonlacon/le10-backup-restore
system: accept compressed configuration backups
2020-10-10 07:47:42 +02:00
David Vukovic
e081c6ecd2 [getedid] remove kernel check 2020-10-07 00:37:48 +02:00
Ian Leonard
f569f7a06a system: accept compressed configuration backups
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-10-01 23:22:35 +00:00
Matthias Reichl
2da7a9f351 init: drop INIT_UNIT logic
This is now handled by the libreelec-target-generator systemd
generator.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-25 23:58:02 +02:00
Matthias Reichl
d233b7660d busybox: add systemd generator to override default.target
libreelec-target-generator replaces the logic previously used
in the initramfs init script and dynamically redirects default.target
if needed.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-25 23:58:02 +02:00
Jernej Škrabec
3ff609fd34
Merge pull request #4468 from chewitt/samsung
add experimental Samsung/Exynos/Odroid-XU4 project
2020-07-06 17:30:44 +02:00
chewitt
25e7ecaa43 busybox: add ledfix script/service 2020-07-06 06:49:47 +00:00
chewitt
025f14a851 samsung: add samsung compatible to dtname/dtfile/dtsoc 2020-07-01 09:54:47 +00:00
Ian Leonard
50771db2ae Revert "busybox: init: remove usleep"
usleep is used by init's functions to create quarter and half second
progress reports. Not worth diving into for what was a 1.2kb savings.

This reverts commit 9e055544be.
2020-06-29 05:04:08 +00:00
Ian Leonard
9e055544be busybox: init: remove usleep
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-26 21:53:04 +00:00
Ian Leonard
a72e31a1a2 system: make configuration restore less selective on backup file names
Restoring system settings expects a filename of 14 characters followed
by .tar ($DATESTAMP.tar from the backup file the addon creates).

Change to glob onto whatever *.tar file gets put into /storage/.restore/
at the busybox init and system restore level. The addon still creates
and expects the $DATESTAMP.tar file, so users will need to use this
feature by ssh or other method.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-26 21:53:04 +00:00
chewitt
929506c895 busybox: fix search order in dtfile 2020-03-02 08:02:06 +00:00
Christian Hewitt
26f52b6621
Merge pull request #4145 from MilhouseVH/le10_init_fix_race
init: remove file before overwriting
2020-01-31 10:45:28 +03:00
DaVukovic
bec551e67b [busybox] getedid fixes 2020-01-26 09:41:31 +01:00
MilhouseVH
db46d22cec init: remove file before overwriting 2020-01-25 06:53:32 +00:00
Matthias Reichl
9b10ad20d5 init: drop support for loading modules in initramfs
Support for modules in initramfs was removed more than half a year
ago but I forgot to remove the now useless load_modules function in
init.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-10 15:08:15 +01:00
Christian Hewitt
ec1a30b21d
Merge pull request #4026 from mglae/le10_fsck_kmsg
init: fsck: fix kmsg log writes
2019-12-09 07:39:34 +08:00
MilhouseVH
c96889de82
Merge pull request #3990 from HiassofT/le10-init-hard-nfs-mount
init: don't mount nfs shares with soft option by default
2019-11-29 21:42:24 +00:00
mglae
414a958fab init: fsck: fix kmsg log writes 2019-11-28 00:10:21 +01:00
Matthias Reichl
fa8acf0782 init: don't mount nfs shares with soft option by default
Using the soft timeout option for NFS mounts is a really bad idea
and the nfs(5) manpage explicitly warns about it's issues:

    NB: A so-called "soft" timeout  can  cause  silent  data
    corruption  in  certain cases. As such, use the soft op‐
    tion only when client responsiveness is  more  important
    than  data  integrity.  Using NFS over TCP or increasing
    the value of the retrans option may mitigate some of the
    risks of using the soft option.

So don't enable it by default, anyone who feels keen to take the
risk can specify it manually on kernel command line.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 15:37:41 +01:00
Matthias Reichl
432b6a8d9e busybox: create marker file if kernel ip configuration is used
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:51:54 +01:00
MilhouseVH
ecbd566302
Merge pull request #3896 from antonlacon/le10-systemd-cpufreq
init: move cpufreq tuning to systemd service
2019-11-15 17:50:36 +00:00
MilhouseVH
03d07ab28f Update with vl805 support 2019-10-29 11:51:27 +00:00
Ian Leonard
f27caaddc1 systemd: use a cpufreq service to configure cpu governor
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-10-28 15:55:22 +00:00
MilhouseVH
399fe7ee80 init: conditionally unmount /update after a failed update 2019-10-18 16:42:41 +01:00
MilhouseVH
39f0f8023c
Merge pull request #3856 from mglae/le10_fsck
init: fsck: wait for devices and unhide messages
2019-09-24 20:49:33 +01:00
MilhouseVH
bf9d3db27b
Merge pull request #3825 from sky42src/le10-early-squashfs
busybox: init: mount squashfs early
2019-09-24 20:37:25 +01:00
MilhouseVH
993ac53944 init: add fix for RPi4 serial numbers 2019-09-23 17:17:52 +01:00
mglae
27672027c7 init: fsck: wait for devices and unhide messages 2019-09-19 23:46:25 +02:00
sky42
a76b173d7d busybox: init: changed upgrade to update in notes/messages 2019-09-18 20:46:55 +02:00
sky42
a62877a484 busybox: init: less mount/umount for update process 2019-09-18 20:37:51 +02:00
sky42
824ed7c281 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 20:37:50 +02:00
MilhouseVH
64ecfa4e15
Merge pull request #3820 from HiassofT/le10-init-toram
init: make copying SYSTEM to RAM opt-in
2019-09-18 19:11:36 +01:00
CvH
1e1e695073
Merge pull request #3703 from chewitt/amlogic-master
update Amlogic to 5.3.x and various other cleanups
2019-09-13 13:16:45 +02:00
Matthias Reichl
ed840db477 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-13 10:28:56 +02:00
chewitt
da9d8fcb8b busybox: fix dtfile helper script 2019-09-10 16:53:08 +00:00
MilhouseVH
5d01dc4f1d init: cleanup flash; execute real script not wrapper 2019-09-08 18:30:23 +01:00
MilhouseVH
05184d1d23 init: add rpi-flash-firmware service 2019-09-06 19:30:13 +01:00
MilhouseVH
ee2128d78e
Merge pull request #3764 from HiassofT/le10-console-font
[le10] use a larger console font on HiDPI displays
2019-08-23 15:20:11 +01:00
Matthias Reichl
1cb0af881c init: make resolution limit for using big console font configurable
The vertical resulution limit can be set with the "bigfont" option.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-08-23 12:55:15 +02:00
Matthias Reichl
5f9248eb59 init: use terminus 16x32 font on >1080 lines displays
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-08-23 12:55:15 +02:00
DaVukovic
2c0288b0c2
Merge pull request #3064 from pizzaboy75/patch-2
getedid: added the active HDMI/DP port to new kernel parameters
2019-08-18 22:07:45 +02:00
MilhouseVH
b0e0aa64e9 init: clean up splash image selection 2019-07-02 16:34:29 +01:00
MilhouseVH
ff3887ee11 init: more informative syslinux boot message 2019-06-18 03:16:04 +01:00
MilhouseVH
4cc4efe73d busybox: fix XBMC reference 2019-06-15 02:55:58 +01:00
chewitt
ecd87898a5 busybox: add dtsoc helper script 2019-06-08 00:39:06 +02:00
Matthias Reichl
7f52096b6d busybox: drop uvesafb module handling in init
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-05-24 16:22:48 +02:00