diff --git a/Ecology/易百纳_EB-RV1126-DC-201/易百纳_EB-RV1126-DC-201_Linux_说明.md b/Ecology/易百纳_EB-RV1126-DC-201/易百纳_EB-RV1126-DC-201_Linux_说明.md new file mode 100644 index 0000000..9456d67 --- /dev/null +++ b/Ecology/易百纳_EB-RV1126-DC-201/易百纳_EB-RV1126-DC-201_Linux_说明.md @@ -0,0 +1,62 @@ +# 易百纳 EB-RV1126-DC-201 Linux 说明 + +## 构建方法 + +```bash +# 选择 90:rockchip_rv1126_rv1109 +source envsetup.sh +# 选择 6:BoardConfig-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 +```