FYI i tried to enable uartA on OdroidC2 and followed this thread. I switched to stable build and found uartA overlay and enabled it.
After which i was still not able to use /dev/ttyAML1, had exact same symptoms:
so i edited meson-gxbb-odroidc2.dts and added pinctrl-0 and pinctrl-names lines:
serial@84c0 {
compatible = "amlogic,meson-gx-uart";
reg = <0x0 0x84c0 0x0 0x18>;
interrupts = <0x0 0x1a 0x1>;
status = "disabled";
clocks = <0xd 0xb 0x1a 0xd>;
clock-names = "xtal", "pclk", "baud";
pinctrl-names = "default";
pinctrl-0 = <0x72>;
phandle = <0x43>;
};
after reboot serial started working (got loopback).
probably last commit/patch (https://github.com/armbian/build/commit/22ca2b92a002fe22e2a61428741618295c424664) was not cherry-picked?