> Date: Thu, 22 Mar 2018 02:16:37 -0700 (MST) > From: Ernesto <uzj9041d...@temp.mailbox.org> > > pine# cu -l cuaU1 -s 115200 > cu: open("/dev/cuaU1"): Device not configured > > I also tried U1,U2,U3. Do I miss something?
Yes. The serial port devices on the pine64 are com(4) not ucom(4). You want to use cua00, cua01, cua02 etc. Which one actually corresponds to UART4 on the device isn't obvious and might need some some detective work. In fact it looks as if it is disabled in the device tree and won't actually show up. So you might need to build your own modified device tree to use UART4. UART4 uses the same pins as SPI1 so you can't use both devices at the same time. That's probably why it is disabled. Building your own device trees isn't OpenBSD-specific so you might be better off asking on a generic/Linux Allwinner forum about doing this.