发布: 嵌入式Linux应用开发完全手册V5.3_IMX6ULL_Pro开发板.pdf

This commit is contained in:
weidongshan
2025-05-10 17:14:51 +08:00
parent 5e93ee1e84
commit 7bd2573b01
18 changed files with 3 additions and 40 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 566 KiB

View File

@@ -1,40 +0,0 @@
# 1. 对于IMX6ULL配置工具链, 在Ubuntu执行如下命令:
export ARCH=arm
export CROSS_COMPILE=arm-buildroot-linux-gnueabihf-
export PATH=$PATH:/home/book/100ask_imx6ull-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin
# 2. 交叉编译tslib, 在Ubuntu执行如下命令:
tar xJf tslib-1.21.tar.xz
cd tslib-1.21
./configure --host=arm-buildroot-linux-gnueabihf --prefix=/
make
make install DESTDIR=$PWD/tmp
# 3. 复制头文件、库文件到工具链里面, 在Ubuntu执行如下命令:
cd tmp/
cp include/* /home/book/100ask_imx6ull-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/7.5.0/include
cp -d lib/*so* /home/book/100ask_imx6ull-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/7.5.0/../../../../arm-buildroot-linux-gnueabihf/lib
# 4. 把库文件放到单板上, 在开发板执行如下命令:
# 在开发板上使用NFS挂载Ubuntu的目录
# 再把前面编译出来的tslib-1.21/tmp/部分文件复制到板子上,示例命令如下:
cp /mnt/tslib-1.21/tmp/lib/ts -rfd /lib
cp /mnt/tslib-1.21/tmp/lib/*so* -d /lib
cp /mnt/tslib-1.21/tmp/bin/* /bin
cp /mnt/tslib-1.21/tmp/etc/ts.conf -d /etc
# 5. 关闭GUI, 在开发板执行如下命令:
# 对于IMX6ULL首先需要关闭默认的qt gui程序
# 才可以执行ts_test_mt测试命令关闭qt命令如下所示
mv /etc/init.d/*hmi* /root
mv /etc/init.d/*lvgl* /root
reboot
# 6. 运行程序, 在开发板执行如下命令:
# 在单板上执行测试程序:
export TSLIB_PLUGINDIR=/lib/ts
export TSLIB_CONSOLEDEVICE=none
ts_test_mt

View File

@@ -452,4 +452,7 @@
2025.04.28
发布《02_QT工业物联网开发实战OpenOCD烧录与Modbus通信》
67.
2025.05.10
发布《嵌入式Linux应用开发完全手册V5.3_IMX6ULL_Pro开发板.pdf》, 使用ADB