Posts by brownandi

    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'

    Code
    1. git clone https://github.com/LibreELEC/LibreELEC.tv.git


    Now the source code files were copied to your home folder


    - Move into the source code directory

    Code
    1. [code]
    2. cd ~/LibreELEC.tv


    [/code]


    - Choose the version (Branch/Tag) of LibreELEC to Cross-Compile

    Code
    1. git checkout 7.95.1


    -> 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:

    Code
    1. PROJECT=RPi2 ARCH=arm make image


    C) In this step we intergate the 'tslib' from vpeter into LibreELEC to get egalax touchscreen support:


    -> Open the file LibreELEC.tv/packages/linux/package.mk


    - Change the line:

    Code
    1. PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb keyutils"


    to

    Code
    1. 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 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:

    Code
    1. CONFIG_INPUT_TOUCHSCREEN=y
    2. CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
    3. CONFIG_TOUCHSCREEN_USB_EGALAX=y
    4. CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
    5. 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'

    Code
    1. cd ~/LibreELEC.tv


    Code
    1. PROJECT=RPi2 ARCH=arm make image


    -> 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 --> LibreELEC.tv/target

    Hi, tried to compile the new 07.90.009, but i get this failure:


    Error - multiple package folders:
    /home/user/LibreELEC.tv/packages/addons/addon-depends/tslib
    /home/user/LibreELEC.tv/packages/tslib


    Makefile:12: die Regel für Ziel „image“ scheiterte
    make: *** [image] Fehler 1


    Then I tried without step 4 in post #11. Then compiling works, but after updating my raspi, the touchscreen is not working any more.


    Any idea, what i'm doing wrong?


    Thank you!

    One step further, but now:


    BUILD touchscreen-image (target)
    cp: cannot stat '/home/username/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/addons/touchscreen/service.touchscreen': No such file or directory
    Makefile:12: die Regel für Ziel „image“ scheiterte
    make: *** [image] Fehler 1

    I'm sorry, I know that is a noob question: but where to put these two package.mk files, so that they will get cought by the building-process?


    Thank you!

    What do I have to do, to add Estouchy back in the LibreElec compilation-process? For our touch-screen solution it seems the best way to do so.

    Hi vpeter,


    I just builded a new Version with the new Kodi beta an all the additional stuff needed for my touchscreen.
    Can I update the existing and fully configured version without loosing my touchscreen configuration?
    Or do I have to start from the beginning?

    A big thank you Grruhn and vpeter !!!


    I compiled the masterbranch with Kodi Krypton Alpha 3 and the tslib integration yesterday.
    I updated the addon after the first reboot as described in post #21.


    Everything works like a charm on my DELL touchscreen now. So, a big thank you!


    I also checked out the masterbranch of Estouchy and installed it in Kodi.
    Everything works fine but i can not restart or shutdown the raspi3 with this skin. The shutdown icon seems without function.


    But I'm up to 99,99% to perfection!