Close #897: Add max size option for fastboot (#899)

This adds a new deviceinfo 'flash_fastboot_max_size' used for
preventing fastboot from flashing a system partition that is too
large. Some devices do not support flashing over a certain size
(e.g. 500MB).
This commit is contained in:
clayton craft 2017-11-11 14:00:22 -08:00 committed by Oliver Smith
parent c1a92c993c
commit 0ba6ed675d
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgname=device-amazon-thor
pkgver=1
pkgrel=1
pkgrel=2
pkgdesc="Amazon KFHDX 7inch 2013"
url="https://github.com/postmarketOS"
arch="noarch"
@ -25,6 +25,6 @@ package() {
"$pkgdir"/etc/fb.modes
}
sha512sums="b92c05622749b4a83c85756f2caf271253e60295f45dbc08fa1c06d072ebdc70f4f03ba65a3654baa56b74d7265858439e8cab3dc70bede4d43f1a5d2060b7f2 deviceinfo
sha512sums="6ba210e3a497743b3a2164005f511ac8fa224da26906928e6a61280bf02534265eaf53b0b81a1f091a781e977d79724a680fd8ca4960d7b7cf18f1d65a562245 deviceinfo
7ed015f42c445cbfa34a26ec33da8d72bcba818eecd3fae91fb418132472e739edaeed021e942d30f7d64593ffe17b61bc75e89fd45ffc44c2cdf0d1827942cb 90-android-touch-dev.rules
762d712485f581113dd70bf2a4e0602f8b9ac8c05cf519ffc2d9a4a5c7bdb387c150cee087e7523e90f598c0cde3dce89975dadc2d651b770f7f80e480848ed4 fb.modes"

View file

@ -31,6 +31,7 @@ deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_fastboot_vendor_id="0x1949"
deviceinfo_flash_fastboot_max_size="510"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="true"