From 6333abf90dc89da3e2fc80491ce1b44e7bf167a6 Mon Sep 17 00:00:00 2001 From: mason Date: Tue, 5 Dec 2023 22:20:38 +0000 Subject: [PATCH 01/22] PortMaster: Only updated permissions on files that dont have correct perm --- packages/apps/portmaster/scripts/start_portmaster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apps/portmaster/scripts/start_portmaster.sh b/packages/apps/portmaster/scripts/start_portmaster.sh index 279698452..69a4cbbf7 100644 --- a/packages/apps/portmaster/scripts/start_portmaster.sh +++ b/packages/apps/portmaster/scripts/start_portmaster.sh @@ -66,7 +66,7 @@ else fi #Make sure permissions are correct in the PortMaster folder -chmod 755 /storage/roms/ports/* -R +find /storage/roms/ports/ -not -perm 755 -exec chmod 755 {} \; #Start PortMaster @LIBEGL@ From 3ea856ed827168c718bb51d0cfff0fb6d6d9b438 Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 6 Dec 2023 00:13:33 +0000 Subject: [PATCH 02/22] Support .cue files for Dreamcast --- config/emulators/dreamcast.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/emulators/dreamcast.conf b/config/emulators/dreamcast.conf index 4223c0cb9..74b05d0c1 100644 --- a/config/emulators/dreamcast.conf +++ b/config/emulators/dreamcast.conf @@ -4,7 +4,7 @@ SYSTEM_MANUFACTURER="Sega" SYSTEM_RELEASE="1998" SYSTEM_HARDWARE="console" SYSTEM_PATH="/storage/roms/dreamcast" -SYSTEM_EXTENSION=".cdi .gdi .chd .m3u" +SYSTEM_EXTENSION=".cdi .gdi .chd .m3u .cue" SYSTEM_COMMAND="/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers=\"%CONTROLLERSCONFIG%\"" SYSTEM_PLATFORM="dreamcast" SYSTEM_THEME="dreamcast" From a0a099965d23b13adcac0de300751fb09a9c4724 Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 6 Dec 2023 14:58:10 +0000 Subject: [PATCH 03/22] Update a few SA cores --- .../AMD64/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- packages/emulators/standalone/citra-sa/package.mk | 2 +- packages/emulators/standalone/flycast-sa/package.mk | 2 +- packages/emulators/standalone/yuzu-sa/package.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md index 24a8fbac7..2a7780011 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md @@ -89,7 +89,7 @@ This document describes all available systems emulators and cores available for |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| |Sammy|Atomiswave (atomiswave)|2003|`atomiswave`|.lst .bin .dat .zip .7z|**retroarch:** flycast (default)
**flycast:** flycast-sa
| -|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u|**retroarch:** flycast2021
**retroarch:** flycast (default)
**flycast:** flycast-sa
| +|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u .cue|**retroarch:** flycast2021
**retroarch:** flycast (default)
**flycast:** flycast-sa
| |Sega|Game Gear (gamegear)|1990|`gamegear`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Game Gear (Hacks) (ggh)|1990|`gamegearh`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Genesis (genesis)|1989|`genesis`|.bin .gen .md .sg .smd .zip .7z|**retroarch:** genesis_plus_gx (default)
**retroarch:** genesis_plus_gx_wide
**retroarch:** picodrive
**mednafen:** md
| diff --git a/packages/emulators/standalone/citra-sa/package.mk b/packages/emulators/standalone/citra-sa/package.mk index 2f0eaf25c..a39c8b05f 100644 --- a/packages/emulators/standalone/citra-sa/package.mk +++ b/packages/emulators/standalone/citra-sa/package.mk @@ -17,7 +17,7 @@ case ${DEVICE} in ;; *) PKG_URL="${PKG_SITE}.git" - PKG_VERSION="875f5eaad5d3e1a6303cdb9d767dd5d4ac86d988" + PKG_VERSION="59df319f48a8a67db717233e5b222a0b86f1eae4" ;; esac diff --git a/packages/emulators/standalone/flycast-sa/package.mk b/packages/emulators/standalone/flycast-sa/package.mk index 6bb762ca8..879e71349 100644 --- a/packages/emulators/standalone/flycast-sa/package.mk +++ b/packages/emulators/standalone/flycast-sa/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="flycast-sa" -PKG_VERSION="ea83b08f89d75e45b11a8c7f5d8607c6a7270e86" +PKG_VERSION="5fde889d7ca30cc0059eaf64816878df2cb9f898" PKG_LICENSE="GPLv2" PKG_SITE="https://github.com/flyinghead/flycast" PKG_URL="${PKG_SITE}.git" diff --git a/packages/emulators/standalone/yuzu-sa/package.mk b/packages/emulators/standalone/yuzu-sa/package.mk index 9653d1d8a..41dff5591 100644 --- a/packages/emulators/standalone/yuzu-sa/package.mk +++ b/packages/emulators/standalone/yuzu-sa/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="yuzu-sa" -PKG_VERSION="5fb1a83e4cbb43f5bb2e07d003e544dca580e0de" +PKG_VERSION="8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a" PKG_ARCH="x86_64" PKG_LICENSE="GPLv3" PKG_SITE="https://github.com/yuzu-emu/yuzu" From 950c4bc83c125568c5999f00536b5fab1a23146c Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 6 Dec 2023 15:12:42 +0000 Subject: [PATCH 04/22] Update PortMaster --- packages/apps/portmaster/package.mk | 2 +- packages/apps/portmaster/scripts/portmaster_compatibility.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/apps/portmaster/package.mk b/packages/apps/portmaster/package.mk index 357c520ef..45d19fb12 100644 --- a/packages/apps/portmaster/package.mk +++ b/packages/apps/portmaster/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="portmaster" -PKG_VERSION="8.5.2_0811" +PKG_VERSION="8.5.13_1130" PKG_SITE="https://github.com/PortsMaster/PortMaster-GUI" PKG_URL="${PKG_SITE}/releases/download/${PKG_VERSION}/PortMaster.zip" COMPAT_URL="https://github.com/brooksytech/JelosAddOns/raw/main/compat.zip" diff --git a/packages/apps/portmaster/scripts/portmaster_compatibility.sh b/packages/apps/portmaster/scripts/portmaster_compatibility.sh index 4329b0a28..6444ade68 100644 --- a/packages/apps/portmaster/scripts/portmaster_compatibility.sh +++ b/packages/apps/portmaster/scripts/portmaster_compatibility.sh @@ -6,7 +6,7 @@ . /etc/profile if [[ "${UI_SERVICE}" =~ weston.service ]]; then -case ${QUIRK_DEVICE} in +case "${QUIRK_DEVICE}" in "Hardkernel ODROID-GO-Ultra"|"Powkiddy RGB10 MAX 3"|"Hardkernel ODROID-N2*") #Fixing ports on S922X, exclude FNA games for port in /storage/roms/ports/*.sh; do From c74f32c11446aaa63be49aeb9a7e025c10207a89 Mon Sep 17 00:00:00 2001 From: mason Date: Fri, 8 Dec 2023 14:21:26 +0000 Subject: [PATCH 05/22] RK3326 - Tune available clocks and increase ram freq --- .../patches/RK3326/000-rk3326-devices.patch | 134 ++++++++++-------- 1 file changed, 75 insertions(+), 59 deletions(-) diff --git a/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch b/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch index 15e52e160..e8a002243 100644 --- a/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch +++ b/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch @@ -1,6 +1,6 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/Makefile linux/arch/arm64/boot/dts/rockchip/Makefile ---- linux.orig/arch/arm64/boot/dts/rockchip/Makefile 2023-10-27 21:46:01.208549984 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/arch/arm64/boot/dts/rockchip/Makefile 2023-12-04 19:26:30.034642584 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -7,7 +7,11 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-ev dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-rock-pi-s.dtb @@ -14,9 +14,9 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/Makefile linux/arch/arm64/boo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-nanopi-r2s.dtb diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/boot/dts/rockchip/px30.dtsi ---- linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-10-27 21:46:01.208549984 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-10-28 04:02:49.341614140 +0000 -@@ -114,12 +114,6 @@ +--- linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-12-04 19:26:30.034642584 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-12-04 20:09:47.777097235 +0000 +@@ -114,27 +114,11 @@ compatible = "operating-points-v2"; opp-shared; @@ -26,10 +26,25 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo - clock-latency-ns = <40000>; - opp-suspend; - }; - opp-816000000 { - opp-hz = /bits/ 64 <816000000>; - opp-microvolt = <1050000 1050000 1350000>; -@@ -210,12 +204,6 @@ +- opp-816000000 { +- opp-hz = /bits/ 64 <816000000>; +- opp-microvolt = <1050000 1050000 1350000>; +- clock-latency-ns = <40000>; +- }; + opp-1008000000 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <1175000 1175000 1350000>; + clock-latency-ns = <40000>; + }; +- opp-1200000000 { +- opp-hz = /bits/ 64 <1200000000>; +- opp-microvolt = <1300000 1300000 1350000>; +- clock-latency-ns = <40000>; +- }; + opp-1296000000 { + opp-hz = /bits/ 64 <1296000000>; + opp-microvolt = <1350000 1350000 1350000>; +@@ -210,12 +194,6 @@ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; contribution = <4096>; }; @@ -42,7 +57,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo }; }; -@@ -223,6 +211,33 @@ +@@ -223,6 +201,33 @@ polling-delay-passive = <100>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ thermal-sensors = <&tsadc 1>; @@ -76,7 +91,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo }; }; -@@ -328,6 +343,32 @@ +@@ -328,6 +333,32 @@ }; }; @@ -100,8 +115,8 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo + + dmc_opp_table: dmc_opp_table { + compatible = "operating-points-v2"; -+ opp-786000000 { -+ opp-hz = /bits/ 64 <786000000>; ++ opp-924000000 { ++ opp-hz = /bits/ 64 <924000000>; + opp-microvolt = <1125000>; + }; + }; @@ -109,7 +124,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo pmugrf: syscon@ff010000 { compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd"; reg = <0x0 0xff010000 0x0 0x1000>; -@@ -453,7 +494,7 @@ +@@ -453,7 +484,7 @@ #address-cells = <1>; #size-cells = <0>; @@ -118,7 +133,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo reg = <0>; #address-cells = <1>; #size-cells = <0>; -@@ -468,6 +509,10 @@ +@@ -468,6 +499,10 @@ remote-endpoint = <&vopl_out_lvds>; }; }; @@ -129,7 +144,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo }; }; }; -@@ -1039,10 +1084,6 @@ +@@ -1039,20 +1074,12 @@ gpu_opp_table: opp-table-1 { compatible = "operating-points-v2"; @@ -137,10 +152,11 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo - opp-hz = /bits/ 64 <200000000>; - opp-microvolt = <950000>; - }; - opp-300000000 { - opp-hz = /bits/ 64 <300000000>; - opp-microvolt = <975000>; -@@ -1051,8 +1092,8 @@ +- opp-300000000 { +- opp-hz = /bits/ 64 <300000000>; +- opp-microvolt = <975000>; +- }; + opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <1050000>; }; @@ -151,7 +167,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo opp-microvolt = <1125000>; }; }; -@@ -1113,7 +1154,7 @@ +@@ -1113,7 +1140,7 @@ #address-cells = <1>; #size-cells = <0>; @@ -160,7 +176,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo reg = <0>; #address-cells = <1>; #size-cells = <0>; -@@ -1128,6 +1169,10 @@ +@@ -1128,6 +1155,10 @@ remote-endpoint = <&vopl_out_dsi>; }; }; @@ -173,7 +189,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,58 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -235,7 +251,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts li +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -296,7 +312,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts li +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,124 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -424,7 +440,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts li +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,566 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -994,7 +1010,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi linux/a +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,303 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -1300,8 +1316,8 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts lin + }; +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts ---- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-10-27 21:46:01.208549984 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-12-04 19:26:30.034642584 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-12-04 19:27:51.016354008 +0000 @@ -2,55 +2,185 @@ /* * Copyright (c) 2019 Hardkernel Co., Ltd @@ -2161,7 +2177,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts linux/a }; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,284 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -2448,8 +2464,8 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts linux/a + }; +}; diff -rupN linux.orig/drivers/devfreq/Kconfig linux/drivers/devfreq/Kconfig ---- linux.orig/drivers/devfreq/Kconfig 2023-10-27 21:46:01.712562721 +0000 -+++ linux/drivers/devfreq/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/devfreq/Kconfig 2023-12-04 19:26:31.526673911 +0000 ++++ linux/drivers/devfreq/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -142,6 +142,12 @@ config ARM_RK3399_DMC_DEVFREQ It sets the frequency for the memory controller and reads the usage counts from hardware. @@ -2464,8 +2480,8 @@ diff -rupN linux.orig/drivers/devfreq/Kconfig linux/drivers/devfreq/Kconfig tristate "sun8i/sun50i MBUS DEVFREQ Driver" depends on ARCH_SUNXI || COMPILE_TEST diff -rupN linux.orig/drivers/devfreq/Makefile linux/drivers/devfreq/Makefile ---- linux.orig/drivers/devfreq/Makefile 2023-10-27 21:46:01.712562721 +0000 -+++ linux/drivers/devfreq/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/devfreq/Makefile 2023-12-04 19:26:31.526673911 +0000 ++++ linux/drivers/devfreq/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -13,6 +13,7 @@ obj-$(CONFIG_ARM_IMX_BUS_DEVFREQ) += imx obj-$(CONFIG_ARM_IMX8M_DDRC_DEVFREQ) += imx8m-ddrc.o obj-$(CONFIG_ARM_MEDIATEK_CCI_DEVFREQ) += mtk-cci-devfreq.o @@ -2476,7 +2492,7 @@ diff -rupN linux.orig/drivers/devfreq/Makefile linux/drivers/devfreq/Makefile diff -rupN linux.orig/drivers/devfreq/rockchip_bus.c linux/drivers/devfreq/rockchip_bus.c --- linux.orig/drivers/devfreq/rockchip_bus.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/devfreq/rockchip_bus.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/devfreq/rockchip_bus.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,258 @@ +// SPDX-License-Identifier: GPL-2.0 +/* @@ -2737,8 +2753,8 @@ diff -rupN linux.orig/drivers/devfreq/rockchip_bus.c linux/drivers/devfreq/rockc +MODULE_AUTHOR("Tony Xie "); +MODULE_DESCRIPTION("rockchip busfreq driver with devfreq framework"); diff -rupN linux.orig/drivers/gpu/drm/panel/Kconfig linux/drivers/gpu/drm/panel/Kconfig ---- linux.orig/drivers/gpu/drm/panel/Kconfig 2023-10-27 21:46:02.268576773 +0000 -+++ linux/drivers/gpu/drm/panel/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/gpu/drm/panel/Kconfig 2023-12-04 19:26:32.890702556 +0000 ++++ linux/drivers/gpu/drm/panel/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -296,6 +296,15 @@ config DRM_PANEL_NEC_NL8048HL11 panel (found on the Zoom2/3/3630 SDP boards). To compile this driver as a module, choose M here. @@ -2756,8 +2772,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/Kconfig linux/drivers/gpu/drm/panel/ tristate "NewVision NV3052C RGB/SPI panel" depends on OF && SPI diff -rupN linux.orig/drivers/gpu/drm/panel/Makefile linux/drivers/gpu/drm/panel/Makefile ---- linux.orig/drivers/gpu/drm/panel/Makefile 2023-10-27 21:46:02.268576773 +0000 -+++ linux/drivers/gpu/drm/panel/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/gpu/drm/panel/Makefile 2023-12-04 19:26:32.890702556 +0000 ++++ linux/drivers/gpu/drm/panel/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -27,6 +27,7 @@ obj-$(CONFIG_DRM_PANEL_LEADTEK_LTK500HD1 obj-$(CONFIG_DRM_PANEL_LG_LB035Q02) += panel-lg-lb035q02.o obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o @@ -2767,8 +2783,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/Makefile linux/drivers/gpu/drm/panel obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35510) += panel-novatek-nt35510.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35560) += panel-novatek-nt35560.o diff -rupN linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c ---- linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-10-27 21:46:02.272576875 +0000 -+++ linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-10-28 04:03:32.770593063 +0000 +--- linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-12-04 19:26:32.894702641 +0000 ++++ linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-12-04 19:27:51.016354008 +0000 @@ -51,14 +51,6 @@ static inline struct kd35t133 *panel_to_ return container_of(panel, struct kd35t133, panel); } @@ -2840,7 +2856,7 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c linux/drivers return 0; diff -rupN linux.orig/drivers/gpu/drm/panel/panel-newvision-nv3051d.c linux/drivers/gpu/drm/panel/panel-newvision-nv3051d.c --- linux.orig/drivers/gpu/drm/panel/panel-newvision-nv3051d.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/gpu/drm/panel/panel-newvision-nv3051d.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/gpu/drm/panel/panel-newvision-nv3051d.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,518 @@ +// SPDX-License-Identifier: GPL-2.0 +/* @@ -3361,8 +3377,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/panel-newvision-nv3051d.c linux/driv +MODULE_DESCRIPTION("DRM driver for Newvision NV3051D based MIPI DSI panels"); +MODULE_LICENSE("GPL"); diff -rupN linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c linux/drivers/gpu/drm/panel/panel-sitronix-st7701.c ---- linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-10-27 21:46:02.272576875 +0000 -+++ linux/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-12-04 19:26:32.898702724 +0000 ++++ linux/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-12-04 19:27:51.016354008 +0000 @@ -19,6 +19,9 @@ /* Command2 BKx selection command */ @@ -3678,8 +3694,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c linux/driver { } }; diff -rupN linux.orig/drivers/input/Kconfig linux/drivers/input/Kconfig ---- linux.orig/drivers/input/Kconfig 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/Kconfig 2023-12-04 19:26:33.286710875 +0000 ++++ linux/drivers/input/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -51,6 +51,19 @@ config INPUT_FF_MEMLESS To compile this driver as a module, choose M here: the module will be called ff-memless. @@ -3701,8 +3717,8 @@ diff -rupN linux.orig/drivers/input/Kconfig linux/drivers/input/Kconfig tristate "Sparse keymap support library" help diff -rupN linux.orig/drivers/input/Makefile linux/drivers/input/Makefile ---- linux.orig/drivers/input/Makefile 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/Makefile 2023-12-04 19:26:33.286710875 +0000 ++++ linux/drivers/input/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -10,6 +10,7 @@ input-core-y := input.o input-compat.o i input-core-y += touchscreen.o @@ -3713,7 +3729,7 @@ diff -rupN linux.orig/drivers/input/Makefile linux/drivers/input/Makefile obj-$(CONFIG_INPUT_VIVALDIFMAP) += vivaldi-fmap.o diff -rupN linux.orig/drivers/input/input-polldev.c linux/drivers/input/input-polldev.c --- linux.orig/drivers/input/input-polldev.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/input-polldev.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/input-polldev.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,362 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* @@ -4078,8 +4094,8 @@ diff -rupN linux.orig/drivers/input/input-polldev.c linux/drivers/input/input-po +} +EXPORT_SYMBOL(input_unregister_polled_device); diff -rupN linux.orig/drivers/input/joystick/Kconfig linux/drivers/input/joystick/Kconfig ---- linux.orig/drivers/input/joystick/Kconfig 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/joystick/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/joystick/Kconfig 2023-12-04 19:26:33.290710958 +0000 ++++ linux/drivers/input/joystick/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -400,6 +400,21 @@ config JOYSTICK_N64 Say Y here if you want enable support for the four built-in controller ports on the Nintendo 64 console. @@ -4103,8 +4119,8 @@ diff -rupN linux.orig/drivers/input/joystick/Kconfig linux/drivers/input/joystic tristate "Raspberry Pi Sense HAT joystick" depends on INPUT && I2C diff -rupN linux.orig/drivers/input/joystick/Makefile linux/drivers/input/joystick/Makefile ---- linux.orig/drivers/input/joystick/Makefile 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/joystick/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/joystick/Makefile 2023-12-04 19:26:33.290710958 +0000 ++++ linux/drivers/input/joystick/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -25,6 +25,9 @@ obj-$(CONFIG_JOYSTICK_JOYDUMP) += joydu obj-$(CONFIG_JOYSTICK_MAGELLAN) += magellan.o obj-$(CONFIG_JOYSTICK_MAPLE) += maplecontrol.o @@ -4117,7 +4133,7 @@ diff -rupN linux.orig/drivers/input/joystick/Makefile linux/drivers/input/joysti obj-$(CONFIG_JOYSTICK_QWIIC) += qwiic-joystick.o diff -rupN linux.orig/drivers/input/joystick/odroidgo2-joypad.c linux/drivers/input/joystick/odroidgo2-joypad.c --- linux.orig/drivers/input/joystick/odroidgo2-joypad.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/joystick/odroidgo2-joypad.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/joystick/odroidgo2-joypad.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,878 @@ +/* + * SARADC joystick & GPIO Button driver for Linux(Hardkernel ODROIDGO2-Advance) @@ -4999,7 +5015,7 @@ diff -rupN linux.orig/drivers/input/joystick/odroidgo2-joypad.c linux/drivers/in +/*----------------------------------------------------------------------------*/ diff -rupN linux.orig/drivers/input/joystick/odroidgo2-v11-joypad.c linux/drivers/input/joystick/odroidgo2-v11-joypad.c --- linux.orig/drivers/input/joystick/odroidgo2-v11-joypad.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/joystick/odroidgo2-v11-joypad.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/joystick/odroidgo2-v11-joypad.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,878 @@ +/* + * SARADC joystick & GPIO Button driver for Linux(Hardkernel ODROIDGO2-Advance) @@ -5881,7 +5897,7 @@ diff -rupN linux.orig/drivers/input/joystick/odroidgo2-v11-joypad.c linux/driver +/*----------------------------------------------------------------------------*/ diff -rupN linux.orig/drivers/input/joystick/odroidgo3-joypad.c linux/drivers/input/joystick/odroidgo3-joypad.c --- linux.orig/drivers/input/joystick/odroidgo3-joypad.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/joystick/odroidgo3-joypad.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/joystick/odroidgo3-joypad.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,1086 @@ +/* + * SARADC joystick & GPIO Button driver for Linux(Hardkernel ODROIDGO2-Advance) @@ -6970,8 +6986,8 @@ diff -rupN linux.orig/drivers/input/joystick/odroidgo3-joypad.c linux/drivers/in + +/*----------------------------------------------------------------------------*/ diff -rupN linux.orig/drivers/power/supply/rk817_charger.c linux/drivers/power/supply/rk817_charger.c ---- linux.orig/drivers/power/supply/rk817_charger.c 2023-10-27 21:46:02.984594866 +0000 -+++ linux/drivers/power/supply/rk817_charger.c 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/power/supply/rk817_charger.c 2023-12-04 19:26:35.226751631 +0000 ++++ linux/drivers/power/supply/rk817_charger.c 2023-12-04 19:27:51.016354008 +0000 @@ -679,7 +679,7 @@ static enum power_supply_usb_type rk817_ }; @@ -6983,7 +6999,7 @@ diff -rupN linux.orig/drivers/power/supply/rk817_charger.c linux/drivers/power/s .num_properties = ARRAY_SIZE(rk817_bat_props), diff -rupN linux.orig/include/linux/input-polldev.h linux/include/linux/input-polldev.h --- linux.orig/include/linux/input-polldev.h 1970-01-01 00:00:00.000000000 +0000 -+++ linux/include/linux/input-polldev.h 2023-10-28 04:02:49.341614140 +0000 ++++ linux/include/linux/input-polldev.h 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,58 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _INPUT_POLLDEV_H From ac35b418a30e93d4d5b3449d9cfcca7b7777267d Mon Sep 17 00:00:00 2001 From: mason Date: Fri, 8 Dec 2023 15:41:03 +0000 Subject: [PATCH 06/22] Portmaster fixes --- .../portmaster/scripts/portmaster_compatibility.sh | 13 ++++++++++++- .../apps/portmaster/scripts/start_portmaster.sh | 3 +++ packages/apps/portmaster/sources/control.txt | 5 ++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/packages/apps/portmaster/scripts/portmaster_compatibility.sh b/packages/apps/portmaster/scripts/portmaster_compatibility.sh index 6444ade68..cd4b2923f 100644 --- a/packages/apps/portmaster/scripts/portmaster_compatibility.sh +++ b/packages/apps/portmaster/scripts/portmaster_compatibility.sh @@ -17,9 +17,20 @@ case "${QUIRK_DEVICE}" in done; ;; *) - #Remove gl4es libs on devices that support OpenGL + #Remove gl4es libs on devices that support OpenGL and sed any port that refrences it rm -rf /storage/roms/ports/*/lib*/libEGL* rm -rf /storage/roms/ports/*/lib*/libGL* + for port in /storage/roms/ports/*.sh; do + sed -i '/^export SDL_VIDEO_GL_DRIVER/c\#export SDL_VIDEO_GL_DRIVER"' "$port" + sed -i '/^export SDL_VIDEO_EGL_DRIVER/c\#export SDL_VIDEO_EGL_DRIVER' "$port" + echo Fixing: "$port"; + done; + + #Remove S922X fix if exists + for port in /storage/roms/ports/*.sh; do + sed -i '/get_controls && export/c\get_controls' "$port" + echo Fixing: "$port"; + done; ;; esac fi diff --git a/packages/apps/portmaster/scripts/start_portmaster.sh b/packages/apps/portmaster/scripts/start_portmaster.sh index 69a4cbbf7..0a4ae49fb 100644 --- a/packages/apps/portmaster/scripts/start_portmaster.sh +++ b/packages/apps/portmaster/scripts/start_portmaster.sh @@ -68,6 +68,9 @@ fi #Make sure permissions are correct in the PortMaster folder find /storage/roms/ports/ -not -perm 755 -exec chmod 755 {} \; +#Fix compatability for some portmaster ports +/usr/bin/portmaster_compatibility.sh + #Start PortMaster @LIBEGL@ cd /storage/roms/ports/PortMaster diff --git a/packages/apps/portmaster/sources/control.txt b/packages/apps/portmaster/sources/control.txt index d19f7e4c4..b2ce01054 100644 --- a/packages/apps/portmaster/sources/control.txt +++ b/packages/apps/portmaster/sources/control.txt @@ -3,10 +3,10 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) -# This file can and should be sourced by ports for various parameters to +# This file can and should be sourced by ports for various parameters to # minimize script customizations and allow for easier future updates # like adding additional supported devices. -# Thanks to JohnnyonFlame, dhwz, romadu, and shantigilbert for the +# Thanks to JohnnyonFlame, dhwz, romadu, and shantigilbert for the # suggestion and assistance with this. # Source used for gptokeyb available at # https://github.com/christianhaitian/gptokeyb @@ -89,7 +89,6 @@ get_controls() { # Set compatability libs and run compatability script export LD_LIBRARY_PATH=${clibs} - /usr/bin/portmaster_compatibility.sh # Now find any controller mapped on emulationstation... /storage/.config/PortMaster/mapper.txt SDL_GAMECONTROLLERCONFIG_FILE > /dev/null 2>&1 From 990da38893682952b2feb430fd8bfb05d0090ba6 Mon Sep 17 00:00:00 2001 From: sydarn Date: Sat, 9 Dec 2023 16:42:31 +0100 Subject: [PATCH 07/22] Check if the controller is registered and 8bitdo and force 360-behavior --- .../standalone/mednafen/scripts/mednafen_gen_config.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/emulators/standalone/mednafen/scripts/mednafen_gen_config.sh b/packages/emulators/standalone/mednafen/scripts/mednafen_gen_config.sh index 933aab862..6414d6bd2 100644 --- a/packages/emulators/standalone/mednafen/scripts/mednafen_gen_config.sh +++ b/packages/emulators/standalone/mednafen/scripts/mednafen_gen_config.sh @@ -11,7 +11,10 @@ GUID1="$(mednafen --list-joysticks | grep ID | awk 'NR==1 {print $2}')" sed -e "s/@GUID1@/${GUID1}/g" ${MEDNAFEN_CONFIG} >> $MEDNAFEN_HOME/mednafen.cfg NAME="$(mednafen --list-joysticks | grep ID | awk 'NR==1 {print $5$6}')" - +if [[ "$(mednafen --list-joysticks | grep ID | awk 'NR==1 {print $4}')" = "8BitDo" ]] +then +NAME="X-Box360" +fi # Controller config for 360 and GPIO handled separately if [[ "${NAME}" = "X-Box360" ]] From b6555ddb392c6c744e7c1ab41a1177c4fb188a54 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sun, 10 Dec 2023 11:21:49 +0000 Subject: [PATCH 08/22] Update Linux to 6.6.5, add /storage/roms back to Samba config. --- packages/kernel/linux/package.mk | 2 +- packages/network/samba/config/smb.conf | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/kernel/linux/package.mk b/packages/kernel/linux/package.mk index db530d5b6..0d7a9b387 100644 --- a/packages/kernel/linux/package.mk +++ b/packages/kernel/linux/package.mk @@ -4,7 +4,7 @@ PKG_NAME="linux" PKG_LICENSE="GPL" -PKG_VERSION="6.6.4" +PKG_VERSION="6.6.5" PKG_URL="https://www.kernel.org/pub/linux/kernel/v6.x/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_SITE="http://www.kernel.org" PKG_DEPENDS_HOST="ccache:host rsync:host openssl:host rdfind:host" diff --git a/packages/network/samba/config/smb.conf b/packages/network/samba/config/smb.conf index f8c85aa61..1a2c949c1 100644 --- a/packages/network/samba/config/smb.conf +++ b/packages/network/samba/config/smb.conf @@ -55,6 +55,12 @@ browseable = yes writeable = yes +[games-roms] + path = /storage/roms + available = yes + browseable = yes + writeable = yes + [games-internal] path = /storage/games-internal available = yes From e53dd796b526f6518200d87801a9daa5548d5528 Mon Sep 17 00:00:00 2001 From: mason Date: Tue, 5 Dec 2023 14:32:10 +0000 Subject: [PATCH 09/22] Add missing gzdoom dependency --- packages/emulators/standalone/gzdoom-sa/package.mk | 1 - packages/graphics/libwebp/package.mk | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 packages/graphics/libwebp/package.mk diff --git a/packages/emulators/standalone/gzdoom-sa/package.mk b/packages/emulators/standalone/gzdoom-sa/package.mk index ef037565e..c6b96bcd6 100644 --- a/packages/emulators/standalone/gzdoom-sa/package.mk +++ b/packages/emulators/standalone/gzdoom-sa/package.mk @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2021-present 351ELEC (https://github.com/351ELEC) # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) -# Copyright (C) 2023-present brooksytech (https://github.com/brookstech) PKG_NAME="gzdoom-sa" PKG_VERSION="d05ea1965ad1f070859806a3a67aaf5ea6c46234" diff --git a/packages/graphics/libwebp/package.mk b/packages/graphics/libwebp/package.mk new file mode 100644 index 000000000..813f30602 --- /dev/null +++ b/packages/graphics/libwebp/package.mk @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) + +PKG_NAME="libwebp" +PKG_VERSION="89c5b917463c07bfb5b6390b81d258c49d5fe8c6" +PKG_LICENSE="BSD" +PKG_SITE="https://github.com/webmproject/libwebp" +PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz" +PKG_DEPENDS_HOST="toolchain:host" +PKG_DEPENDS_TARGET="toolchain" +PKG_LONGDESC="WebP codec is a library to encode and decode images in WebP format." +PKG_TOOLCHAIN="cmake" From fd7ed4200b43bd83196be7b1955ee72c1e8875ab Mon Sep 17 00:00:00 2001 From: Brooksytech Date: Tue, 5 Dec 2023 06:33:28 -0800 Subject: [PATCH 10/22] fix year --- packages/graphics/libwebp/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graphics/libwebp/package.mk b/packages/graphics/libwebp/package.mk index 813f30602..d21f3ecc0 100644 --- a/packages/graphics/libwebp/package.mk +++ b/packages/graphics/libwebp/package.mk @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) +# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="libwebp" PKG_VERSION="89c5b917463c07bfb5b6390b81d258c49d5fe8c6" From db88c66c237c2111694c6a6648c02657b1d63849 Mon Sep 17 00:00:00 2001 From: mason Date: Tue, 5 Dec 2023 15:25:48 +0000 Subject: [PATCH 11/22] Clean up PortMaster vars --- packages/apps/portmaster/scripts/portmaster_compatibility.sh | 4 +--- packages/apps/portmaster/sources/control.txt | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/apps/portmaster/scripts/portmaster_compatibility.sh b/packages/apps/portmaster/scripts/portmaster_compatibility.sh index 319e6de64..4329b0a28 100644 --- a/packages/apps/portmaster/scripts/portmaster_compatibility.sh +++ b/packages/apps/portmaster/scripts/portmaster_compatibility.sh @@ -5,10 +5,8 @@ . /etc/profile -PORTPLATFORM=$(tr -d '\0' /dev/null) - if [[ "${UI_SERVICE}" =~ weston.service ]]; then -case ${PORTPLATFORM} in +case ${QUIRK_DEVICE} in "Hardkernel ODROID-GO-Ultra"|"Powkiddy RGB10 MAX 3"|"Hardkernel ODROID-N2*") #Fixing ports on S922X, exclude FNA games for port in /storage/roms/ports/*.sh; do diff --git a/packages/apps/portmaster/sources/control.txt b/packages/apps/portmaster/sources/control.txt index ad118be34..d19f7e4c4 100644 --- a/packages/apps/portmaster/sources/control.txt +++ b/packages/apps/portmaster/sources/control.txt @@ -23,9 +23,8 @@ SDLDBUSERFILE="/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt" clibs="/usr/lib/compat/" raloc="/usr/bin" raconf="--config /storage/.config/retroarch/retroarch.cfg" -pdevice=$(tr -d '\0' /dev/null) -case ${pdevice} in +case "${QUIRK_DEVICE}" in "Anbernic RG552") profile="rg552" lres="N" From ae93d70f26f077a03ee1a71c37faa399084da059 Mon Sep 17 00:00:00 2001 From: mason Date: Tue, 5 Dec 2023 15:43:36 +0000 Subject: [PATCH 12/22] Set correct permissions for ALL files in ports folder --- packages/apps/portmaster/scripts/start_portmaster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apps/portmaster/scripts/start_portmaster.sh b/packages/apps/portmaster/scripts/start_portmaster.sh index 2b9aa5f32..279698452 100644 --- a/packages/apps/portmaster/scripts/start_portmaster.sh +++ b/packages/apps/portmaster/scripts/start_portmaster.sh @@ -66,7 +66,7 @@ else fi #Make sure permissions are correct in the PortMaster folder -chmod 755 /storage/roms/ports/PortMaster/* -R +chmod 755 /storage/roms/ports/* -R #Start PortMaster @LIBEGL@ From 8fc3579b3a1455f5729aa5408c0bf604f4538f04 Mon Sep 17 00:00:00 2001 From: mason Date: Tue, 5 Dec 2023 22:20:38 +0000 Subject: [PATCH 13/22] PortMaster: Only updated permissions on files that dont have correct perm --- packages/apps/portmaster/scripts/start_portmaster.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apps/portmaster/scripts/start_portmaster.sh b/packages/apps/portmaster/scripts/start_portmaster.sh index 279698452..69a4cbbf7 100644 --- a/packages/apps/portmaster/scripts/start_portmaster.sh +++ b/packages/apps/portmaster/scripts/start_portmaster.sh @@ -66,7 +66,7 @@ else fi #Make sure permissions are correct in the PortMaster folder -chmod 755 /storage/roms/ports/* -R +find /storage/roms/ports/ -not -perm 755 -exec chmod 755 {} \; #Start PortMaster @LIBEGL@ From 5cf055b429799480d4d18653c403fa55038554ce Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 6 Dec 2023 00:13:33 +0000 Subject: [PATCH 14/22] Support .cue files for Dreamcast --- config/emulators/dreamcast.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/emulators/dreamcast.conf b/config/emulators/dreamcast.conf index 4223c0cb9..74b05d0c1 100644 --- a/config/emulators/dreamcast.conf +++ b/config/emulators/dreamcast.conf @@ -4,7 +4,7 @@ SYSTEM_MANUFACTURER="Sega" SYSTEM_RELEASE="1998" SYSTEM_HARDWARE="console" SYSTEM_PATH="/storage/roms/dreamcast" -SYSTEM_EXTENSION=".cdi .gdi .chd .m3u" +SYSTEM_EXTENSION=".cdi .gdi .chd .m3u .cue" SYSTEM_COMMAND="/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers=\"%CONTROLLERSCONFIG%\"" SYSTEM_PLATFORM="dreamcast" SYSTEM_THEME="dreamcast" From d7f81274b89cff3d84462b82fa1f9fe243ca1882 Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 6 Dec 2023 14:58:10 +0000 Subject: [PATCH 15/22] Update a few SA cores --- .../AMD64/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- packages/emulators/standalone/citra-sa/package.mk | 2 +- packages/emulators/standalone/flycast-sa/package.mk | 2 +- packages/emulators/standalone/yuzu-sa/package.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md index 24a8fbac7..2a7780011 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/AMD64/SUPPORTED_EMULATORS_AND_CORES.md @@ -89,7 +89,7 @@ This document describes all available systems emulators and cores available for |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| |Sammy|Atomiswave (atomiswave)|2003|`atomiswave`|.lst .bin .dat .zip .7z|**retroarch:** flycast (default)
**flycast:** flycast-sa
| -|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u|**retroarch:** flycast2021
**retroarch:** flycast (default)
**flycast:** flycast-sa
| +|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u .cue|**retroarch:** flycast2021
**retroarch:** flycast (default)
**flycast:** flycast-sa
| |Sega|Game Gear (gamegear)|1990|`gamegear`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Game Gear (Hacks) (ggh)|1990|`gamegearh`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Genesis (genesis)|1989|`genesis`|.bin .gen .md .sg .smd .zip .7z|**retroarch:** genesis_plus_gx (default)
**retroarch:** genesis_plus_gx_wide
**retroarch:** picodrive
**mednafen:** md
| diff --git a/packages/emulators/standalone/citra-sa/package.mk b/packages/emulators/standalone/citra-sa/package.mk index 2f0eaf25c..a39c8b05f 100644 --- a/packages/emulators/standalone/citra-sa/package.mk +++ b/packages/emulators/standalone/citra-sa/package.mk @@ -17,7 +17,7 @@ case ${DEVICE} in ;; *) PKG_URL="${PKG_SITE}.git" - PKG_VERSION="875f5eaad5d3e1a6303cdb9d767dd5d4ac86d988" + PKG_VERSION="59df319f48a8a67db717233e5b222a0b86f1eae4" ;; esac diff --git a/packages/emulators/standalone/flycast-sa/package.mk b/packages/emulators/standalone/flycast-sa/package.mk index 6bb762ca8..879e71349 100644 --- a/packages/emulators/standalone/flycast-sa/package.mk +++ b/packages/emulators/standalone/flycast-sa/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="flycast-sa" -PKG_VERSION="ea83b08f89d75e45b11a8c7f5d8607c6a7270e86" +PKG_VERSION="5fde889d7ca30cc0059eaf64816878df2cb9f898" PKG_LICENSE="GPLv2" PKG_SITE="https://github.com/flyinghead/flycast" PKG_URL="${PKG_SITE}.git" diff --git a/packages/emulators/standalone/yuzu-sa/package.mk b/packages/emulators/standalone/yuzu-sa/package.mk index 9653d1d8a..41dff5591 100644 --- a/packages/emulators/standalone/yuzu-sa/package.mk +++ b/packages/emulators/standalone/yuzu-sa/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="yuzu-sa" -PKG_VERSION="5fb1a83e4cbb43f5bb2e07d003e544dca580e0de" +PKG_VERSION="8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a" PKG_ARCH="x86_64" PKG_LICENSE="GPLv3" PKG_SITE="https://github.com/yuzu-emu/yuzu" From 4c158a935d5a9c787f537043cc68d925f4d4c0a1 Mon Sep 17 00:00:00 2001 From: mason Date: Wed, 6 Dec 2023 15:12:42 +0000 Subject: [PATCH 16/22] Update PortMaster --- packages/apps/portmaster/package.mk | 2 +- packages/apps/portmaster/scripts/portmaster_compatibility.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/apps/portmaster/package.mk b/packages/apps/portmaster/package.mk index 357c520ef..45d19fb12 100644 --- a/packages/apps/portmaster/package.mk +++ b/packages/apps/portmaster/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="portmaster" -PKG_VERSION="8.5.2_0811" +PKG_VERSION="8.5.13_1130" PKG_SITE="https://github.com/PortsMaster/PortMaster-GUI" PKG_URL="${PKG_SITE}/releases/download/${PKG_VERSION}/PortMaster.zip" COMPAT_URL="https://github.com/brooksytech/JelosAddOns/raw/main/compat.zip" diff --git a/packages/apps/portmaster/scripts/portmaster_compatibility.sh b/packages/apps/portmaster/scripts/portmaster_compatibility.sh index 4329b0a28..6444ade68 100644 --- a/packages/apps/portmaster/scripts/portmaster_compatibility.sh +++ b/packages/apps/portmaster/scripts/portmaster_compatibility.sh @@ -6,7 +6,7 @@ . /etc/profile if [[ "${UI_SERVICE}" =~ weston.service ]]; then -case ${QUIRK_DEVICE} in +case "${QUIRK_DEVICE}" in "Hardkernel ODROID-GO-Ultra"|"Powkiddy RGB10 MAX 3"|"Hardkernel ODROID-N2*") #Fixing ports on S922X, exclude FNA games for port in /storage/roms/ports/*.sh; do From d5b60295524112ada5cb4fde0441cebd802b6e16 Mon Sep 17 00:00:00 2001 From: mason Date: Fri, 8 Dec 2023 14:21:26 +0000 Subject: [PATCH 17/22] RK3326 - Tune available clocks and increase ram freq --- .../patches/RK3326/000-rk3326-devices.patch | 134 ++++++++++-------- 1 file changed, 75 insertions(+), 59 deletions(-) diff --git a/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch b/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch index 15e52e160..e8a002243 100644 --- a/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch +++ b/projects/Rockchip/packages/linux/patches/RK3326/000-rk3326-devices.patch @@ -1,6 +1,6 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/Makefile linux/arch/arm64/boot/dts/rockchip/Makefile ---- linux.orig/arch/arm64/boot/dts/rockchip/Makefile 2023-10-27 21:46:01.208549984 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/arch/arm64/boot/dts/rockchip/Makefile 2023-12-04 19:26:30.034642584 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -7,7 +7,11 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-ev dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-rock-pi-s.dtb @@ -14,9 +14,9 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/Makefile linux/arch/arm64/boo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-nanopi-r2s.dtb diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/boot/dts/rockchip/px30.dtsi ---- linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-10-27 21:46:01.208549984 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-10-28 04:02:49.341614140 +0000 -@@ -114,12 +114,6 @@ +--- linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-12-04 19:26:30.034642584 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/px30.dtsi 2023-12-04 20:09:47.777097235 +0000 +@@ -114,27 +114,11 @@ compatible = "operating-points-v2"; opp-shared; @@ -26,10 +26,25 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo - clock-latency-ns = <40000>; - opp-suspend; - }; - opp-816000000 { - opp-hz = /bits/ 64 <816000000>; - opp-microvolt = <1050000 1050000 1350000>; -@@ -210,12 +204,6 @@ +- opp-816000000 { +- opp-hz = /bits/ 64 <816000000>; +- opp-microvolt = <1050000 1050000 1350000>; +- clock-latency-ns = <40000>; +- }; + opp-1008000000 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <1175000 1175000 1350000>; + clock-latency-ns = <40000>; + }; +- opp-1200000000 { +- opp-hz = /bits/ 64 <1200000000>; +- opp-microvolt = <1300000 1300000 1350000>; +- clock-latency-ns = <40000>; +- }; + opp-1296000000 { + opp-hz = /bits/ 64 <1296000000>; + opp-microvolt = <1350000 1350000 1350000>; +@@ -210,12 +194,6 @@ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; contribution = <4096>; }; @@ -42,7 +57,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo }; }; -@@ -223,6 +211,33 @@ +@@ -223,6 +201,33 @@ polling-delay-passive = <100>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ thermal-sensors = <&tsadc 1>; @@ -76,7 +91,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo }; }; -@@ -328,6 +343,32 @@ +@@ -328,6 +333,32 @@ }; }; @@ -100,8 +115,8 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo + + dmc_opp_table: dmc_opp_table { + compatible = "operating-points-v2"; -+ opp-786000000 { -+ opp-hz = /bits/ 64 <786000000>; ++ opp-924000000 { ++ opp-hz = /bits/ 64 <924000000>; + opp-microvolt = <1125000>; + }; + }; @@ -109,7 +124,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo pmugrf: syscon@ff010000 { compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd"; reg = <0x0 0xff010000 0x0 0x1000>; -@@ -453,7 +494,7 @@ +@@ -453,7 +484,7 @@ #address-cells = <1>; #size-cells = <0>; @@ -118,7 +133,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo reg = <0>; #address-cells = <1>; #size-cells = <0>; -@@ -468,6 +509,10 @@ +@@ -468,6 +499,10 @@ remote-endpoint = <&vopl_out_lvds>; }; }; @@ -129,7 +144,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo }; }; }; -@@ -1039,10 +1084,6 @@ +@@ -1039,20 +1074,12 @@ gpu_opp_table: opp-table-1 { compatible = "operating-points-v2"; @@ -137,10 +152,11 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo - opp-hz = /bits/ 64 <200000000>; - opp-microvolt = <950000>; - }; - opp-300000000 { - opp-hz = /bits/ 64 <300000000>; - opp-microvolt = <975000>; -@@ -1051,8 +1092,8 @@ +- opp-300000000 { +- opp-hz = /bits/ 64 <300000000>; +- opp-microvolt = <975000>; +- }; + opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <1050000>; }; @@ -151,7 +167,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo opp-microvolt = <1125000>; }; }; -@@ -1113,7 +1154,7 @@ +@@ -1113,7 +1140,7 @@ #address-cells = <1>; #size-cells = <0>; @@ -160,7 +176,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo reg = <0>; #address-cells = <1>; #size-cells = <0>; -@@ -1128,6 +1169,10 @@ +@@ -1128,6 +1155,10 @@ remote-endpoint = <&vopl_out_dsi>; }; }; @@ -173,7 +189,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/px30.dtsi linux/arch/arm64/bo diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,58 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -235,7 +251,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts li +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -296,7 +312,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351p.dts li +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,124 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -424,7 +440,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts li +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,566 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -994,7 +1010,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go.dtsi linux/a +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,303 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -1300,8 +1316,8 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2-v11.dts lin + }; +}; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts ---- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-10-27 21:46:01.208549984 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-12-04 19:26:30.034642584 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts 2023-12-04 19:27:51.016354008 +0000 @@ -2,55 +2,185 @@ /* * Copyright (c) 2019 Hardkernel Co., Ltd @@ -2161,7 +2177,7 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts linux/a }; diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts --- linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts 1970-01-01 00:00:00.000000000 +0000 -+++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts 2023-10-28 04:02:49.341614140 +0000 ++++ linux/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,284 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* @@ -2448,8 +2464,8 @@ diff -rupN linux.orig/arch/arm64/boot/dts/rockchip/rk3326-odroid-go3.dts linux/a + }; +}; diff -rupN linux.orig/drivers/devfreq/Kconfig linux/drivers/devfreq/Kconfig ---- linux.orig/drivers/devfreq/Kconfig 2023-10-27 21:46:01.712562721 +0000 -+++ linux/drivers/devfreq/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/devfreq/Kconfig 2023-12-04 19:26:31.526673911 +0000 ++++ linux/drivers/devfreq/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -142,6 +142,12 @@ config ARM_RK3399_DMC_DEVFREQ It sets the frequency for the memory controller and reads the usage counts from hardware. @@ -2464,8 +2480,8 @@ diff -rupN linux.orig/drivers/devfreq/Kconfig linux/drivers/devfreq/Kconfig tristate "sun8i/sun50i MBUS DEVFREQ Driver" depends on ARCH_SUNXI || COMPILE_TEST diff -rupN linux.orig/drivers/devfreq/Makefile linux/drivers/devfreq/Makefile ---- linux.orig/drivers/devfreq/Makefile 2023-10-27 21:46:01.712562721 +0000 -+++ linux/drivers/devfreq/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/devfreq/Makefile 2023-12-04 19:26:31.526673911 +0000 ++++ linux/drivers/devfreq/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -13,6 +13,7 @@ obj-$(CONFIG_ARM_IMX_BUS_DEVFREQ) += imx obj-$(CONFIG_ARM_IMX8M_DDRC_DEVFREQ) += imx8m-ddrc.o obj-$(CONFIG_ARM_MEDIATEK_CCI_DEVFREQ) += mtk-cci-devfreq.o @@ -2476,7 +2492,7 @@ diff -rupN linux.orig/drivers/devfreq/Makefile linux/drivers/devfreq/Makefile diff -rupN linux.orig/drivers/devfreq/rockchip_bus.c linux/drivers/devfreq/rockchip_bus.c --- linux.orig/drivers/devfreq/rockchip_bus.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/devfreq/rockchip_bus.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/devfreq/rockchip_bus.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,258 @@ +// SPDX-License-Identifier: GPL-2.0 +/* @@ -2737,8 +2753,8 @@ diff -rupN linux.orig/drivers/devfreq/rockchip_bus.c linux/drivers/devfreq/rockc +MODULE_AUTHOR("Tony Xie "); +MODULE_DESCRIPTION("rockchip busfreq driver with devfreq framework"); diff -rupN linux.orig/drivers/gpu/drm/panel/Kconfig linux/drivers/gpu/drm/panel/Kconfig ---- linux.orig/drivers/gpu/drm/panel/Kconfig 2023-10-27 21:46:02.268576773 +0000 -+++ linux/drivers/gpu/drm/panel/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/gpu/drm/panel/Kconfig 2023-12-04 19:26:32.890702556 +0000 ++++ linux/drivers/gpu/drm/panel/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -296,6 +296,15 @@ config DRM_PANEL_NEC_NL8048HL11 panel (found on the Zoom2/3/3630 SDP boards). To compile this driver as a module, choose M here. @@ -2756,8 +2772,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/Kconfig linux/drivers/gpu/drm/panel/ tristate "NewVision NV3052C RGB/SPI panel" depends on OF && SPI diff -rupN linux.orig/drivers/gpu/drm/panel/Makefile linux/drivers/gpu/drm/panel/Makefile ---- linux.orig/drivers/gpu/drm/panel/Makefile 2023-10-27 21:46:02.268576773 +0000 -+++ linux/drivers/gpu/drm/panel/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/gpu/drm/panel/Makefile 2023-12-04 19:26:32.890702556 +0000 ++++ linux/drivers/gpu/drm/panel/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -27,6 +27,7 @@ obj-$(CONFIG_DRM_PANEL_LEADTEK_LTK500HD1 obj-$(CONFIG_DRM_PANEL_LG_LB035Q02) += panel-lg-lb035q02.o obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o @@ -2767,8 +2783,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/Makefile linux/drivers/gpu/drm/panel obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35510) += panel-novatek-nt35510.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35560) += panel-novatek-nt35560.o diff -rupN linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c ---- linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-10-27 21:46:02.272576875 +0000 -+++ linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-10-28 04:03:32.770593063 +0000 +--- linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-12-04 19:26:32.894702641 +0000 ++++ linux/drivers/gpu/drm/panel/panel-elida-kd35t133.c 2023-12-04 19:27:51.016354008 +0000 @@ -51,14 +51,6 @@ static inline struct kd35t133 *panel_to_ return container_of(panel, struct kd35t133, panel); } @@ -2840,7 +2856,7 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/panel-elida-kd35t133.c linux/drivers return 0; diff -rupN linux.orig/drivers/gpu/drm/panel/panel-newvision-nv3051d.c linux/drivers/gpu/drm/panel/panel-newvision-nv3051d.c --- linux.orig/drivers/gpu/drm/panel/panel-newvision-nv3051d.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/gpu/drm/panel/panel-newvision-nv3051d.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/gpu/drm/panel/panel-newvision-nv3051d.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,518 @@ +// SPDX-License-Identifier: GPL-2.0 +/* @@ -3361,8 +3377,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/panel-newvision-nv3051d.c linux/driv +MODULE_DESCRIPTION("DRM driver for Newvision NV3051D based MIPI DSI panels"); +MODULE_LICENSE("GPL"); diff -rupN linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c linux/drivers/gpu/drm/panel/panel-sitronix-st7701.c ---- linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-10-27 21:46:02.272576875 +0000 -+++ linux/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-12-04 19:26:32.898702724 +0000 ++++ linux/drivers/gpu/drm/panel/panel-sitronix-st7701.c 2023-12-04 19:27:51.016354008 +0000 @@ -19,6 +19,9 @@ /* Command2 BKx selection command */ @@ -3678,8 +3694,8 @@ diff -rupN linux.orig/drivers/gpu/drm/panel/panel-sitronix-st7701.c linux/driver { } }; diff -rupN linux.orig/drivers/input/Kconfig linux/drivers/input/Kconfig ---- linux.orig/drivers/input/Kconfig 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/Kconfig 2023-12-04 19:26:33.286710875 +0000 ++++ linux/drivers/input/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -51,6 +51,19 @@ config INPUT_FF_MEMLESS To compile this driver as a module, choose M here: the module will be called ff-memless. @@ -3701,8 +3717,8 @@ diff -rupN linux.orig/drivers/input/Kconfig linux/drivers/input/Kconfig tristate "Sparse keymap support library" help diff -rupN linux.orig/drivers/input/Makefile linux/drivers/input/Makefile ---- linux.orig/drivers/input/Makefile 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/Makefile 2023-12-04 19:26:33.286710875 +0000 ++++ linux/drivers/input/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -10,6 +10,7 @@ input-core-y := input.o input-compat.o i input-core-y += touchscreen.o @@ -3713,7 +3729,7 @@ diff -rupN linux.orig/drivers/input/Makefile linux/drivers/input/Makefile obj-$(CONFIG_INPUT_VIVALDIFMAP) += vivaldi-fmap.o diff -rupN linux.orig/drivers/input/input-polldev.c linux/drivers/input/input-polldev.c --- linux.orig/drivers/input/input-polldev.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/input-polldev.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/input-polldev.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,362 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* @@ -4078,8 +4094,8 @@ diff -rupN linux.orig/drivers/input/input-polldev.c linux/drivers/input/input-po +} +EXPORT_SYMBOL(input_unregister_polled_device); diff -rupN linux.orig/drivers/input/joystick/Kconfig linux/drivers/input/joystick/Kconfig ---- linux.orig/drivers/input/joystick/Kconfig 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/joystick/Kconfig 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/joystick/Kconfig 2023-12-04 19:26:33.290710958 +0000 ++++ linux/drivers/input/joystick/Kconfig 2023-12-04 19:27:51.016354008 +0000 @@ -400,6 +400,21 @@ config JOYSTICK_N64 Say Y here if you want enable support for the four built-in controller ports on the Nintendo 64 console. @@ -4103,8 +4119,8 @@ diff -rupN linux.orig/drivers/input/joystick/Kconfig linux/drivers/input/joystic tristate "Raspberry Pi Sense HAT joystick" depends on INPUT && I2C diff -rupN linux.orig/drivers/input/joystick/Makefile linux/drivers/input/joystick/Makefile ---- linux.orig/drivers/input/joystick/Makefile 2023-10-27 21:46:02.400580110 +0000 -+++ linux/drivers/input/joystick/Makefile 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/input/joystick/Makefile 2023-12-04 19:26:33.290710958 +0000 ++++ linux/drivers/input/joystick/Makefile 2023-12-04 19:27:51.016354008 +0000 @@ -25,6 +25,9 @@ obj-$(CONFIG_JOYSTICK_JOYDUMP) += joydu obj-$(CONFIG_JOYSTICK_MAGELLAN) += magellan.o obj-$(CONFIG_JOYSTICK_MAPLE) += maplecontrol.o @@ -4117,7 +4133,7 @@ diff -rupN linux.orig/drivers/input/joystick/Makefile linux/drivers/input/joysti obj-$(CONFIG_JOYSTICK_QWIIC) += qwiic-joystick.o diff -rupN linux.orig/drivers/input/joystick/odroidgo2-joypad.c linux/drivers/input/joystick/odroidgo2-joypad.c --- linux.orig/drivers/input/joystick/odroidgo2-joypad.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/joystick/odroidgo2-joypad.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/joystick/odroidgo2-joypad.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,878 @@ +/* + * SARADC joystick & GPIO Button driver for Linux(Hardkernel ODROIDGO2-Advance) @@ -4999,7 +5015,7 @@ diff -rupN linux.orig/drivers/input/joystick/odroidgo2-joypad.c linux/drivers/in +/*----------------------------------------------------------------------------*/ diff -rupN linux.orig/drivers/input/joystick/odroidgo2-v11-joypad.c linux/drivers/input/joystick/odroidgo2-v11-joypad.c --- linux.orig/drivers/input/joystick/odroidgo2-v11-joypad.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/joystick/odroidgo2-v11-joypad.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/joystick/odroidgo2-v11-joypad.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,878 @@ +/* + * SARADC joystick & GPIO Button driver for Linux(Hardkernel ODROIDGO2-Advance) @@ -5881,7 +5897,7 @@ diff -rupN linux.orig/drivers/input/joystick/odroidgo2-v11-joypad.c linux/driver +/*----------------------------------------------------------------------------*/ diff -rupN linux.orig/drivers/input/joystick/odroidgo3-joypad.c linux/drivers/input/joystick/odroidgo3-joypad.c --- linux.orig/drivers/input/joystick/odroidgo3-joypad.c 1970-01-01 00:00:00.000000000 +0000 -+++ linux/drivers/input/joystick/odroidgo3-joypad.c 2023-10-28 04:02:49.341614140 +0000 ++++ linux/drivers/input/joystick/odroidgo3-joypad.c 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,1086 @@ +/* + * SARADC joystick & GPIO Button driver for Linux(Hardkernel ODROIDGO2-Advance) @@ -6970,8 +6986,8 @@ diff -rupN linux.orig/drivers/input/joystick/odroidgo3-joypad.c linux/drivers/in + +/*----------------------------------------------------------------------------*/ diff -rupN linux.orig/drivers/power/supply/rk817_charger.c linux/drivers/power/supply/rk817_charger.c ---- linux.orig/drivers/power/supply/rk817_charger.c 2023-10-27 21:46:02.984594866 +0000 -+++ linux/drivers/power/supply/rk817_charger.c 2023-10-28 04:02:49.341614140 +0000 +--- linux.orig/drivers/power/supply/rk817_charger.c 2023-12-04 19:26:35.226751631 +0000 ++++ linux/drivers/power/supply/rk817_charger.c 2023-12-04 19:27:51.016354008 +0000 @@ -679,7 +679,7 @@ static enum power_supply_usb_type rk817_ }; @@ -6983,7 +6999,7 @@ diff -rupN linux.orig/drivers/power/supply/rk817_charger.c linux/drivers/power/s .num_properties = ARRAY_SIZE(rk817_bat_props), diff -rupN linux.orig/include/linux/input-polldev.h linux/include/linux/input-polldev.h --- linux.orig/include/linux/input-polldev.h 1970-01-01 00:00:00.000000000 +0000 -+++ linux/include/linux/input-polldev.h 2023-10-28 04:02:49.341614140 +0000 ++++ linux/include/linux/input-polldev.h 2023-12-04 19:27:51.016354008 +0000 @@ -0,0 +1,58 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _INPUT_POLLDEV_H From 483ddb7711ac7926e89b4b4507f74ce747233744 Mon Sep 17 00:00:00 2001 From: mason Date: Fri, 8 Dec 2023 15:41:03 +0000 Subject: [PATCH 18/22] Portmaster fixes --- .../portmaster/scripts/portmaster_compatibility.sh | 13 ++++++++++++- .../apps/portmaster/scripts/start_portmaster.sh | 3 +++ packages/apps/portmaster/sources/control.txt | 5 ++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/packages/apps/portmaster/scripts/portmaster_compatibility.sh b/packages/apps/portmaster/scripts/portmaster_compatibility.sh index 6444ade68..cd4b2923f 100644 --- a/packages/apps/portmaster/scripts/portmaster_compatibility.sh +++ b/packages/apps/portmaster/scripts/portmaster_compatibility.sh @@ -17,9 +17,20 @@ case "${QUIRK_DEVICE}" in done; ;; *) - #Remove gl4es libs on devices that support OpenGL + #Remove gl4es libs on devices that support OpenGL and sed any port that refrences it rm -rf /storage/roms/ports/*/lib*/libEGL* rm -rf /storage/roms/ports/*/lib*/libGL* + for port in /storage/roms/ports/*.sh; do + sed -i '/^export SDL_VIDEO_GL_DRIVER/c\#export SDL_VIDEO_GL_DRIVER"' "$port" + sed -i '/^export SDL_VIDEO_EGL_DRIVER/c\#export SDL_VIDEO_EGL_DRIVER' "$port" + echo Fixing: "$port"; + done; + + #Remove S922X fix if exists + for port in /storage/roms/ports/*.sh; do + sed -i '/get_controls && export/c\get_controls' "$port" + echo Fixing: "$port"; + done; ;; esac fi diff --git a/packages/apps/portmaster/scripts/start_portmaster.sh b/packages/apps/portmaster/scripts/start_portmaster.sh index 69a4cbbf7..0a4ae49fb 100644 --- a/packages/apps/portmaster/scripts/start_portmaster.sh +++ b/packages/apps/portmaster/scripts/start_portmaster.sh @@ -68,6 +68,9 @@ fi #Make sure permissions are correct in the PortMaster folder find /storage/roms/ports/ -not -perm 755 -exec chmod 755 {} \; +#Fix compatability for some portmaster ports +/usr/bin/portmaster_compatibility.sh + #Start PortMaster @LIBEGL@ cd /storage/roms/ports/PortMaster diff --git a/packages/apps/portmaster/sources/control.txt b/packages/apps/portmaster/sources/control.txt index d19f7e4c4..b2ce01054 100644 --- a/packages/apps/portmaster/sources/control.txt +++ b/packages/apps/portmaster/sources/control.txt @@ -3,10 +3,10 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) -# This file can and should be sourced by ports for various parameters to +# This file can and should be sourced by ports for various parameters to # minimize script customizations and allow for easier future updates # like adding additional supported devices. -# Thanks to JohnnyonFlame, dhwz, romadu, and shantigilbert for the +# Thanks to JohnnyonFlame, dhwz, romadu, and shantigilbert for the # suggestion and assistance with this. # Source used for gptokeyb available at # https://github.com/christianhaitian/gptokeyb @@ -89,7 +89,6 @@ get_controls() { # Set compatability libs and run compatability script export LD_LIBRARY_PATH=${clibs} - /usr/bin/portmaster_compatibility.sh # Now find any controller mapped on emulationstation... /storage/.config/PortMaster/mapper.txt SDL_GAMECONTROLLERCONFIG_FILE > /dev/null 2>&1 From 4f303403f6f5dcec025250b0a5d48bfa8aaa1324 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sun, 10 Dec 2023 14:28:31 +0000 Subject: [PATCH 19/22] Drop -Ofast as it is the cause of artifacting in other emulators as well. --- config/optimize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/optimize b/config/optimize index 6786d9bae..4f47ba12d 100644 --- a/config/optimize +++ b/config/optimize @@ -34,10 +34,10 @@ LDFLAGS_OPTIM_LINKER_GOLD="-fuse-ld=gold" LDFLAGS_OPTIM_LINKER_MOLD="-fuse-ld=mold" # default compiler optimization -CFLAGS_OPTIM_DEFAULT="-Ofast -fomit-frame-pointer -DNDEBUG" +CFLAGS_OPTIM_DEFAULT="-O3 -fomit-frame-pointer -DNDEBUG" CXXFLAGS_OPTIM_DEFAULT="${CFLAGS_OPTIM_DEFAULT}" # speed flag -CFLAGS_OPTIM_SPEED="-Ofast -fomit-frame-pointer -DNDEBUG" +CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer -DNDEBUG" CXXFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED}" # size flag CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer -DNDEBUG" From dd3d78ed8db79b4bea8544eaf049d89b7efe211d Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sun, 10 Dec 2023 19:41:19 +0000 Subject: [PATCH 20/22] Update cemu-sa. --- packages/emulators/standalone/cemu-sa/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/emulators/standalone/cemu-sa/package.mk b/packages/emulators/standalone/cemu-sa/package.mk index 5b06aa8d4..d003fa954 100644 --- a/packages/emulators/standalone/cemu-sa/package.mk +++ b/packages/emulators/standalone/cemu-sa/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) PKG_NAME="cemu-sa" -PKG_VERSION="f3c95f72e74d8a5f5873061fbb994643c63ec9c5" +PKG_VERSION="dee764473db26462a898aae8ea73c65a9cbafda1" PKG_ARCH="x86_64" PKG_LICENSE="MPL-2.0" PKG_SITE="https://github.com/cemu-project/Cemu" From 617ad6e81b028dc8bb99d7ce9db3d5694933a675 Mon Sep 17 00:00:00 2001 From: mason Date: Sun, 10 Dec 2023 22:43:53 +0000 Subject: [PATCH 21/22] Bump Yuzu and Citra, update docs --- .../RK3326/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- .../RK3399/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- .../RK3588/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- .../S922X/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- packages/emulators/standalone/citra-sa/package.mk | 2 +- packages/emulators/standalone/yuzu-sa/package.mk | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/documentation/PER_DEVICE_DOCUMENTATION/RK3326/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/RK3326/SUPPORTED_EMULATORS_AND_CORES.md index 59a0e1ad8..9edffd4ca 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/RK3326/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/RK3326/SUPPORTED_EMULATORS_AND_CORES.md @@ -83,7 +83,7 @@ This document describes all available systems emulators and cores available for |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| |Sammy|Atomiswave (atomiswave)|2003|`atomiswave`|.lst .bin .dat .zip .7z|**flycast:** flycast-sa
**retroarch:** flycast (default)
| -|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u|**flycast:** flycast-sa
**retroarch:** flycast (default)
| +|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u .cue|**flycast:** flycast-sa
**retroarch:** flycast (default)
| |Sega|Game Gear (gamegear)|1990|`gamegear`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Game Gear (Hacks) (ggh)|1990|`gamegearh`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Genesis (genesis)|1989|`genesis`|.bin .gen .md .sg .smd .zip .7z|**retroarch:** genesis_plus_gx (default)
**retroarch:** genesis_plus_gx_wide
**retroarch:** picodrive
| diff --git a/documentation/PER_DEVICE_DOCUMENTATION/RK3399/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/RK3399/SUPPORTED_EMULATORS_AND_CORES.md index f83f392e9..d39f67f9a 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/RK3399/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/RK3399/SUPPORTED_EMULATORS_AND_CORES.md @@ -85,7 +85,7 @@ This document describes all available systems emulators and cores available for |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| |Sammy|Atomiswave (atomiswave)|2003|`atomiswave`|.lst .bin .dat .zip .7z|**flycast:** flycast-sa
**retroarch:** flycast (default)
| -|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u|**flycast:** flycast-sa
**retroarch:** flycast (default)
| +|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u .cue|**flycast:** flycast-sa
**retroarch:** flycast (default)
| |Sega|Game Gear (gamegear)|1990|`gamegear`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Game Gear (Hacks) (ggh)|1990|`gamegearh`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
**mednafen:** gg
| |Sega|Genesis (genesis)|1989|`genesis`|.bin .gen .md .sg .smd .zip .7z|**retroarch:** genesis_plus_gx (default)
**retroarch:** genesis_plus_gx_wide
**retroarch:** picodrive
**mednafen:** md
| diff --git a/documentation/PER_DEVICE_DOCUMENTATION/RK3588/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/RK3588/SUPPORTED_EMULATORS_AND_CORES.md index b7e43b21d..04f4ddfbe 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/RK3588/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/RK3588/SUPPORTED_EMULATORS_AND_CORES.md @@ -85,7 +85,7 @@ This document describes all available systems emulators and cores available for |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| |Sammy|Atomiswave (atomiswave)|2003|`atomiswave`|.lst .bin .dat .zip .7z|**retroarch:** flycast2021
**retroarch:** flycast32 (default)
**retroarch:** flycast
**flycast:** flycast-sa
| -|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u|**retroarch:** flycast2021
**retroarch:** flycast32 (default)
**retroarch:** flycast
**flycast:** flycast-sa
| +|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u .cue|**retroarch:** flycast2021
**retroarch:** flycast32 (default)
**retroarch:** flycast
**flycast:** flycast-sa
| |Sega|Game Gear (gamegear)|1990|`gamegear`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
| |Sega|Game Gear (Hacks) (ggh)|1990|`gamegearh`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
| |Sega|Genesis (genesis)|1989|`genesis`|.bin .gen .md .sg .smd .zip .7z|**retroarch:** genesis_plus_gx (default)
**retroarch:** genesis_plus_gx_wide
**retroarch:** picodrive
| diff --git a/documentation/PER_DEVICE_DOCUMENTATION/S922X/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/S922X/SUPPORTED_EMULATORS_AND_CORES.md index ffdb7ea51..20e6490c6 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/S922X/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/S922X/SUPPORTED_EMULATORS_AND_CORES.md @@ -86,7 +86,7 @@ This document describes all available systems emulators and cores available for |Panasonic|3DO (3do)|1993|`3do`|.iso .bin .chd .cue|**retroarch:** opera (default)
| |Philips|VideoPac (videopac)|1978|`videopac`|.bin .zip .7z|**retroarch:** o2em (default)
| |Sammy|Atomiswave (atomiswave)|2003|`atomiswave`|.lst .bin .dat .zip .7z|**retroarch:** flycast2021
**flycast:** flycast-sa (default)
**retroarch:** flycast
| -|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u|**retroarch:** flycast2021
**flycast:** flycast-sa (default)
**retroarch:** flycast
| +|Sega|Dreamcast (dreamcast)|1998|`dreamcast`|.cdi .gdi .chd .m3u .cue|**retroarch:** flycast2021
**flycast:** flycast-sa (default)
**retroarch:** flycast
| |Sega|Game Gear (gamegear)|1990|`gamegear`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
| |Sega|Game Gear (Hacks) (ggh)|1990|`gamegearh`|.bin .gg .zip .7z|**retroarch:** gearsystem (default)
**retroarch:** genesis_plus_gx
**retroarch:** picodrive
**retroarch:** smsplus
| |Sega|Genesis (genesis)|1989|`genesis`|.bin .gen .md .sg .smd .zip .7z|**retroarch:** genesis_plus_gx (default)
**retroarch:** genesis_plus_gx_wide
**retroarch:** picodrive
| diff --git a/packages/emulators/standalone/citra-sa/package.mk b/packages/emulators/standalone/citra-sa/package.mk index a39c8b05f..5408ef5bb 100644 --- a/packages/emulators/standalone/citra-sa/package.mk +++ b/packages/emulators/standalone/citra-sa/package.mk @@ -17,7 +17,7 @@ case ${DEVICE} in ;; *) PKG_URL="${PKG_SITE}.git" - PKG_VERSION="59df319f48a8a67db717233e5b222a0b86f1eae4" + PKG_VERSION="60584e861d15f5cf1f64890c03e8090460d3f7c4" ;; esac diff --git a/packages/emulators/standalone/yuzu-sa/package.mk b/packages/emulators/standalone/yuzu-sa/package.mk index 41dff5591..c91f59daa 100644 --- a/packages/emulators/standalone/yuzu-sa/package.mk +++ b/packages/emulators/standalone/yuzu-sa/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS) PKG_NAME="yuzu-sa" -PKG_VERSION="8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a" +PKG_VERSION="875568bb3e34725578f7fa3661c8bad89f23a173" PKG_ARCH="x86_64" PKG_LICENSE="GPLv3" PKG_SITE="https://github.com/yuzu-emu/yuzu" From 25bced14e3d4b6ebe4534718d3bd8baa57f50811 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Mon, 11 Dec 2023 11:48:46 +0000 Subject: [PATCH 22/22] Revert dropping -Ofast to correct build issues. --- config/optimize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/optimize b/config/optimize index 4f47ba12d..6786d9bae 100644 --- a/config/optimize +++ b/config/optimize @@ -34,10 +34,10 @@ LDFLAGS_OPTIM_LINKER_GOLD="-fuse-ld=gold" LDFLAGS_OPTIM_LINKER_MOLD="-fuse-ld=mold" # default compiler optimization -CFLAGS_OPTIM_DEFAULT="-O3 -fomit-frame-pointer -DNDEBUG" +CFLAGS_OPTIM_DEFAULT="-Ofast -fomit-frame-pointer -DNDEBUG" CXXFLAGS_OPTIM_DEFAULT="${CFLAGS_OPTIM_DEFAULT}" # speed flag -CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer -DNDEBUG" +CFLAGS_OPTIM_SPEED="-Ofast -fomit-frame-pointer -DNDEBUG" CXXFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED}" # size flag CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer -DNDEBUG"