The Jetson TK1 has a SD Card reader. Most Secure Digital (SD) cards come from the factory formatted as ExFat which is the most common format for Windows machines and cameras. For the card to be useful in several situations on the Jetson (like using the card as a boot disk) the SD card needs to be formatted as Ext4 for Linux to be happy. Not hard to do, you probably know how to do this already … Looky here:
For the video, a Transcend 64 GB Class 10 Flash Memory Card was formatted. We love our GBs, so try to get as many as you can afford. Currently 64GBs seem to be about right in the size to price derby.
The command itself is pretty simple, open a Terminal and execute:
$ sudo mkfs.ext4 /dev/mmcblk1p1
Note: You may want to do
to check and make sure that the SD card is actually at /dev/mmcblk1p1
When the format is finished, you can mount the SD Card by clicking on the SD Card icon on the launch bar.
In Linux, you’ll see terms such as ‘mount’ and ‘unmount’ for removable media. Mounting a drive means giving the operating system access to the file system contained on that medium, in this case an SD Card. Typically you don’t think too much about the process. You pop the SD card into the card reader and it automatically opens up a window on the files on the card, mounting the SD card volume in the process. To ‘unmount’ the volume, you hit what is commonly referred to as the ‘eject button’ that is next to the SD card name in the file browser.
The eject button means different things in different situations. A CD Rom/DVD/Blu Ray disk is physically ejected from its player when that icon is clicked. In the case of the SD card, access to the file contents are removed from the operating system, but the SD card itself is not ejected from the card reader.
In order to format an SD card, the card must be unmounted before the formatting can begin. In the case where you already have files on the SD card and you want to format it, just unmount it before the format procedure.
There are other ways to format SD Cards using desktop applications, this is just one way to do so and decidedly old school.
For a more comprehensive guide for SD cards and Ext4 with performance tips and tricks, see High Performance SD card tuning using EXT4 file system.
There’s a little yellow tab on the SD card which ‘locks’ the contents. If you’re having trouble with the format process, check to make sure that the tab is in the correct position. On most cards, the unlock position is with the tab towards the top of the card, where the connector area resides.