popai Posted February 26, 2021 Share Posted February 26, 2021 Armbianmonitor: http://ix.io/2QU2 Hi I am using an OrangePi Zero 2+ with AllWinner H3 and i need both uart. I enable them with armbian-config and on pins Uart2 on pins 8 and 10 work fine bat uart1 on pins 11, 13 don't. The pin on this board is not the same as orangepi zero? I mast make some setup to make uart1 to work? auto@orangepizeroplus2-h3:~$ uname -a Linux orangepizeroplus2-h3 5.9.14-sunxi #20.11.3 SMP Fri Dec 11 20:31:12 CET 2020 armv7l armv7l armv7l GNU/Linux auto@orangepizeroplus2-h3:~$ cat /boot/armbianEnv.txt verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=i2c1 uart1 uart2 uart3 usbhost2 usbhost3 rootdev=UUID=f2961b16-88cc-46d0-8297-931c6211f21c rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u auto@orangepizeroplus2-h3:~$ ls -al /dev/ttyS* crw--w---- 1 root tty 4, 64 Feb 26 07:57 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 Feb 26 07:58 /dev/ttyS1 crw-rw---- 1 root dialout 4, 66 Feb 26 07:58 /dev/ttyS2 crw-rw---- 1 root dialout 4, 67 Feb 26 07:56 /dev/ttyS3 crw-rw---- 1 root dialout 4, 68 Feb 26 07:56 /dev/ttyS4 crw-rw---- 1 root dialout 4, 69 Feb 26 07:56 /dev/ttyS5 crw-rw---- 1 root dialout 4, 70 Feb 26 07:56 /dev/ttyS6 crw-rw---- 1 root dialout 4, 71 Feb 26 07:56 /dev/ttyS7 auto@orangepizeroplus2-h3:~$ dmesg | grep tty [ 0.000000] Kernel command line: root=UUID=f2961b16-88cc-46d0-8297-931c6211f21c rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart= ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000272] printk: console [tty1] enabled [ 2.333990] printk: console [ttyS0] disabled [ 2.334080] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 40, base_baud = 1500000) is a 16550A [ 2.334160] printk: console [ttyS0] enabled [ 2.335312] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 41, base_baud = 1500000) is a 16550A [ 2.336286] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 42, base_baud = 1500000) is a 16550A [ 2.337239] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 43, base_baud = 1500000) is a 16550A [ 4.955994] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 5.613942] systemd[1]: Found device /dev/ttyGS0. [ 6.438922] systemd[1]: Found device /dev/ttyS0. auto@orangepizeroplus2-h3:~$ pyserial-miniterm /dev/ttyS2 --- Miniterm on /dev/ttyS2 9600,8,N,1 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- sdfsdf --- exit --- 0 Quote Link to comment Share on other sites More sharing options...
popai Posted February 27, 2021 Author Share Posted February 27, 2021 On 2/26/2021 at 10:30 AM, popai said: Armbianmonitor: http://ix.io/2QU2 Hi I am using an OrangePi Zero 2+ with AllWinner H3 and i need both uart. I enable them with armbian-config and on pins Uart2 on pins 8 and 10 work fine bat uart1 on pins 11, 13 don't. The pin on this board is not the same as orangepi zero? I mast make some setup to make uart1 to work? auto@orangepizeroplus2-h3:~$ uname -a Linux orangepizeroplus2-h3 5.9.14-sunxi #20.11.3 SMP Fri Dec 11 20:31:12 CET 2020 armv7l armv7l armv7l GNU/Linux auto@orangepizeroplus2-h3:~$ cat /boot/armbianEnv.txt verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=i2c1 uart1 uart2 uart3 usbhost2 usbhost3 rootdev=UUID=f2961b16-88cc-46d0-8297-931c6211f21c rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u auto@orangepizeroplus2-h3:~$ ls -al /dev/ttyS* crw--w---- 1 root tty 4, 64 Feb 26 07:57 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 Feb 26 07:58 /dev/ttyS1 crw-rw---- 1 root dialout 4, 66 Feb 26 07:58 /dev/ttyS2 crw-rw---- 1 root dialout 4, 67 Feb 26 07:56 /dev/ttyS3 crw-rw---- 1 root dialout 4, 68 Feb 26 07:56 /dev/ttyS4 crw-rw---- 1 root dialout 4, 69 Feb 26 07:56 /dev/ttyS5 crw-rw---- 1 root dialout 4, 70 Feb 26 07:56 /dev/ttyS6 crw-rw---- 1 root dialout 4, 71 Feb 26 07:56 /dev/ttyS7 auto@orangepizeroplus2-h3:~$ dmesg | grep tty [ 0.000000] Kernel command line: root=UUID=f2961b16-88cc-46d0-8297-931c6211f21c rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart= ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000272] printk: console [tty1] enabled [ 2.333990] printk: console [ttyS0] disabled [ 2.334080] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 40, base_baud = 1500000) is a 16550A [ 2.334160] printk: console [ttyS0] enabled [ 2.335312] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 41, base_baud = 1500000) is a 16550A [ 2.336286] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 42, base_baud = 1500000) is a 16550A [ 2.337239] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 43, base_baud = 1500000) is a 16550A [ 4.955994] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 5.613942] systemd[1]: Found device /dev/ttyGS0. [ 6.438922] systemd[1]: Found device /dev/ttyS0. auto@orangepizeroplus2-h3:~$ pyserial-miniterm /dev/ttyS2 --- Miniterm on /dev/ttyS2 9600,8,N,1 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- sdfsdf --- exit --- OK, according to the Xunlong's board schematic uart1 is no longer on 2x13 expansion port, on pin 11 an 13 is S-TWI-SCK / PL0 ,S-TWI-SDA / PL1 (uart1 is on PG6, PG7). I tray to enable uart3, bat no success. Uart3 according to schematic is on pin PA13, PA14, this pin ar on 2x13 expansion port. Any advice how to enable uart3 on OrangePi Zero 2+ ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.