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.
- Install the DTC tool
sudo apt-get install -y device-tree-compiler
- 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/
- 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
- 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
- Ctrl+F, search keyword: sdhci, find sdhci@700b0400 structure
Line 5771 status = "disabled";
change to : status = "okay";
Line 5804 mmc-ddr-1_8v;
add:
cd-gpios = <0x5b 0xc2 0x0>;
sd-uhs-sdr104;
sd-uhs-sdr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
no-mmc;
and then Save file
- Back up the previous dtb file first
sudo cp tegra210-p3448-0002-p3449-0000-b00.dtb tegra210-p3448-0002-p3449-0000-b00-bak.dtb
- 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
- Reburn
1. use NVIDIA SDK manager to flash
or
2. commond line
sudo ./flash.sh jetson-nano-emmc mmcblk0p1
Subsequent flashes can be added with the -r option
sudo ./flash.sh -r jetson-nano-emmc mmcblk0p1 (Use this if the command line has been burned)
- View SD card drive letter
df -h
- First use the umount command to unmount the SD card
sudo umount /media/--
- Format SD card to ext4 format
sudo mkfs.ext4 /dev/mmcblk1p1
- In order to avoid mistakes. Mount the SD card in the mnt directory
sudo mount /dev/mmcblk1p1 /mnt/
- Copy nano’s system to SD card
sudo cp -ax / /mnt/
- 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
- 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
Thanks
open this site
https://wiki.youyeetoo.com/en/JETSON_NANO/Firmwareupdate
2 steps to solve your problem:

- SDK manager firmware upgrade
- SD card boot