Install genromfs
On Linux, It can be directly installed from package manager using below command
sudo apt-get install genromfs
Otherwise, Install genromfs from source.
- Getting the sources
git clone https://github.com/chexum/genromfs.git
- Switch to genromfs 0.5.2 (released) version
cd genromfs
git checkout 0.5.2 -b 0.5.2
- Patch genromfs with below change
diff --git a/Makefile b/Makefile
index d278efc..72a4c5c 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ FILES = COPYING NEWS ChangeLog Makefile \
readme-kernel-patch genrommkdev romfs.txt \
checkdist
-prefix = /usr
+prefix = /usr/local
bindir = $(prefix)/bin
mandir = $(prefix)/man
- Build and Install genromfs
make
sudo make install
- Enable ROMFS config through menuconfig at os folder.
cd $TIZENRT_BASEDIR/os
make menuconfig
See [Getting the sources] for how to set TIZENRT_BASEDIR.
Select menu.
File Systems -> ROMFS to y
- Put your contents at tools/fs/contents-romfs folder.
After these two steps, board specific steps should be executed.
ARTIK053 [Details]
ARTIK053S [Details]
ARTIK055S [Details]
SIDK_S5JT200 [Details]