__Due to the release of the Jetson-IO which is the tool to simplify the configuration of the I/Os exposed by the 40‑pin expansion header, this tool is not maintained anymore. L4T release 32.3 is the initial release containing the Jetson-IO.__
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!
This script is tested only on L4T R32.1(not tested on > R32.1). Details: issue#5.
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. ***
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.
rt-net/JetsonNano_DT_SPI
into the Linux PC (not Jetson Nano)
git clone https://github.com/rt-net/JetsonNano_DT_SPI
run.sh
and confirm that the file has flashed successfully
./run.sh
The difference between original and modified tegra210-p3448-0000-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
This work was derived from jas-mx's information:
/*
* 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.
*
*/
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.