Jetson agx orin Select the device tree file!

Let me explain my kernel update procedure here:

  1. Build a cross-compilation environment on pc.

  2. Download the source code,

  3. Go to /Linux_for_Tegra/source/Linux_for_Tegra/source/public/ and modify the *.dtsi file.

  4. Run the compile command $./ -o $PWD/kernel_out

  5. Replace the dts, image, and nvgpu.ko files.

Question 1:

Should I replace tegra234-p3701-0004-p3737-0000.dtb, or tegra234-p3701-0000-p3737-0000.dtb?How should I choose.

Question 2:
If I update pinmux, do I need to compile the source code? Or just replace the corresponding file ()

Check your previous flash log. It will tell you which dtb is in use.

Different modules lead to different dtb.

Hi WayneWWW.

So far I’ve been using “tegra234-p3701-0004-p3737-0000.dtb”, but I don’t know why I’m using it.

Sincere regards,

Because your Orin module is sku4. Not any special reason.

Then I need to rename the file named “tegra234-p3701-0004-p3737-0000”. Dtb is rg0-agx-orin-351.dtb. And modify DTB_FILE in the xxx.config file…

You should check your original flash log and it will tell your exact module sku.

I don’t know you and your module. I just use what you told to me to tell.

Hi WayneWWW,

How should I check my original flash log?

Put it on devkit…run flash command.

Read it… if you don’t know what to read… share your log. I can read it for you…

I just did flash, this is my flash log.
flash_log.txt (95.9 KB)

Board ID(3701) version(500) sku(0000) revision(J.0)

Your module is sku0. Please use p3701-0000 dtb.

Hi WayneWWW,

Thank you very much for your help, I will use p3701-0000.dtb file, I will start flash again.

So, I have one more question about using SPI2,

My SPI2 steps:

sudo devmem2 0x0c302048 word 0x00000400

sudo devmem2 0x0c302050 word 0x00000450

sudo devmem2 0x0c302048 word 0x00000400

sudo devmem2 0x0c302028 word 0x00000400

sudo modprobe spidev

  1. After loading the driver, run the code and use the oscilloscope to measure that the data waveform of spi2 is empty.

please file a new topic.

Hi Waynewww,

Thank you very much for your help, I will create a new topic…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.