Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 1.48 KB

README_ROMFS.md

File metadata and controls

63 lines (53 loc) · 1.48 KB

Contents for ROMFS

Prerequisites

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.

  1. Getting the sources
git clone https://github.com/chexum/genromfs.git
  1. Switch to genromfs 0.5.2 (released) version
cd genromfs
git checkout 0.5.2 -b 0.5.2
  1. 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
  1. Build and Install genromfs
make
sudo make install

Steps

  1. 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
  1. 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]