增加 易百纳 EB-RV1126-DC-201 Linux 说明.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-06-30 10:28:18 +08:00
parent ca12ecc04b
commit 3d4cd82e74
1 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,62 @@
# 易百纳 EB-RV1126-DC-201 Linux 说明
## 构建方法
```bash
# 选择 90rockchip_rv1126_rv1109
source envsetup.sh
# 选择 6BoardConfig-aybering.mk
./build.sh lunch
# 全部构建
./build.sh
# 全部清除
./build.sh cleanall
```
## 修改 buildroot
```bash
cd buildroot
make rockchip_rv1126_rv1109_defconfig
# 自动保存成 rockchip_rv1126_rv1109_defconfig
make menuconfig make savedefconfig
cd ..
./build.sh cleanall
./build.sh
```
### 增加 Qt
Pixe format of linuxfb drm screen 选 rgb565。
## 挂载为可读写
```bash
mount -o remount,rw /
```
## 修改 /tmp 权限
```bash
chmod 777 /tmp
```
## 关闭 CA 认证
```bash
touch /etc/apt/apt.conf.d/99verify-peer.conf && echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }"
```
## 替换清华源
```bash
sudo sed -i "s@http://ports.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
```
## 安装 Qt
```bash
apt install qt5-qmake libqt5serialport5-dev
apt install libqt5core5a libqt5serialport5 libqt5quick5 libqt5quickcontrols2-5 libqt5qml5 libqt5network5 libqt5media5 libqt5gui5
```