Commit Graph

1192 Commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
f5eaf79a20
scripts: drop LAKKA_DEVBUILD, LAKKA_NIGHTLY, add LAKKA_BUILD_TYPE 2024-05-27 13:47:56 +02:00
macmoritz
0a36daf088
add COUNTRY to wifi-config.txt 2024-05-15 21:49:44 +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)
4cc4c3f481
mkimage: use only grub for EFI boot 2024-04-16 16:14:16 +02:00
Tomáš Kelemen (vudiq)
8833effeff
update RetroArch and libretro cores
- update RetroArch to 1.18.0 (will need to be updated later)
- update cores to latest
- update assets, info, shaders, overlays, database
- leave kronos only for Generic.x86_64 and x11.x86_64
- putt back some RetroArch changes (shutdown/restart, path)
- get_git: use PKG_ var for skipping submodules
2024-04-16 11:57:36 +02:00
Tomáš Kelemen (vudiq)
afaeeacb8a
image: create storage partition with 4KiB blocks
by default mke2fs assumes block size by the size of the partition. when
the partition is being resized on an 2TiB disk, the resize fails.
forcing 4 KiB block will allow resize of the parittion on such large
drives.

closes #1963
2024-04-14 16:37:08 +02:00
Demetris Ierokipides
f285677776 Merge branch 'libreelec-11.0' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2024-03-20 01:05:52 +02:00
Matthias Reichl
8615165179 scripts/mkimage: create storage filesystem without orphan_file option
resize2fs creates a filesystem with unclean orphan file when resizing
to more than 32GB if the orphan_file option is enabled, resulting in
an unmountable storage partition after initial resize.

