bq-picmt: generate sparse rootfs, correct some bootimg offsets (MR 1265)

Generating a sparse rootfs speeds up flashing through Fastboot.
Also change some bootimg offsets to be more accurate to the one
actually used by the bootloader. (They will actually just be ignored,
since the bootloader always uses its own hard-coded ones.)
This commit is contained in:
Minecrell 2020-05-24 12:37:38 +02:00 committed by Bart Ribbers
parent 7d278ccca7
commit bbba372ac3
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
2 changed files with 5 additions and 7 deletions

View file

@ -3,7 +3,7 @@
pkgname=device-bq-picmt
pkgdesc="BQ Aquaris X5"
pkgver=1
pkgrel=2
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -27,4 +27,4 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="65aac64e943dc085f71f2fd1913f2a177732a114352524f6ba5dcf65e33ba3b74bb74b307b539e5f04db59984a0c8af535fbfbe531837b6eebd2aa912045eefd deviceinfo"
sha512sums="c6da1cf28790a6fbb76da251b0c966d4a5d444ab41208a812c5f514a37bee9bf050d4f94be5e5c18c862d4a2f356cda7b89522c655e6bd287af96f1ab078e38a deviceinfo"

View file

@ -20,12 +20,10 @@ deviceinfo_dev_touchscreen="/dev/input/event9"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.bqdevice=picmt buildvariant=user"
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_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"