Orin NX – Unable to Load DTBO for MCP251xFD

I’m using the Waveshare Orin NX dev kit running Jetson Linux 36.4 and my own PCB that connects 3 MCP2518FDs to the dev kit via the 40pin GPIO. I’m struggling to create a DTS overlay file. I’ve gone through multiple iterations of making modifications to see what works. I’m not seeing any errors in dmesg or any other logs so it’s hard to figure out why the overlay isn’t working.

fragment@0, fragment@1, and fragment@2 all work. However, when I added fragment@3, and fragment@4, the whole overlay file breaks and none of the modifications are made to the device tree.

I’ve attached my DTS file. Any pointers to issues would be greatly appreciated. I’ve already patched the kernel to include the MCP251xFD driver.

dts.txt (3.3 KB)

Hi shawn57,

Could you just refer to Jetson/L4T/peripheral/ - eLinux.org for the similar steps to port your MCP2518FD module on Orin NX devkit?

We would suggest you start from porting only one device and verify it first.

Hi @KevinFFF, thank you for the suggestion. I got it to work.

For others seeing this, follow these steps Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation after modifying defconfig and the dtsi to flash the new kernel onto the Jetson as those files are only available on the host computer.

1 Like