mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
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>
This commit is contained in:
@@ -62,6 +62,7 @@ def RunTests(debug, verbosity, processes, test_preserve_dirs, args, toolpath):
|
||||
name to execute (as in 'binman -t testSections', for example)
|
||||
toolpath: List of paths to use for tools
|
||||
"""
|
||||
import cbfs_util_test
|
||||
import elf_test
|
||||
import entry_test
|
||||
import fdt_test
|
||||
@@ -90,7 +91,8 @@ def RunTests(debug, verbosity, processes, test_preserve_dirs, args, toolpath):
|
||||
suite = unittest.TestSuite()
|
||||
loader = unittest.TestLoader()
|
||||
for module in (entry_test.TestEntry, ftest.TestFunctional, fdt_test.TestFdt,
|
||||
elf_test.TestElf, image_test.TestImage):
|
||||
elf_test.TestElf, image_test.TestImage,
|
||||
cbfs_util_test.TestCbfs):
|
||||
# Test the test module about our arguments, if it is interested
|
||||
if hasattr(module, 'setup_test_args'):
|
||||
setup_test_args = getattr(module, 'setup_test_args')
|
||||
|
Reference in New Issue
Block a user