]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Add a utility library for coreboot CBFS
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 19:18:52 +0000 (13:18 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:53:46 +0000 (12:53 -0700)
commita5d357f75b8fd2abeafb28f8c51f132832741b3d
tree58ea3fca57b1cf9469b0c40e795e912add544c82
parentd892ec94c5a9c743b25b8315c69d9a798ac3ac13
binman: Add a utility library for coreboot CBFS

Coreboot uses a simple flash-based filesystem called Coreboot Filesystem
(CBFS) to organise files used during boot. This allows files to be named
and their position in the flash to be set. It has special features for
dealing with x86 devices which typically memory-map their SPI flash to the
top of 32-bit address space and need a 'boot block' ending there.

Create a library to help create and read CBFS files. This includes a
writer class, a reader class and associated other helpers. Only a subset
of features are currently supported.

Signed-off-by: Simon Glass <sjg@chromium.org>
.travis.yml
tools/binman/binman.py
tools/binman/cbfs_util.py [new file with mode: 0644]
tools/binman/cbfs_util_test.py [new file with mode: 0755]