Place the file rockchip-rk3588-uart1-m1.dtbo in /boot/dtb/rockchip/overlay
~$sudo cp rockchip-rk3588-uart1-m1.dtbo /boot/dtb/rockchip/overlay
Edit armbianEnv.txt
~$sudo nano /boot/armbianEnv.txt
verbosity=1
bootlogo=false
overlay_prefix=rockchip-rk3588
overlays=uart1-m1
fdtfile=rockchip/rk3588s-orangepi-5.dtb
....
~$sudo reboot
~$ls /dev/ttyS*
/dev/ttyS1 /dev/ttyS9
~$screen /dev/ttyS1 1200
You should see teleinfo stream
(Ctrl A k y to exit from screen)
You can also add a link in /dev/serial/by-id to allow some software like domoticz to "view" the port:
~sudo ln -s /dev/ttyS1 /dev/serial/by-id/ttyS1_GPIO
Aucun commentaire:
Enregistrer un commentaire