Skip to content
SPI1 enabled DTS and flash-tools for Jetson Nano
Branch: master
Clone or download
Latest commit b2e2dd4 Jun 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add gitignore Jun 29, 2019
LICENSE Add license file May 17, 2019
MD5SUM
README.md Update README Jun 29, 2019
run.sh Add MD5 hash check Jun 29, 2019
tegra210-p3448-0000-p3449-0000-a02.dts Fix spidev device Jun 29, 2019

README.md

JetsonNano_DT_SPI

unofficial script for Jetson Nano(L4T Jetson-Nano-Tegra210_Linux_R32.1.0_aarch64) to enable SPI0 (SPI1 on Developer Kit's Pin 19, 21, 23 and 24)

Please don't forget to backup your data!

First, download this repository into your Ubuntu PC (not your Jetson Nano).
After downloading, just run:

./run.sh

The scripts shows the following after flashing.

*** The [DTB] has been updated successfully. ***

Usage

The script doesn't depend on the NVIDIA SDK Manager. It downloads the reqirements from the NVIDIA's server by itself. You don't have to install the NVIDIA SDK Manager to use this script.

  1. Setup the Jetson Nano to be able to boot
  2. Turn the Jetson Nano into Recovery Mode
  3. Connect the Jetson Nano and the Linux PC with a USB cable
  4. Download rt-net/JetsonNano_DT_SPI into the Linux PC (not Jetson Nano)
    • git clone https://github.com/rt-net/JetsonNano_DT_SPI
  5. Run run.sh and confirm that the file has flashed successfully
    • ./run.sh

Information

The difference between original and modified tegra210-p3448-0002-p3449-0000-a02.dts:

SPI1 on J40 of Developer Kit is available from /dev/spidev0.0. Accroding to "Jetson Nano Product Design Guide" which was published on June 10th, 2019, SPI1(Pin 19, 21, 23 and 24 on Developer Kit) is connected to SPI0 on Tegra X1, not SPI1. See section "9.2 SPI"(pp. 41).

このツールの詳細については以下の記事で紹介しています。
The details of these tools are written in Japanese on this page:
https://www.rt-shop.jp/blog/archives/11277

Acknowledgments

Special Thanks

This work was derived from jas-mx's information:

https://devtalk.nvidia.com/default/topic/1050427/jetson-nano/enabling-spidev-on-the-jetson-nano-is-hanging-when-flashing/post/5338398/#5338398

tegra210-p3448-0002-p3449-0000-a02.dts

/*
 * arch/arm64/boot/dts/tegra210-p3448-0002-p3449-0000-a02.dts
 *
 * Copyright (c) 2018-2019, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 */

License

This repository is released under the GNU General Public License v2.0 because it includes the device tree source released under the GNU General Public License v2.0.

You can’t perform that action at this time.