Hello to each other, I’ve been trying to illuminate the LEDs on my new Odroid N2 for hours.
But I can’t do it.
It wasn’t a problem with my Raspberry. I activated the interface with dtparam=spi=on.
I don’t know about CoreElec.
I have installed Hyperion.ng and Hyperion Control.
I didn’t use an Arduino on the Raspberry. Even now I have connected the controller directly to Gpio #23.#19 and Gnd #25.
Ask for help
OK thanks. At first I have put the following
##############################################
CoreELEC
##############################################
CoreELEC (official): 9.2.1 (Amlogic-ng.arm)
CoreELEC:~ # apt install device-tree-compiler
-sh: apt: not found
CoreELEC:~ #
It’s not going to go any further.
Without apt I get the following
##############################################
CoreELEC
##############################################
CoreELEC (official): 9.2.1 (Amlogic-ng.arm)
CoreELEC:~ # apt install device-tree-compiler
-sh: apt: not found
CoreELEC:~ # apt install device-tree-compiler
-sh: apt: not found
CoreELEC:~ # install device-tree-compiler
BusyBox v1.31.0 (2019-11-27 07:42:18 GMT) multi-call binary.
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]… DEST
Copy files and set attributes
-c Just copy (default)
-d Create directories
-D Create leading target directories
-s Strip symbol table
-p Preserve date
-o USER Set ownership
-g GRP Set group ownership
-m MODE Set permissions
-t DIR Install to DIR
CoreELEC:~ #
Why are you trying to install dtc?
Because it’s like that in the manual, or am I wrong?
I just want to use spi for my LEDs. At Raspberry I needed Clk, Data and Gnd.
The occupancy of the pins is the same in this case.
At Raspberry I put only “dtparam=spi=on” in the config.txt. That’s all.
fdtput
and fdtget
are already preinstalled.
But you will have to remount the /flash partition as writable, and make changes to /flash/dtb.img
And these changes will be overwritten every time you update CE.
Can you help me please?
I’m new in Odroid and CoreElec.
I plugged the LEDs on Clk, Data and Gnd (SPI). But I can’t go any further.
I’m not entirely sure I can.
I don’t know whether we even have a spi driver in CE.
You can remount /flash as RW with the following command. Make sure to reboot after you make your changes.
mount -o remount,rw /flash
Then you can try following the guide, instead of /media/boot/meson64_odroidn2.dtb
use /flash/dtb.img
##############################################
CoreELEC
##############################################
CoreELEC (official): 9.2.1 (Amlogic-ng.arm)
CoreELEC:~ # mount -o remount,rw /flash
CoreELEC:~ # media/boot/meson64_odroidn2.dtb
-sh: media/boot/meson64_odroidn2.dtb: not found
CoreELEC:~ #
I meant that you can follow the guide and replace /media/boot/meson64_odroidn2.dtb
with /flash/dtb.img
.
Can you write me a complete command?
Is it easier to control the LEDs via Arduino Uno?
I have one more lying here.
Yes, you can use an arduino. There’s a large Hyperion.ng thread on the forum, run a search.
1 Like
OK thanks for information.
Can someone send me the Fast Led Code for Arduino?
I took Blink but it doesn’t work.
Hello, I saw with CoreElec 9.2.1 in the WebGui of Hyperion.ng that I had version 2.0. After an update to Nightly 12/27/19 I only have version 1.0 of Hyperion.ng. How is that possible?