Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

UART1 or ttyS1 not working Armbian 22.08.8 Buster with Linux 5.15.74-sunxi Orange Pi One

Featured Replies

HI,

 

I am hoing someone can help. I cannot seem to get UART1 working on Orange Pi1. Uart2 and Uart3 are working just fine. Everything indicates that the port is enables on the module but there is no actual data being sent out of PINs 38 and 40.

 

Verifying that the port is enabled

 

root@orangepione:~# dmesg | grep tty
[    0.000000] Kernel command line: root=UUID=1d571c77-01ce-4f06-a2dd-23d24e7835b0 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=2e9b222d-01 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.000424] printk: console [tty1] enabled
[    1.520885] printk: console [ttyS0] disabled
[    1.520978] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a 16550A
[    1.521228] printk: console [ttyS0] enabled
[    1.522422] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a 16550A
[    1.523263] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a 16550A
[    1.524095] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a 16550A
[    5.268058] systemd[1]: Created slice system-getty.slice.
[    5.270115] systemd[1]: Created slice system-serial\x2dgetty.slice.
root@orangepione:~#

 

root@orangepione:~# ls /sys/class/tty/ttyS* -lh
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS0 -> ../../devices/platform/soc/1c28000.serial/tty/ttyS0
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS1 -> ../../devices/platform/soc/1c28400.serial/tty/ttyS1
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS2 -> ../../devices/platform/soc/1c28800.serial/tty/ttyS2
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS3 -> ../../devices/platform/soc/1c28c00.serial/tty/ttyS3
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS4 -> ../../devices/platform/serial8250/tty/ttyS4
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS5 -> ../../devices/platform/serial8250/tty/ttyS5
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS6 -> ../../devices/platform/serial8250/tty/ttyS6
lrwxrwxrwx 1 root root 0 Jan  1  1970 /sys/class/tty/ttyS7 -> ../../devices/platform/serial8250/tty/ttyS7
root@orangepione:~#

 

I have tried different boards and i still cant get it to communicate on UART1

Hello,

I am trying to do the same thing...

UART1 on OrangePi Zero v1.4 connected to this board... I even tried RaspberryPi zero but got merely garbage characters or nothing at all either.

https://www.aliexpress.com/item/1005002791042317.html?spm=a2g0o.order_list.0.0.3e081802uhgin9

I made sure multiple times that the GND is connected to GND, TX to RX and RX to TX, there is 3.3V across them... but yea nothing out of it 😕

I am trying to connect to the board using "minicom" app ... bitrate at 115200, 8bits, 1 stop bit..

Anyone has any idea please?

 

root@orangepizero:~# dmesg | grep tty
[    0.000000] Kernel command line: root=UUID=6050f8f5-ece1-452f-bee0-da31fae65f6d rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=0ebc1782-01 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
[    1.957201] printk: console [ttyS0] disabled
[    1.957375] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 49, base_baud = 1500000) is a 16550A
[    1.957861] printk: console [ttyS0] enabled
[    1.960228] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 50, base_baud = 1500000) is a 16550A
[    1.961877] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 51, base_baud = 1500000) is a 16550A
[    1.963617] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 52, base_baud = 1500000) is a 16550A
[    7.847035] systemd[1]: Created slice system-getty.slice.
[    7.856049] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    9.218226] systemd[1]: Found device /dev/ttyGS0.
[   10.535763] systemd[1]: Found device /dev/ttyS0.

 

  • Werner changed the title to UART1 or ttyS1 not working Armbian 22.08.8 Buster with Linux 5.15.74-sunxi Orange Pi One

Running Jeedom under ARMBIAN 23.02.2 Buster with Linux 5.15.93-sunxi on Orange Pi PC+ for 2 years I suddenly met the problem just after the upgrade/update of Linux.

I've check TTYS0 input. RS232 frames from my Power Meter 5Linky, I'm living in France) are OK.

I tought my SOC or Linux Armbian is down. You gave me the answer.

We just have to wait for next Armbian release, I beg.

Cheers.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.