Merge pull request #45 from brooksytech/dev

Sync RK3399 with Dev
This commit is contained in:
Brooksytech 2023-06-23 07:43:51 -07:00 committed by GitHub
commit 78fae04ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 7118 additions and 2900 deletions

View file

@ -173,7 +173,7 @@ JELOS supports various build variables which alter the behavior of the distribut
> Note: <sup>1</sup> this property will change to yes/no for consistency in a future release.
### Special env variables
For development build, you can use the following env variables to customize the image or change build time functionality. They can be included in your `.bashrc` startup shell script.
For development builds, you can use the following env variables to customize the image or change build time functionality. To make them globally available to the builds, add them to ${HOME}/.JELOS/options.
|Variable|Function|
|----|----|
|LOCAL_SSH_KEYS_FILE|Enables using ssh public keys for access without the root password.|

View file

@ -79,8 +79,8 @@ docker-%: DOCKER_IMAGE := "justenoughlinuxos/jelos-build:latest"
# Anytime this directory changes, you must run `make clean` similarly to moving the distribution directory
docker-%: DOCKER_WORK_DIR := $(shell if [ -n "${DOCKER_WORK_DIR}" ]; then echo ${DOCKER_WORK_DIR}; else echo "$$(pwd)" ; fi)
# DEVELOPER_SETTINGS is a file containing developer speicific settings. This will be mounted into the container if it exists
docker-%: DEVELOPER_SETTINGS := $(shell if [ -f "${HOME}/developer_settings.conf" ]; then echo "-v \"${HOME}/developer_settings.conf:${HOME}/developer_settings.conf\""; else echo ""; fi)
# ${HOME}/.JELOS/options is a global options file containing developer and build settings.
docker-%: GLOBAL_SETTINGS := $(shell if [ -f "${HOME}/.JELOS/options" ]; then echo "-v \"${HOME}/.JELOS/options:${HOME}/.JELOS/options\""; else echo ""; fi)
# LOCAL_SSH_KEYS_FILE is a variable that contains the location of the authorized keys file for development build use. It will be mounted into the container if it exists.
docker-%: LOCAL_SSH_KEYS_FILE := $(shell if [ -n "${LOCAL_SSH_KEYS_FILE}" ]; then echo "-v \"${LOCAL_SSH_KEYS_FILE}:${LOCAL_SSH_KEYS_FILE}\""; else echo ""; fi)
@ -124,5 +124,5 @@ docker-image-pull:
# Wire up docker to call equivalent make files using % to match and $* to pass the value matched by %
docker-%:
BUILD_DIR=$(DOCKER_WORK_DIR) $(DOCKER_CMD) run $(PODMAN_ARGS) $(INTERACTIVE) --init --env-file .env --rm --user $(UID):$(GID) $(DEVELOPER_SETTINGS) $(LOCAL_SSH_KEYS_FILE) -v $(PWD):$(DOCKER_WORK_DIR) -w $(DOCKER_WORK_DIR) $(DOCKER_EXTRA_OPTS) $(DOCKER_IMAGE) $(COMMAND)
BUILD_DIR=$(DOCKER_WORK_DIR) $(DOCKER_CMD) run $(PODMAN_ARGS) $(INTERACTIVE) --init --env-file .env --rm --user $(UID):$(GID) $(GLOBAL_SETTINGS) $(LOCAL_SSH_KEYS_FILE) -v $(PWD):$(DOCKER_WORK_DIR) -w $(DOCKER_WORK_DIR) $(DOCKER_EXTRA_OPTS) $(DOCKER_IMAGE) $(COMMAND)

View file

