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:29] 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 10: | Line 11: | ||
===== Enable Panfrost ===== | ===== Enable Panfrost ===== | ||
- | You need to enable the Panfrost via [[device-tree-overlay | device tree overlay]], add '' | + | You need to enable the Panfrost via [[device-tree-overlay | device tree overlay]]. |
+ | |||
+ | <tabbox VIM4/ | ||
+ | |||
+ | Add '' | ||
```shell | ```shell | ||
fdt_overlays=panfrost | 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 22: | 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 |