Explicitly disable the option until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-02-02 14:11:49 +02:00
Matthias Reichl
ad6023adec scripts/image: Fix RPi4 and RPi5 noobs build
When making the boodloader files optional I forgot to remove the code
that unconditionally copies the bootloader files which broke noobs
build for RPi4 and RPi5. Drop the code, the files are already copied
by the for loop above.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-02 15:21:30 +01:00
Demetris Ierokipides
4099f48153 Merge Rpi5 SOC support to Lakka
Signed-off-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
2023-11-25 02:07:06 +02:00
Matthias Reichl
fe21297a01 RPi: make bootloader files optional
RPi4 only needs start.elf/fixup.dat, RPi5 doesn't need any of them

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-10-08 11:57:04 +02:00
Matthias Reichl
32e2a91628 scripts/image: support EXTRA_CMDLINE in noobs image creation
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-08-20 15:46:10 +02:00
David Lawson
bb5db7a195
Fix build for Generic v5 (#1867)
* libva-utils: fix sha256

* linux: delete obsolete patches

* ppsspp: set USE_SYSTEM_FFMPEG=OFF by default

* show_config: update to match upstream

* Fix build Generic build error

```
.../Lakka-LibreELEC/build.Lakka-Generic.x86_64-5.0-devel/toolchain/share/grub/bootx64.efi: No such file or directory
```

* Move STORAGE_SIZE default to match upstream
2023-07-19 19:02:36 +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
Demetris Ierokipides
fe887f9aa0 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2023-04-10 14:08:07 +03:00
Matthias Reichl
f5f9a9e1cc scripts/build: properly honor strip build flag
Package building honor's the strip flag so we can prevent executables
from being stripped.

But copying files to INSTALL ignored that flag which meant the flag
had practically no effect.

Fix this by using the same logic as we do in the meson strip handling in
line 170 and in config/functions.

Also add the missing quotes in scripts/build to align it with config/functions

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-03-30 17:19:48 +02:00
Matthias Reichl
4c7b120ddf scripts/build: properly honor strip build flag
Package building honor's the strip flag so we can prevent executables
from being stripped.

But copying files to INSTALL ignored that flag which meant the flag
had practically no effect.

Fix this by using the same logic as we do in the meson strip handling in
line 170 and in config/functions.

Also add the missing quotes in scripts/build to align it with config/functions

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-03-30 17:13:58 +02:00
Demetris Ierokipides
f8b643342b Merge Upstream LE 2023-03-18 19:46:40 +02:00
Christian Hewitt
258e4b9b3d
scripts: add bananapi-cm4io to uboot_helper 2023-03-09 15:49:09 +00:00
CvH
c8af503bb8
Merge pull request #7459 from heitbaum/7-zip-build
toolchain: migrate from p7zip to 7-zip
2023-03-05 21:34:51 +01:00
Demetris Ierokipides
585d9de1f9 Add lakka support for Orange-Pi Zero2
Allwinner H616 Soc
- Quad-Core Cortex-A53 ARM CPU, and a Mali-G31 MP2 GPU
2023-03-03 19:27:55 +02:00
Christian Hewitt
49950be03a
scripts: add BananaPi M2S to uboot_helper 2023-02-26 13:07:02 +00:00
Christian Hewitt
e753bdf537
scripts: add BananaPi M2-Pro to uboot_helper 2023-02-26 13:06:55 +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
Alex Bee
a16a1a3cf8 scripts/image: add --remove-destination when copying filesystem
This is required to override symlinks which might exist there already.
2023-02-11 09:22:33 +01:00
Tomáš Kelemen (vudiq)
1ad6e3c3a0
Merge branch 'LibreELEC.tv/master' 2023-02-11 02:25:33 +01:00
Tomáš Kelemen (vudiq)
cec8e52d20
Capcom Home Arcade: set CMA to 128MB
avoid crashes due to being unable to allocate memory, e.g.:
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
2023-02-11 00:28:31 +01:00
Jernej Skrabec
826c062bc0 uboot_helper: update orangepi-3-lts configuration 2023-02-08 18:03:12 +01:00
Tomáš Kelemen (vudiq)
b18aca5e51
Lakka/systemd: replace unit names before enabling services 2023-02-06 00:58:18 +01:00
Rudi Heitbaum
c2a52dc4ac toolchain: migrate from p7zip to 7-zip
The -l option to 7za is not included the 7-Zip 22.01 version,
it was an option added to the p7zip version:

  don't store symlinks; store the files/directories they point to
  (CAUTION : the scanning stage can never end because of recursive
  symlinks like 'ln -s .. ldir')

The default for p7zip 16.02 7za was to store symlinks.
The default for 7-zip 22.01 7za is not to store symlinks.

test output is below and the -l option has been dropped from scripts/install_addon

$ ls -l test
total 4
-rw-r--r-- 1 docker docker 4 Jan 29 10:35 abc
lrwxrwxrwx 1 docker docker 3 Jan 29 10:35 def -> abc

7-Zip (a) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
 64-bit locale=en_US.UTF-8 Threads:16
$ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
Archive:  test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:36 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/def
--------          -------  ---                            -------
       8                8   0%                            3 files

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
$ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:35 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       3  Stored        3   0% 2023-01-29 10:35 352441c2  test/def
--------          -------  ---                            -------
       7                7   0%                            3 files

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
$ 7za a -l -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
Archive:  test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:35 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/def
--------          -------  ---                            -------
       8                8   0%                            3 files
2023-02-04 03:03:19 +00:00
Tomáš Kelemen (vudiq)
fc278bc834
Merge branch 'LibreELEC.tv/master' into Lakka 2023-02-03 23:28:27 +01:00
Tomáš Kelemen (vudiq)
34ff603e1d
Lakka: add debug mode to boot menu (PC+dev/nightly only) 2023-02-03 23:19:02 +01:00
Tomáš Kelemen (vudiq)
3504404a4c
fix x11 support for RetroArch 2023-02-03 23:16:48 +01:00
Matthias Reichl
e63855bc0f scripts/mkimage: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Matthias Reichl
156a3f2614 scripts/image: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
GavinDarkglider
1c3e314011
Lakka-v4.x:Switch: More fixes/workarounds (#1807)
* Switch: Initial kernel cleanup

* Switch: Mariko: Attempt to fix gadget attach to UDC issue

* Switch: Cleanup initramfs and copy XUSB firmware for mariko to initramfs

* Retroarch: Add Switch lite Controller Workaround to pre-start script

* Switch: bootloader: Fix R2P syntax issue with new driver

* L4T: Fix get_l4t-kernel-sources script sha256 checks
This is far from the finished version, but it should fix kernel nightly issues

* L4T: Switch: update config/script packages versions for nightly

* L4T:Switch:Bootloader: Small cleanups, and add hekate icon for LibreELEC
2023-01-22 00:18:58 +01:00
Demetris Ierokipides
8da8037b92
Add rock pi 4c plus support 2023-01-21 18:59:22 +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
David Lawson
cef3425619
orangepi-4-lts: fix build and add ethernet support (#1764) 2023-01-21 18:42:39 +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
David Lawson
5b319c1ffc
Update orangepi-4-lts build (#1717)
* orangepi-4-lts: rename orangepi-lts -> orangepi-4-lts

* orangepi-4-lts: split makefile and dts patches, update dts patch from armbian and remove sections that don't build

Specifically:

```
&i2s0 {
	assigned-clocks = <&cru SCLK_I2SOUT_SRC>;
	assigned-clock-parents = <&cru SCLK_I2S0_8CH>;
	resets = <&cru SRST_I2S0_8CH>, <&cru SRST_H_I2S0_8CH>;
	reset-names = "reset-m", "reset-h";
	rockchip,playback-channels = <2>;
	rockchip,capture-channels = <2>;
	status = "okay";
	#sound-dai-cells = <0>;
};
```

and

```
&hdmi_in_vopl {
	status = "disable";
};
```

result in a syntax error for some reason I don't understand, which likely means no sound for now
2023-01-21 15:06:49 +01:00
Demetris Ierokipides
adf40077e3
Add orangepi-4-lts support to lakka
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-4-LTS.html

Signed-off-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
2023-01-21 15:05:43 +01:00
Tomáš Kelemen (vudiq)
33e9e1eaaa
Merge branch 'LibreELEC.tv/master' into Lakka-LE-master 2023-01-18 11:15:04 +01:00
Jernej Skrabec
1bd87f7360 uboot_helper: Add OrangePi 3 LTS target 2023-01-02 16:01:01 +01:00
SupervisedThinking
b76b39d823 scripts/build: update TRACE_BUILD_TIMING 2022-12-06 16:31:24 +01:00
Matthias Reichl
8022ec23bf scripts/build: use wrapper scripts when building with local-cc flag
Several packages and buildsystems (most notably cmake) badly trip
over CC="ccache gcc" so create local wrapper scripts in the build
dir and set CC/CXX to them to work around that - like we do for
host-gcc and gcc in toolchain.

Signed-off-by: Matthias Reichl <hias@horus.com>

fixup scripts/build local-cc wrapper
2022-12-02 01:11:39 +01:00
SupervisedThinking
0ffe017fa9 scripts/build: fix meson 0.64.0 deprecation warning 2022-11-16 09:32:46 +01:00
Ian Leonard
bd360ccefa scripts/checkdeps: fedora bdftopcf package name change
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-05 03:18:38 +00:00
CvH
86c55c87b7
Merge pull request #6885 from knaerzche/rk-upstream-uboot
Rockchip: switch to mainline u-boot
2022-10-03 11:03:34 +02:00