tests/futility/test_update: Make FROM_IMAGE and TO_IMAGE same board

Currently in most test cases, we update from a Peppy image to a Link
image. That is problematic, because their FMAP is different and
therefore incompatible. With b/462619916 we will add the FMAP
compatibility check to futility, so the test cases need to be fixed
first.

Here we change both FROM_IMAGE and TO_IMAGE to Trulo images. The
15217.800.0 and 15217.900.0 images come from official builds
(dev-signed). The Trulo board is selected for the following reasons:

* Trulo is an Intel device, which is required to run those ME-preserving
  test cases.
* Trulo has the RO_GSCVD FMAP region, which is required to test the "AP
  RO locked" case.
* ifdtool supports locking/unlocking Trulo images.

The main differences between the new Trulo images and old Peppy/Link
images are:

* Unsigned Trulo images are used for easier modification, in case we
  need to modify and re-sign them for verification-related futility
  tests.
* Trulo images can be locked and unlocked by 'ifdtool -p adl', so we
  don't need to hard code the SI_DESC offset in the tests.
* Trulo has the COREBOOT FMAP region, so the legacy BOOT_STUB handling
  can be removed.
* Trulo has GBB v1.2, so we don't have to patch the image to create a
  special GBB v1.2 image for testing HWID digest. GBB v1.2 was
  introduced in CL:221360 (landed in 6393.0.0), so all boards with GBB
  v1.1 have reached AUE.
* Trulo's RO_VPD and RW_VPD have the FMAP_AREA_PRESERVE flag.

Other important changes in this patch:

* A real Eve image bios_eve.bin is added for testing Eve-specific
  quirks 'unlock_csme_eve' and 'eve_smm_store'. This avoid having to
  modify the hardcoded SI_DESC offset every time FROM_IMAGE/TO_IMAGE
  is changed to a different board.
* The HWID patching is removed, because the new FROM_IMAGE and TO_IMAGE
  have the same HWID.
* To create TO_IMAGE_WIPE_RW_VPD, we cannot pass "$(printf '\000')" to
  patch_file(), because the shell will interpret it as a Null-terminated
  empty string. Instead, "\x00" must be used.
* The unibuild archive is created, with a Trulo image being the custom
  label base image (customtip). A true custom label image (customtip-mp)
  is created by taking the MP key from the Link MP image.
* Peppy and Voxel images are no longer used in the script.
* Tests for unlocking ME are moved to test_ifdtool().

BUG=b:462619916
TEST=make runfutiltestscripts
BRANCH=none

Change-Id: I4f9f5911207972314fdd1a3df5504c3764ec947c
Signed-off-by: Yu-Ping Wu <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/7206725
Reviewed-by: Jakub "Kuba" Czapiga <[email protected]>
Commit-Queue: Jakub "Kuba" Czapiga <[email protected]>
6 files changed