device-samsung-i9100: flash rootfs to UMS partition, as non sparse
Some partitions are sparse (DATAFS, FACTORYFS), but the largest partition, UMS, needs to be non-sparse. DATAFS partition also expects some special images with a magic header (or something), simply trying to flash a sparse or non-sparse image to it gives an error from device bootloader: ``` [ ... ] erase completed(from 73728 to 90111). . mmc_pwrite: partition[6] written successfully. ...set_nps_update_start: set nps start flag successfully. process_packet: id=102, data=0 process_packet: id=102, data=2 process_packet: id=102, data=3 pda completed: id=11, size=31457280, final=0 Invalid Magic Code! 0x 0 [ ... ] ``` Therefore set UMS as default rootfs partition and create non-sparse images. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8877>
This commit is contained in:
parent
b32a0084f8
commit
595c276a22
2 changed files with 5 additions and 6 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
maintainer="Henrik Grimler <henrik@grimler.se>"
|
||||
pkgname=device-samsung-i9100
|
||||
pkgver=15
|
||||
pkgrel=1
|
||||
pkgver=16
|
||||
pkgrel=0
|
||||
pkgdesc="Samsung Galaxy SII"
|
||||
url="https://postmarketos.org"
|
||||
arch="armv7"
|
||||
|
|
@ -19,7 +19,7 @@ depends="
|
|||
v4l-utils
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
install="$pkgname.post-install"
|
||||
install="$pkgname.post-install $pkgname-openrc.post-install"
|
||||
options="!check !archcheck"
|
||||
subpackages="
|
||||
$pkgname-openrc:openrc
|
||||
|
|
@ -40,12 +40,11 @@ package() {
|
|||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install"
|
||||
install -Dm755 "$srcdir"/media-pipeline.initd "$subpkgdir"/etc/init.d/media-pipeline
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c55ecbe75ff9097d314bc3ac694c1d98cd0bc2185c01b0e670bfc15e35bc73cde35370e5a2688721471deb689b2269b1a1d44bee6a65d166df5136b534769401 deviceinfo
|
||||
cfe5fff1beb1be27ca288c1ceb843e99af5ba3b8fd9e732219470f3a58e4fdd63597bbfa4d21ff528ff0b1d4b7be80f988f209ff457e2ab9fd8eab5e38faa125 deviceinfo
|
||||
61eb2babd4c3e53e70b7a351795b60acdcca0a5d4603055add225bec9b45e50ee1956236837f7caa1c214d439834c90d836df329c0c1f47b433fd7ddc45fac96 kernel-cmdline.conf
|
||||
d3f06476be583f095189557e5269866cfc9346ddbf8d78267d7562fad7f5eca6b09b81fd08cd9690ecf88105bafe8f3ebd9136b68ab5cdaa8bfff740a8bdf3d2 media-pipeline.initd
|
||||
"
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ deviceinfo_screen_width="480"
|
|||
deviceinfo_screen_height="800"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_sparse="true"
|
||||
deviceinfo_flash_heimdall_partition_rootfs="UMS"
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue