Building Pinmux + Device Tree + Kernel for NRU-220S

Reference

Preparation

Testing Environment

  • Host Machine

  • Please update all the parameter paths regarding your environment

Download L4T via NVIDIA SDKManager

  • Follow this linkarrow-up-right to install NVIDIA SDKManager

  • Follow the NVIDIA SDKManger, and install AGX Orin + JetPack 5.0.2

Download Device Tree and Kernel Sources

  • NVIDIA released an updated source_sync.sh as below in the developer forum [linkarrow-up-right], please download it to replace the original one in L4T folder.

file-download
11KB
  • Assumed you have the L4T folder downloaded by NVIDIA SDK Manager, you can further download kernel sources and device tree sources via the following commands

Download Toolchain

Prepare NRU-220S files from Dev Kits file

Let's try to have the NRU-220S files from dev kit.

"sources/hardware/nvidia/soc/t23x/kernel-dts/tegra234-soc/tegra234-soc-eqos.dtsi" modification

"bootloader/tegra234-mb2-bct-common.dtsi" Modification

"nru220.conf" Modification

"nru220.conf.common" Modification

"sources/hardware/nvidia/platform/t23x/concord/kernel-dts/Makefile" Modification

"sources/hardware/nvidia/platform/t23x/concord/kernel-dts/nru220.dts" Modification

"sources/hardware/nvidia/platform/t23x/concord/kernel-dts/cvm/nru220-orin.dtsi" Modification

Add a new .dcb to "sources/hardware/nvidia/platform/t23x/concord/kernel-dts/"

"sources/hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/nru220-a00.dtsi" Modification

Prepare Pinmux Files

  • The required Pinmux files of Jetson AGX Orin are different from Jetson AGX Xavier or Xavier NX

  • The default file name for pinmux files is nru220. In other words, you will get the following files after exporting the Pinmux template Excel file.

    • Orin-nru220-gpio-default.dtsi

    • Orin-nru220-padvoltage-default.dtsi

    • Orin-nru220-pinmux.dtsi

  • Then copy the files to different folder

Create Default Users

Build

Please put the following under L4T

Build Clean and Default Config

Build Device Tree

Build Kernel

Pack Files

Flash Commands

1st Flash & Full Flash Or Pinmux Change

It's very important to have a clean and full flash once with nru220.dtb to inject the nru220.dtb into the $L4T/rootfs/boot/extlinux/extlinux.conf.

Full Flash without Rebuilding System Image

Only Flash Device Tree

Memo

Remember to disable flow control while using debug UART

Last updated