Unknown filesystem type 'xfs'

Hi all,
I formatted the sata hard disk using parted command. command is parted /dev/sda -s mklabel gpt .
Command executed successfully. After that xfs file system created using mkfs.xfs -f /dev/sda1. But when i mount the hard disk it is giving error as "unknown filesystem type ‘xfs’ ". mount command i used is mount /dev/sda1 /tmp/tmpmountpoint/. What is the issue

Hi @jng

Welcome to Toradex community.

Hope you have enabled the CONFIG_XFS_FS=y in the kernel configuration.if not please enable the same and update the kernel.

Please refer to kernel article for building and updating the kernel.