]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: board/qualcomm: Add example for boot image version 2
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 11 Jun 2025 11:51:25 +0000 (13:51 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jun 2025 13:54:51 +0000 (07:54 -0600)
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.weiss@fairphone.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250611-qualcomm-doc-update-v1-3-5cf8cd94974d@fairphone.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
doc/board/qualcomm/board.rst

index 23159f2091daa0def4cd005c9e413aed6de7d4a7..642c50952617e315eb461972e29a179836bd6e07 100644 (file)
@@ -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