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.

extra uarts on pcduino3 with classic kernel (3.4)

Featured Replies

Hi Guys, sorry if its a stupid question :)

 

I have edited the script.fex in the boot folder and enabled the extra uart ports on the board.

 

#dmesg | grep uart
 

[    0.676838] [uart]: used uart info.: 0x3f

[    0.681530] [uart]: serial probe 0 irq 33 mapbase 0x01c28000

[    0.707837] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A

[    0.712720] [uart]: serial probe 1 irq 34 mapbase 0x01c28400

[    0.738944] sunxi-uart.1: ttyS1 at MMIO 0x1c28400 (irq = 34) is a U6_16550A

[    0.743804] [uart]: serial probe 2 irq 35 mapbase 0x01c28800

[    0.770000] sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 35) is a U6_16550A

[    0.774874] [uart]: serial probe 3 irq 36 mapbase 0x01c28c00

[    0.801075] sunxi-uart.3: ttyS3 at MMIO 0x1c28c00 (irq = 36) is a U6_16550A

[    0.805926] [uart]: serial probe 4 irq 49 mapbase 0x01c29000

[    0.832111] sunxi-uart.4: ttyS4 at MMIO 0x1c29000 (irq = 49) is a U6_16550A

[    0.836977] [uart]: serial probe 5 irq 50 mapbase 0x01c29400

[    0.863160] sunxi-uart.5: ttyS5 at MMIO 0x1c29400 (irq = 50) is a U6_16550A

 

however i cant appear to use them and any ttl device i plugin wil not send/recv data  -  is there more i need to do ?

 

on the original pcduino kernel you also had to 

 

echo "3" > /sys/device/virtual/misc/gpio/mode/gpio12

 

to the appropriate pins however this kernel does not appear to have an equivilant ?

 

Thanks.

  • Author

thanks for that - i have them working as gpios using that approach.

 

what im not quite getting is how to get them working as ttl uarts, as the new approach doesnt have the '3' mode the old one used so im unsure of the equivilant.

 

ill keep plugging

Guest
This topic is now closed to further replies.

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.