[coreboot-gerrit] Patch merged into coreboot/master: ddbfc64 am335x: Build an omap style header and an image with it at the front.

gerrit at coreboot.org gerrit at coreboot.org
Mon Jun 10 17:53:51 CEST 2013


the following patch was just integrated into master:
commit ddbfc645c2fb9c2aab55c9d5f7c55fa80fd8da64
Author: Gabe Black <gabeblack at chromium.org>
Date:   Wed May 29 16:42:35 2013 +0200

    am335x: Build an omap style header and an image with it at the front.
    
    Loading on an OMAP SOC requires that the first sector of the image have a
    configuration header, and, when not an execute in place image, an additional
    header which describes how big the image is and where it should be loaded.
    This change adds some infrastructure to statically build that header using C
    code, and to paste the header onto the front of coreboot.rom in a new top
    level target file called MLO.
    
    The configuration header we're using is as inert as possible, in line with
    what U-Boot is doing. I think it could be used to give additional
    configuration parameters to the built-in ROM on the SOC, but we don't need to
    do that, and there didn't seem to be any actual documentation how to do that.
    Because the header is built from C and is defined per CPU, it would be
    possible to include extra settings in other CPUs if desired.
    
    Adding a new top level build target is a bit disruptive, but should be
    contained to the am335x directory and not interfere with other mainboards.
    
    Change-Id: I06d346a4050c20963b3c7c6e8a152070bf2d145a
    Signed-off-by: Gabe Black <gabeblack at chromium.org>
    Reviewed-on: http://review.coreboot.org/3332
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>


See http://review.coreboot.org/3332 for details.

-gerrit



More information about the coreboot-gerrit mailing list