Skip to content

Commit

Permalink
Added cramfs to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
teplofizik committed Sep 17, 2022
1 parent 50af275 commit 41ede1b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ There is possible to add or update files in ramfs image.

## Supported image formats
1. Kernel: compressed raw, fit, android, raw, legacy
2. Ramfs: cpio, ext2, squashfs, compressed cpio or ext2, legacy, fit, android image
2. Ramfs: cpio, ext2, squashfs, cramfs, compressed cpio or ext2, legacy, fit, android image
3. Device tree: dtb, fit

## Supported filesystems
Supported at now:
1. CPIO ASCII (RW)
2. EXT2 (RW)
3. SquashFs (RW)
4. CramFs (RW)

## Supported compression types
Supported at now:
Expand Down Expand Up @@ -108,6 +109,10 @@ Load fs from squashfs image:
```
load <filename.sqfs> ramfs squashfs
```
Load fs from cramfs image:
```
load <filename.sqfs> ramfs cramfs
```

### Kernel image
Load kernel from raw binary image:
Expand Down Expand Up @@ -156,6 +161,11 @@ store <filename.fs.ct> ramfs <compression>
```
(compression) is "gzip", "lz4", "lzma", "bzip2"

Store fs as cramfs image:
```
store <filename.cramfs> ramfs cramfs
```

Store fs as squashfs image:
```
store <filename.cpio> ramfs squashfs
Expand Down Expand Up @@ -204,7 +214,7 @@ Update filesystem type:
```
set ramfs filesystem <fs>
```
(fs) is one of 'ext2', 'squashfs' or 'cpio'.
(fs) is one of 'ext2', 'squashfs', 'cramfs' or 'cpio'.

Change squash compression type:
```
Expand Down

0 comments on commit 41ede1b

Please sign in to comment.