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:
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.
- Setup the Jetson Nano to be able to boot
- Turn the Jetson Nano into Recovery Mode
- Connect the Jetson Nano and the Linux PC with a USB cable
rt-net/JetsonNano_DT_SPIinto the Linux PC (not Jetson Nano)
git clone https://github.com/rt-net/JetsonNano_DT_SPI
run.shand confirm that the file has flashed successfully
The difference between original and modified
SPI1 on J40 of Developer Kit is available from
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:
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.