Arthur Heymans uploaded patch set #2 to this change.

View Change

cpu/allwinner: Prepend the BOOT0 header to the bootblock.bin

Instead of prepending the BOOT0 header to the full coreboot.rom to
create a new file called BOOT0, prepend to the bootblock.bin that gets
included in BOOTBLOCK FMAP region.

This updates mksunxiboot to reflect that it only operates on the raw
bootblock.bin and not the final image which as some padding in the
BOOTBLOCK FMAP region:
- given the necessary alignment on some boot media assume that the
remainder bytes after the bootblock will be filled with 1's
- don't allow bootblocks larger than 24K as the BROM won't load these
fully anyway.

Change-Id: I974a6aaa1a340c6b26f78b9d038be0f580331831
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
---
M src/cpu/allwinner/a10/Makefile.inc
M util/arm_boot_tools/mksunxiboot/mksunxiboot.c
2 files changed, 15 insertions(+), 10 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/35401/2

To view, visit change 35401. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: 4.8_branch
Gerrit-Change-Id: I974a6aaa1a340c6b26f78b9d038be0f580331831
Gerrit-Change-Number: 35401
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset