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 (#7).
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(a)hug.cx>
---
M Documentation/mainboard/sifive/hifive-unleashed.md
M util/riscv/sifive-gpt.py
2 files changed, 13 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/27397/7
--
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: 7
Gerrit-Owner: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
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(a)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(a)hug.cx>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Philipp Hug has posted comments on this change. ( https://review.coreboot.org/27397 )
Change subject: riscv: add trampoline in MBR block to support boot mode 1
......................................................................
Patch Set 5:
I dropped the change of the bootblock.
I'll have a look at the linker scripts / bootblock.S to always put the stack on L2LIM.
If that doesn't work I'll revert to the copy to L2LIM approach which I wanted to avoid.
Tested on hardware:
boot mode 15: works as before
boot mode 1: still doesn't work as more changes are needed
--
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: comment
Gerrit-Change-Id: I16e762d9f027346b124412f1f7ee6ff37f431d86
Gerrit-Change-Number: 27397
Gerrit-PatchSet: 5
Gerrit-Owner: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 07 Jul 2018 14:09:16 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Jonathan Neuschäfer has posted comments on this change. ( https://review.coreboot.org/27397 )
Change subject: riscv: add trampoline in MBR block to support boot mode 1
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/#/c/27397/5//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/27397/5//COMMIT_MSG@10
PS5, Line 10:
Please mention here (in the commit message) to which extend this has been tested and works.
--
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: comment
Gerrit-Change-Id: I16e762d9f027346b124412f1f7ee6ff37f431d86
Gerrit-Change-Number: 27397
Gerrit-PatchSet: 5
Gerrit-Owner: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 07 Jul 2018 14:06:33 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
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 (#5).
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.
Change-Id: I16e762d9f027346b124412f1f7ee6ff37f431d86
Signed-off-by: Philipp Hug <philipp(a)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/5
--
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: 5
Gerrit-Owner: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>