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.

Need to enable UART on GPIO for Banana PI Berry

Featured Replies

I am able to rebuild the kernel for this board and the image runs fine, but it appears that is does not support the UART on the GPIO. Does anyone know which kernel files need to be modified for this? It looks like its one of the .fex files in the pack-uboot folder. But there are multiple folders in that folder with multiple .fex files that all reference the uart. (sun50iw6/sun50iw9). How can I tell which .fex file the build is using?

 

Thanks for any help,

 

-Rich

  • Author
23 hours ago, Werner said:

Providing logs with 

armbianmonitor -u

 helps with troubleshooting and significantly raises chances that issue gets addressed.

Thanks for responding.

Not sure which logs I can give? This is a not a running issue its a configuration issue. It appears that the default OS build does include support for the UART on the GPIO. I do have an OrangePI board running Armbian that does support this and works fine. For our project we would like to use the Bananapi board since it fits in our existing enclosure.

I believe I need to modify one of the .fex files in the BSP to assign pins to the TX/RX but docs on this is scarce, I found one reference where someone got it working with a different OS but the change does not seem to apply to Armbian.

-Rich

  • Author

Since I am using Armbian kernel V5, it is using Device Trees for GPIO config rather than .FEX files. The build for this board appears to be setting up uart2 with the following overlay file. This is not working and I suspect this overly needs to change. Anyone know what changes are needed? Maybe the address is incorrect?

 

/dts-v1/;

/ {
        compatible = "allwinner,sun8i-r40";

        fragment@0 {
                target-path = "/aliases";

                __overlay__ {
                        serial2 = "/soc/serial@1c28800";
                };
        };

        fragment@1 {
                target = < 0xffffffff >;

                __overlay__ {
                        pinctrl-names = "default";
                        pinctrl-0 = < 0xffffffff >;
                        status = "okay";
                };
        };

        __fixups__ {
                uart2 = "/fragment@1:target:0";
                uart2_pi_pins = "/fragment@1/__overlay__:pinctrl-0:0";
        };
};

 

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.