As required e.g. on Fairphone 5, add an example how to use boot image
with header version 2.

Signed-off-by: Luca Weiss <luca.we...@fairphone.com>
---
 doc/board/qualcomm/board.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/board/qualcomm/board.rst b/doc/board/qualcomm/board.rst
index 
23159f2091daa0def4cd005c9e413aed6de7d4a7..642c50952617e315eb461972e29a179836bd6e07
 100644
--- a/doc/board/qualcomm/board.rst
+++ b/doc/board/qualcomm/board.rst
@@ -117,6 +117,13 @@ Or with no FIT image::
        mkbootimg --kernel u-boot-nodtb.bin.gz-dtb \
        --output boot.img --pagesize 4096 --base 0x80000000
 
+Other devices with boot image version 2 can be built like this example::
+
+       mkbootimg --pagesize 4096 --header_version 2 \
+       --kernel_offset 0x00008000 --kernel u-boot-nodtb.bin.gz \
+       --dtb_offset 0x01f00000 --dtb 
dts/upstream/src/arm64/qcom/qcm6490-fairphone-fp5.dtb \
+       --output boot.img
+
 - Flash boot.img using fastboot and erase dtbo to avoid conflicts with our DTB:
 
   .. code-block:: bash

-- 
2.49.0

Reply via email to