Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误ninja failed with: exit status 1 #9

Open
Merlyx opened this issue Jul 29, 2021 · 1 comment
Open

错误ninja failed with: exit status 1 #9

Merlyx opened this issue Jul 29, 2021 · 1 comment

Comments

@Merlyx
Copy link

Merlyx commented Jul 29, 2021

FAILED: /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/boot.img
/bin/bash -c "(/home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/host/linux-x86/bin/mkbootimg --kernel /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/kernel --ramdisk /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/ramdisk.img --base 0x40078000 --pagesize 2048 --cmdline "bootopt=64S3,32N2,64N2 product.version=PD1986_A_1.7.6 fingerprint.abbr=10/QP1A.190711.020 buildvariant=user buildvariant=eng" --os_version 16.1.0 --os_patch_level 2099-12-31 --ramdisk_offset 0x07c08000 --tags_offset 0x0bc08000 --dtb device/vivo/k6889v1_64/prebuilt/dtb.img --header_version 2 --output /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/boot.img ) && (true )"
usage: mkbootimg [-h] --kernel KERNEL [--ramdisk RAMDISK] [--second SECOND]
[--recovery_dtbo RECOVERY_DTBO] [--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,32768,65536,131072}] [--id]
[--header_version HEADER_VERSION] [--dt DT] -o OUTPUT
mkbootimg: error: unrecognized arguments: --dtb device/vivo/k6889v1_64/prebuilt/dtb.img
[ 57% 7280/12663] //external/llvm/utils/TableGen:llvm-tblgen clang++ X86RecognizableInstr.cpp [linux_glibc]
ninja: build stopped: subcommand failed.
16:44:00 ninja failed with: exit status 1

使用了大佬提供的脚本,
然而出现上述报错,似乎mkbootimg 的命令对不上。
看了好久也不知道从哪修起
特来请教下大佬有什么解决方案 感谢!

@MartinX3
Copy link

MartinX3 commented Jan 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants