Jetson nano recognizes the SD card and starts with SD

Jetson nano recognizes the SD card and starts with SD

Jetson nano识别SD卡并以SD启动

Noted: Step 1-7 run under the host computer. Step 9-15 run under the Jetson nano.

  1. Install the DTC tool
sudo apt-get install -y device-tree-compiler
  1. The cd command enters the resource path and finds the device tree file
cd   nvidia/nvidia_sdk/JetPack_4.6.1_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/kernel/dtb/
  1. Use the dtc command to decompile the dtb file into a dts file
sudo dtc -I dtb -O dts -o tegra210-p3448-0002-p3449-0000-b00.dts tegra210-p3448-0002-p3449-0000-b00.dtb
  1. Edit the generated dts file, use the gedit command here, you can directly open the file for modification
sudo gedit tegra210-p3448-0002-p3449-0000-b00.dts 
  1. Ctrl+F, search keyword: sdhci, find sdhci@700b0400 structure
Line 5771 status = "disabled";
 change to : status = "okay";
Line 5804 mmc-ddr-1_8v;
cd-gpios = <0x5b 0xc2 0x0>;
and then Save file 
  1. Back up the previous dtb file first
sudo cp tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00-bak.dtb
  1. generate new dtb file
sudo dtc -I dts -O dtb -o tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00.dts
  1. Reburn
1. use NVIDIA SDK manager to flash
2. commond line
sudo ./ jetson-nano-emmc mmcblk0p1
Subsequent flashes can be added with the -r option
sudo ./ -r jetson-nano-emmc mmcblk0p1 (Use this if the command line has been burned)
  1. View SD card drive letter
df -h
  1. First use the umount command to unmount the SD card
sudo umount /media/--
  1. Format SD card to ext4 format
sudo mkfs.ext4 /dev/mmcblk1p1
  1. In order to avoid mistakes. Mount the SD card in the mnt directory
sudo mount /dev/mmcblk1p1 /mnt/
  1. Copy nano’s system to SD card
sudo cp -ax / /mnt/
  1. After the copy is complete, unmount the SD card so that the bootable system disk can be switched to the SD card
sudo umount /mntsudo 
vi /boot/extlinux/extlinux.conf  
line 10 : root=/dev/mmcblk0p1  change to root=/dev/mmcblk1p1
  1. reboot
sudo reboot

Hi, Thanks for the post.
I have issues from step 2 to 4
I get an error message that No such file or directory when i run the code for step 2.
could you please explain in detail?
I really need to get my device to boot from my 128 sd card instead of the internal storage of 16gb

open this site

2 steps to solve your problem:

  1. SDK manager firmware upgrade
  2. SD card boot