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.

ASCIInaut

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ASCIInaut got a reaction from Igor in Cubietruck UART 3 4 7 Pin Out (serial, ttyS)   
    Thank you very much indeed.
     
    I was able to enable two other UARTs. After adding them to sun7i-a20-cubietruck.dts I recompiled the Kernel as suggested in http://www.armbian.com/github/. I copied the created debian packages to the Cubietruck and installed them all. This updated the Kernel to 4.2.5. UARTs are now working like a charm.
     
  2. Like
    Other serial devices are not enabled in Device Tree by default, you need to modify Device Tree files and compile new dtb file to enable them.
    Starting from here 
    https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun7i-a20.dtsi#L1205 are sections for serial devices, common for all A20 devices, here 
    https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun7i-a20-cubietruck.dts#L300 uart0 is enabled. You need to add similar sections for serial devices that you want, using pinctrl parameters from here 
    https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun7i-a20.dtsi#L858 (which also answers your questions for pin numbers, you can check pin mappings in cubietruck schematics pdf).
    Use build script to recompile kernel (you only need new sun7i-a20-cubietruck.dtb file), adding, for example, this section to sun7i-a20-cubietruck.dts to activate uart2
    &uart2 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins_a>; status = "okay"; }; Some uarts have different pinout variants, check schematic or maybe script.fex to find correct one.
    If pinctrl section lists 4 pins instead of 2, two other pins are RTS and CTS signals, you probably won't use them.

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.