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:40] 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 24: | Line 25: | ||
| ```shell | ```shell | ||
| + | sudo vi / | ||
| fdt_overlays=panthor-gpu | fdt_overlays=panthor-gpu | ||
| ``` | ``` | ||
| - | </ | + | |
| For Edge2, you need extra steps to upgrade mesa packages to support Panfrost: | For Edge2, you need extra steps to upgrade mesa packages to support Panfrost: | ||
| Line 35: | Line 37: | ||
| # deb-src deb https:// | # deb-src deb https:// | ||
| EOF | EOF | ||
| - | $ wget https://dl.khadas.com/repos/ | + | $ wget https://raw.githubusercontent.com/khadas/ | 
| $ cat panfork-kisak.key | sudo gpg --dearmor -o / | $ cat panfork-kisak.key | sudo gpg --dearmor -o / | ||
| $ sudo apt update | $ sudo apt update | ||
| - | $ sudo apt upgrade | + | $ sudo apt -y upgrade | 
| $ sudo apt -y install libegl-mesa0 libgbm1 libglapi-mesa libglx-mesa0 | $ sudo apt -y install libegl-mesa0 libgbm1 libglapi-mesa libglx-mesa0 | ||
| ``` | ``` | ||
| + | </ | ||
| + | |||
| ===== Remove the close source GPU libraries ===== | ===== Remove the close source GPU libraries ===== | ||
| Line 47: | 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 | ||