Hello I have just flashed my Orin Nano Developer kit (JP 6.0.0 Rev 2) I have some software running on the device that needs to query what type of carrier board is being used. In the past on other Jetson devices on JP 5, to find the carrier board I use the command:
cat /proc/device-tree/nvidia,dtsfilename
On the Orin Nano Developer kit this file does not exist, My question is why is this file now missing, And is there an alternative way to query what type of carrier board
is in use
In JetPack 5, we had a dedicated kernel driver displaying the kernel and device tree source files being used now in dmesg.
In JetPack 6, we deprecated that driver because it was not worth it using a kernel driver just to show some log in dmesg, so the related entry in device tree source is also removed.
However, you can still add this line back to the kernel DTS and compile it, so you can see that info under /proc/device-tree/:
You should modify the DTS source that is included in the kernel source code tarball because dtc does not understand what __FILE__ is.
Use the one with -nv suffix.
The one without the suffix is what we push to the upstream kernel source tree, and the one with the suffix contains stuff that cannot be upstreamed, which is the complete one that you should be using.