From 112003a55671ffa5285145280988dc1248b26b08 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Fri, 23 Dec 2016 14:20:24 +0100 Subject: Paper build system initial import into Libreboot This is the initial import of the Paper build system into Libreboot. It was written as a flexible and painless replacement for the Libreboot build system, allowing to support many different configurations. It currently only supports the following CrOS devices: * Chromebook 13 CB5-311 (nyan big) * Chromebook 14 (nyan blaze) * Chromebook 11 (HiSense) (veyron jerry) * Chromebit CS10 (veyron mickey) * Chromebook Flip C100PA (veyron minnie) * Chromebook C201PA (veyron speedy) The build system also supports building various tools and provides various scripts to ease the installation on CrOS devices. Signed-off-by: Paul Kocialkowski --- projects/vboot/configs/blobs | 22 ++++++++++++++++++ projects/vboot/configs/blobs-ignore | 33 +++++++++++++++++++++++++++ projects/vboot/configs/blobs-ignore-notes.txt | 5 ++++ projects/vboot/configs/revision | 1 + projects/vboot/configs/targets | 2 ++ projects/vboot/configs/tools/install | 5 ++++ 6 files changed, 68 insertions(+) create mode 100644 projects/vboot/configs/blobs create mode 100644 projects/vboot/configs/blobs-ignore create mode 100644 projects/vboot/configs/blobs-ignore-notes.txt create mode 100644 projects/vboot/configs/revision create mode 100644 projects/vboot/configs/targets create mode 100644 projects/vboot/configs/tools/install (limited to 'projects/vboot/configs') diff --git a/projects/vboot/configs/blobs b/projects/vboot/configs/blobs new file mode 100644 index 00000000..f47d47ff --- /dev/null +++ b/projects/vboot/configs/blobs @@ -0,0 +1,22 @@ +tests/devkeys/firmware_bmpfv.bin +tests/devkeys-pkc/firmware_bmpfv.bin +tests/futility/data/bios_link_mp.bin +tests/futility/data/bios_mario_mp.bin +tests/futility/data/bios_peppy_mp.bin +tests/futility/data/bios_zgb_mp.bin +tests/futility/data/dingdong.signed +tests/futility/data/dingdong.unsigned +tests/futility/data/fw_gbb.bin +tests/futility/data/fw_vblock.bin +tests/futility/data/hoho.signed +tests/futility/data/hoho.unsigned +tests/futility/data/kern_preamble.bin +tests/futility/data/minimuffin.signed +tests/futility/data/minimuffin.unsigned +tests/futility/data/rec_kernel_part.bin +tests/futility/data/vmlinuz-amd64.bin +tests/futility/data/vmlinuz-arm.bin +tests/futility/data/zinger_mp_image.bin +tests/futility/data/zinger.signed +tests/futility/data/zinger.unsigned +tests/preamble_tests diff --git a/projects/vboot/configs/blobs-ignore b/projects/vboot/configs/blobs-ignore new file mode 100644 index 00000000..8ce3e957 --- /dev/null +++ b/projects/vboot/configs/blobs-ignore @@ -0,0 +1,33 @@ +bdb/sha.c +bdb/bdb_create.c +cgpt/cgpt_wrapper.c +firmware/lib/tpm_lite/include/tlcl_structures.h +firmware/lib/cgptlib/crc32.c +firmware/lib/cryptolib/padding.c +firmware/2lib/2sha512.c +firmware/2lib/2sha256.c +firmware/bdb/secrets.c +futility/cmd_gbb_utility.c +scripts/image_signing/tag_image.sh +scripts/image_signing/strip_boot_from_image.sh +scripts/image_signing/make_dev_ssd.sh +scripts/image_signing/tofactory.sh +scripts/image_signing/sign_official_build.sh +scripts/image_signing/sign_nv_cbootimage.sh +tests/rsa_padding_test.h +tests/bdb_sprw_test.c +tests/crc32_test.c +tests/vb2_api_tests.c +tests/sha_test_vectors.h +tests/gen_preamble_testdata.sh +tests/load_kernel_tests.sh +tests/vb21_host_misc_tests.c +tests/run_vbutil_kernel_arg_tests.sh +tests/cgptlib_test.c +tests/vb2_sha_tests.c +tests/futility/test_file_types.c +tests/futility/test_file_types.sh +tests/futility/test_dump_fmap.sh +tests/testcases/padding_test_vectors.inc +utility/bmpblk_font.c +utility/vbutil_what_keys diff --git a/projects/vboot/configs/blobs-ignore-notes.txt b/projects/vboot/configs/blobs-ignore-notes.txt new file mode 100644 index 00000000..1999d4f5 --- /dev/null +++ b/projects/vboot/configs/blobs-ignore-notes.txt @@ -0,0 +1,5 @@ +./3rdparty/vboot/tests/testcases/padding_test_vectors.inc +It's not a blob, see tests/rsa_padding_test.h for explanation. + +The text in this file is CC-BY-SA 4.0 or higher. All contributions to it must +be made under the same license. diff --git a/projects/vboot/configs/revision b/projects/vboot/configs/revision new file mode 100644 index 00000000..79d3a325 --- /dev/null +++ b/projects/vboot/configs/revision @@ -0,0 +1 @@ +origin/release-R56-9000.B diff --git a/projects/vboot/configs/targets b/projects/vboot/configs/targets new file mode 100644 index 00000000..858f1915 --- /dev/null +++ b/projects/vboot/configs/targets @@ -0,0 +1,2 @@ +devices +tools diff --git a/projects/vboot/configs/tools/install b/projects/vboot/configs/tools/install new file mode 100644 index 00000000..0fe502b5 --- /dev/null +++ b/projects/vboot/configs/tools/install @@ -0,0 +1,5 @@ +cgpt/cgpt:cgpt +futility/futility:futility +utility/crossystem:crossystem +utility/tpmc:tpmc +devkeys:devkeys -- cgit v1.2.3-70-g09d2