After switching to Rockchip, the most worth saving is the hardware intention expressed by that line of configuration. First determine which group of pins the peripheral is connected to, which controller and electrical parameters are required, and then check the entry of the target image loading device tree.
Take apart a serial port configuration to see
Note down the physical pins used on the Raspberry Pi side, the baud rate and whether RTS/CTS is required. Check the Sige5 pin table to find the target UART and check whether the same set of pins are occupied by the debug console or other peripherals. Raspberry Pi’s overlay names are only meaningful within the corresponding firmware and base device trees.
Check the running results
Save the startup configuration before modification, and check the serial port and startup log recognized by the kernel after restarting. After the device node appears, use a USB serial port adapter with level matching to send a short piece of known text to check both the sending and receiving directions. Log output alone does not prove that both directions are normal.
Limit differences to board-level configuration
The application reads the serial port device name from the configuration file, allowing the two boards to share message parsing and business logic. A corresponding table of ports, pins, and overlays is retained when delivered. You only need to check this layer after changing the image.
Check the board type of the device tree after restarting
tr -d '\0' < /proc/device-tree/model
printf '\n'
cat /proc/cmdline
Board documentation and references

- ArmSoM Sige5 · hardware and interface manual · Sige5 · product page
- Raspberry Pi hardware and system configuration
- Device Tree Overlays for GPIO I2C and SPI on RK3576 and RK3588
- config.txt reference for Raspberry Pi
