diff options
authorChunyan Zhang <zhang.chunyan@linaro.org>2016-07-12 19:44:43 +0800
committerChunyan Zhang <zhang.chunyan@linaro.org>2016-07-12 19:44:43 +0800
commit67032699247b3fca6e868e44dfcac715125a06fe (patch)
parent9ff72664491eadc03e28e011a246c4d3becbaf6d (diff)
readme: added information on operation of configfs
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
1 files changed, 12 insertions, 0 deletions
diff --git a/mmap-wrapper/readme b/mmap-wrapper/readme
index fa19ef7..b3d111e 100644
--- a/mmap-wrapper/readme
+++ b/mmap-wrapper/readme
@@ -3,3 +3,15 @@ Before compiling the program, you must change the items below accroding to your
- 'CROSS_COMPILE' in Makefile
- STM device name in stm_user_api.h
- TMC device name in stm_user_api.h
+And then you may need to mount configfs manually:
+mount -t configfs none /config
+Create policy directory for STM:
+mkdir /config/stp-policy/10006000.stm.abc
+The STM directory name consists of the device name to which it applies and the actual policy name,
+separated by a dot.
+The device name (say 10006000.stm) have to be matched the name of STM device under /dev.
+The suffix is a random string without any dot