Overlays 开发
本篇文章介绍如何使用 radxa-overlays 仓库编译 overlay
下载源码
git clone https://github.com/radxa-pkg/radxa-overlays.git
准备环境
- 安装工具
sudo apt update
sudo apt install -y --no-install-recommends device-tree-compiler
- 添加 arm64 架构支持
sudo dpkg --add-architecture arm64
- 安装头文件
wget https://github.com/radxa-pkg/linux-rockchip/releases/download/5.10.110-11/linux-headers-5.10.110-11-rockchip_5.10.110-11-8c4e8d205_arm64.deb
wget https://github.com/radxa-pkg/linux-rk356x/releases/download/5.10.160-7/linux-headers-5.10.160-7-rk356x_5.10.160-7-fc20e0bcd_arm64.deb
sudo dpkg -i linux-headers-5.10.110-11-rockchip_5.10.110-11-8c4e8d205_arm64.deb
sudo dpkg -i linux-headers-5.10.160-7-rk356x_5.10.160-7-fc20e0bcd_arm64.deb