OK3568 4.19.206 Buildroot UART8 Multiplexed as CAN2

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Revision History

Date

Version

Revision History

04/08/2022

V1.0

Initial Version

UART8 Multiplexed as CAN2

Note: When UART8 is multiplexed as CAN2, Bluetooth functionality will be unavailable.

Refer to the OK3568 hardware documentation/user manual, specifically the “FET3568-C Pin Multiplexing Reference Table,” to identify:

Image

Modify the device tree.

OK3568-linux-source/kernel/arch/arm64/boot/dts/rockchip/OK3568-C-common.dtsi

Modify status = “okay” in &can2.

Image

Modify status=”disabled” in &uart8.

Image

After modifications are completed, return to the OK3568-linux-source directory and execute ./build.sh kernel. Once the compilation is finished, only flash the following boot image file:

OK3568-linux-source/kernel/boot.img

At this point, the software modifications are complete. For hardware connections, please refer to our company’s hardware design documentation. If successful, the CAN2 interface will appear in the terminal output when using the ifconfig command.