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.

unlock UART1 and UART2

Featured Replies

I couldn't find a topic with this device, although support is announced, so I'm posting here. To moderators: please create an appropriate section. 
How to unlock UART1 and UART2 on this device?

  • Werner changed the title to unlock UART1 and UART2
  • Author

Rockchip RK3566 has:
SDIO 3.0
10x UART, 4x SPI, 16x PWM, 6x I2C, 2x SARADC

Armbian 23.8 Bookworm for BIGTREETECH CB1 does not have any overlay USART.DTBO

I need 2 more USARTs. How can this be done?

  • Author

"Providing logs with"

https://paste.armbian.com/oyesahujur

 

Thanks for the tip.

 

I added sun50i-h616-uart2.dtbo and sun50i-h616-uart5.dtbo to the overlay. 

uart2 works, uart5 does not work.

Цитата

U-Boot 2023.07-rc2-armbian (Aug 22 2023 - 14:52:37 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: BigTreeTech CB1
DRAM:  1 GiB
Core:  52 devices, 18 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0, mmc@4021000: 2, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 1:1...
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3259 bytes read in 2 ms (1.6 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
288 bytes read in 1 ms (281.3 KiB/s)
Card did not respond to voltage select! : -110
** Bad device specification mmc 0 **
38722 bytes read in 10 ms (3.7 MiB/s)
Working FDT set to 4fa00000
808 bytes read in 3 ms (262.7 KiB/s)
Applying kernel provided DT overlay sun50i-h616-spi-spidev.dtbo
509 bytes read in 3 ms (165 KiB/s)
Applying kernel provided DT overlay sun50i-h616-uart5.dtbo
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
Error applying DT overlays, restoring original DT
38722 bytes read in 10 ms (3.7 MiB/s)
18197188 bytes read in 3231 ms (5.4 MiB/s)

 

Цитата

/dts-v1/;
/plugin/;

/ {
    compatible = "allwinner,sun50i-h616";

    fragment@0 {
        target-path = "/aliases";
        __overlay__ {
            serial5 = "/soc/serial@5001400";
        };
    };

    fragment@1 {
        target = <&uart5>;
         __overlay__ {
            pinctrl-names = "default";
            pinctrl-0 = <&uart5_ph_pins>;
            status = "okay";
        };
    };
};

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.