summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShawn Chang <citypw@gmail.com>2019-04-24 12:44:58 +0300
committerAnup Patel <anup@brainfault.org>2019-04-25 07:17:13 +0300
commit03ec350c83511b8ac02b23f9ee16c7ac272bf113 (patch)
tree7540a724bd7a9a9e693b4717a761f5b1afc18028 /docs
parent10baa64c02f6746fd506136e0693aa2d592574fb (diff)
downloadopensbi-03ec350c83511b8ac02b23f9ee16c7ac272bf113.tar.xz
docs: Add a payload section about coreboot support #116
Signed-off-by: Shawn Chang <citypw@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/external/coreboot.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/external/coreboot.md b/docs/external/coreboot.md
new file mode 100644
index 0000000..fe2f7ba
--- /dev/null
+++ b/docs/external/coreboot.md
@@ -0,0 +1,24 @@
+OpenSBI as coreboot payload
+==============================
+
+[coreboot](https://www.coreboot.org/) is a free/libre and open source firmware platform support multiple hardware architectures( x86, ARMv7, arm64, PowerPC64, MIPS and RISC-V) and diverse hardware models. In RISC-V world, coreboot currently support HiFive Unleashed with OpenSBI as a payload to boot GNU/Linux:
+
+```
+SiFive HiFive unleashed's original firmware boot process:
+ +-----------+
++------+ +------+ +------+ | BBL |
+| MSEL |--->| ZSBL |--->| FSBL |--->| +-------+
++------+ +------+ +------+ | | linux |
+ +---+-------+
+
+coreboot boot process:
+ +---------------------------------------------------------------------+
+ | coreboot |
++------+ +------+ | +-----------+ +----------+ +----------+ +-----------------------+
+| MSEL |-->| ZSBL |-->| | bootblock |->| romstage |->| ramstage |->| payload ( OpenSBI) |
++------+ +------+ | +-----------+ +----------+ +----------+ | +-------+ |
+ | | | linux | |
+ +---------------------------------------------+-------------+-------+-+
+```
+
+The upstreaming work is still in progress. There's a [documentation](https://github.com/hardenedlinux/embedded-iot_profile/blob/master/docs/riscv/hifiveunleashed_coreboot_notes-en.md) about how to build [out-of-tree code](https://github.com/hardenedlinux/coreboot-HiFiveUnleashed) to load OpenSBI.