160 likes | 271 Views
Rebis 2.6 Kernel QTE-ARM TouchScreen. QTE-ARM-26 환경설정 파일. vi /root/work/env/qte_arm_env_26 cat /root/work/env/qte_arm_env_26 export QTDIR=/root/work/qt/qte_arm_26 export PATH=$QTDIR/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib. QTE-ARM-26 Download. pwd /root/work/qt
E N D
QTE-ARM-26 환경설정 파일 • vi /root/work/env/qte_arm_env_26 • cat /root/work/env/qte_arm_env_26 • export QTDIR=/root/work/qt/qte_arm_26 • export PATH=$QTDIR/bin:$PATH • export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib
QTE-ARM-26 Download • pwd • /root/work/qt • wget ftp://ftp.trolltech.com/qt/source/qt-embedded-free-3.3.3.tar.gz
QTE-ARM-26 환경설정 • tar xvfz /root/work/qt/qt-embedded-free-3.3.3.tar.gz • mv qt-embedded-free-3.3.3 qte_arm_26 • source /root/work/env/rebis_26_env • source /root/work/env/qte_arm_env_26 • cp /root/work/qt/qtx/bin/uic /root/work/qt/qte_arm_26/bin
QTE-ARM-26 컴파일 • ./configure -embedded ipaq -shared -depths 16 -no-cups -qt-libjpeg -qt-mouse-linuxtp -thread • License? • yes
QTE-ARM-26 컴파일 • vi ./src/embedded/qmouselinuxtp_qws.cpp • /dev/ts0 (rebis -2.6 touchscreen device file)
QTE-ARM-26 컴파일 • vi Makefile • all: symlinks src-qmake src-moc sub-src sub-tools • make
QTE-ARM-26 Rebis Board를 통한 App 확인 • cd /root/work/qt/ • source /root/work/env/qte_arm_env_26 • cp qte_arm_26 /tftpboot/myrootdir_2.6/qte –rf • cd / root/work/qt/qte_arm_2.6/examples/hello • qmake -project • qmake • make • cp hello /tftpboot/myrootdir_2.6/root
QTE-ARM-26 Rebis Board를 통한 App 확인 • minicom (target board boot) • # export QTDIR=/qte • # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib • # export QWS_MOUSE_PROTO=linuxtp:/dev/ts0 • cd /root • ./hello –qws • libstdc++ 관련 링크 에러시 • cd /usr/local/arm/oe • cp arm-linux/lib/libstdc++.* /tftpboot/myrootdir_2.6/usr/lib/
QTE-ARM-26 Rebis Board TouchScreen • Rebis Board Touch Screen • KERNEL Compile
QTE-ARM-26 Rebis Board TouchScreen • KERNEL option • Device Driver->Input device support • -> Provide legacy /dev/psaux device (*)
QTE-ARM-26 Rebis Board TouchScreen • KERNEL option • Device Driver->Input device support • -> Touchscreen interface(*)
QTE-ARM-26 Rebis Board TouchScreen • KERNEL option • Device Driver->Input device support • -> Touchscreens (*) • ->Samsung S3c2410 touch..(*)
QTE-ARM-26 Rebis Board TouchScreen • Kernel Compile 완료 • 생성된 zImage 복사 • cp ./arch/arm/boot/zImaeg /tftpboot/ • 부팅 메시지 확인
QTE-ARM-26 Rebis Board를 통한 App 확인 • minicom (target board boot) • # export QTDIR=/qte • # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib • # export QWS_MOUSE_PROTO=linuxtp:/dev/ts0 • cd /root • ./hello –qws • Touch Screen 확인 • 현재 Calibration이 적용되지 않음
QTE-ARM-26 Rebis Board Calibration • minicom (target board boot) • # export QTDIR=/qte • # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib • # export QWS_MOUSE_PROTO=linuxtp:/dev/ts0 • cd /root • ./hello –qws • Touch Screen 확인 • 현재 Calibration이 적용되지 않음