Hello, i want to build my own ambient light with an Odriod C2 + LED SK9822 (like APA102) on SPI with CoreELEC and Hyperion NG. CoreELEC: 9.2.3 Hyperion NG: bulid on 14.07.2020 (https://discourse.coreelec.org/t/hyperion-ng-amlogic-improvements/5476/172) I connected 150 LEDs with the Odroid C2: LED DI -> MOSI (PIN 19) LED CI -> SCLK (PIN 23) GND -> GND (PIN 25) Powersupply 5V / 20A and got this error: Code: [hyperiond LEDDEVICE] (ERROR) SPI failed to write. errno: 14, Bad address The SPI device works. I tested it with "spidev_test" program: https://wiki.odroid.com/odroid-c2/application_note/gpio/spi#tab__odroid-c2 LOG: What does this error mean? Thanks Ambienty
Hey "The error message "Bad address" comes from the error code EFAULT, which happens when you pass an address to the kernel which is not a valid virtual address in your process's virtual address space." Would you be able to compile hyperion yourself that we could test some code changes to ring-fence the problem?
Hi, sry, for my late reply. Thank you for your answer. I'm not able to build hyperion ng in CoreELEC, because there is no package manager... I took a second SD card, installed Ubuntu 20.04 (https://wiki.odroid.com/odroid-c2/os_images/ubuntu/v4.0) and compiled hyperion ng as described here: https://github.com/hyperion-project/hyperion.ng/blob/master/CompileHowto.md With this build i got not this error and the LEDs are lightning. I have no idea how to ring-fence the problem now... Maybe @Portisch can help? Thanks Ambienty