xiaomi-scorpio dtb not found
I'm not sure if this is related to #559 (closed) or #63 (closed) so I'm opening a new issue.
I get this trying to pmbootstrap flasher boot
:
(815214) [14:50:22] (native) boot xiaomi-scorpio kernel
(815214) [14:50:22] (native) calculate depends of android-tools, avbtool (pmbootstrap -v for details)
(815214) [14:50:22] (native) % fastboot --cmdline androidboot.hardware=qcom ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff loop.max_part=7 buildvariant=userdebug boot /mnt/rootfs_xiaomi-scorpio/boot/boot.img-xiaomi-scorpio
Sending 'boot.img' (57216 KB) OKAY [ 2.108s]
Booting FAILED (remote: 'dtb not found')
fastboot: error: Command failed
I'm using this kernel, and have tried those commits:
95f789c577af310133bcebffe3228affd6fe9cf8
2933054d2488e3d40ae6f4745f93d657e4f96b96
Both give the same result.
Here's bootimg-analyze
for a boot.img
I extracted from the build of LineageOS that is currently installed and running on the phone:
deviceinfo_kernel_cmdline="androidboot.hardware=qcom ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff loop.max_part=7 buildvariant=userdebug"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"
I was recommended to use deviceinfo_append_dtb="true"
, but that made pmbootstrap install
fail:
==> initramfs: creating boot.img
error: could not load kernel '/boot/vmlinuz-xiaomi-scorpio-dtb'
I ported Halium with this kernel successfully, so I don't think it is entirely missing the device tree.