From ca9a26cb0def36b5acd8392037b0e31f4c19aea5 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Thu, 21 Mar 2024 22:12:13 +0000 Subject: [PATCH] testing/device-postmarketos-trailblazer (MR 4967) trailblazer is a bleeding edge, unstable target for EFI capable ARM64 devices. It runs linux-next and should otherwise be adjusted to support as many devices as possible. The goal of trailblazer is to motivate more upstream kernel development by providing a tighter feedback loop (patches land in -next weeks before they make it into mainline or stable), as well as encouraging more generic solutions to the device specific hacks we have in userspace. On supported devices, trailblazer should reflect the current state of upstream. It allows users to easily appreciate what feature are unavailable, and more importantly appreciate when a new feature does get added upstream. Due to the instability of linux-next, the plan is to have BPO build trailblazer images nightly, so if next breaks then the images should only be broken for a day. Signed-off-by: Caleb Connolly --- CODEOWNERS | 1 + .../device-postmarketos-trailblazer/APKBUILD | 41 +++++++++++++++++++ .../deviceinfo | 27 ++++++++++++ .../modules-initfs | 21 ++++++++++ 4 files changed, 90 insertions(+) create mode 100644 device/testing/device-postmarketos-trailblazer/APKBUILD create mode 100644 device/testing/device-postmarketos-trailblazer/deviceinfo create mode 100644 device/testing/device-postmarketos-trailblazer/modules-initfs diff --git a/CODEOWNERS b/CODEOWNERS index 141842e22..1925febb6 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -72,6 +72,7 @@ device/*/device-nvidia-tegra-armv7/ @clamor-s @okias @mschwalm @nokun device/*/device-odroid-xu4/ @Grimler device/*/device-oneplus-enchilada/ @calebccff device/*/device-oneplus-fajita/ @calebccff +device/*/device-postmarketos-trailblazer/ @calebccff device/*/device-qemu-aarch64/ @Minecrell @ollieparanoid device/*/device-qemu-amd64/ @Minecrell @ollieparanoid device/*/device-qemu-riscv64/ @Minecrell @z3ntu diff --git a/device/testing/device-postmarketos-trailblazer/APKBUILD b/device/testing/device-postmarketos-trailblazer/APKBUILD new file mode 100644 index 000000000..dd9e63e74 --- /dev/null +++ b/device/testing/device-postmarketos-trailblazer/APKBUILD @@ -0,0 +1,41 @@ +# Reference: +pkgname=device-postmarketos-trailblazer +pkgdesc="postmarketOS Trailblazer generic ARM64" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="aarch64" +options="!check !archcheck" +depends=" + linux-next + postmarketos-base + soc-qcom-sdm845-qbootctl + linux-firmware-qcom + linux-firmware-ath10k + rmtfs + pd-mapper + tqftpserv + bootmac + systemd-boot + firmware-siliconlabs-rs9116 + firmware-brcm43752 +" +makedepends="devicepkg-dev" +source=" + deviceinfo + modules-initfs +" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +sha512sums=" +3ca2143e948f3070df9270918cd5a27259bd42c1bfe42f98c3406364496acaf878562d5b311856c9a4bb842ed9cdb8620754d092d225397f2b0f22e894c8ddf7 deviceinfo +fcd0ebe399c2a30d20a66cc8186b29d3cdb9e34346c295a3cdd930b41a2ee586acfcd5cd24b7c6af680b184e8a3bc56b6f04c9e9d9b2343543787fb8fd9a9087 modules-initfs +" diff --git a/device/testing/device-postmarketos-trailblazer/deviceinfo b/device/testing/device-postmarketos-trailblazer/deviceinfo new file mode 100644 index 000000000..bc5eb5776 --- /dev/null +++ b/device/testing/device-postmarketos-trailblazer/deviceinfo @@ -0,0 +1,27 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="postmarketOS Trailblazer" +deviceinfo_manufacturer="postmarketOS" +deviceinfo_codename="postmarketos-trailblazer" +deviceinfo_year="2024" +deviceinfo_arch="aarch64" + +# Device related +deviceinfo_chassis="handset" +deviceinfo_keyboard="false" +deviceinfo_gpu_accelerated="true" + +deviceinfo_getty="ttyMSM0;115200" +deviceinfo_kernel_cmdline="earlycon clk_ignore_unused pd_ignore_unused PMOS_NO_OUTPUT_REDIRECT" + +# Bootloader related +deviceinfo_flash_method="none" +deviceinfo_partition_type="gpt" +deviceinfo_boot_filesystem="fat32" +deviceinfo_generate_systemd_boot="true" + +# Required for devices using UFS as storage (instead of e.g. eMMC) +deviceinfo_rootfs_image_sector_size="4096" diff --git a/device/testing/device-postmarketos-trailblazer/modules-initfs b/device/testing/device-postmarketos-trailblazer/modules-initfs new file mode 100644 index 000000000..f53854e4c --- /dev/null +++ b/device/testing/device-postmarketos-trailblazer/modules-initfs @@ -0,0 +1,21 @@ +panel-samsung-sofef00 +panel-visionox-rm69299 +panel-samsung-s6d7aa0 +msm +lmh +i2c-qcom-geni +rmi_core +rmi_i2c +phy-qcom-qmp-combo +phy-qcom-qmp-usb +phy-qcom-qmp-ufs +phy-qcom-qusb2 +gpi +edt-ft5x06 +goodix +gpio_vibra +led_bl +bq25890_charger +ufs-qcom +zinitix +atmel_mxt_ts