device-xiaomi-lancelot: add vbmeta handling and usage of sparse for flashing
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9204>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
maintainer="Abdullah AL Shohag <HackerShohag@outlook.com>"
|
||||
pkgname=device-xiaomi-lancelot
|
||||
pkgdesc="Xiaomi Redmi 9"
|
||||
pkgver=3
|
||||
pkgver=4
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
@@ -28,6 +28,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
e61734cd0e2c6123cb033939e02471b8f1b16c96cacac2f5613bdeaa17f4892288236cc60b3fc6752e004df3ef4e2b46583a9f954c087babb6d68bc5b7f41961 deviceinfo
|
||||
3ced54ed4ab0cfc835a29242a8b2c3e4a666d48e0978b2a28a25db6785a17fa427394f363bdb45e70c8a54e9584a17def6ce609517aafe46b602f4fcd77ce145 deviceinfo
|
||||
e245ec464934acce55b2c8e5a9bdb51e6542dbb018c9a08bda365dac72ea9d2b3d4547ab96db9c244bfe90cc531282fe64e4105b41e6d9fec2fd68c0f2143b05 kernel-cmdline.conf
|
||||
"
|
||||
|
||||
@@ -17,10 +17,12 @@ deviceinfo_external_storage="true"
|
||||
# Custom (got from the docs)
|
||||
deviceinfo_drm="true"
|
||||
deviceinfo_flash_fastboot_partition_dtbo="dtbo"
|
||||
deviceinfo_flash_fastboot_partition_vbmeta="vbmeta"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_flash_sparse="true"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_header_version="2"
|
||||
deviceinfo_flash_offset_dtb="0x0bc08000"
|
||||
@@ -29,3 +31,4 @@ deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x07c08000"
|
||||
deviceinfo_flash_offset_second="0xbff88000"
|
||||
deviceinfo_flash_offset_tags="0x0bc08000"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user