device/testing/starqltechn: deviceinfo: enable flash on update (MR 5090)

Device uses heimdall flash method by default, with uppercase
partition name in it's PIT file. This conflicts with flash on update,
because in Linux partitions named in lowercase. To resolve this conflict,
default flash method changed to fastboot. Heimdall still can be used with
`--method` flag: `pmbootstrap flasher  --method heimdall-bootimg flash_kernel`

- enable flash on update flag.
- change default flash method to 'fastboot'
This commit is contained in:
Dzmitry Sankouski 2024-05-01 22:27:20 +03:00 committed by Dzmitry
parent 75c5b04652
commit 0cfff96c6b
No known key found for this signature in database
GPG key ID: 30C0D50BEF63BF54
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-starqltechn
pkgdesc="Samsung Galaxy S9 SM-G9600"
pkgver=4
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -31,7 +31,7 @@ package() {
sha512sums="
75d405e0574c095f96fb37074968120ff429b862f6d00f4f3ccfc3a9ff3473e19d9e65879b1e6523042de9081b95fbc0c6d73b92e529feef84f7ff5f3a113624 deviceinfo
1036bd1f5df082a542c27097e628a81bd89543f376b968cd4331ec7d7d5b028590b3562f3734b6ee08958d69d47048647c0489a4c568b4f7bb1365be5b753864 deviceinfo
f45c72e77a97a8ec78da25df17682e86767672b2024ae9455a5a8db4dde95e5f9b0519361ab950b9dd77134054b2754e90ea844ceb5fccffa79d5bb51ff0c583 boot_image.its
ba782c324c14cf0947c752b51a607ae1b08def885b0cf0afe89d1fcade3491ab2f547551eb08bd8074f608dac46bdcdf75c5c633bd7a15e6eb63a10f30994c82 payload_mock.dts
1ae956562df26c458654c178efcba4862ff9a8b55d5f27bb74f1667bb2434f4bf95ec4f3ffc54d7bc84a6d075e9caadf46716dd72bc9d6b7b623ec4f25940f36 bootscript.sh

View file

@ -17,7 +17,8 @@ deviceinfo_screen_width="2960"
deviceinfo_screen_height="1440"
# Bootloader related
deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_flash_method="fastboot"
deviceinfo_flash_kernel_on_update="true"
deviceinfo_kernel_cmdline="console=null androidboot.hardware=qcom video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_uboot_fit_images="true"
@ -36,3 +37,4 @@ deviceinfo_flash_pagesize="4096"
deviceinfo_flash_heimdall_partition_kernel="BOOT"
deviceinfo_flash_heimdall_partition_initfs="BOOT"
deviceinfo_flash_heimdall_partition_rootfs="SYSTEM"
deviceinfo_flash_fastboot_partition_kernel="boot"