From 3d4cd82e7458031a9aee0b9dcf43bb653b1fab74 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Fri, 30 Jun 2023 10:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=98=93=E7=99=BE?= =?UTF-8?q?=E7=BA=B3=20EB-RV1126-DC-201=20Linux=20=E8=AF=B4=E6=98=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../易百纳_EB-RV1126-DC-201_Linux_说明.md | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Ecology/易百纳_EB-RV1126-DC-201/易百纳_EB-RV1126-DC-201_Linux_说明.md 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 +```