Fix spl, update rkbin and firmware, fix a few quirks.

This commit is contained in:
fewtarius 2023-12-27 21:33:44 +00:00
parent 55db673068
commit 6dd39a2767
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
9 changed files with 9 additions and 46 deletions

View file

@ -1,9 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
cat <<EOF >/storage/.config/profile.d/010-governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
EOF

View file

@ -1,9 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
cat <<EOF >/storage/.config/profile.d/010-governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
EOF

View file

@ -1,9 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
cat <<EOF >/storage/.config/profile.d/010-governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
EOF

View file

@ -1,9 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
cat <<EOF >/storage/.config/profile.d/010-governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
EOF

View file

@ -5,6 +5,5 @@
cat <<EOF >/storage/.config/profile.d/010-governors
# FREQ governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
GPU_FREQ="/sys/devices/platform/ff400000.gpu/devfreq/ff400000.gpu"
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
GPU_FREQ="$(find /sys/devices/platform/*gpu/devfreq -name '*.gpu')"
EOF

View file

@ -5,4 +5,4 @@
. /storage/.config/profile.d/001-device_config
# RK3566 devices have a master volume attached to card 0 that needs to be set to 100% on startup.
amixer -c 0 set "Master" "100%"
amixer -c 1 set "Master" "100%"

View file

@ -9,5 +9,5 @@ PKG_LONGDESC="rkbin: Rockchip Firmware and Tool Binaries"
PKG_TOOLCHAIN="manual"
PKG_PATCH_DIRS+="${DEVICE}*"
PKG_VERSION="3aafb4dd13a750ab226604875d7938284d4ee9f1"
PKG_VERSION="5257e54cc6c15fef28c3b73bd95ca1b55cc8c8cd"
PKG_URL="${PKG_SITE}.git"

View file

@ -36,9 +36,9 @@
UBOOT_DTB="rk3566"
UBOOT_CONFIG="powkiddy-x55-rk3566_defconfig"
PKG_SOC="rk3568"
PKG_DATAFILE="${PKG_RKBIN}/bin/rk35/rk3568_ddr_1056MHz_v1.16.bin"
PKG_LOADER="${PKG_RKBIN}/bin/rk35/rk356x_spl_v1.12.bin"
PKG_BL31="${PKG_RKBIN}/bin/rk35/rk3568_bl31_v1.42.elf"
PKG_DATAFILE="${PKG_RKBIN}/bin/rk35/rk3566_ddr_1056MHz_v1.18.bin"
PKG_LOADER="spl/u-boot-spl.bin"
PKG_BL31="${PKG_RKBIN}/bin/rk35/rk3568_bl31_v1.43.elf"
PKG_LOAD_ADDR="0x0a100000"
BOOT_INI=false
EXT_LINUX_CONF=true

View file

@ -36,9 +36,9 @@
UBOOT_DTB="rk3566"
UBOOT_CONFIG="anbernic-rgxx3-rk3566_defconfig"
PKG_SOC="rk3568"
PKG_DATAFILE="${PKG_RKBIN}/bin/rk35/rk3568_ddr_1056MHz_v1.16.bin"
PKG_LOADER="${PKG_RKBIN}/bin/rk35/rk356x_spl_v1.12.bin"
PKG_BL31="${PKG_RKBIN}/bin/rk35/rk3568_bl31_v1.42.elf"
PKG_DATAFILE="${PKG_RKBIN}/bin/rk35/rk3566_ddr_1056MHz_v1.18.bin"
PKG_LOADER="spl/u-boot-spl.bin"
PKG_BL31="${PKG_RKBIN}/bin/rk35/rk3568_bl31_v1.43.elf"
PKG_LOAD_ADDR="0x0a100000"
BOOT_INI=false
EXT_LINUX_CONF=true