[coreboot-gerrit] Patch merged into coreboot/master: 5c9f534 urara: Fix CBFS header definitions

gerrit at coreboot.org gerrit at coreboot.org
Thu Apr 2 21:52:37 CEST 2015


the following patch was just integrated into master:
commit 5c9f5342699a85b5c06f74924d730733591a64bd
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Tue Nov 4 16:12:05 2014 -0800

    urara: Fix CBFS header definitions
    
    Urara CBFS header configuration is broken. CBFS header needs to be
    right above the bootblock, and the CBFS data - 0x100 bytes above, to
    allow room for proper CBFS wrapper structures.
    
    Ideally only the header offset should be specified (and even that
    could be derived from the bootblock size). But this is a more generic
    problem to be addressed with different architectures' image layout
    requirements in mind.
    
    BRANCH=none
    BUG=chrome-os-partner:31438
    TEST=coreboot image passes the integrity check now (it was failing
         before because CBGS header was overlaying the bootblock)
    
      $ FEATURES=noclean emerge-urara coreboot
      $ /build/urara/tmp/portage/sys-boot/coreboot-9999/work/coreboot-9999/build/util/bimgtool/bimgtool \
                     /build/urara/firmware/coreboot.rom.serial
      $ cbfstool /build/urara/firmware/coreboot.rom.serial print
      coreboot.rom.serial: 1024 kB, bootblocksize 9956, romsize 1048576, offset 0x4100
      alignment: 64 bytes, architecture: mips
    
      Name                           Offset     Type         Size
      fallback/romstage              0x4100     stage        7100
      fallback/ramstage              0x5d00     stage        18995
      config                         0xa780     raw          2452
      (empty)                        0xb140     null         1003096
    
    Change-Id: Id615bdcc6261dea9f36a409bd90f1e4764353bb9
    Signed-off-by: Stefan Reinauer <reinauer at chromium.org>
    Original-Commit-Id: 8a0115963aa7460e4c7255ab8508d7d52d67fb67
    Original-Change-Id: Id200ab5421661ef39b7c7713e931c39153fdc8be
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/227523
    Original-Reviewed-by: Stefan Reinauer <reinauer at chromium.org>
    Reviewed-on: http://review.coreboot.org/9187
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>


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

-gerrit



More information about the coreboot-gerrit mailing list