mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
Update RK3326 Game Console Device Tree and related configurations
- Modify joypad compatibility to include "archr-joypad" in the device tree source. - Adjust internal display settings to use the same reset GPIO and add enable GPIO. - Remove SDIO card detect GPIO and mark it as non-removable. - Update the joypad driver in the MIPI generator to use "archr-joypad". - Fix Vulkan custom dispatchers to restrict header version checks. - Add system manager timeout overrides for improved shutdown performance. - Update kernel configuration to version 6.12.79 and enable BFQ I/O scheduler. - Clean up GPU governor settings in post-update scripts. - Update PPSSPP emulator to version 1.20.2 and apply necessary patches. - Adjust SDL2 and Mesa package dependencies and versions. - Update Vulkan headers and loader to version 1.4.347. - Add udev rules for BFQ scheduler and systemd configuration for shutdown timeout. - Implement input sense adjustments for better button mapping. - Add clock speed settings to EmulationStation configuration. - Disable rumble motor on boot to prevent unwanted vibrations.
This commit is contained in:
@@ -17,7 +17,7 @@ index a36b299..8470951 100644
|
||||
|
||||
}
|
||||
|
||||
+#if VK_HEADER_VERSION >= 333
|
||||
+#if VK_HEADER_VERSION >= 333 && VK_HEADER_VERSION <= 337
|
||||
+namespace vk::detail {
|
||||
+
|
||||
+template <>
|
||||
@@ -54,7 +54,7 @@ index 4bf7838..1bc0458 100644
|
||||
|
||||
+}
|
||||
+
|
||||
+#if VK_HEADER_VERSION >= 333
|
||||
+#if VK_HEADER_VERSION >= 333 && VK_HEADER_VERSION <= 337
|
||||
+namespace vk::detail {
|
||||
+
|
||||
+template <>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ACTION=="add|change", KERNEL=="mmcbl*", ATTR{queue/scheduler}="bfq"
|
||||
@@ -0,0 +1,7 @@
|
||||
[Manager]
|
||||
# Reduce default service stop timeout from 90s to 5s.
|
||||
# ArchR uses ext4 root with persistent storage at /storage/.
|
||||
# Network services don't need graceful shutdown — only filesystem sync matters,
|
||||
# which is handled by systemd's built-in shutdown ordering.
|
||||
DefaultTimeoutStopSec=5s
|
||||
DefaultTimeoutAbortSec=5s
|
||||
@@ -274,6 +274,10 @@ post_makeinstall_target() {
|
||||
safe_remove ${INSTALL}/etc/udev/rules.d
|
||||
ln -sf /storage/.config/udev.rules.d ${INSTALL}/etc/udev/rules.d
|
||||
|
||||
# system manager timeout overrides
|
||||
mkdir -p ${INSTALL}/etc/systemd/system.conf.d
|
||||
cp -PR ${PKG_DIR}/config/system.conf.d/* ${INSTALL}/etc/systemd/system.conf.d/
|
||||
|
||||
# journald
|
||||
ln -sf /storage/.cache/journald.conf.d ${INSTALL}/usr/lib/systemd/journald.conf.d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user