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.

Flash Bootload on STM32 from Orange Pi Zero UART0?

Featured Replies

As title says, i am try to get the flash thing going on the UART0 on the OPI Zero (the debug ports i guess).

But i got no luck, anyone has any experience with this?

Thanks:)

Because UART0 is already used as debug, as you guess.

Why not use UART1 /dev/ttyS1 (Pin #8 = TX, Pin #10 = RX)?

 

(I use mainline kernel)

mkdir /sys/kernel/config/device-tree/overlays/uart1
cat /boot/dtb/overlay/sun8i-h3-uart1.dtbo > /sys/kernel/config/device-tree/overlays/uart1/dtbo

reboot

11 hours ago, gungsukma said:

mkdir /sys/kernel/config/device-tree/overlays/uart1
cat /boot/dtb/overlay/sun8i-h3-uart1.dtbo > /sys/kernel/config/device-tree/overlays/uart1/dtbo

reboot

Working with /sys/kernel/config/device-tree/overlays are volatile commands. Doing a "reboot" after is completely useless !

If you wish the overlays been present at boot time, either doing the /sys/kernel/config/device-tree/overlays above commands in /etc/rc.local or enable then in u-boot using "overlays=uart1" in /boot/armbianEnv.txt

 

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.