This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:configurations:enable-panfrost [2024/11/30 03:19] nick |
products:sbc:common:configurations:enable-panfrost [2025/05/18 21:44] (current) jacobe [Edge2] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
====== Enable Panfrost ====== | ====== Enable Panfrost ====== | ||
- | < | + | < |
For Ubuntu 24.04 only. | For Ubuntu 24.04 only. | ||
</ | </ | ||
Line 12: | Line 13: | ||
You need to enable the Panfrost via [[device-tree-overlay | device tree overlay]]. | You need to enable the Panfrost via [[device-tree-overlay | device tree overlay]]. | ||
- | Add '' | + | <tabbox VIM4/ |
+ | |||
+ | Add '' | ||
+ | |||
+ | ```shell | ||
+ | fdt_overlays=panfrost | ||
+ | ``` | ||
+ | <tabbox Edge2> | ||
+ | |||
+ | Add '' | ||
+ | |||
+ | ```shell | ||
+ | sudo vi / | ||
+ | fdt_overlays=panthor-gpu | ||
+ | ``` | ||
+ | |||
+ | |||
+ | For Edge2, you need extra steps to upgrade mesa packages to support Panfrost: | ||
+ | |||
+ | ```shell | ||
+ | $ cat << | ||
+ | deb https:// | ||
+ | # deb-src deb https:// | ||
+ | EOF | ||
+ | $ wget https:// | ||
+ | $ cat panfork-kisak.key | sudo gpg --dearmor -o / | ||
+ | $ sudo apt update | ||
+ | $ sudo apt -y upgrade | ||
+ | $ sudo apt -y install libegl-mesa0 libgbm1 libglapi-mesa libglx-mesa0 | ||
+ | ``` | ||
+ | </ | ||
===== Remove the close source GPU libraries ===== | ===== Remove the close source GPU libraries ===== | ||
Line 20: | Line 51: | ||
```shell | ```shell | ||
- | sudo apt remove linux-gpu-mali-wayland | + | sudo apt -y remove linux-gpu-mali-wayland |
- | sudo apt reinstall | + | sudo apt -y reinstall |
sync | sync | ||
sudo reboot | sudo reboot | ||
Line 30: | Line 61: | ||
After reboot and login you can goto '' | After reboot and login you can goto '' | ||
+ | {{: | ||