Introduction
Enabling different Device Tree Overlays (DTBOs) allows optional hardware or kernel modifications to be enabled, without recompiling the linux kernel.
This is also the intended way to enable the panthor graphics stack.
If you are running on a UEFI-powered board, you need to configure it.
If you have already done this before you can skip ahead to step 5.
Images after 12th of September 2024 use
/boot/efi
instead of/boot
.
To determine where your ESP partition is located, run the command,
df | grep "/boot" | awk '{print $NF}'
and replace <ESP>
in all of the following commands with it's output.
sudo mkdir -p <ESP>/dtb/{base,overlays}
If you are using a FydeTab Duo, copy the specific DTB file to the
base
folder:sudo cp /boot/dtbs/rockchip/rk3588s-fydetab-duo.dtb <ESP>/dtb/base/ sudo cp <ESP>/dtb/base/rk3588s-fydetab-duo.dtb <ESP>/dtb/base/rk3588s-tablet-12c-linux.dtb
For other RK3588-based boards, replace rk3588-board.dtb
with your actual device name:
sudo cp /boot/dtbs/rockchip/rk3588-board.dtb <ESP>/dtb/base/
Open the GRUB configuration file:
sudo nano /etc/default/grub
Comment out the following line by adding a #
at the beginning:
# GRUB_DTB="dtbs/rockchip/device-tree.dtb"
(Your DTB will be different there)
Update GRUB with the new configuration:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Reboot into UEFI (You can do this from GRUB) > Device Manager
> Rockchip Platform Configuration
> ACPI / Device Tree
, and do the following:
Config Table Mode
to Device Tree
Support DTB override & overlays
to Enabled
Press F10 to save and reboot back into your system (you can go back to the first UEFI screen and select Continue
).
Replace my-overlay
with the dtbo of your choice.
sudo cp /boot/dtbs/rockchip/overlay/my-overlay.dtbo <ESP>/dtb/overlays/
Reboot your system to apply the change.
The extlinux configuration can be edited by running:
sudo nano /boot/extlinux/extlinux.conf
Add the following line to the bottom of the file, replacing the DTBO with the one of your choosing:
fdtoverlays /dtbs/rockchip/overlay/my-overlay.dtbo