commit
5b1ad38b7d
3 changed files with 24 additions and 1 deletions
|
@ -10,6 +10,12 @@ PKG_TOOLCHAIN="meson"
|
|||
PKG_PATCH_DIRS+=" ${DEVICE}"
|
||||
|
||||
case ${DEVICE} in
|
||||
RK3588*)
|
||||
PKG_VERSION="120202c675749c5ef81ae4c8cdc30019b4de08f4"
|
||||
PKG_SITE="https://gitlab.com/panfork/mesa"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_GIT_CLONE_BRANCH="csf"
|
||||
;;
|
||||
RK3*) #Using upstream dev for panfrost
|
||||
PKG_VERSION="b8ffa9f956c4bcb416a0ad94d8b65ce050a05357"
|
||||
PKG_SITE="https://gitlab.freedesktop.org/mesa/mesa"
|
||||
|
|
17
packages/kernel/firmware/g610-mali-csffw/package.mk
Normal file
17
packages/kernel/firmware/g610-mali-csffw/package.mk
Normal file
|
@ -0,0 +1,17 @@
|
|||
mali_csffw.bin# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX)
|
||||
|
||||
PKG_NAME="g610-mali-csffw"
|
||||
PKG_VERSION="1.0"
|
||||
PKG_LICENSE="nonfree"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_DEPENDS_TARGET="kernel-firmware"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
PKG_LONGDESC="Mali blob needed for RK3588 gpu"
|
||||
PKG_ACE_FIRMWARE="https://github.com/JeffyCN/mirrors/raw/ca33693a03b2782edc237d1d3b786f94849bed7d/firmware/g610/mali_csffw.bin"
|
||||
|
||||
#Panfork needs v
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/$(get_full_firmware_dir)
|
||||
curl -Lo ${INSTALL}/$(get_full_firmware_dir)/mali_csffw.bin ${PKG_ACE_FIRMWARE}
|
||||
}
|
|
@ -77,7 +77,7 @@
|
|||
# additional Firmware to use ( )
|
||||
# Space separated list is supported,
|
||||
# e.g. FIRMWARE=""
|
||||
FIRMWARE="RTL8821CS-firmware ap6256-firmware"
|
||||
FIRMWARE="RTL8821CS-firmware ap6256-firmware g610-mali-csffw"
|
||||
|
||||
# additional drivers to install:
|
||||
# for a list of additional drivers see packages/linux-drivers
|
||||
|
|
Loading…
Reference in a new issue