Jump to content

Recommended Posts

Posted

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:)

Posted

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

Posted
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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines