Setup J120-IMU for Jetson TX2

As you know, official JetPack doesn’t support for J120-IMU. In fact, could not use USB port when I attached Jetson TX2 to Auvidea J120-IMU. This post is to install a path of J120 by using JetPack installer.

Environment

  • Host PC: Ubuntu 16.04
  • Jetson TX2
  • JetPack 3.1
  • Auvidea J120-IMU
  • J120 firmware (kernel and patches) v1.5

Host PC 1st install JetPack

$ cd ~/
$ mkdir jetpack
$ cd /jetpack

Download JetPack 3.1
And place it to /jetpack.
Now the folder can be seen like this.

$ cd /jetpack
$ ls
JetPack-L4T-3.1-linux-x64.run

Follow this install guide.

Host PC 2nd install JetPack

After install JetPack to Jetson TX2 successfully, add patch from Auvidea.
Make sure to get patch for JetPack 3.1.

$ cd ~/Downloads
$ wget https://auvidea.com/download/firmware/TX2/v1.5/ChangesTX2J140_Kernel_r28.1_v1.5.tar.gz
$ tar zxvf ChangesTX2J140_Kernel_r28.1_v1.5.tar.gz

This is for USB3.0 & 2.0 working.

$ cd ~/Downloads/ChangesTX2J140_Kernel_r28.1/BCT
$ cp -rf tegra186-mb1-bct-pmic-quill-p3310-1000-c01.cfg ~/jetpack/64_TX2/Linux_for_tx2/bootloader/t186ref/BCT
$ cp -rf tegra186-mb1-bct-pmic-quill-p3310-1000-c02.cfg ~/jetpack/64_TX2/Linux_for_tx2/bootloader/t186ref/BCT
$ cp -rf tegra186-mb1-bct-pmic-quill-p3310-1000-c03.cfg ~/jetpack/64_TX2/Linux_for_tx2/bootloader/t186ref/BCT
$ cp -rf tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg ~/jetpack/64_TX2/Linux_for_tx2/bootloader/t186ref/BCT

This is for updating device Tree.

$ cd ~/Downloads/ChangesTX2J140_Kernel_r28.1/dtb
$ cp -rf tegra186-quill-p3310-1000-a00-00-base.dtb ~/jetpack/64_TX2/Linux_for_tx2/kernel/dtb
$ cp -rf tegra186-quill-p3310-1000-c03-00-base.dtb ~/jetpack/64_TX2/Linux_for_tx2/kernel/dtb
$ cp -rf tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dtb ~/jetpack/64_TX2/Linux_for_tx2/kernel/dtb

Follow this install guide again.

When the Component Manager opens, should push “Clear Action”.
Then change the cell to install 28.1.0. The cell is “Action” column and “Flash OS Image to Target” row.
Also, chose packages what you want to install.
Other process are same as the install document.

Jetson TX2

Run Jetson TX2, then back up these directory.

$ sudo cp -r /boot /boot_bkup
$ sudo cp -r /lib /lib_bkup

Get the path same as before.

$ cd ~/Downloads
$ wget -no-check-certificate https://auvidea.com/download/firmware/TX2/v1.5/ChangesTX2J140_Kernel_r28.1_v1.5.tar.gz
$ tar zxvf ChangesTX2J140_Kernel_r28.1_v1.5.tar.gz

Place them to /boot and /lib.

$ cd ~/Downloads/ChangesTX2J140_Kernel_r28.1/kernel
$ sudo cp -rf Image /boot
$ sudo cp -rf zImage /boot
$ sudo cp -rf lib/* /lib

Reboot.

$ sudo reboot

Reference