Files
pmaports-rtwo/device/.gitlab-ci/packages/single-runner-defined-in-ci-common-qcom-devicepkg-bootimg.yml.j2
T
Pablo Correa Gómez f8a7760f82 device-oneplus-fajita: enable on ci-tron, set the kernel console
To enable on ci-tron, just create the gitlab-ci.yml.j2 template. This
could be reused by most other sdm845, and probably qcom devices.  This
also allows dropping the devicepkg_pmtest_post_install hack, since
ci-tron will concatenate all the CI_TRON_KERNEL_CMDLINE__* variables
into a single kernel commandline.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489>
2026-01-15 07:48:44 +00:00

28 lines
986 B
Django/Jinja

# Use this gitlab-ci snippet if your package:
#
# * is a Qualcomm device
# * has its runner tags definition found in ci-common's ci-tron/common.yml
# * uses U-boot as bootloader
# * The devicepackage does not support U-boot and UEFI, but still uses the stock
# bootloader
test-{{ device.name }}:
extends:
# Extended from jobs defined in ci-common/ci-tron/common.yml
- .pmos-ci-tron-runner-{{ device.name }}
# Extended from build-jobs.yaml.j2
- .device-boot-flow-separate-artifacts
- .test-{{ device.name }}
variables:
# Let CI-tron construct the bootimg accepted by U-boot in a standard
# Qualcomm way
CI_TRON_FASTBOOT__HEADER_VERSION: 2
CI_TRON_FASTBOOT__BASE: 0x00000000
CI_TRON_FASTBOOT__KERNEL_OFFSET: 0x00008000
CI_TRON_FASTBOOT__RAMDISK_OFFSET: 0x01000000
CI_TRON_FASTBOOT__TAGS_OFFSET: 0x00000100
CI_TRON_FASTBOOT__PAGESIZE: 4096
CI_TRON_KERNEL_CMDLINE__CONSOLE: "console=ttyMSM0,115200"
KERNEL_NAME: "vmlinuz"