Hello Subrata Banik, Lean Sheng Tan, Jeremy Soller, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/37391
to look at the new patch set (#4).
Change subject: add transforms ......................................................................
add transforms
Transforms transform coreboot ROM images to add or remove capabilities. They let us test out new ideas for coreboot while not impacting the coreboot source in any way.
So, for example, should we want an image with a rampayload, we can run the normal build process and then transform the resulting rom image as needed.
We can implement a postcar stage which loads a ram payload directly, and do so in a way which has no impact on the coreboot source.
This not only lets us change the output of the build process, it can be implemented without changing the coreboot source. Further, since the transform Makefile depends on the presence of a coreboot.rom in the directory, we can avoid the build step if we're just trying to transform a ROM we read from a FLASH part. Just flashrom -r the image, drop it into coreboot.rom in this directory, and no build will be attempted.
This example represents the first steps of building a rampayload transform.
Transforms should have zero impact on the $(top)/src tree, since they are intended to be able to be used on prebuilt images.
Currently the payloader works as a payload but fails as a stage with the cryptic message: CBFS: Locating 'fallback/postcar' CBFS: Found @ offset 14bc0 size 1008c Decompressing stage fallback/postcar @ 0x07f85fc0 (349968 bytes) Failed to load after CAR program.
Change-Id: I27c5686000f79e287adce3f0fa7b608683a9bfce Signed-off-by: Ronald G. Minnich rminnich@gmail.com --- M payloads/Kconfig M payloads/Makefile.inc A payloads/payloader/Makefile A payloads/payloader/i386.c A payloads/payloader/payloader.c A payloads/payloader/payloader.h A transforms/README A transforms/rampayload/Makefile 8 files changed, 188 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/37391/4