From: Luca Weiss Date: Wed, 11 Jun 2025 11:51:25 +0000 (+0200) Subject: doc: board/qualcomm: Add example for boot image version 2 X-Git-Tag: v2025.10-rc1~91^2~44^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41e2de28c01caf68c62732397492b32a57d511be;p=pandora-u-boot.git doc: board/qualcomm: Add example for boot image version 2 As required e.g. on Fairphone 5, add an example how to use boot image with header version 2. Signed-off-by: Luca Weiss Reviewed-by: Casey Connolly Link: https://lore.kernel.org/r/20250611-qualcomm-doc-update-v1-3-5cf8cd94974d@fairphone.com Signed-off-by: Casey Connolly --- diff --git a/doc/board/qualcomm/board.rst b/doc/board/qualcomm/board.rst index 23159f2091d..642c5095261 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