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.

uart3 overlay (su7i-a20-uart3.dtbo) file not working for BPI M1+ and how to adjust the .dtb file accordingly for uart3?

Featured Replies

I am using GPIO(CON3) pins 8 and 10 for a project. In BPI M1+, functions for those pins are PH0 and PH1 respectively.

https://bananapi.gitbooks.io/bpi-m1-bpi-m1-plus-/content/en/bpi-m1+_gpio_pin_define.html

 

But, when I added overlays=uart3 ,I didn't work properly . When I checked the overlay file sun7i-a20-uart3.dtbo , by changing it to .dts , I figured out that this overlay file uses PG6,PG7 pins, not PH0,PH1  pins.

So, to modify the configurations without adding uart3 overlay in the /boot/armbianEnv.txt file, I wanted to edit the /boot/dtb/sun7i-a20-bananapi-m1-plus.dtb file.

When I check the file, there are uart3_pins_a option and uart3_pins _b in the __symbols section with the path name as below.

image.png.17899f8dbed7c2447ac826c70cfc6ee5.png

Also pins assigned for each pins_a and pins_b are mentiond in the pinctrl@01c20800.

image.png.2454bab32a8bc5f7e5cc05fc40d02ebb.png

 How can I activate(set) the uart3_pins_b option which is assigned to the correct pins (PH1 and PH0)for BPI M1+ ?

12 hours ago, sunzone said:

 How can I activate(set) the uart3_pins_b option which is assigned to the correct pins (PH1 and PH0)for BPI M1+ ?

Currently this is not implemented, will be added in the future. You should be able to write a custom overlay to change the pinmux variant.

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.