Skip to content

KnightOS/genkfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genkfs

Writes KFS filesystems into ROM files.

Usage

$ genkfs <rom file> <model directory>

genkfs will assume you want to write the filesystem to the maximum size acceptable for KnightOS, which is 0x04-0xXX, where 0xXX is the last non-protected sector of the device.

The model directory will be written to the new filesystem as the root.

TODO: Support placing the filesystem at arbituary areas in the ROM.

Installation

For Linux/Mac/etc:

$ cmake .
$ make
# make install # as root

On Windows, do the same thing under cygwin after installing cmake and your favorite C compiler. You can also download binaries from the releases page.

About

Writes a KFS filesystem into a ROM file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7