1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

X86/64 Asus Tinker Board support

Discussion in 'Hardware Support' started by SRKNZCN, 6 May 2017.

  1. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Hi

    I'm using rpi3 as home media player and lpd6803 addressable leds as ambilight back of tv.

    I've ordered an Asus Tinker Board yesterday. I've installed hyperion on my new board. but when i'm trying to start hyperiond, i'm getting error like:

    "hyperiond: error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory"

    Is there any way to compile bcm library for tinker board or any way to run hyperion on tinker board ?
     
    Last edited: 16 May 2017
  2. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    did you compile from source ?

    I doubt capturing the screen will work until someone writes a grabber.
     
  3. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    i'm trying install via installer. if it fails again i will try to compile from source code
     
  4. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    The installer will definitely fail
     
  5. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    I've compiled from source code with "cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=ON .." on my tinker board.

    I've connected led pins to SPI_MOSI (19) and SPI_CLK (23) pins on RPI and Tinker Board. And i'm using same configuration file on both boards. PI3 works correctly but on the Tinker Board, leds changing color randomly and i cannot control with hyperion-remote tool.

    Do you have any recommendation for tinker board ?
     
  6. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    my device configuration is like below for tinker board.

    "device": {

    "name": "pi",
    "type": "lpd6803",
    "output": "/dev/spidev2.0",
    "rate": 1000000,
    "colorOrder": "rgb"
    },
     
  7. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Do those pins match spidev2 ?
     
  8. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Asus says, all rpi components can work with tinker board. They are same gpio pin.

    I'm using SPI0 MOSI (19) and SPI0 SCLK pins on rpi.


    [​IMG]



    And same pins on tinker board

    [​IMG]
     
  9. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    dumb question : Are you certain you haven't swapped the MOSI and SCK lines ?

    More sensible question: has anyone had SPI working on the tinker ? It could be buggy.

    You could try dropping the speed down to see if that makes a difference.

    Do you have a level shifter ?
     
  10. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    yes i've tried to swap MOSI and CLK pins :)

    i dropped the speed down but nothing changed.

    i dont have a level shifter
     
  11. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    724
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    slm serkan, arduino varmi denemek icin?

    do you have a arduino just to try it with arduino
     
  12. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    evet var. bugün arduino ile deneyeceğim.

    yes i've an arduino and i'll try with arduino today
     
  13. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    arduino test failed because of i've ch34x chipset arduino and i cannot recompile kernel of tinkerOS for ch34x driver.

    how can i forward hyperion to other hyperion ? one hyperion will work on tinker board and other one works on rpi3. how can i forward tinker board's hyperion to rpi ?
     
  14. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  15. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Maybe there's a limit on the spi driver in this kernel ?

    The lpd6803 protocol needs a 4 byte start code and then 2 bytes per led.
    That's 30 bytes for 13 leds.

    If there's a 31/32 byte max transfer it could cause it
     
  16. SRKNZCN

    SRKNZCN New Member

    Messages:
    10
    Hardware:
    RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    you are right but rpi3 can drive these leds.

    by the way i'm powering these leds with external 5v power supply
     
  17. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I'm sure the Pi can drive them - I'm suggesting the asus tinker board being so new could well have kernel bugs or limitations.

    If you run hyperiond with --debug do you get a stream of errors logged ?