Posts by jasonh

    LibreElec for the Tinker Board does not use config.txt like with the RasPi, so if you need to enable I2C, you'll need to edit the DTB file.

    mount -o remount,rw /flash

    cp /flash/rk3288-tinker-s.dtb /flash/rk3288-tinker-s.backup

    dtc -I dtb /flash/rk3288-tinker-s.dtb -O dts -o tinker.dts

    nano tinker.dts

    If you want to enable I2C-1:

    Ctrl+W to search for ff14, this block of code should be the second result.

    Code
    i2c@ff140000 {
    compatible = "rockchip, rk3288-i2c"; reg = <0x00 Oxff140000 0x00 0x1000>; interrupts = <0x00 0x3e 0x04>; #address-cells = <0x01>; #size-cells = <Ox00>;
    clock-names = "i2c" ;
    clocks <0x07 0x14d>;
    pinctrl-names = "default" pinctrl-0 = <0x2c>;
    status "disabled";
    phandle <0x93>;
    };

    Change status from "disabled" to "okay".

    Ctrl+X, y, enter to save the changes.

    dtc -I dts tinker.dts -O dtb -o /flash/rk3288-tinker-s.dtb

    Reboot

    I couldn't get kodi to output sound over the Tinker Board's 3.5mm jack using any of the easy options, so I had to do it the hard way:

    1. Create .config/asound.conf

    2. Create .kodi/userdata/advancedsettings.xml

    Code
    <advancedsettings>
    <audiooutput>
    <audiodevice>ALSA:tinker</audiodevice>
    <passthroughdevice>ALSA:tinker</passthroughdevice>
    </audiooutput>
    </advancedsettings>

    3. reboot

    Note: If you go into the system settings it will break audio output until the next reboot as there's some bug where simply opening the system settings will force the audio output back to HDMI.