Commit graph

200 commits

Author SHA1 Message Date
Tomáš Kelemen
198dd04be7
RPi-Composite: initial commit (#2037)
this brings images suited to work OOB for RPi3/4/5 with CRT TV sets. it
comes with preconfigured shaders, core options, readable font, ...
see https://www.lakka.tv/articles/2024/05/02/rpi-composite/

- add new RPiX-Composite devices under RPi project
- RPi3/4-Composite use own kernel config
- RPi5-Composite uses kernel config of RPi5
- remove linux.arm.conf broken symlinks from some devices
- move VULKAN enable to device options
- add splash screens for 480/576 height
- glibc: match kernel version for RPi3/4 (using 5.10.y with "fake" 240p
  patch)
- adjust DEVICE conditions to only match first 4 characters / first 4
  characters + wildcard (various places)
- add specific assets, configs, shaders in retroarch package
- retroarch: adjust default configuration
- linux: add 5.10.y kernel (used by RPi3/4-Composite, see above)
- linux: add patches for 5.10.y kernel
- mkimage: add additional information into cmdline.txt and
  retroarch-overrides.txt
- firstboot.sh: add output (logged in fs-resize.log)
- firstboot.sh: prepend processed overrides with hash
- firstboot.sh: copy core configurations to storage partition
- firstboot.sh: rework wifi autoconfig script
- retroarch: add full default config file and apply changes in the
  package file directly to the config for individual systems (solves
  some issues with core/game overrides when there is no value in the
  config and user creates overrides in first run of retroarch, then
  these overrides are also stored in default config)
2025-03-07 01:09:47 +01:00
Tomáš Kelemen (vudiq)
532c20c29f
Merge branch 'le-master' into devel 2025-01-29 19:47:50 +01:00
Matthias Reichl
341b95e280 ffmpeg: switch Amlogic to jc's test/7.1/main branch
Signed-off-by: Matthias Reichl <hias@horus.com>
2024-12-22 12:21:51 +01:00
Matthias Reichl
28432de690 ffmpeg: update to 7.1
Drop crystalhd, dct, fft, mdct, and rdft options which were removed from
configure.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-12-22 12:21:51 +01:00
CvH
2237555141 cleanup packages: various 2024-08-01 11:53:51 +02:00
Tomáš Kelemen (vudiq)
6733ca79f2
Merge branch 'le-master' into devel 2024-06-17 17:43:37 +02:00
mglae
4fc2c0a7d5 ffmpeg: allow dash demuxer by adding libxml2 2024-06-15 18:34:26 +02:00
GavinDarkglider
600e246a94
L4T/Ayn: upstream changes from 5.x
Lakka 5.x Switch changes (#1853)
Lakka v5.x switchroot 5.1.2 (#1871)
Fix Switch Issue's in upstream 5.x (#1888)
Minor Switch Changes (#1893)
Lakka v5.x switch 3 (#1895)
Lakka v5.x switch 4 (#1898)
L4T: Xorg-server: Fix build issue (#1924)
Switch: remove ra patch
Lakka v5.x switch 6 (#1926)
Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930)
Switch: U-Boot: bump version to 2024-NX02 (#1946)

L4T/Ayn post-upstreaming fixes
- retroarch_joypad_autoconfig: remove spaces from file names
- retroarch: remove Switch specific patch merged upstream
- libXv: move to L4T packages folder (package removed in upstream)
- bring some packages from v5.x to L4T packages
- ffmpeg: remove vulkan
- remove stella core from Switch build (missing C++ headers)
- Ayn/Odin: use proper kernel arg to not hide kernel messages in console
- connman: add wpa_supplicant support back
2024-05-21 15:41:36 +02:00
Tomáš Kelemen (vudiq)
7f2aca2cbf
ffmpeg: remove duplicate DEPENDS for Lakka 2024-04-23 13:00:04 +02:00
Tomáš Kelemen (vudiq)
196111852d
Merge branch 'LibreELEC/master' 2024-04-03 00:50:36 +02:00
Christian Hewitt
2cd0e4cc74
ffmpeg: bump Amlogic to dev/6.0/rpi_import_1 HEAD 2024-02-23 05:40:10 +00:00
Jonas Karlman
8f645009cf ffmpeg: add rawvideo, image2 and md5 muxers to FFMPEG_TESTING
This make it easier to run fluster tests
2023-11-22 20:30:14 +00:00
Matthias Reichl
4fada3363c ffmpeg: update to 6.0.1
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-11-11 12:21:53 +01:00
Matthias Reichl
2de4af5bd4 ffmpeg: enable request api also for RPi5
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-29 11:00:16 +02:00
Matthias Reichl
2c9e9d043c ffmpeg: update Amlogic to latest RPi 6.0 version
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-04-01 17:46:41 +02:00
Matthias Reichl
433633426d ffmpeg: update to 6.0
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-04-01 16:56:17 +02:00
Matthias Reichl
c57e7bc283 ffmpeg: drop kodi patch
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-16 10:01:55 +01:00
Alex Bee
52ab9a72ee tools: ffmpeg: gen-patches: add feature-set vf-deinterlace-v4l2m2m
It will be used by Allwinner and Rockchip projects
2023-02-16 10:00:22 +01:00
Matthias Reichl
3f5102deda ffmpeg: update to 5.1.2
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-16 10:00:22 +01:00
Tomáš Kelemen (vudiq)
ba878e2d6f
L4T/ffpmeg: fix options and remove patch
L4T options were applied twice
removed patch is duplicate of other patches
2023-01-23 09:15:04 +01:00
GavinDarkglider
8d3d047ff7
[WIP]Lakka-v5.x:Switch:New Bootloader and Mariko(2019 switch, Lite, OLED) Support (#1801)
* Switch: Switch to new Bootloader.

* Initial Mariko Support

* ffmpeg: Fix issues caused by last libreELEC upstream merge.
2023-01-21 18:55:20 +01:00
GavinDarkglider
c16def7032
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2023-01-21 18:40:08 +01:00
Tomáš Kelemen (vudiq)
33e9e1eaaa
Merge branch 'LibreELEC.tv/master' into Lakka-LE-master 2023-01-18 11:15:04 +01:00
SupervisedThinking
00871de048 ffmpeg: clean up & change license to GPL-3.0-only
- use SPDX license short identifier
2022-12-02 20:08:55 +01:00
Matthias Reichl
4cb6cf3b76 ffmpeg: update patch handling
Use upstream ffmpeg as a base version and apply kodi patches via a
patchset.

This doesn't change the ffmpeg source code we build from ATM but
allows us to easily drop kodi patches if they cause issues, update
to a newer point release or test with different ffmpeg versions
in the future.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-11-09 20:24:45 +01:00
Christian Hewitt
98d8f90d00 ffmpeg: bump Amlogic sources to latest 2022-10-26 06:26:35 +00:00
SupervisedThinking
611b07c484 various: link with gold if supported 2022-09-22 18:27:07 +02:00
SupervisedThinking
bc1ffb6aa8 ffmpeg: fix version output 2022-09-08 23:33:49 +02:00
Matthias Reichl
292142ebd2 ffmpeg: move dav1d support patch to separate patch dir
av1 patch is now included in kodi ffmpeg fork so we can drop it
from our local patches.

Only Amlogic still needs the patch as it doesn't use kodi ffmpeg
fork.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-06 10:52:29 +02:00
Matthias Reichl
f9a14ea581 ffmpeg: update to 4.4.1-Nexus-Alpha1
Sync with kodi, seems we forgot to bump it with kodi alpha1.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-06 10:52:13 +02:00
Matthias Reichl
347b78fd36 ffmpeg: switch to openssl
include upstream openssl3 patch from ffmpeg/master to fix
the incompatible license check

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-08-28 13:28:13 +02:00
Christian Hewitt
8f21573505 ffmpeg: bump Amlogic to latest JC changes for testing 2022-05-29 06:34:35 +00:00
Tomáš Kelemen (vudiq)
d901413d8a
Merge 'libreelec/master'
pull updates from upstream
2022-04-23 21:44:57 +02:00
GavinDarkglider
af6be3378a
Fix Switch build in new tree (#1687) 2022-04-23 21:36:57 +02:00
CvH
8c5d99054f multimedia: automated code cleanup
Signed-off-by: CvH <namerp@googlemail.com>
2022-04-15 11:27:11 +02:00
Tomáš Kelemen (vudiq)
d700c9b059
ffmpeg: fix typo 2022-04-08 00:07:23 +02:00
GavinDarkglider
8a48e6f2c5
Cleanup decoder/encoder stuff for L4T Builds, update some things, fix GLES building, but keep GL build. Other Minor cleanups. (#1623)
* Update L4T encoder/decoder to latest version which is 70% faster at 1080p

* Add vulkan support to ffmpeg

* Add vitaquake3 and boom3 cores for switch builds

These cores are considered broken, but starting, so maybe in the future they will be more reliable.

* Run dock-hotplug before starting retroarch.

This Will properly force DPI if booted on dock, and audio switching. It also has the added bonus of force fixing audio issues where speakers randomly dont work on boot."

* Update Kernel Repos

* update libglvnd

* update xf86-video-nouveau

* Build mesa properly in L4T LibreELEC builds.

* Update L4T build config for retroarch to fix building with support for EGL/openGLES.
While L4T supports EGL/OpenGLES, and the issue building for it is fixed,
we arent switching now though because moonlight core doesnt support it.

* Exclude moonlight core in Lakka builds that use openGLES over openGL, as openGLES is not supported

* Use openGLES in LibreELEC builds, as that is what upstream is targeting
2022-04-07 23:04:13 +02:00
Tomáš Kelemen (vudiq)
ee6140e55c
Merge 'libreelec/master' 2022-03-04 00:02:04 +01:00
GavinDarkglider
a7d10cb59b
[WIP] Fix Decoder issues with seeking in video stream, and moonlight streams, Add Proper support for HW Encoder to ffmpeg. (#1619)
* Update Decoder, fix all issues with seeking, and moonlight streams, Add Proper Encoder support.

* Remove libcec from l4t builds, as it doesnt work for us anyway
2022-03-03 22:05:10 +01:00
GavinDarkglider
f6f6a2a455
Fix recording/streaming in Lakka 4.x builds Few other minor fixes..... (#1617)
* Add Xvideo Extension Support

* Fix moonlight dependencies

* Fix retroarch recording/streaming.

* Fix melonds for tegra210 builds
2022-03-03 22:02:36 +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
CvH
2a04b633c2
Merge pull request #5164 from HiassofT/le10-ffmpeg-testing
ffmpeg: optionally allow minimal ffmpeg binary in image
2022-01-23 14:59:31 +01:00
Christian Hewitt
2cad66f5c3 ffmpeg: bump Amlogic to dev/4.4/rpi_import_1 HEAD 2022-01-10 07:04:26 +00:00
Matthias Reichl
1102ff7a75 ffmpeg: optionally allow minimal ffmpeg binary in image
When testing ffmpeg / hardware decoders it's very convenient
if one can do that with ffmpeg instead of only kodi. Using the
same ffmpeg patches and options as used by kodi also reduces the
risk of testing a different version than what's used by LE/kodi.

As the ffmpeg binary is way too minimal for normal use and only
intended for internal testing this feature is disabled by default
and has to be explicitly requested by building with FFMPEG_TESTING=yes

In addition to ffmpeg and ffprobe binaries this enables the null muxer
and wrapped_avframe encoder so one can test with "-f null".

On RPi it also enables vout_drm (which is only included in jc's
tree / RPi ffmpeg patches) so "-f vout_drm" can be used, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-01-08 12:23:32 +01:00
Christian Hewitt
23b837e379 ffmpeg: switch Amlogic to dev/4.4/rpi_import_1 again 2022-01-04 16:00:13 +00:00
Christian Hewitt
088294912c ffmpeg: bump to dev/4.4/chewitt_2 for testing 2021-12-17 10:03:16 +00:00
Tomáš Kelemen (vudiq)
6bd3406f20
Merge branch 'libreelec-master' 2021-11-27 12:32:40 +01:00
Christian Hewitt
6a690f2e30 ffmpeg: simplify different Amlogic and RPi sources and patch dirs 2021-11-26 12:00:19 +00:00
GavinDarkglider
3a8bf282c6
[WIP] More switch/l4t stuff (#1543)
* Update UCM, Add initial LibreELEC build changes, Add alsastate save/restore, remove old ffmpeg from switch builds
* Add mount to switch build for cheats
* Add support for nvmpi to new ffmpeg
* L4T/Switch: use Python3
* L4T: use upstream openssh package
* openssh: add Switch specific patch for keydir
* project/device options cleanup, typos, other fixes
* moonlight: move the core to lakka packages, build for other targets
* rearange a few patches
* L4T: use upstream xorg-server package
* L4T: use upstream libglvnd package
* L4T: use upstream mesa package
* L4T: use upstream util-linux package
* Remove xpadneo from L4T builds

Co-authored-by: Tomáš Kelemen (vudiq) <vudiq@vudiq.sk>
2021-11-20 12:19:31 +01:00
GavinDarkglider
c03d8024fb
Add support for Nintendo Switch (#1536) 2021-10-27 13:36:27 +02:00