Hi vpeter, I use the following shortened (because of #133) Version of post #11.
Can you please check, if I have shortened to much, because tslib ist not working anymore. And tslib plugin is not availabe in addons.
Thank you!
A) Preparing for Cross-Compiling:
- Open a 'Terminal'
Now the source code files were copied to your home folder
- Move into the source code directory
[/code]
- Choose the version (Branch/Tag) of LibreELEC to Cross-Compile
-> The possible versions of LibreELEC you can checkout are available on Github --> here
I chose the latest stable version 7.95.1
B) Cross-Compile a clean build to check possible errors:
C) In this step we intergate the 'tslib' from vpeter into LibreELEC to get egalax touchscreen support:
-> Open the file http://LibreELEC.tv/packages/linux/package.mk
- Change the line:
to
PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb keyutils tslib"
-> Safe the file and exit
D) Changing kernel configuration (linux.arm.conf) to enable egalax touch support.
- Open the file http://LibreELEC.tv/projects/RPi2/linux/linux.arm.conf
- To enable egalax touchscreen support to your kernel you have to uncomment and set to yes the following lines:
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_HID_MULTITOUCH=y
-> Safe the file and exit
E) Cross-Compiling LibreELEC for Raspberry PI 2/3 with tslib integration and egalax touchscreen support from kernel:
- Go to LibreELEC.tv folder and delete the 'target' folder from the test building process before.
- Open a 'Terminal'
-> This second Cross-Compiling process should just take ca 10-15 minutes
-> Now you can find your image with egalax touchscreen support in the target folder --> http://LibreELEC.tv/target