cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joseer
Voyager
Voyager
812 Views
Registered: ‎07-06-2016

Has petalinux exFAT support ?

Jump to solution

Hello,

I'm trying to work in petalinux with USB3 memories and SDs with exFAT systems, but I have not success so far, petalinux (I tried 2018.3 and 2019.1) doesn't recognize the plugged media...

As recommended on another thread, what I did is:

Editing the file:

project-spec/meta-user/recipes-core/images/petalinux-image.bbappend

and add the following:

IMAGE_INSTALL_append = " fuse-exfat"

and then run petalinux-config -c rootfs to enable fuse-exfat, and then rebuild.

I also added exfat-utils.

When I plug for instance the usb3 exFAT memory I've got next messages:

[ 4572.545236] usb 2-1.3: New USB device found, idVendor=26bd, idProduct=9917
[ 4572.552110] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4572.559417] usb 2-1.3: Product: USB DISK 3.0
[ 4572.563683] usb 2-1.3: Manufacturer:
[ 4572.568032] usb 2-1.3: SerialNumber: 070D9221DBC71081
[ 4572.574028] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[ 4572.580457] scsi host2: usb-storage 2-1.3:1.0
[ 4573.612991] scsi 2:0:0:0: Direct-Access              USB DISK 3.0     PMAP PQ: 0 ANSI: 6
[ 4573.621931] sd 2:0:0:0: [sda] 242221056 512-byte logical blocks: (124 GB/116 GiB)
[ 4573.629788] sd 2:0:0:0: [sda] Write Protect is off
[ 4573.635160] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 4573.666061]  sda: sda1
[ 4573.669629] sd 2:0:0:0: [sda] Attached SCSI removable disk

 

But the device is not shown:

root@petalinux:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
devtmpfs                484764       932    483832   0% /dev
tmpfs                  1023736       168   1023568   0% /run
tmpfs                  1023736       108   1023628   0% /var/volatile
/dev/mmcblk1          15541760    711232  14830528   5% /run/media/mmcblk1
/dev/mmcblk1          15541760    711232  14830528   5% /media

 

If I try to mount the /dev/sda1 in  /media I've got:

root@petalinux:~# mount /dev/sda1 /media
FUSE exfat 1.2.3
fuse: device not found, try 'modprobe fuse' first

 

The only related questions/thread I found are:

https://forums.xilinx.com/t5/Embedded-Linux/How-to-add-exfat-support-to-petalinux/td-p/949063

https://forums.xilinx.com/t5/Embedded-Linux/How-do-I-add-support-for-the-exfat-file-system-to-PetaLinux-2018/td-p/937978

But unfortunately they are not answered ot not solved.

Does anybody have an idea if this format is supported/tested in petalinux and in that case how to properly enable it?

 

 

0 Kudos
1 Solution

Accepted Solutions
joseer
Voyager
Voyager
741 Views
Registered: ‎07-06-2016

I finally got it working, I've got write/read access to external exFAT systems. In order to have full exFAT petalinux support, besides adding fuse-exfat and exfat-utils the FUSE_FS kernel option has to be enabled as well.

Hope this could help to someone else.

 

View solution in original post

0 Kudos
1 Reply
joseer
Voyager
Voyager
742 Views
Registered: ‎07-06-2016

I finally got it working, I've got write/read access to external exFAT systems. In order to have full exFAT petalinux support, besides adding fuse-exfat and exfat-utils the FUSE_FS kernel option has to be enabled as well.

Hope this could help to someone else.

 

View solution in original post

0 Kudos