Skip to content

Commit 8ec22db

Browse files
committed
NanoPi NEO3/R2S: Update video related kernel module blacklist
rockchip_iep does not exist anymore, but rockchipdrm loads now, pulling in a large number of dependency modules.
1 parent 19eeb07 commit 8ec22db

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.build/images/dietpi-installer

+1-1
Original file line numberDiff line numberDiff line change
@@ -1175,9 +1175,9 @@ _EOF_
11751175
cat << '_EOF_' > /etc/modprobe.d/dietpi-headless.conf
11761176
blacklist hantro_vpu
11771177
blacklist lima
1178-
blacklist rockchip_iep
11791178
blacklist rockchip_rga
11801179
blacklist rockchip_vdec
1180+
blacklist rockchipdrm
11811181
_EOF_
11821182
fi
11831183

.update/patches

+13-1
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ Patch_9_6()
16981698
G_AGI zstd
16991699
fi
17001700

1701-
# Remove Armbian APT repository from all systems which have an "all" component for kernel/bootloader/firmware packages form our APT repository
1701+
# Remove Armbian APT repository from all systems which have an "all" component for kernel/bootloader/firmware packages from our APT repository
17021702
if [[ -f '/etc/apt/sources.list.d/dietpi-armbian.list' && -f '/etc/apt/sources.list.d/dietpi.list' ]] && grep -q 'dietpi.com/apt all' /etc/apt/sources.list.d/dietpi.list
17031703
then
17041704
G_DIETPI-NOTIFY 2 'Removing obsolete Armbian APT repository'
@@ -2205,6 +2205,18 @@ _EOF_
22052205
\nThere are some minor limitations, like the removal of display settings for the legacy RPi display driver. We created a new tool "dietpi-display" to change display mode and rotation with the KMS/DRM display driver, to address this limitation, and make the same options available to all other hardware models at the same time.
22062206
\nDo you want to perform the RPi kernel/firmware migration now?
22072207
\nThis can be done any time later via dietpi-config > Advanced Options > RPi firmware migration.' && /boot/dietpi/func/dietpi-set_software rpi_firmware_migration
2208+
2209+
# NanoPi R2S/NEO3
2210+
elif [[ $G_HW_MODEL =~ ^(55|56)$ ]]
2211+
then
2212+
G_DIETPI-NOTIFY 2 'Updating video related kernel module blacklist'
2213+
cat << '_EOF_' > /etc/modprobe.d/dietpi-headless.conf
2214+
blacklist hantro_vpu
2215+
blacklist lima
2216+
blacklist rockchip_rga
2217+
blacklist rockchip_vdec
2218+
blacklist rockchipdrm
2219+
_EOF_
22082220
fi
22092221
}
22102222

0 commit comments

Comments
 (0)