Hi,
try to build Image but fail....
https://gitlab.com/ubports/porting/community-ports/android11/xiaomi-poco-x3-pro/xiaomi-vayu/
here the Log
https://pastebin.com/27dz2rtv
+ mkbootimg --kernel /tmp/tmp.wOP198PGGr/KERNEL_OBJ/arch/arm64/boot/Image --ramdisk /tmp/tmp.wOP198PGGr/halium-boot-ramdisk.img --cmdline 'androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 console=tty0' --header_version 2 -o /tmp/tmp.dP0uq2xPmQ/partitions/boot.img --os_version 11 --os_patch_level 2021-10-01 --base 0x00000000 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --pagesize 4096 --dtb /home/developer/xiaomi-vayu/xiaomi-vayu.dtb --dtb_offset 0x01f00000
usage: mkbootimg [-h] --kernel KERNEL [--ramdisk RAMDISK] [--second SECOND]
[--cmdline CMDLINE] [--base BASE]
[--kernel_offset KERNEL_OFFSET]
[--ramdisk_offset RAMDISK_OFFSET]
[--second_offset SECOND_OFFSET] [--os_version OS_VERSION]
[--os_patch_level OS_PATCH_LEVEL] [--tags_offset TAGS_OFFSET]
[--board BOARD] [--pagesize {2048,4096,8192,16384}] [--id] -o
OUTPUT
mkbootimg: error: unrecognized arguments: --header_version 2 --dtb /home/developer/xiaomi-vayu/xiaomi-vayu.dtb --dtb_offset 0x01f00000
How to fix this issue ?