Since flashing JP6.1 my Orin Nano has no exfat support. I have installed exfat-fuse and exfatprogs but still get the warning “mount: /mnt/usb: unknown filesystem type ‘exfat’ when trying to mount a USB-stick
I haven’t checked which releases have what, but what do you see from:
zcat /proc/config.gz | grep -i 'EXFAT'
This would be a listing of kernel drivers present, and those would be needed in addition to the user space programs.
Note: You can see all of what is there with “zcat /proc/config.gz | less”. You could then search with “/EXFAT”.
Hi,
Please enable the config and rebuild kernel:
Mounting ExFat Drives on Jetpack 6 - #11 by DaveYYY
Links about kernel customization:
Kernel Customization — NVIDIA Jetson Linux Developer Guide
No data from Joystick Logitech-f710 - #10 by DaneLLL
USB controller driver bug/issue in default rootfs and kernel customization - Jetpack 6.1 L4T 36.4.3 - #38 by DaneLLL
~$ zcat /proc/config.gz | grep -i ‘EXFAT’
DOS/FAT/EXFAT/NT Filesystems
CONFIG_EXFAT_FS is not set
end of DOS/FAT/EXFAT/NT Filesystems
Is that copy and paste? It seems incorrect. This is from a default install of an AGX Orin, but it is an older L4T R35.2.1 install:
# zcat /proc/config.gz | grep 'EXFAT'
# DOS/FAT/EXFAT/NT Filesystems
CONFIG_EXFAT_FS=y
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
# end of DOS/FAT/EXFAT/NT Filesystems
There should be a “comment” character (the hash mark, “#”) before lines which are commented out, and lines not commented out would say either “=y” or “=m”.
A more “inclusive” or verbose of the part of the file of interest:
# zcat /proc/config.gz | awk '/^[#] DOS.+ Filesystems/,/^[#] end of .+ Filesystems'/
This latter will show something like this (from an AGX Orin on an older R35.2.1):
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_EXFAT_FS=y
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
# end of DOS/FAT/EXFAT/NT Filesystems
Some “symbols” (names of features when compiling) have dependencies on others. There should have also been a listing of the character set. Regardless, if the “CONFIG_EXFAT_FS is not set”, then there can be no mounting of the EXFAT filesystem type. I’m not positive if this can be in the form of a module or not.
For purposes of picking kernel source, what do you see from “head -n 1 /etc/nv_tegra_release”? This is your L4T release (which is what actually gets flashed; JetPack/SDK Manager is a front end to the flash tool). If you know your L4T release, then you can go to information and downloads specific to this here:
https://developer.nvidia.com/linux-tegra
With that information we can pick kernel source to download (it is actually a source package within another source package) and show how to match the existing kernel configuration, and then add the feature for EXFAT (hopefully in the form of a module, which makes install simple). This would be the filesystem type driver which allows those user space tools to read an EXFAT system.
it is copy and paste but I removed the hashes from in front of each line as they made the text bold and with much larger font.
Anyway, thanks for the info but I am not ready yet to start kernal modifications, it’s easier to reformat a USB stick and use that.
Keep in mind that if you start with the original configuration, and add only modules, then the reason for doing it that way is that you’re not modifying the original kernel. You are adding a driver as a single file, which is actually part of the kernel when it loads, but uses the original kernel for loading it. The reason for having the kernel source and configuring to match the running kernel is so that you can create loadable modules which the original kernel can work with.
The difference between Ubuntu on the Jetson (so far as updates of kernel go) is that often desktop PC distribution install software makes available almost every loadable module for individual install (with Jetsons some modules require the user to insert those modules). There will be no possibility of exFAT support without that.