How can I add sd card to jetson tx2

Hi All

I flash the image via SDK manager, but the storage of tx2 (29GB) is not enough for my project, so anyone can teach me how to add a micro SD card to tx2 for getting more storage.

Your help is appreciated

please try

https://elinux.org/Jetson/L4T/Boot_From_External_Device

1 Like

Hi WayneWWW

I use the 128 SD card, I follow the step1,2 without any problems above your link, but there is an error " tar: *:Cannot stat: Structure needs cleaning" on step 3 last command “sudo tar -cpf - * | ( cd /mnt/ ; sudo tar -xpf - )”

Could you tell me what is the problem?

Do you download the rootfs from our download center?

No, could you give me link of that?

Please follow the NVME example on that page. It will guide you.

You just need to replace those related to NVMe to your sdcard device name.

Hi, WayneWWW

I am very confused. Let me say more detail about what I did,

First, I follow Steps

  1. Connect the SD card to host Linux PC

  2. Create GPT and partiton using gdisk on the device:
    $sudo gdisk /dev/sdx, there is a question around here, “/dev/sdx” should be the SD card
    location, right? When I type ‘/dev/sdx’ in terminal of host shows ‘the specified file doesn’t
    exist’.
    “o” → clear all current partition data
    “n” → create new partition
    “1” → partition number /dev/sdx1
    "40M"first sectors → Press enter
    “Linux filsystem” → using default type
    “c” → partition’s name “PARTLABEL”
    “w” → write to disk and exit.

  3. Get partition UUID and copy rootfs to the device:
    There is the problem until ‘$ sudo tar -cpf - * | ( cd /mnt/ ; sudo tar -xpf - )’

I can’t find any guidelines to download the rootfs from download center.

Do you see there is “ Use NVMe + Xavier NX as example” section on the wiki page I posted?

Yes, but that uses the NVMe SSD card as the axternal device.The internal device, like Sd card, is the same method?

Hi WayneWWW

I am sorry to bother you again

I am confused about step 4, let tx2 enter recovery mode that means hold recovery bottom and hit the reset bottom.
I can skip step 5 due to the r32.5.
On step 6, ‘$ sudo ./flash -S 29318MiB jetson-tx2 mmcblk2p1(this is my SDcard location)’ should be in the host terminal, right?

I am confused about step 4, let tx2 enter recovery mode that means hold recovery bottom and hit the reset bottom.

Please refer to quick start guide on download center if you didn’t put board into rcm before.

On step 6, ‘$ sudo ./flash -S 29318MiB jetson-tx2 mmcblk2p1(this is my SDcard location)’ should be in the host terminal, right?

Yes, it is just what sdkmanager is doing but we are just skipping those automation GUI stuff here.

May I ask where is the ‘flash.sh’ file in the host PC?

The default path should be folder “nvidia” under home directory. If you once installed sdkmanager, then it shall be there


The host terminal shows like that, and the TX2 automatically reboot, but it is stuck in this page as below,

Do you know what is the problem?

Dump the uart log from your TX2 and it will tell us what is going on.

https://www.jetsonhacks.com/2017/03/24/serial-console-nvidia-jetson-tx2/

FYI, if you’ve flashed before using this release, then the sample rootfs plus NVIDIA content would be set up correctly in the “Linux_for_Tegra/rootfs/” directory. If you’ve never flashed with that specific release before, then you might be missing some content in the “rootfs/” until manually added. One of the things JetPack/SDKM does is to unpack content, and presumably the NVIDIA content would be there as well, but some of that content could be “partial” if JetPack/SDKM never actually flashed that board once (and partial content is one reason you might get an aborted boot like that).