How to root or have app su access on android 10 for rockpi4c

how to root android 10 ?

I have tried via adb but unfortunately I haven’t succeed.fastboot didn’t recognised my device over ethernet.

how can I solve this problem?

Just use the iRoot app so that you can easily root your device.