in the Khadas images for the VIM4 uart can be enabled via device tree overlay.
This enables the device /dev/ttyS4.
As far as I understood, Coreelec’s kernel does not support overlays, so I tried myself
by decompiling the device tree and enabling node serial@fe080000 by setting status = “okay”.
This did not work, and to be frank, I have no clue about what I am doing.
Can someone advice me what to change in the device tree to get up that additional serial connection?
I tried fdtput /flash/dtb.img "&uart_E" status "okay"
Not sure whether it is correct but it gives me Error at '&uart_E': FDT_ERR_BADPATH
There is no node uart_E or &uart_E in the device tree. However, in the khadas device tree uart_E occurs in the __symbols__ section and refers to /soc/serial@fe080000. So I guess that uart_E is an alias
for that path.
I have already changed node serial@fe080000 to status = "okay" but that did not work.
Just to be sure: I compiled the device tree to /flash/dtb.img. Is that correct?