Commit graph

1002 commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
589208887e
Lakka: make some folders "world" writable
so we don't have to use superuser when accessing the ext4 partition on
the thumbdrive / SD card in a computer
2022-03-28 22:14:45 +02:00
Tomáš Kelemen (vudiq)
e6a5bb587e
busybox/init: add quotes to NX_BOOT 2022-03-02 20:53:25 +01:00
GavinDarkglider
bf38e1520f
Latest Lakka Switch Patches (#1600)
* Update kernel Config/patches for CEC support

* Add base CEC support to dock-hotplug, and make so support can be disabled via uenv.txt

* Add working libcec package for L4T, and enable CEC support in packages.

* Fix pulseaudio-alsa routing

This fixes using other audio backends(Alsathread, Alsa, TinyAlsa) in retroarch via dock or bluetooth.

* Downgrade GCC in L4T builds

This fixes issues revolving around undefined symbol: __aarch64_ldadd4_acq_rel issue with gcc 10

* Fix updater for switch builds
Only tested working with tar archives.

* Edit retroarch default settings for the switch.

* Fix pulseaudio changing sink volume issues.
2022-02-21 10:10:20 +01:00
GavinDarkglider
82e5d624f6
More Nintendo Switch fixes (#1548)
* Downgrade glibc to 2.27 for L4T Builds.
* Downgrade binutils to 2.32 for L4T Builds.
* Update L4T Project Options
* Refactor tegra-bsp package
* Import/Rebase CTC's ffmpeg patches, and switch decoder to nvv4l2 from nvmpi. Fixes decoder issues
* Enable all disabled cores
* Remove hack in busybox package to dump firmware into L4T Builds, we now handle this in tegra-bsp package.
* More L4T project cleanups
* Bring switch-bootloader package.mk inline with upstream formatting
* Fix reboot_payload
* Add proper tegra-bsp:init support
* Bootloader cleanups, seperate bootloader stuff for libreelec builds
* Update init for supporting all distros on Nintendo Switch
* Add proper splash images for libreelec builds.
* Final bootloader fixes
* switch-bootloader-merge-fixes
* Fix uboot merge issues
* fix bmp
* It all builds
* add Basic USB Gadget(Serial console only)
* Properly fix mtp, and finish gadget stuff
2021-11-24 00:06:43 +01:00
GavinDarkglider
4d58d3cf00
Add support for Nintendo Switch (#1536) 2021-10-27 09:47:55 +02:00
Tomáš Kelemen (vudiq)
580391f3b5 Initial support for Generic.i386 (32-bit PC) 2021-10-05 10:27:28 +02:00
Tomáš Kelemen (vudiq)
82508e7a83 busybox: add createlog for Lakka
port of
7c034fe482
2021-09-29 21:52:56 +02:00
mglae
cd1ecef50d systemd/busybox: allow configuration of persistent logs and journal via settings addon 2021-08-07 23:03:09 +02:00
mglae
8ba9ad0273 busybox: kernel-overlays-setup: log depmod to /dev/kmsg 2021-05-24 19:56:27 +02:00
Matthias Reichl
76fd023bb0 busybox: add getedid script for RPi
The getedid script supports the "create" and "delete" options like
the x86 version.

It makes use of the "dump-active-edids", "create-edid-cpio" and
"update-bootloader-edid" scripts and can be used as is on other
DRM platforms as well as it doesn't contain any RPi specific code.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 19:18:09 +01:00
Matthias Reichl
f962a4b2b6 busybox: add script to modify edid override with RPi bootloader
The script supports two operations:

"set" enables initramfs cpio in config.txt and adds edid and video
override kernel options for the specified connectors to cmdline.txt

"delete" removes edid.cpio initramfs loading in config.txt and
removes all edid override and video options from cmdline.txt

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
a02a2e8b51 busybox: add script to dump edids of active DRM connectors
The script dumps all edids of currently active connectors to
.config/firmware/edid as edid-CONNECTORNAME.bin

When run with the "-q" option informative messages are disabled
and only the active connectors are returned so the output can
be easily used by other scripts.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
0039f93de6 busybox: add create-edid-cpio script
This script simply creates /flash/edid.cpio with the contents from
.config/firmware/edid

Compared to the x86 specific getedid script this works on all platforms
as it doesn't contain any platform specific code. Eventually getedid
should be refactored make use of this helper script, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
32b3089c1b
Merge pull request #5265 from lrusak/busybox-fix
busybox: fix createlog udev rule wildcard
2021-03-21 21:03:55 +01:00
Lukas Rusak
e23d57194a
busybox: fix createlog udev rule wildcard 2021-03-21 12:55:34 -07:00
Ian Leonard
d852a3b6e7 system: use generic filenames for reset trigger
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-03-10 02:25:01 +00:00
heitbaum
cf8ba7c8cb busybox: unzip: enable CDF to handle unix permissions 2021-02-18 12:16:10 +00:00
Matthias Reichl
a62294272a busybox: create /storage/.cache/kernel-overlays via tmpfiles.d
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
Matthias Reichl
8f1344f6fd Move kernel overlays setup to init
When running kernel-overlays-setup as a systemd service we have
a short window where /lib/firmware isn't available.

This causes drm edid override to occasionally fail if the edid file
is requested between switching to sysroot and completion of the
kernel-overlays-setup script.

Setting up firmware and module overlays in init, before switching
to sysroot, closes the gap and also has the benefit that we no longer
need to care about the rather tedious systemd unit ordering.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
Matthias Reichl
cf763e204f init: create /run tmpfs in init
The filesystem options are set to match what systemd is using when
it would create the /run tmpfs, see src/core/mount-setup.c in
systemd source code.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
Christian Hewitt
e5cb1ade46 dthelper: only flag memsize for pi and 512mb boards 2021-01-25 08:46:38 +00:00
Ian Leonard
b31ce30170 sysutils: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:16 +00:00
Christian Hewitt
b9272a4e90
Merge pull request #4773 from CvH/10.0/unzip_cleanup
drop unzip and minizip package
2021-01-16 16:47:35 +04:00
Christian Hewitt
f55929632e busybox: drop VIM3 workaround from ledfix 2021-01-13 11:29:08 +00:00
heitbaum
5a68b66691 busybox: update to 1.32.1
update 1.32.0 (26 June 2020) to 1.32.1-stable (1 January 2021)
changelog: https://www.busybox.net
2021-01-09 13:00:28 +00:00
mglae
b03dd0a9e1 st: st terminal emulator initial package
- add package including official scrollback patch
- add patch to fix color allocation and (missing) locale
- add st-256color to ncurses and busybox profile
2020-12-25 16:15:09 +01:00
CvH
54a2f66da6 busybox: switch to busybox unzip 2020-12-19 11:13:25 +01:00
Christian Hewitt
ea100f54a0 busybox: add fsl to dthelper compatibles 2020-12-09 02:54:13 +00:00
CvH
8b77e86ea5
Merge pull request #4662 from chewitt/dthelper
busybox: rework device-tree helper scripts
2020-12-01 18:15:02 +01:00
heitbaum
0c0f29df35 busybox: updated to 1.32.0 2020-11-26 06:14:38 +00:00
Christian Hewitt
05174a6f99 busybox: rework device-tree helper scripts 2020-11-19 05:20:56 +00:00
Michael Klein
3b614b31bf packages: busybox: enable rfkill applet 2020-11-13 19:05:33 +01: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
Ian Leonard
1aa1ac31b1 busybox: remove webserver
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-26 19:50:15 +00:00
MilhouseVH
7e4411735b busybox: update to busybox-9aa751b 2020-04-15 07:36:05 +01:00
MilhouseVH
e1904c6bd4 busybox: enable tac 2020-04-15 07:17:21 +01:00
chewitt
929506c895 busybox: fix search order in dtfile 2020-03-02 08:02:06 +00:00
MilhouseVH
d1775f8fe0 TEMP: busybox: update to busybox-9e2a566 with glibc-2.31 compatability 2020-02-05 23:29:07 +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