Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/workflows/test-build-apalis-imx8-stable-manually.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Build tests apalis-imx8 stable manually
on: [pull_request, workflow_dispatch]

jobs:
scarthgap-repo:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bitbake-repo
with:
repo_release: 'scarthgap'

build-apalis-imx8-stable:
strategy:
fail-fast: false
matrix:
machine: ['apalis-imx8']
wpe_vers: ['2_48']
yocto_rel: ['scarthgap']
runs-on: [self-hosted, builder]
needs: scarthgap-repo
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/s3-configure
env:
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }}
with:
access_key: ${S3_ACCESS_KEY}
secret_key: ${S3_SECRET_KEY}
host_base: ${S3_HOST_BASE}
- uses: ./.github/actions/bitbake-build
with:
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }}
bitbake_machine: ${{ matrix.machine }}
bitbake_source: 'poky-wayland layers.toradex conf.wpe-${{ matrix.wpe_vers }} --update-config'
repo_release: ${{ matrix.yocto_rel }}

test-apalis-imx8-stable:
strategy:
fail-fast: false
matrix:
machine: ['apalis-imx8']
wpe_vers: ['2_48']
yocto_rel: ['scarthgap']
runs-on: [self-hosted, podman]
permissions:
pull-requests: write
needs: build-apalis-imx8-stable
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/s3-configure
env:
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
S3_HOST_BASE: ${{ secrets.S3_HOST_BASE }}
with:
access_key: ${S3_ACCESS_KEY}
secret_key: ${S3_SECRET_KEY}
host_base: ${S3_HOST_BASE}
- uses: ./.github/actions/podman-robot
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
bitbake_buildname: wpe-${{ matrix.wpe_vers }}-${{ matrix.machine }}
bitbake_machine: ${{ matrix.machine }}
github_token: ${GITHUB_TOKEN}
wpe_vers: ${{ matrix.wpe_vers }}
4 changes: 3 additions & 1 deletion conf/distro/poky-wayland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DISTRO_NAME = "Poky Wayland"
DISTRO_VERSION = "1.0"
DISTRO_CODENAME = "poky-wayland"

DISTROOVERRIDES = "poky:poky-altcfg:linuxstdbase"
DISTROOVERRIDES = "poky:poky-altcfg:linuxstdbase:upstream"

DISTRO_FEATURES:append = " egl \
opengl \
Expand All @@ -19,6 +19,8 @@ DISTRO_FEATURES:append = " egl \

DISTRO_FEATURES:remove = "ptest"

IMX_DEFAULT_BSP = "mainline"

# Set wpebackend-fdo as wpebackend provider
PREFERRED_PROVIDER_virtual/wpebackend ?= "wpebackend-fdo"

Expand Down
42 changes: 42 additions & 0 deletions conf/templates/template/bblayers/bblayers.conf.toradex
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
BBLAYERS_NXP ?= " \
${BSPDIR}/sources/meta-toradex-nxp \
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
"

BBLAYERS_TI ?= " \
${BSPDIR}/sources/meta-toradex-ti \
${BSPDIR}/sources/meta-arm/meta-arm-toolchain \
${BSPDIR}/sources/meta-arm/meta-arm \
${BSPDIR}/sources/meta-ti/meta-ti-bsp \
${BSPDIR}/sources/meta-ti/meta-ti-extras \
"

BBLAYERS = " \
${BBLAYERS_NXP} \
${BBLAYERS_TI} \
\
${BSPDIR}/sources/meta-toradex-bsp-common \
\
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-gnome \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
${BSPDIR}/sources/meta-openembedded/meta-perl \
${BSPDIR}/sources/meta-openembedded/meta-python \
${BSPDIR}/sources/meta-openembedded/meta-networking \
${BSPDIR}/sources/meta-openembedded/meta-filesystems \
${BSPDIR}/sources/meta-openembedded/meta-webserver \
\
${BSPDIR}/sources/meta-clang \
${BSPDIR}/sources/meta-virtualization \
\
${BSPDIR}/sources/meta-freescale-distro \
${BSPDIR}/sources/meta-security/meta-tpm \
\
${BSPDIR}/sources/meta-webkit \
${BSPDIR}/sources/meta-wpe-image \
"

8 changes: 8 additions & 0 deletions manifest-scarthgap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<remote fetch="https://github.com/Igalia" name="igalia"/>
<remote fetch="https://gitlab.com" name="gitlab"/>
<remote fetch="http://code.qt.io/yocto" name="qt"/>
<remote fetch="https://git.toradex.com" name="tdx"/>

<project remote="oe" revision="scarthgap" name="meta-openembedded" path="sources/meta-openembedded"/>

Expand All @@ -18,6 +19,13 @@
<project remote="yocto" revision="scarthgap" name="meta-raspberrypi" path="sources/meta-raspberrypi"/>
<project remote="yocto" revision="scarthgap" name="meta-virtualization" path="sources/meta-virtualization"/>

<project remote="yocto" revision="a8fe9d22eaefc294f91096c6a32663e2f4ab3b10" name="meta-arm" path="sources/meta-arm" upstream="scarthgap"/>
<project remote="yocto" revision="b8aaaebbabb96e57d06048c7efe7fabdb067028d" name="meta-ti" path="sources/meta-ti" upstream="scarthgap"/>

<project remote="tdx" revision="9fefcf9e0f64a0eeb3a2614c25f6676fc5dae0e5" name="meta-toradex-nxp.git" path="sources/meta-toradex-nxp" upstream="scarthgap-7.x.y"/>
<project remote="tdx" revision="a3d027526e97baa2031e145078f4691b46f39118" name="meta-toradex-ti.git" path="sources/meta-toradex-ti" upstream="scarthgap-7.x.y"/>
<project remote="tdx" revision="3184fa3819294f59ad51e8f4c996d0a32187de65" name="meta-toradex-bsp-common.git" path="sources/meta-toradex-bsp-common" upstream="scarthgap-7.x.y"/>

<project remote="github" revision="scarthgap" name="kraj/meta-clang.git" path="sources/meta-clang"/>

<project remote="freescale" revision="scarthgap" name="meta-freescale" path="sources/meta-freescale"/>
Expand Down
4 changes: 4 additions & 0 deletions recipes-kernel/linux/files/fragment.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_LOCALVERSION_AUTO=y
CONFIG_DRM_SCHED=y
CONFIG_DRM_ETNAVIV=y
# CONFIG_MXC_GPU_VIV is not set
6 changes: 6 additions & 0 deletions recipes-kernel/linux/linux-toradex_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI += "file://fragment.cfg"

unset COMPATIBLE_MACHINE