[coreboot-gerrit] New patch to review for coreboot: 61ae26c storm: add ipq8064 blobs to the CBFS

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Apr 10 22:34:30 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9577

-gerrit

commit 61ae26cde1060d7cb8b1dafaaee95c3cbb67bd86
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Sat Dec 6 18:24:56 2014 -0800

    storm: add ipq8064 blobs to the CBFS
    
    Files necessary for the SOC bringup are added to the CBFS as raw
    blobs.
    
    Ipq8064 specific MBN header will allow to determine were the blobs
    should be loaded and what start address should be used.
    
    BRANCH=storm
    BUG=chrome-os-partner:34161
    TEST=build storm firmware and verify that the right components are added:
      $ emerge-storm coreboot chromeos-bootimage
      $ cbfstool /build/storm/firmware/image.bin  print
      image.bin: 8192 kB, bootblocksize 32488, romsize 2883584, offset 0x7f40
      alignment: 64 bytes, architecture: arm
    
      Name                           Offset     Type         Size
      cdt.mbn                        0x7f40     raw          376
      ddr.mbn                        0x8100     raw          25820
      rpm.mbn                        0xe640     raw          78512
      tz.mbn                         0x21940    raw          85360
      fallback/verstage              0x36700    stage        39500
      fallback/romstage              0x401c0    stage        15652
      fallback/ramstage              0x43f40    stage        24328
      config                         0x49e80    raw          2701
      fallback/payload               0x4a940    payload      65592
      u-boot.dtb                     0x5a9c0    (unknown)    2922
      (empty)                        0x5b580    null         2509336
      $
    
    Change-Id: I967cd20364c90a1ef7add959621992c2356f158d
    Signed-off-by: Stefan Reinauer <reinauer at chromium.org>
    Original-Commit-Id: 6b5238d47da417b8b1993ad3348f4c32381cd0e4
    Original-Change-Id: Id642ae68ef07750624f85b31ad891752d8af99bf
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/233672
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
---
 src/soc/qualcomm/ipq806x/Makefile.inc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/soc/qualcomm/ipq806x/Makefile.inc b/src/soc/qualcomm/ipq806x/Makefile.inc
index 604cdc1..16381a4 100644
--- a/src/soc/qualcomm/ipq806x/Makefile.inc
+++ b/src/soc/qualcomm/ipq806x/Makefile.inc
@@ -63,3 +63,15 @@ $(objcbfs)/bootblock.bin: $(call strip_quotes,$(CONFIG_SBL_BLOB)) \
 endif
 
 CPPFLAGS_common += -Isrc/soc/qualcomm/ipq806x/include
+
+# List of binary blobs coreboot needs in CBFS to be able to boot up this SOC
+mbn-files := cdt.mbn  ddr.mbn  rpm.mbn tz.mbn
+
+# Location of the binary blobs
+mbn-root := 3rdparty/cpu/qualcomm/ipq806x
+
+# Create make variables to aid cbfs-files-handler in processing the blobs (add
+# them all as raw binaries at the root level).
+$(foreach f,$(mbn-files),$(eval cbfs-files-y += $(f))\
+	  $(eval $(f)-file := $(mbn-root)/$(f))\
+	  $(eval $(f)-type := raw))



More information about the coreboot-gerrit mailing list