Posts by ds000

    Seems to be exactly the same issue with Manjaro/Arch Linux as well. Had to link the strip command to the toolchain version (aarch64) to make it booting properly again (which is not really a solution though as it messes up the toolchain). Interestingly some of the packages got stripped wrongly during install but not all. Thus wondering what's the difference here. I thought, that the toolchain for cross compiling is built from scratch.

    Unfortunately, the standard search engines didn't find this post, so it took a while to find that out ...

    Did the recompile with the third option properly commented out (a colleague explained to me, that the overlay should have enabled the output already, independently of the patch, though). No change/no output.

    LibreELEC:~/root # aplay -l
    **** List of PLAYBACK Hardware Devices **** 
    card 0: KHADASVIM2 [KHADAS-VIM2], device 0: fe.dai-link-0 (*) [] 
     Subdevices: 0/1 
     Subdevice #0: subdevice #0

    There is no special device for SPDIF (different on my Orange Pi PC/H3)!? To get some output, I had to switch the third column (right most one) from SPDIF (nothing to hear) to I2S (proper audio output). No idea how to configure it to make this default, or run it via command line non-interactively!?


    I'm trying to get SPDIF output to connect it to some SONY receiver (having both coax and optical SPDIF-in, checked it with some other LE device (Orange Pi PC)) on the PIN 13 officially labelled "SPDIF" in the documentation. I hope to get this done through:

    Any ideas, what I'm missing? Using the cloned source for version 12.

    Didn't find much time to look deeper into it. Just compiled the newest version. Unfortunately, the issue is getting worse (and CEC on H3 detoriated further) : The TV is getting switched on when kodi is coming up, but the CEC is not working any more (at all). The "connected" message does not appear. Both TVs don't recognize any key presses via CEC (cross checking with an older version - kernel of beginning of May 2024 - it still works on the older SAMSUNG). When getting to the Input configuration CEC can only be switched off (and not be enabled again) and after it, TV is not getting switched on during kodi startup.

    I thought some stupidity on my side for a while: At some point the PROJECT=Allwinner ARCH=arm DEVICE=H3 UBOOT_SYSTEM="orangepi-pc" make image doesn't generate bootable sd card images any more. I was just using some previously written card with an older image and just exchanged the KERNEL and SYSTEM with the newly compiled one (on the first partition). Which works without any problems. Only problem: It is quite tedious (slow) to clone a card to get a fresh booting version that way. Diffing the scripts/(mk)image files there are some changes ... but they do not look very dramatic to me. Any ideas? Thank you!

    I just took the patch from an earlier kernel (which fixed the aforementioned problem):

    maybe, this was not the brightest idea :)

    I was distracted with other stuff and boards for a while: Came back to the Orange Pi PC. The new images work really great. Unfortunately the patch for software CEC does not work any more, running the build linux throws a message that it assumes the patch was already applied. Same state with the Sony (non-working) and Samsung TVs like before, but without the mitigation option.

    I was looking into a bit similar problem. As stated above, the magic is the device tree (overlay). It is required to get the pin routing right, here the newer kernels and dts need to work together properly. For getting e.g. SPDIF output to work, I had to modify the device tree file to actually enable it (creating packages/linux/patches/default/linux-080-odroid-c2.patch):

    That worked for me a couple of month ago, unfortunately I fried my C2 board and thus being unable to test it again. Hope this find someone helpful though ...

    For getting SPDIF output to work on recent LibreELEC (11.0), I had to modify the device tree file to actually enable it and make it visible to KODI (creating packages/linux/patches/default/linux-080-odroid-c2.patch):

    That worked for me a couple of month ago with SPDIF, unfortunately fried the board, thus unable to test it again.