cbf: accommodate storm coreboot layout
The cros_bundle_firmware (cbf) tool expects the RO coreboot blob not
to exceed 1MB in size. This has been the case so far, but storm breaks
this convention, at least presently.
Let's take the location of coreboot in the image from the fmap
supplied through the FDT. It remains to be seen if this will work for
all targets. Note that a refactor of this tool if planned for the near
TEST=with all other changes landed, invoking
produces a bootable AP148 firmware which starts up, verifies kernel
image placed on the USB stick, and then loads and starts the kernel.
Signed-off-by: Vadim Bendebury <firstname.lastname@example.org>
Reviewed-by: Aaron Durbin <email@example.com>
1 file changed