@ -1163,7 +1163,7 @@ unset_functions() {
unset -f configure_package
unset -f pre_unpack unpack post_unpack
unset -f pre_unpack unpack post_unpack pre_get
unset -f pre_patch post_patch
for target in target host init bootstrap; do

View file

@ -46,21 +46,6 @@ BUILD_DATE=$(date)
# include helper functions
. config/functions
# read DISTRO options if available
if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
. "${DISTRO_DIR}/${DISTRO}/options"
fi
# read PROJECT options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/options"
fi
# read DEVICE options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
fi
# projects can set KERNEL_NAME (kernel.img)
KERNEL_NAME="${KERNEL_NAME:-KERNEL}"
@ -105,19 +90,29 @@ CCACHE_CACHE_SIZE="20G"
# suitable zstd level, currently 1.
CCACHE_COMPRESSLEVEL="0"
# read local persistent options from ${ROOT} if available
if [ -f "${ROOT}/.jelos/options" ]; then
. "${ROOT}/.jelos/options"
# read GLOBAL options if available
if [ -f "${HOME}/.${DISTRO}/options" ]; then
. "${HOME}/.${DISTRO}/options"
fi
# read global persistent options from $HOME if available
if [ -f "${HOME}/.jelos/options" ]; then
. "${HOME}/.jelos/options"
# read ROOT options from ${ROOT} if available
if [ -f "${ROOT}/.${DISTRO}/options" ]; then
. "${ROOT}/.${DISTRO}/options"
fi
# read global persistent options from ${DOCKER_WORK_DIR} if available
if [ -f "${DOCKER_WORK_DIR}/.jelos/options" ]; then
. "${DOCKER_WORK_DIR}/.jelos/options"
# read DISTRO options if available
if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then
. "${DISTRO_DIR}/${DISTRO}/options"
fi
# read PROJECT options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/options"
fi
# read DEVICE options if available
if [ -f "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options" ]; then
. "${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/options"
fi
if [ "${LOCAL_CCACHE_SUPPORT}" = "yes" ] && [ -z "${CCACHE_DISABLE}" ]; then

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="beetle-supafaust-lr"
PKG_VERSION="75c658cce454e58ae04ea252f53a31c60d61548e"
PKG_VERSION="6b639c98372d1c9bac885c55d772c812d2a9d525"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="core-info"
PKG_VERSION="c2863bcad30809d603fed8708dc759af3c539488"
PKG_VERSION="9813feebdc1ebb3d75fcd22e69666f783f902745"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-core-info"
PKG_URL="https://github.com/libretro/libretro-core-info/archive/${PKG_VERSION}.tar.gz"

View file

@ -4,7 +4,7 @@
# Copyright (C) 2023-present Fewtarius
PKG_NAME="fbneo-lr"
PKG_VERSION="b5608e891ad1879a067412fb82f25e6f446a1f98"
PKG_VERSION="3d1495688c2a1322b42a575e8c43a9cb589960f2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Non-commercial"

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="fceumm-lr"
PKG_VERSION="ad2c71d8b6ce1f7b99b2d4cade3bd139b67f3efa"
PKG_VERSION="f068818c4d68620c31eca0c02a5891ee3096b645"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"

View file

@ -21,7 +21,7 @@
################################################################################
PKG_NAME="mame2003-plus-lr"
PKG_VERSION="2ec0caa3bb1bd4b995414e050a575f78d3f6725c"
PKG_VERSION="71766e8f0cadb80eb6c735a76581a94b2c87769d"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MAME"

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="ppsspp-lr"
PKG_VERSION="264c6d740b86b1b445e0a9b6505a9884449b99f1"
PKG_VERSION="a56f74c8c0781b36ef0248d71482244a75ecccba"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/hrydgard/ppsspp"
PKG_URL="https://github.com/hrydgard/ppsspp.git"

View file

@ -20,7 +20,7 @@
################################################################################
PKG_NAME="slang-shaders"
PKG_VERSION="b9d3443a2736cf6db8408c49877ffc299e756511"
PKG_VERSION="dd7db517ee86329ff2e7d5b8a0b7b16dc5c0ef36"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View file

@ -20,8 +20,7 @@
################################################################################
PKG_NAME="tic80-lr"
PKG_VERSION="5dd72cf0eac7a98f9f35982cd09332165c70ff20"
PKG_REV="1"
PKG_VERSION="687802d"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/nesbox/TIC-80"
@ -35,14 +34,12 @@ PKG_LONGDESC="TIC-80 emulator"
GET_HANDLER_SUPPORT="git"
PKG_BUILD_FLAGS="+pic"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_host() {
PKG_CMAKE_OPTS_HOST="-DBUILD_PLAYER=OFF \
-DBUILD_WITH_JANET=ON \
-DBUILD_SOKOL=OFF \
-DBUILD_WITH_JANET=ON \
-DBUILD_SDL=OFF \
-DBUILD_TOUCH_INPUT=OFF \
-DBUILD_DEMO_CARTS=OFF \
-DBUILD_LIBRETRO=OFF \
-DBUILD_WITH_MRUBY=OFF \
@ -53,6 +50,7 @@ pre_configure_target() {
PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \
-DBUILD_SOKOL=OFF \
-DBUILD_SDL=OFF \
-DBUILD_TOUCH_INPUT=ON \
-DBUILD_DEMO_CARTS=OFF \
-DBUILD_LIBRETRO=ON \
-DBUILD_WITH_MRUBY=OFF \

View file

@ -27,7 +27,7 @@ rtc_custom_time = 0
rtc_system_time = 0
slot2_device_type = 0
rumble_frames = 3
firmware.username = Jelos
firmware.username = JELOS
firmware.language = 1
firmware.favorite_color = 0
firmware.birthday_month = 1

View file

@ -27,7 +27,7 @@ rtc_custom_time = 0
rtc_system_time = 0
slot2_device_type = 0
rumble_frames = 3
firmware.username = Jelos
firmware.username = JELOS
firmware.language = 1
firmware.favorite_color = 0
firmware.birthday_month = 1

View file

@ -27,7 +27,7 @@ rtc_custom_time = 0
rtc_system_time = 0
slot2_device_type = 0
rumble_frames = 3
firmware.username = Jelos
firmware.username = JELOS
firmware.language = 1
firmware.favorite_color = 0
firmware.birthday_month = 1

View file

@ -1,6 +1,6 @@
frameskip_type = 0
frameskip_value = 4
safe_frameskip = 0
frameskip_value = 1
safe_frameskip = 1
show_frame_counter = 0
screen_orientation = 0
screen_swap = 0
@ -8,7 +8,7 @@ savestate_number = 0
fast_forward = 0
enable_sound = 1
clock_speed = 0
threaded_3d = 0
threaded_3d = 1
mirror_touch = 0
compress_savestates = 1
savestate_snapshot = 1
@ -27,7 +27,7 @@ rtc_custom_time = 0
rtc_system_time = 0
slot2_device_type = 0
rumble_frames = 3
firmware.username = Jelos
firmware.username = JELOS
firmware.language = 1
firmware.favorite_color = 0
firmware.birthday_month = 1

View file

@ -1,6 +1,6 @@
frameskip_type = 0
frameskip_value = 4
safe_frameskip = 0
frameskip_value = 1
safe_frameskip = 1
show_frame_counter = 0
screen_orientation = 0
screen_swap = 0
@ -8,7 +8,7 @@ savestate_number = 0
fast_forward = 0
enable_sound = 1
clock_speed = 0
threaded_3d = 0
threaded_3d = 1
mirror_touch = 0
compress_savestates = 1
savestate_snapshot = 1
@ -27,7 +27,7 @@ rtc_custom_time = 0
rtc_system_time = 0
slot2_device_type = 0
rumble_frames = 3
firmware.username = Jelos
firmware.username = JELOS
firmware.language = 1
firmware.favorite_color = 0
firmware.birthday_month = 1

View file

@ -1,6 +1,6 @@
frameskip_type = 0
frameskip_value = 4
safe_frameskip = 0
frameskip_value = 1
safe_frameskip = 1
show_frame_counter = 0
screen_orientation = 1
screen_swap = 0
@ -8,7 +8,7 @@ savestate_number = 0
fast_forward = 0
enable_sound = 1
clock_speed = 0
threaded_3d = 0
threaded_3d = 1
mirror_touch = 0
compress_savestates = 1
savestate_snapshot = 1
@ -27,7 +27,7 @@ rtc_custom_time = 0
rtc_system_time = 0
slot2_device_type = 0
rumble_frames = 3
firmware.username = Jelos
firmware.username = JELOS
firmware.language = 1
firmware.favorite_color = 0
firmware.birthday_month = 1

View file

@ -4,7 +4,7 @@
# Copyright (C) 2022-present Fewtarius
PKG_NAME="flycast-sa"
PKG_VERSION="b92b7a3ece1b0e083f2b7e4193610f0d161b3387"
PKG_VERSION="0070f9abad69c67ea47603c516f4e33490aeae2f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/flyinghead/flycast"
PKG_URL="${PKG_SITE}.git"
@ -47,5 +47,5 @@ makeinstall_target() {
cp ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin
cp -r ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/config/flycast
chmod +x ${INSTALL}/usr/bin/start_flycastsa.sh
chmod +x ${INSTALL}/usr/bin/start_flycast.sh
}

View file

@ -1,27 +0,0 @@
diff --git a/core/archive/ZipArchive.cpp b/core/archive/ZipArchive.cpp
index 394f919a..58cd295e 100644
--- a/core/archive/ZipArchive.cpp
+++ b/core/archive/ZipArchive.cpp
@@ -27,20 +27,8 @@ ZipArchive::~ZipArchive()
bool ZipArchive::Open(const char* path)
{
- FILE *file = nowide::fopen(path, "rb");
- if (file == nullptr)
- return false;
- zip_error_t error;
- zip_source_t *source = zip_source_filep_create(file, 0, -1, &error);
- if (source == nullptr)
- {
- std::fclose(file);
- return false;
- }
- zip = zip_open_from_source(source, 0, NULL);
- if (zip == nullptr)
- zip_source_free(source);
- return zip != nullptr;
+ zip = zip_open(path, 0, NULL);
+ return (zip != NULL);
}
ArchiveFile* ZipArchive::OpenFile(const char* name)

View file

@ -38,6 +38,6 @@ makeinstall_target() {
# copy binary & start script
cp src/hatari ${INSTALL}/usr/bin/hatarisa
cp -R ${PKG_DIR}/scripts/start_hatarisa.sh ${INSTALL}/usr/bin/
chmod 0755 ${INSTALL}/usr/bin/start_hatarisa.sh
cp -R ${PKG_DIR}/scripts/start_hatari.sh ${INSTALL}/usr/bin/
chmod 0755 ${INSTALL}/usr/bin/start_hatari.sh
}

View file

@ -7,7 +7,7 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_SITE="https://github.com/hrydgard/ppsspp"
PKG_URL="${PKG_SITE}.git"
PKG_VERSION="264c6d740b86b1b445e0a9b6505a9884449b99f1"
PKG_VERSION="a56f74c8c0781b36ef0248d71482244a75ecccba"
PKG_LICENSE="GPLv2"
PKG_DEPENDS_TARGET="toolchain ffmpeg libzip SDL2 zlib zip"
PKG_SHORTDESC="PPSSPPDL"

View file

@ -3,7 +3,7 @@
# Copyright (C) 2023-present Fewtarius
PKG_NAME="retroarch"
PKG_VERSION="5caebf367555cb58dd4a658d0ac4123335bb6b71"
PKG_VERSION="c0444fcd79533d9611f9ee43c8db7bd7bdaf1609"
PKG_SITE="https://github.com/libretro/RetroArch"
PKG_URL="${PKG_SITE}.git"
PKG_LICENSE="GPLv3"

View file

@ -147,7 +147,7 @@ puae_deadzone = "25"
melonds_screen_layout = "Left/Right"
melonds_swapscreen_mode = "Toggle"
melonds_threaded_renderer = "enabled"
melonds_touch_mode = "Joystick"
melonds_touch_mode = "Touch"
duckstation_GPU.Renderer = "Software"
virtualjaguar_bios = "enabled"
virtualjaguar_usefastblitter = "enabled"

View file

@ -0,0 +1,34 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
### If you add a variable that should persist across processes,
### remember to export it here.
export SLOW_CORES \
FAST_CORES \
CPU_FREQ \
DMC_FREQ \
GPU_FREQ \
DEVICE_AUDIO_MIXER \
DEVICE_BRIGHTNESS \
DEVICE_FAKE_JACKSENSE \
DEVICE_FUNC_KEYA_MODIFIER \
DEVICE_FUNC_KEYB_MODIFIER \
DEVICE_HAS_FAN \
DEVICE_HEADPHONE_DEV \
DEVICE_INTERNAL_WIFI \
DEVICE_JACK \
DEVICE_KEY_VOLUMEDOWN \
DEVICE_KEY_VOLUMEUP \
DEVICE_LED_CONTROL \
DEVICE_PLAYBACK_PATH_HP \
DEVICE_PLAYBACK_PATH_SPK \
DEVICE_POWER_LED \
DEVICE_PWM_FAN \
DEVICE_PWM_MOTOR \
DEVICE_TEMP_SENSOR \
DEVICE_VOLUMECTL \
DEVICE_WIFI \
DEVICE_WIFI_MODULE \
UI_SERVICE

View file

@ -10,5 +10,3 @@ then
/usr/bin/setsuspendmode mem
fi
# AYANEO Air Plus does not yet support deep sleep.
echo s2idle >/sys/power/mem_sleep

View file

@ -3,6 +3,7 @@
# Copyright (C) 2022-present Fewtarius
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
DEVICE_LED_CONTROL=true
DEVICE_VOLUMECTL=true
DEVICE_AUDIO_MIXER="Master"
DEVICE_PLAYBACK_PATH_SPK="SPK"

View file

@ -42,6 +42,13 @@ then
set_setting system.cpugovernor schedutil
fi
### Set the default GPU performance mode
GPUPERF=$(get_setting system.gpuperf)
if [ -n "${GPUPERF}" ]
then
gpu_performance_level ${GPUPERF}
fi
### Configure suspend mode.
MYSLEEPMODE=$(get_setting system.suspendmode)
if [ -n "${MYSLEEPMODE}" ]

View file

@ -135,14 +135,10 @@ then
fi
GPUPERF=$(get_setting "gpuperf" "${PLATFORM}" "${ROMNAME##*/}")
if [ ! "${GPUPERF}" = "system" ] && \
[ ! -z "${GPUPERF}" ]
if [ ! -z ${GPUPERF} ]
then
if [ ! "${GPUPERF}" = "default" ]
then
echo "${GPUPERF}" >/tmp/.gpuperf
systemctl restart powerstate
fi
gpu_performance_level ${GPUPERF}
get_gpu_performance_level >/tmp/.gpu_performance_level
fi
if [ "${DEVICE_HAS_FAN}" = "true" ]
@ -466,12 +462,14 @@ then
fi
fi
### Remove GPU performance helper
if [ -e "/tmp/.gpuperf" ]
GPUPERF=$(get_setting "system.gpuperf")
if [ ! -z ${GPUPERF} ]
then
rm -f /tmp/.gpuperf
systemctl restart powerstate
gpu_performance_level ${GPUPERF}
else
gpu_performance_level auto
fi
rm -f /tmp/.gpu_performance_level 2>/dev/null
### Backup save games
CLOUD_BACKUP=$(get_setting "cloud.backup")

View file

@ -0,0 +1,21 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius
PKG_NAME="asus-firmware"
PKG_VERSION="b7d9e3ed9cc14dbc5f1640309ae13dd627fc173a"
PKG_LICENSE="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/LICENSE.cirrus" # Probably
PKG_SITE="https://gitlab.com/asus-linux/firmware"
PKG_URL="${PKG_SITE}.git"
PKG_LONGDESC="ASUS ROG Ally audio firmware"
PKG_DEPENDS_TARGET="linux"
PKG_TOOLCHAIN="manual"
make_target() {
:
}
makeinstall_target() {
mkdir -p ${INSTALL}/$(get_full_firmware_dir)/cirrus ||:
rsync -a cirrus/* ${INSTALL}/$(get_full_firmware_dir)/cirrus/
}

View file

@ -4,7 +4,7 @@
PKG_NAME="linux"
PKG_LICENSE="GPL"
PKG_VERSION="6.3.8"
PKG_VERSION="6.3.9"
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"

View file

@ -1,42 +1,24 @@
diff -rupN linux-6.1.27.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linux-6.1.27/drivers/gpu/drm/drm_panel_orientation_quirks.c
--- linux-6.1.27.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-05-01 20:39:27.772375276 +0000
+++ linux-6.1.27/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-05-01 20:49:16.920849540 +0000
@@ -170,16 +170,28 @@ static const struct dmi_system_id orient
diff -rupN linux-6.3.9.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linux-6.3.9/drivers/gpu/drm/drm_panel_orientation_quirks.c
--- linux-6.3.9.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-06-21 22:34:17.552602880 +0000
+++ linux-6.3.9/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-06-21 22:41:10.707016041 +0000
@@ -170,13 +170,13 @@ static const struct dmi_system_id orient
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
- }, { /* AYA NEO 2021 */
+ }, { /* AYANEO AYANEO 2 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
+ }, { /* AYA NEO 2021 and variants */
+ }, { /* AYA NEO 2021 and Founder */
.matches = {
- DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
- DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"),
- },
- .driver_data = (void *)&lcd800x1280_rightside_up,
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "2021"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* AYA NEO Founder */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYA NEO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /* AYA NEO AIR */
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
- }, { /* AYA NEO AIR */
+ }, { /* AYA NEO AIR, AIR Pro, AIR Plus*/
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
- DMI_MATCH(DMI_BOARD_NAME, "AIR"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
},
.driver_data = (void *)&lcd1080x1920_leftside_up,
}, { /* AYA NEO NEXT */
@@ -188,6 +200,12 @@ static const struct dmi_system_id orient
DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
@@ -188,6 +188,18 @@ static const struct dmi_system_id orient
DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
@ -46,6 +28,12 @@ diff -rupN linux-6.1.27.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linu
+ DMI_MATCH(DMI_BOARD_NAME, "GEEK"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* AYANEO AYANEO 2 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
}, { /* Chuwi HiBook (CWI514) */
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),

View file

@ -0,0 +1,109 @@
diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c
index d1094bb1aa42..e74683295691 100644
--- a/drivers/hid/hid-asus.c
+++ b/drivers/hid/hid-asus.c
@@ -910,6 +910,11 @@ static int asus_input_mapping(struct hid_device *hdev,
/* Fn+Right Aura mode next on N-Key keyboard */
case 0xb3: asus_map_key_clear(KEY_PROG3); break;
+
+ case 0xa5: asus_map_key_clear(KEY_F15); break; /* ROG Ally left back */
+ case 0xa6: asus_map_key_clear(KEY_F16); break; /* ROG Ally QAM button */
+ case 0xa7: asus_map_key_clear(KEY_F17); break; /* ROG Ally ROG long-press */
+ case 0xa8: asus_map_key_clear(KEY_F18); break; /* ROG Ally ROG long-press-release */
default:
/* ASUS lazily declares 256 usages, ignore the rest,
@@ -1267,6 +1272,9 @@ static const struct hid_device_id asus_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD2),
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
+ USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY),
+ QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD),
QUIRK_ROG_CLAYMORE_II_KEYBOARD },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index c2e9b6d1fd7d..cd6efa46a2bd 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -207,6 +207,7 @@
#define USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD3 0x1822
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD 0x1866
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD2 0x19b6
+#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY 0x1abe
#define USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD 0x196b
#define USB_DEVICE_ID_ASUSTEK_FX503VD_KEYBOARD 0x1869
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f70d6a33421d..068a30c0ff4d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7118,6 +7118,10 @@ enum {
ALC294_FIXUP_ASUS_DUAL_SPK,
ALC285_FIXUP_THINKPAD_X1_GEN7,
ALC285_FIXUP_THINKPAD_HEADSET_JACK,
+ ALC294_FIXUP_ASUS_ALLY,
+ ALC294_FIXUP_ASUS_ALLY_PINS,
+ ALC294_FIXUP_ASUS_ALLY_VERBS,
+ ALC294_FIXUP_ASUS_ALLY_SPEAKER,
ALC294_FIXUP_ASUS_HPE,
ALC294_FIXUP_ASUS_COEF_1B,
ALC294_FIXUP_ASUS_GX502_HP,
@@ -8414,6 +8418,47 @@ static const struct hda_fixup alc269_fixups[] = {
.chained = true,
.chain_id = ALC294_FIXUP_SPK2_TO_DAC1
},
+ [ALC294_FIXUP_ASUS_ALLY] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = cs35l41_fixup_i2c_two,
+ .chained = true,
+ .chain_id = ALC294_FIXUP_ASUS_ALLY_PINS
+ },
+ [ALC294_FIXUP_ASUS_ALLY_PINS] = {
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x19, 0x03a11050 },
+ { 0x1a, 0x03a11C30 },
+ { 0x21, 0x03211420 },
+ { }
+ },
+ .chained = true,
+ .chain_id = ALC294_FIXUP_ASUS_ALLY_VERBS
+ },
+ [ALC294_FIXUP_ASUS_ALLY_VERBS] = {
+ .type = HDA_FIXUP_VERBS,
+ .v.verbs = (const struct hda_verb[]) {
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x46 },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0x0004 },
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x47 },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0xA47A },
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x49 },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0x0049},
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x4A },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0x201B },
+ { 0x20, AC_VERB_SET_COEF_INDEX, 0x6B },
+ { 0x20, AC_VERB_SET_PROC_COEF, 0x4278},
+ { }
+ },
+ .chained = true,
+ .chain_id = ALC294_FIXUP_ASUS_ALLY_SPEAKER
+ },
+ [ALC294_FIXUP_ASUS_ALLY_SPEAKER] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc285_fixup_speaker2_to_dac1,
+ },
[ALC285_FIXUP_THINKPAD_X1_GEN7] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc285_fixup_thinkpad_x1_gen7,
@@ -9558,6 +9603,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x10ec, 0x1252, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
SND_PCI_QUIRK(0x10ec, 0x1254, "Intel Reference board", ALC295_FIXUP_CHROME_BOOK),
SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-SZ6", ALC269_FIXUP_HEADSET_MODE),
+ SND_PCI_QUIRK(0x1043, 0x17F3, "ROG Ally RC71L_RC71L", ALC294_FIXUP_ASUS_ALLY),
SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen (NP930SBE-K01US)", ALC298_FIXUP_SAMSUNG_AMP),
SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro (NP930MBE-K04US)", ALC298_FIXUP_SAMSUNG_AMP),

View file

@ -3,7 +3,7 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="samba"
PKG_VERSION="4.17.7"
PKG_VERSION="4.17.8"
PKG_LICENSE="GPLv3+"
PKG_SITE="https://www.samba.org"
PKG_URL="https://download.samba.org/pub/samba/stable/${PKG_NAME}-${PKG_VERSION}.tar.gz"

View file

@ -3,7 +3,7 @@
# Copyright (C) 2023-present Fewtarius
PKG_NAME="syncthing"
PKG_VERSION="1.23.4"
PKG_VERSION="1.23.5"
PKG_ARCH="any"
PKG_LICENSE="MPLv2"
PKG_SITE="https://syncthing.net/"

View file

@ -3,8 +3,7 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="openssl"
PKG_VERSION="3.0.8"
PKG_SHA256="6c13d2bf38fdf31eac3ce2a347073673f5d63263398f1f69d0df4a41253e4b3e"
PKG_VERSION="3.0.9"
PKG_LICENSE="Apache-2.0"
PKG_SITE="https://www.openssl.org"
PKG_URL="https://www.openssl.org/source/${PKG_NAME}-${PKG_VERSION}.tar.gz"

View file

@ -2,8 +2,12 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Fewtarius (https://github.com/fewtarius)
get_gpu_power_profile() {
cat /sys/class/drm/card0/device/power_dpm_state 2>/dev/null
}
gpu_power_profile() {
for card in /sys/class/drm/card*/device/pp_power_profile_mode
for card in /sys/class/drm/card*/device/power_dpm_state
do
if [ -e "${card}" ]
then
@ -12,6 +16,10 @@ gpu_power_profile() {
done
}
get_gpu_performance_level() {
cat /sys/class/drm/card0/device/power_dpm_force_performance_level 2>/dev/null
}
gpu_performance_level() {
for card in /sys/class/drm/card*/device/power_dpm_force_performance_level
do

View file

@ -20,22 +20,20 @@ do
case ${STATUS} in
Disch*)
log $0 "Switching to battery mode."
if [ -e "/tmp/.gpuperf" ]
if [ -e "/tmp/.gpu_performance_level" ]
then
GPUMODE=$(cat /tmp/.gpuperf)
GPUPROFILE=$(cat /tmp/.gpu_performance_level)
else
GPUMODE=$(get_setting system.gpuperf)
if [ -z "${GPUMODE}" ]
then
GPUMODE=auto
set_setting system.gpuperf auto
fi
GPUPROFILE=$(get_setting system.gpuperf)
fi
if [ -z "${GPUPROFILE}" ]
then
GPUPROFILE="auto"
fi
ledcontrol
audio_powersave 1
cpu_perftune battery
gpu_performance_level ${GPUMODE}
gpu_power_profile 1
gpu_performance_level ${GPUPROFILE}
pcie_aspm_policy powersave
device_powersave 1
;;
@ -44,8 +42,7 @@ do
ledcontrol
audio_powersave 0
cpu_perftune performance
gpu_performance_level profile_standard
gpu_power_profile 1
gpu_performance_level auto
pcie_aspm_policy default
device_powersave 0
;;

View file

@ -1213,4 +1213,58 @@
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="retrogame_joypad" deviceGUID="190000004b4800000111000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="down" type="button" id="14" value="1" />
<input name="hotkeyenable" type="button" id="8" value="1" />
<input name="left" type="button" id="15" value="1" />
<input name="leftanalogdown" type="axis" id="1" value="1" />
<input name="leftanalogleft" type="axis" id="0" value="-1" />
<input name="leftanalogright" type="axis" id="0" value="1" />
<input name="leftanalogup" type="axis" id="1" value="-1" />
<input name="leftshoulder" type="button" id="4" value="1" />
<input name="leftthumb" type="button" id="11" value="1" />
<input name="lefttrigger" type="button" id="6" value="1" />
<input name="right" type="button" id="16" value="1" />
<input name="rightanalogdown" type="axis" id="3" value="1" />
<input name="rightanalogleft" type="axis" id="2" value="-1" />
<input name="rightanalogright" type="axis" id="2" value="1" />
<input name="rightanalogup" type="axis" id="3" value="-1" />
<input name="rightshoulder" type="button" id="5" value="1" />
<input name="rightthumb" type="button" id="12" value="1" />
<input name="righttrigger" type="button" id="7" value="1" />
<input name="select" type="button" id="8" value="1" />
<input name="start" type="button" id="9" value="1" />
<input name="up" type="button" id="13" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="zed_joystick" deviceGUID="1900fcf27a65645f6a6f797374696300">
<input name="a" type="button" id="0" value="1" />
<input name="b" type="button" id="1" value="1" />
<input name="down" type="button" id="14" value="1" />
<input name="hotkeyenable" type="button" id="8" value="1" />
<input name="left" type="button" id="15" value="1" />
<input name="leftanalogdown" type="axis" id="1" value="1" />
<input name="leftanalogleft" type="axis" id="0" value="-1" />
<input name="leftanalogright" type="axis" id="0" value="1" />
<input name="leftanalogup" type="axis" id="1" value="-1" />
<input name="leftshoulder" type="button" id="4" value="1" />
<input name="leftthumb" type="button" id="11" value="1" />
<input name="lefttrigger" type="button" id="6" value="1" />
<input name="right" type="button" id="16" value="1" />
<input name="rightanalogdown" type="axis" id="3" value="1" />
<input name="rightanalogleft" type="axis" id="2" value="-1" />
<input name="rightanalogright" type="axis" id="2" value="1" />
<input name="rightanalogup" type="axis" id="3" value="-1" />
<input name="rightshoulder" type="button" id="5" value="1" />
<input name="rightthumb" type="button" id="12" value="1" />
<input name="righttrigger" type="button" id="7" value="1" />
<input name="select" type="button" id="8" value="1" />
<input name="start" type="button" id="9" value="1" />
<input name="up" type="button" id="13" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
</inputList>

View file

@ -35,7 +35,7 @@
<string name="LogLevel" value="warning" />
<string name="OMXAudioDev" value="both" />
<string name="Overclock" value="none" />
<string name="PowerSaverMode" value="default" />
<string name="PowerSaverMode" value="enhanced" />
<string name="Scraper" value="ScreenScraper" />
<string name="ScrapperImageSrc" value="ss" />
<string name="ScrapperLogoSrc" value="" />
@ -48,7 +48,7 @@
<string name="ShowBattery" value="text" />
<string name="SlideshowScreenSaverImageDir" value="/storage/screenshots" />
<string name="SlideshowScreenSaverImageFilter" value=".png,.jpg" />
<string name="SortSystems" value="alpha" />
<string name="SortSystems" value="manufacturer" />
<string name="StartupSystem" value="lastsystem" />
<string name="UIMode" value="Full" />
<string name="UIMode_passkey" value="aaaba" />

View file

@ -1,71 +0,0 @@
<?xml version="1.0"?>
<inputList>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
<input name="up" type="key" id="1073741906" value="1" />
<input name="down" type="key" id="1073741905" value="1" />
<input name="left" type="key" id="1073741904" value="1" />
<input name="right" type="key" id="1073741903" value="1" />
<input name="a" type="key" id="27" value="1" />
<input name="b" type="key" id="13" value="1" />
<input name="pagedown" type="key" id="34" value="1" />
<input name="pageup" type="key" id="33" value="1" />
<input name="select" type="key" id="8" value="1" />
<input name="start" type="key" id="32" value="1" />
<input name="x" type="key" id="61" value="1" />
<input name="y" type="key" id="45" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="retrogame_joypad" deviceGUID="190000004b4800000111000000010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="0" value="1" />
<input name="down" type="button" id="14" value="1" />
<input name="hotkeyenable" type="button" id="8" value="1" />
<input name="left" type="button" id="15" value="1" />
<input name="leftanalogdown" type="axis" id="1" value="1" />
<input name="leftanalogleft" type="axis" id="0" value="-1" />
<input name="leftanalogright" type="axis" id="0" value="1" />
<input name="leftanalogup" type="axis" id="1" value="-1" />
<input name="leftshoulder" type="button" id="4" value="1" />
<input name="leftthumb" type="button" id="11" value="1" />
<input name="lefttrigger" type="button" id="6" value="1" />
<input name="right" type="button" id="16" value="1" />
<input name="rightanalogdown" type="axis" id="3" value="1" />
<input name="rightanalogleft" type="axis" id="2" value="-1" />
<input name="rightanalogright" type="axis" id="2" value="1" />
<input name="rightanalogup" type="axis" id="3" value="-1" />
<input name="rightshoulder" type="button" id="5" value="1" />
<input name="rightthumb" type="button" id="12" value="1" />
<input name="righttrigger" type="button" id="7" value="1" />
<input name="select" type="button" id="8" value="1" />
<input name="start" type="button" id="9" value="1" />
<input name="up" type="button" id="13" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
<inputConfig type="joystick" deviceName="zed_joystick" deviceGUID="1900fcf27a65645f6a6f797374696300">
<input name="a" type="button" id="0" value="1" />
<input name="b" type="button" id="1" value="1" />
<input name="down" type="button" id="14" value="1" />
<input name="hotkeyenable" type="button" id="8" value="1" />
<input name="left" type="button" id="15" value="1" />
<input name="leftanalogdown" type="axis" id="1" value="1" />
<input name="leftanalogleft" type="axis" id="0" value="-1" />
<input name="leftanalogright" type="axis" id="0" value="1" />
<input name="leftanalogup" type="axis" id="1" value="-1" />
<input name="leftshoulder" type="button" id="4" value="1" />
<input name="leftthumb" type="button" id="11" value="1" />
<input name="lefttrigger" type="button" id="6" value="1" />
<input name="right" type="button" id="16" value="1" />
<input name="rightanalogdown" type="axis" id="3" value="1" />
<input name="rightanalogleft" type="axis" id="2" value="-1" />
<input name="rightanalogright" type="axis" id="2" value="1" />
<input name="rightanalogup" type="axis" id="3" value="-1" />
<input name="rightshoulder" type="button" id="5" value="1" />
<input name="rightthumb" type="button" id="12" value="1" />
<input name="righttrigger" type="button" id="7" value="1" />
<input name="select" type="button" id="8" value="1" />
<input name="start" type="button" id="9" value="1" />
<input name="up" type="button" id="13" value="1" />
<input name="x" type="button" id="2" value="1" />
<input name="y" type="button" id="3" value="1" />
</inputConfig>
</inputList>

View file

@ -3,7 +3,7 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="ebdd2ff"
PKG_VERSION="58e1a4e"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"
@ -81,52 +81,68 @@ pre_configure_target() {
if [ -f ~/developer_settings.conf ]; then
. ~/developer_settings.conf
fi
for key in SCREENSCRAPER_DEV_LOGIN \
GAMESDB_APIKEY \
CHEEVOS_DEV_LOGIN
do
if [ -z "${!key}" ]
then
echo "WARNING: ${!key} not declared, will not build support."
fi
done
export DEVICE=$(echo ${DEVICE^^} | sed "s#-#_##g")
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/locale
cp -rf ${PKG_BUILD}/locale/lang/* ${INSTALL}/usr/config/locale/
mkdir -p ${INSTALL}/usr/config/locale
cp -rf ${PKG_BUILD}/locale/lang/* ${INSTALL}/usr/config/locale/
mkdir -p ${INSTALL}/usr/config/emulationstation/resources
cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/
rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png
mkdir -p ${INSTALL}/usr/config/emulationstation/resources
cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/
rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_BUILD}/es_settings ${INSTALL}/usr/bin
chmod 0755 ${INSTALL}/usr/bin/es_settings
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_BUILD}/es_settings ${INSTALL}/usr/bin
chmod 0755 ${INSTALL}/usr/bin/es_settings
cp ${PKG_BUILD}/start_es.sh ${INSTALL}/usr/bin
chmod 0755 ${INSTALL}/usr/bin/start_es.sh
cp ${PKG_BUILD}/start_es.sh ${INSTALL}/usr/bin
chmod 0755 ${INSTALL}/usr/bin/start_es.sh
mkdir -p ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
cp -rf ${PKG_DIR}/bluez/* ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
mkdir -p ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
cp -rf ${PKG_DIR}/bluez/* ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
mkdir -p ${INSTALL}/usr/bin
#ln -sf /storage/.config/emulationstation/resources ${INSTALL}/usr/bin/resources
cp -rf ${PKG_BUILD}/emulationstation ${INSTALL}/usr/bin
mkdir -p ${INSTALL}/usr/bin
#ln -sf /storage/.config/emulationstation/resources ${INSTALL}/usr/bin/resources
cp -rf ${PKG_BUILD}/emulationstation ${INSTALL}/usr/bin
mkdir -p ${INSTALL}/etc/emulationstation/
ln -sf /storage/.config/emulationstation/themes ${INSTALL}/etc/emulationstation/
ln -sf /usr/config/emulationstation/es_systems.cfg ${INSTALL}/etc/emulationstation/es_systems.cfg
mkdir -p ${INSTALL}/etc/emulationstation/
ln -sf /storage/.config/emulationstation/themes ${INSTALL}/etc/emulationstation/
ln -sf /usr/config/emulationstation/es_systems.cfg ${INSTALL}/etc/emulationstation/es_systems.cfg
cp -rf ${PKG_DIR}/config/common/*.cfg ${INSTALL}/usr/config/emulationstation
cp -rf ${PKG_DIR}/config/common/*.cfg ${INSTALL}/usr/config/emulationstation
if [ -d "${PKG_DIR}/config/device/${DEVICE}" ]; then
cp -rf ${PKG_DIR}/config/device/${DEVICE}/*.cfg ${INSTALL}/usr/config/emulationstation
fi
if [ -d "${PKG_DIR}/config/device/${DEVICE}" ]; then
cp -rf ${PKG_DIR}/config/device/${DEVICE}/*.cfg ${INSTALL}/usr/config/emulationstation
fi
ln -sf /storage/.cache/system_timezone ${INSTALL}/etc/timezone
ln -sf /storage/.cache/system_timezone ${INSTALL}/etc/timezone
}
post_install() {
mkdir -p ${INSTALL}/usr/share
ln -sf /storage/.config/locale ${INSTALL}/usr/share/locale
mkdir -p ${INSTALL}/usr/share
ln -sf /storage/.config/locale ${INSTALL}/usr/share/locale
mkdir -p ${INSTALL}/usr/lib
ln -sf /usr/share/locale ${INSTALL}/usr/lib/locale
mkdir -p ${INSTALL}/usr/lib
ln -sf /usr/share/locale ${INSTALL}/usr/lib/locale
ln -sf /usr/share/locale ${INSTALL}/usr/config/emulationstation/locale
ln -sf /usr/share/locale ${INSTALL}/usr/config/emulationstation/locale
# WARN: Deprecated
if [ -f ~/developer_settings.conf ]; then
echo "WARNING: developer_settings.conf is deprecated, please migrate variables to \${HOME}/.${DISTRO}/options."
fi
}

View file

@ -19,7 +19,7 @@ PKG_PATCH_DIRS+="${DEVICE}"
case ${DEVICE} in
S922X*)
PKG_VERSION="6.1.34"
PKG_VERSION="6.1.35"
PKG_URL="https://www.kernel.org/pub/linux/kernel/v6.x/${PKG_NAME}-${PKG_VERSION}.tar.xz"
;;
esac

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,7 @@
esac
# kernel command line
EXTRA_CMDLINE="quiet console=tty0 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20 intel_pstate=disable"
EXTRA_CMDLINE="quiet console=tty0 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20 intel_pstate=active amd_pstate=active amd_pstate.shared_mem=1 amdgpu.dpm=1"
# Partition label
PARTITION_TABLE="msdos"
@ -49,7 +49,7 @@
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
# Space separated list is supported,
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
FIRMWARE="misc-firmware wlan-firmware" #rockchip-firmware
FIRMWARE="misc-firmware wlan-firmware asus-firmware"
# additional drivers to install:
# for a list of additional drivers see packages/linux-drivers

View file

@ -0,0 +1,2 @@
options iwlmvm power_scheme=3
options iwlwifi power_save=Y power_level=5

View file

@ -69,7 +69,7 @@ CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
@ -382,11 +382,11 @@ CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_NR_GPIO=256
# CONFIG_NUMA is not set
CONFIG_HOLES_IN_ZONE=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
CONFIG_HZ_300=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y

View file

@ -69,7 +69,7 @@ CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
@ -382,11 +382,11 @@ CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_NR_GPIO=256
# CONFIG_NUMA is not set
CONFIG_HOLES_IN_ZONE=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
CONFIG_HZ_300=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y

View file

@ -37,7 +37,7 @@ case ${DEVICE} in
PKG_GIT_CLONE_BRANCH="main"
;;
RK33*)
PKG_VERSION="6.1.34"
PKG_VERSION="6.1.35"
PKG_URL="https://www.kernel.org/pub/linux/kernel/v6.x/${PKG_NAME}-${PKG_VERSION}.tar.xz"
;;
esac

View file

@ -18,6 +18,8 @@ PARENT_PKG="${2:-${PKG_NAME}}"
pkg_lock "${PKG_NAME}" "unpack" "${PARENT_PKG}"
pkg_call_exists pre_get && pkg_call pre_get
${SCRIPTS}/get "${PKG_NAME}"
if [ -n "${PKG_DEPENDS_UNPACK}" ]; then