After commit 8335d050bf24977afefee6612dd347abd555bc53 in pmbootstrap the partition table now defaults to GPT instead of MBR. This breaks booting on Amlogic devices for the following reasons: * On set-top boxes: downstream U-Boot most likely does not have GPT support * On boards where we install mainline U-Boot as BL33 on eMMC/SD: the bootROM checks for an `@AML` image header at offset 512 (second LBA), which means we are basically stuck on MBR Some Amlogic boards have U-Boot + the proprietary Amlogic firmware stages in SPI flash (mainly the Libre Computer boards do), which means they can use GPT, because the firmware is simply not stored on eMMC/SD. For that reason I chose not to change the partition table on those. Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
34 lines
815 B
Plaintext
34 lines
815 B
Plaintext
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Doni Halim <donihaalim@gmail.com>
|
|
pkgname=device-zte-b860hv5
|
|
pkgdesc="ZTE ZXV10 B860HV5"
|
|
pkgver=1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
postmarketos-base
|
|
linux-postmarketos-amlogic
|
|
u-boot-amlogic-s905x2-tv
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
modules-initfs
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
bc718817e2b07c8720c5cfb7390c6c4d73e13b6dd81cd9c5bcfa1b4c9ed4edc83ca563e9127e367e26d03133cc2316cdc88318001bfa8e53125920eff599e327 deviceinfo
|
|
cbd7012fcb2db0f11f694ffa621e4c47447f6b36690366da35a16918b20e58a0324cfd07eb3ed7165887e099100286098d19ae131bd62ac8b3a088780f59a1d8 modules-initfs
|
|
"
|