How to free pins 8 and 10 for UART on Rock Pi 3A?

硬件接口说明 | Radxa Docs
UART 串口控制台 | Radxa Docs

My external device needs to use pins 8 and 10 on the 40-pin as UART, but they seem to be occupied by the debug console.

How can I disable or move the debug console to other pins so that 8 and 10 can be used by my device? Also, how can I switch between different pin functions?