From c9fc12051152d4f5c263a9bdc830c455184b3e66 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 11 Nov 2015 14:28:01 -0600 Subject: [PATCH] SAMV71-XULT: Allow support for SmartFS again. Problem fixed --- configs/samv71-xult/README.txt | 9 +++------ configs/samv71-xult/src/samv71-xult.h | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/configs/samv71-xult/README.txt b/configs/samv71-xult/README.txt index 1e685c56f2..b3b7af2421 100644 --- a/configs/samv71-xult/README.txt +++ b/configs/samv71-xult/README.txt @@ -501,8 +501,7 @@ FLASH: SmartFS ------- -I tested using the SmartFS FLASH file system. This additional options -enable the SmartFS: +The SmartFS file system is selected with the following settings. CONFIG_FS_SMARTFS=y CONFIG_SMARTFS_ERASEDSTATE=0xff @@ -516,7 +515,8 @@ Upon boot, the on-board S25FL116k flash device will appears as: /dev/smart0 -Before SmartFS can be used, it must be formatted: +Before SmartFS can be used, it must be formatted. So this command +must be used one time the first time that the system boots: nsh> mksmartfs /dev/smart0 @@ -533,9 +533,6 @@ A better application design would perform SmartFS initialization asynchronously on a separate thread to avoid the delay at the user interface. -Update: SmartFS support is disabled temporarily due to some -integration issues that still need to be resolved. - NXFFS ----- The NXFFS file system is selected with the following settings. diff --git a/configs/samv71-xult/src/samv71-xult.h b/configs/samv71-xult/src/samv71-xult.h index 60616109f6..74cf5c99c6 100644 --- a/configs/samv71-xult/src/samv71-xult.h +++ b/configs/samv71-xult/src/samv71-xult.h @@ -63,7 +63,7 @@ #define HAVE_MTDCONFIG 1 #define HAVE_S25FL1 1 #define HAVE_S25FL1_NXFFS 1 -#undef HAVE_S25FL1_SMARTFS /* There are some issues to be resolved */ +#define HAVE_S25FL1_SMARTFS 1 #define HAVE_WM8904 1 #define HAVE_AUDIO_NULL 1