device-sony-sirius: disable QCDT bootming in deviceinfo (MR 2542)

Update deviceinfo to set deviceinfo_bootimg_qcdt to false. This is causing the pmbootstrap install to fail with

==> 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

I downloaded the TWRP image for sirius from https://forum.xda-developers.com/t/recovery-unofficial-twrp-3-2-3-0-for-sirius-01-09-2018.3836837/
Then ran "pmbootstrap bootimg_analyze recovery.img". The output had ' deviceinfo_bootimg_qcdt="false" '. This is my justification for the fork
This commit is contained in:
gaurav suman 2021-09-21 10:18:49 +00:00 committed by Bart Ribbers
parent 196bd6138f
commit 2e48dcafb0
No known key found for this signature in database
GPG key ID: 0BF4C1B5988C50D8
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-sirius
pkgver=1
pkgrel=17
pkgrel=18
pkgdesc="Sony Xperia Z2 device package"
url="https://postmarketos.org"
arch="armv7"
@ -58,7 +58,7 @@ nonfree_firmware() {
}
sha512sums="
f235f7d51bd35b64c107073e479aa42fbe595097e23a1caa0ec9d522325d2fb293008b2cf44f18e19fc8a0ad631d03a0f06e613208abe525fc03f6d25a45f8fa deviceinfo
dab9afd38a381121cc11385878ee1399a266e7a38278f9ebcfe86612dde63c7eb970a08219e29a823a12a88fd391e16afd4ff93dc57c2934cd12527b7a3abd58 deviceinfo
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini
ec5e26e60a77e74befabf5cc3f85a2636ce07261e725c0a051999d321ddec056f307001ba659c91e403770ac99d38b3160fd46e235c467fefc03d0901452314d 99-touch.rules
35a5dbd90eef6c567822f1a805c6adf620bb9c6c9c2e1755407409c2fab044baa40dda9e526c45108b4a2bbf43e0ad67e3dd90c35f6a6c6e29ec5930f2d1c4a7 modules-load.conf

View file

@ -19,7 +19,7 @@ deviceinfo_screen_height="1920"
# Fastboot related
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x2900000"