[coreboot-gerrit] Change in coreboot[master]: riscv: add trampoline in MBR block to support boot mode 1

Philipp Hug (Code Review) gerrit at coreboot.org
Sat Jul 7 16:25:43 CEST 2018


Hello Jonathan Neuschäfer, build bot (Jenkins), 

I'd like you to reexamine a change. Please visit

    https://review.coreboot.org/27397

to look at the new patch set (#6).

Change subject: riscv: add trampoline in MBR block to support boot mode 1
......................................................................

riscv: add trampoline in MBR block to support boot mode 1

Add "j pc + 0x0800" at the beginning of the MBR to jump to bootblock.

Tested on hardware:
boot mode 15: works as before
boot mode 1: jump to bootblock works, but bootblock needs to be modified to
move the stack to L2LIM. This will be in a separate commit.

Further changes are needed in the bootblock
Change-Id: I16e762d9f027346b124412f1f7ee6ff37f431d86
Signed-off-by: Philipp Hug <philipp at hug.cx>
---
M Documentation/mainboard/sifive/hifive-unleashed.md
M util/riscv/sifive-gpt.py
2 files changed, 12 insertions(+), 2 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/27397/6
-- 
To view, visit https://review.coreboot.org/27397
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I16e762d9f027346b124412f1f7ee6ff37f431d86
Gerrit-Change-Number: 27397
Gerrit-PatchSet: 6
Gerrit-Owner: Philipp Hug <philipp at hug.cx>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp at hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180707/62bfeacc/attachment.html>


More information about the coreboot-gerrit mailing list