device-oneplus-lemonade: remove lemonadep bits and stop using empty dtbo (MR 4729)

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Nia Espera 2023-12-03 15:12:51 +01:00 committed by Pablo Correa Gómez
parent e3fd584570
commit ee009c6305
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
4 changed files with 6 additions and 51 deletions

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-lemonade
pkgdesc="OnePlus 9 & 9 Pro"
pkgver=0.2
pkgrel=3
pkgdesc="OnePlus 9"
pkgver=0.3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -15,31 +15,18 @@ depends="
"
makedepends="
devicepkg-dev
dtc
android-tools
"
source="
deviceinfo
empty-oneplus-lemonade.dts
empty-oneplus-lemonadep.dts
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
dtc -O dtb -o "$srcdir/empty-oneplus-lemonade.dtbo" -b 0 -@ \
"$srcdir/empty-oneplus-lemonade.dts"
dtc -O dtb -o "$srcdir/empty-oneplus-lemonadep.dtbo" -b 0 -@ \
"$srcdir/empty-oneplus-lemonadep.dts"
mkdtboimg create "$srcdir/dtbo.img" --page_size=4096 \
"$srcdir/empty-oneplus-lemonade.dtbo" \
"$srcdir/empty-oneplus-lemonadep.dtbo"
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir/dtbo.img" "$pkgdir/boot/dtbo.img"
}
nonfree_firmware() {
@ -49,7 +36,5 @@ nonfree_firmware() {
}
sha512sums="
69666f895a4e8f0d9d87d0f1e37a7bdb62f08880151deb7450d3f774ec7fb61a1b1b263588e90bd403c3961d74d57e2c256ee02e3ef07e771700b57b94292f8a deviceinfo
cf3bde87540de9a94d253ab211ca9d6ca426e062237db3ab6ec5dfcdb35c161fdfc22837ca696dd27ee5a371157186a5e65b8de33dcc69ce49b7a9584fdce51c empty-oneplus-lemonade.dts
cd5d0daff0f156c6f8e2b987a84199cf6d6cd4190b4e91f81465230d9a39f8dba6e25b1aa995b9da829ba940fcf25c43f5c32ae0c041f16901e343dabcf332b8 empty-oneplus-lemonadep.dts
25ddc6b6ae09f34470dd61466034d3e375f34747f313e097c8ccb292b4b03bd812285d3761cb54e149f98b68ee3ffa0c85fb679137e933c870cf68060a5dcf33 deviceinfo
"

View file

@ -19,7 +19,7 @@ deviceinfo_screen_height="2400"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="rd.rootfs=super:4096 fw_devlink=permissive clk_ignore_unused PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_kernel_cmdline="rd.rootfs=super:4096 fw_devlink=permissive clk_ignore_unused pd_ignore_unused PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
@ -37,4 +37,4 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00000000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_rootfs_image_sector_size="4096"
deviceinfo_append_dtb="false"
deviceinfo_append_dtb="true"

View file

@ -1,15 +0,0 @@
/dts-v1/;
/plugin/;
/ {
model = "Qualcomm Technologies, Inc. Lahaina MTP lemonade";
compatible = "qcom,lahaina-mtp", "qcom,lahaina", "qcom,mtp";
qcom,board-id = <0x10008 0>;
oem,project-id = <0x19825>;
oem,project-codename = "lemonade";
oem,hw-id = <11 12 13 21 22 23 31 32 33>;
};
&apps_rsc {
compatible = "qcom,rpmh-rsc";
};

View file

@ -1,15 +0,0 @@
/dts-v1/;
/plugin/;
/ {
model = "Qualcomm Technologies, Inc. Lahaina MTP lemonadep";
compatible = "qcom,lahaina-mtp", "qcom,lahaina", "qcom,mtp";
qcom,board-id = <0x10008 0>;
oem,project-id = <0x19815 0x2085A>;
oem,project-codename = "lemonadep","lemonadept","lemonadepv";
oem,hw-id = <12 13 21 22 23 31 32 33>;
};
&apps_rsc {
compatible = "qcom,rpmh-rsc";
};