Tristan Hsieh has uploaded this change for review. ( https://review.coreboot.org/27528
Change subject: mediatek/mt8183: Separate bootblock from coreboot image
......................................................................
mediatek/mt8183: Separate bootblock from coreboot image
We have to separate bootblock from coreboot image since MT8183 must
load bootblock from eMMC, and everything else gets loaded from SPI NOR.
So, we create a 0 byte bootblock.bin for the generic build system, and
pack bootblock.raw.bin to a new file emmc_bootblock.bin.
BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui
Change-Id: I2f0725dbf74120a3b0ba09363f6b673b8d20be5d
Signed-off-by: Tristan Shieh <tristan.shieh(a)mediatek.com>
---
M src/soc/mediatek/mt8183/Makefile.inc
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/27528/1
diff --git a/src/soc/mediatek/mt8183/Makefile.inc b/src/soc/mediatek/mt8183/Makefile.inc
index ca59d34..89bfc94 100644
--- a/src/soc/mediatek/mt8183/Makefile.inc
+++ b/src/soc/mediatek/mt8183/Makefile.inc
@@ -38,7 +38,12 @@
CPPFLAGS_common += -Isrc/soc/mediatek/mt8183/include
CPPFLAGS_common += -Isrc/soc/mediatek/common/include
-$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
+$(objcbfs)/bootblock.bin:
+ truncate -s 0 $@
+
+$(objcbfs)/emmc_bootblock.bin: $(objcbfs)/bootblock.raw.bin
./util/mtkheader/gen-bl-img.py mt8183 emmc $< $@
+coreboot: $(objcbfs)/emmc_bootblock.bin
+
endif
--
To view, visit https://review.coreboot.org/27528
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f0725dbf74120a3b0ba09363f6b673b8d20be5d
Gerrit-Change-Number: 27528
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Hsieh <tristan.shieh(a)mediatek.com>
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/27526 )
Change subject: Documentation: update draft git command
......................................................................
Patch Set 1: Code-Review+2
Thanks!
--
To view, visit https://review.coreboot.org/27526
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c68e496ecd47fb559dd2ad400406007028cbb24
Gerrit-Change-Number: 27526
Gerrit-PatchSet: 1
Gerrit-Owner: Tom Hiller <thrilleratplay(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Comment-Date: Wed, 18 Jul 2018 12:07:13 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Martin Roth has posted comments on this change. ( https://review.coreboot.org/27527 )
Change subject: util/crossgcc: update IASL to v20180629
......................................................................
Patch Set 1:
This is currently more just for testing than for a real plan to update IASL to this version. IASL releases with a monthly cadence, and I don't think we want to update the coreboot toolchain with that frequency.
--
To view, visit https://review.coreboot.org/27527
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idce2587a87c5e0677a4571b59ef40e5486c22da9
Gerrit-Change-Number: 27527
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Wed, 18 Jul 2018 12:06:49 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Tom Hiller has posted comments on this change. ( https://review.coreboot.org/27526 )
Change subject: Documentation: update draft git command
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/27526
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c68e496ecd47fb559dd2ad400406007028cbb24
Gerrit-Change-Number: 27526
Gerrit-PatchSet: 1
Gerrit-Owner: Tom Hiller <thrilleratplay(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Comment-Date: Wed, 18 Jul 2018 12:05:06 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No