sony-sirius: Update deviceinfo to set deviceinfo_bootimg_qcdt to false.
This is a patch to fix failed building of the boot image for sony-sirius. Currently, pmbootstrap install on edge fails with:
== Using boot-deploy to finalize/install files ==
==> initramfs: creating boot.img
ERROR: File not found: /boot/dt.img, but
'deviceinfo_bootimg_qcdt' is set. Please verify that your
device is a QCDT device by analyzing the boot.img file
(e.g. 'pmbootstrap bootimg_analyze path/to/twrp.img')
and based on that, set the deviceinfo variable to false or
adjust your linux APKBUILD to properly generate the dt.img
file. See also: <https://postmarketos.org/deviceinfo>
2021/09/21 10:11:04 'boot-deploy' command failed
2021/09/21 10:11:04 bootDeploy: exit status 1
ERROR: postmarketos-mkinitfs-1.1.1-r0.trigger: script exited with error 1
I checked if sony-sirius should have qcdt enabled by downloading the TWRP image from https://forum.xda-developers.com/t/recovery-unofficial-twrp-3-2-3-0-for-sirius-01-09-2018.3836837/ After running "pmbootstrap bootimg_analyze recovery.img", I get the following output:
deviceinfo_kernel_cmdline="androidboot.hardware=qcom console=ttyHSL0,115200,n8 msm_rtb.filter=0x3F ehci-hcd.park=3 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y coherent_pool=8M vmalloc=300M sched_enable_power_aware=1 user_debug=31 androidboot.bootdevice=msm_sdcc.1 buildvariant=userdebug enforcing=0 androidboot.selinux=permissive buildvariant=eng"
deviceinfo_generate_bootimg="true"
**deviceinfo_bootimg_qcdt="false"**
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
Therefore, I'm editing the deviceinfo to set the variable to false
Edited by Administrator