Commit graph

361 commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
1350cd4992
busybox/fsresize: drop duplicate (u)mounts 2024-05-31 15:47:38 +02:00
Tomáš Kelemen (vudiq)
08d672b54b
busybox/Ayn/Odin: use proper kernel arg to not hide kernel messages in console 2024-05-21 18:02:06 +02:00
Tomáš Kelemen (vudiq)
c07c6e2493
Lakka support for firstboot.sh script (backport)
This script takes values from files stored in the FAT32 partition to set
up Wi-Fi and override/add settings to default retroarch.cfg.

inspired by the solution from @macmoritz
2024-05-15 21:49:24 +02:00
Tomáš Kelemen (vudiq)
273ce0a009
busybox/resizefs: align text for reboot 2024-04-17 22:59:57 +02:00
Tomáš Kelemen (vudiq)
46bb6fa5c5
busybox/resizefs: make fs online during resize2fs
see [1] - online resize is recommended
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1796788/comments/2

fixes #1963
2024-04-17 22:55:00 +02:00
Demetris Ierokipides
acc73f9447 Merge branch 'libreelec-11.0' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2023-12-14 21:39:49 +02:00
CvH
a0db5fc45e pastebinit: use LE paste service 2023-12-12 20:06:20 +01:00
Christian Hewitt
d2021437fe
Merge pull request #7729 from mglae/le11_gptfdisk_fs-resize
gptfdisk: update to 1.09.2 / fs_resize: improvements
2023-10-30 17:58:23 +04:00
mglae
474a934ccc fs-resize: log to /flash
Add simple logging to ease debugging of future errors
2023-07-07 00:07:38 +03:00
mglae
8ce253e709 fs-resize: print error if disk or partition was not deteced 2023-07-07 00:07:38 +03:00
mglae
9cd0448cd9 fs-resize: add nvme support 2023-07-07 00:07:38 +03:00
Demetris Ierokipides
cff38254a6 Merge branch 'libreelec-11.0' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2023-06-25 20:47:07 +03:00
GavinDarkglider
47c07c60ba
[WIP]Lakka 5.x Switch changes..... (#1853)
* Latest 4.3 changes poorly merged

* Build fixes

* Squash?

* Fix ppsspp on switch

* Fix video recording, add base stuff for nvv4l2 decoder/encoder, but leave disabled for now

* Clean up left over files

* Switch: Dont build xpadneo driver, but install configs

* FFMpeg: Add back L4T decoder Patches
2023-06-10 03:16:27 +03:00
mglae
115b829af2 busybox: createlog: don't include journal files of persistent logging 2023-04-23 19:37:57 +02:00
mglae
33ae9c1101 fs-resize: log to /flash
Add simple logging to ease debugging of future errors
2023-03-30 18:47:07 +02:00
mglae
2f27d3ac97 fs-resize: print error if disk or partition was not deteced 2023-03-30 18:47:03 +02:00
mglae
c6a6dc3f0e fs-resize: add nvme support 2023-03-30 18:46:58 +02:00
Demetris Ierokipides
f8b643342b Merge Upstream LE 2023-03-18 19:46:40 +02:00
Ian Leonard
787b30b24b busybox: createlog: no githash stored in /etc/issue
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-03-18 06:31:06 +00:00
Ian Leonard
462b767ce4 busybox: createlog: cleanup
Only create a logfile for the previous boot if persistent journal
is being used.

Also applies some changes for shellcheck warnings:

`...` to $(...)
Verifying variable is set ${var:?} before rm'ing
Useless use of cat
Command grouping when the commands redirect to the same file
Use of == in [...]
[ test1 -a test2 ] to [ test1 ] && [ test2 ]

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-03-18 06:30:34 +00:00
Christian Hewitt
8cc6cb9db8
busybox: add t95z-plus to vfd-clock 2023-02-26 13:06:34 +00:00
Tomáš Kelemen (vudiq)
59f13acd9a
Merge branch 'LibreELEC/master'
update to 10.95.1 - LE11 Beta2
2023-02-12 20:37:05 +01:00
Christian Hewitt
29e9c4c936
systemd: add tx9-pro to vfd-clock script 2023-02-12 11:22:11 +00:00
David Lawson
5851327861
WIP: Odin build fixes (#1745)
* libglvnd: add back exception for L4T and Ayn

* xorg-launch-helper: special case for odin

* Odin: fix retroarch assets path

* busybox: add odin-workaround to init script

* xorg-server: add rotation patch

* xorg-server: don't move libglx.so for odin

* xorg-server: remove dangling if from xorg-configure
2023-01-21 17:44:45 +01:00
GavinDarkglider
4f8d2a57e9
WIP - Add Support for Ayn Odin (#1713)
* Initial fully buildable/bootable Odin Support

* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin

* Move shared packages from switch/odin to main packages folder
2023-01-21 16:11:38 +01:00
Tomáš Kelemen (vudiq)
33e9e1eaaa
Merge branch 'LibreELEC.tv/master' into Lakka-LE-master 2023-01-18 11:15:04 +01:00
Christian Hewitt
e8391a769d busybox: add vfd-clock script/service 2022-10-01 06:40:19 +00:00
GavinDarkglider
57ab31843d
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-03-03 21:51:20 +01:00
GavinDarkglider
800557a248
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
2022-03-03 21:48:22 +01:00
Tomáš Kelemen (vudiq)
6bd3406f20
Merge branch 'libreelec-master' 2021-11-27 12:32:40 +01:00
Christian Hewitt
9ca8e10854 busybox: find extlinux on alternative /flash layouts 2021-11-26 12:00:19 +00:00
GavinDarkglider
c03d8024fb
Add support for Nintendo Switch (#1536) 2021-10-27 13:36:27 +02:00
Tomáš Kelemen (vudiq)
3982e1b98b Pull updates from LibreELEC/master 2021-10-26 22:27:07 +02:00
Ian Leonard
9d03223e80 busybox: init: use buildsystem's SYSTEM_SIZE for update warning
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 22:03:09 +00:00
Tomáš Kelemen (vudiq)
607dcb16b9 Merge remote-tracking branch 'libreelec/master' 2021-10-07 11:40:15 +02:00
Tomáš Kelemen (vudiq)
82508e7a83 busybox: add createlog for Lakka
port of
7c034fe482
2021-09-29 21:52:56 +02:00
CvH
b30f709a56
Merge pull request #5266 from antonlacon/oe-init
init: stop checking for OPENELEC_ARCH
2021-08-11 13:23:45 +02:00
mglae
8ba9ad0273 busybox: kernel-overlays-setup: log depmod to /dev/kmsg 2021-05-24 19:56:27 +02:00
Ian Leonard
dba57ca636 init: stop checking for OPENELEC_ARCH
This stops LE's update checker from accepting OE images as system
updates. The checker may be disabled if someone wants to do this.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-03-23 18:54:44 +00: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
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