大家好,请问移植qt与tslib参考哪些文档,Ti-sdk中是否有这两个文件的压缩包。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好,下载解压后输入如下命令生成所需库与文件:
./autogen.sh
mkdir tmp
echo "ac_cv_func_malloc_0_nonnull=yes" >arm-linux.cache
./configure --host=arm-linux --cache-file=arm-linux.cache --prefix=$(pwd)/tmp
make
make install
将生成的移植到根文件,修改etc/profile添加以下代码。
export TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_FBDEVICE=/dev/fb0
烧入Nand后,启动程序,输入测试命令,报错如下:
root@am335x-evm:~# ts_calibrate
-sh: /bin/ts_calibrate: cannot execute binary file: Exec format error
请问这该如何解决?
使用am3354芯片的自制板,使用开发包版本为PROCESSOR-SDK-LINUX-AM335X 06_03_00_106,根文件系统为arago-base-tisdk-image-am335x-evm。tslib版本为tslib-1.22
按照如下步骤安装生成tsllib库。
./autogen.sh
mkdir tmp
echo "ac_cv_func_malloc_0_nonnull=yes" >arm-linux.cache
./configure --host=arm-linux --cache-file=arm-linux.cache --prefix=$(pwd)/tmp
make
make install
接着将生成的移植到根文件系统中,并在etc/profile添加以下代码。
export TSLIB_TSDEVICE=/dev/input/touchscreen0 export TSLIB_CONFFILE=/etc/ts.conf export TSLIB_FBDEVICE=/dev/fb0
启动开发板,输入测试命令,报错如下:
root@am335x-evm:~# ts_calibrate
-sh: /bin/ts_calibrate: cannot execute binary file: Exec format error
请问这个错误该如何解决才能完成tslib移植?