aboutsummaryrefslogtreecommitdiff
path: root/docs/firmware/fw_jump.md
blob: c776aa9b629aada5b9861c601779af7058137d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
OpenSBI Firmware with Jump Address (FW_JUMP)
============================================

The **OpenSBI firmware with Jump Address (FW_JUMP)** is a
firmware which only know the address of next booting stage
(i.e. bootloader/kernel).

This **FW_JUMP** firmware is particularly useful when booting
stage prior to OpenSBI firmware is capable of loading OpenSBI
firmware and booting stage after OpenSBI firmware separately.

How to Enable?
--------------

The **FW_JUMP** firmware can be enabled by any of the following
methods:

1. Passing `FW_JUMP=y` command-line parameter to
top-level `make`
2. Setting `FW_JUMP=y` in platform `config.mk`

Config Options
--------------

We need more config details for **FW_JUMP** firmware to work
correctly. These configuration details can be passed as parameters to
top-level `make` or can be set in platform `config.mk`.

Following are the configuration options for a **FW_JUMP** firmware:

* **FW_JUMP_ADDR** - Address where next booting stage is
located. This is a mandatory config option and will result
in compile error if not provided.

* **FW_JUMP_FDT_ADDR** - Address where the FDT passed by the prior
booting stage will be placed before passing to the next booting
stage. If this option is not provided then the firmware will pass
zero as the FDT address to the next booting stage.
>>>>>>> 2c0dc4dc... docs: Typo fixes.