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.

CAN controller in BananaPi does not work in 21.05.1 image, solution available

Featured Replies

  • Solution

Hello,

for my BananaPi I recently downloaded "Armbian_21.05.1_Bananapi_buster_current_5.10.34.img" and did not get the on-board CAN controller working with this image.

 

I found out that in sun7i-a20-bananapi.dtb (uses sun7i-a20.dtsi) the group name for the CAN pins PH20 and PH21 has changed from "can0_pins_a" to "can_ph_pins" but in the sun7i-a20-can overlay this change had not been done accordingly, and the DT merging failed.

 

So changing "sun7i-a20-can.dts" to:

/dts-v1/;
/plugin/;

/ {
	compatible = "allwinner,sun7i-a20";

	fragment@0 {
		target = <&can0>;
		__overlay__ {
			pinctrl-names = "default";
			pinctrl-0 = <&can_ph_pins>;
			status = "okay";
		};
	};
};

solved the problem.

 

Please consider this for further releases,

regards
Rainer

Solved by mue473

  • Author
vor 13 Stunden schrieb TRS-80:

Hi Rainer,

 

Thanks for sharing your solution, and welcome to the forums!  :beer:

 

Do you feel up for making a PR?  :)

 

Hi,

unfortunatelly I am not familiar with the procedures and tools to do this.

 

Regards,

Rainer

  • Author

In my opinion this is a bug, because using older images (I switched from Armbian Buster with kernel 4.19.62) worked without any modification of the device tree and activation of the CAN overlay normally could easily be done with armbian-config.

 

Regards,

Rainer

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.