V
V
Vyacheslav Golitsyn2018-08-15 14:20:06
linux
Vyacheslav Golitsyn, 2018-08-15 14:20:06

Orangepi Lite. Debian9. The system does not see script.bin from /boot. How to enable UART1?

Orangepi Lite. Debian9. The system does not see script.bin bo /boot . How to enable UART1?
How to understand if the system uses this file?
The script.bin file was not originally in /boot
It was made from .fex
All pins that relate to UART disabled in GPIO
UART1 enabled
reboot
But when viewing ttys1, it does not see such a port, only ttys0
A huge request for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Radjah, 2018-08-15
@webzuweb

I assume that Orangepi is on AllWinner.
If sclerosis has not overcome me, then in 4.* versions of the kernel it uses device tree aka DTB instead of script.bin.
You look for the necessary pieces of the tree in "/boot/dtb/overlay" and write in the "overlays=" parameter without extension, separated by spaces, in the armbianEnv.txt file (it is read when boot.cmd is processed, if the distro is not armbian).
If I understand correctly, then you need the files:
sun8i-h3-uart1.dtbo
sun8i-h3-uart2.dtbo
sun8i-h3-uart3.dtbo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question