Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • seco-ne/yocto/layers/meta-seconorth-distro
1 result
Show changes
Commits on Source (26)
Showing
with 635 additions and 36 deletions
image:
name: "crops/poky:ubuntu-20.04"
name: "crops/poky:ubuntu-18.04"
# Override entrypoint so we can pass --id to set the UID and GID for the user that is created in the container.
# This is a feature of the crops/poky images. See poky-entry.py for details.
entrypoint: ["/usr/bin/distro-entry.sh", "/usr/bin/dumb-init", "--", "/usr/bin/poky-entry.py", "--id=118:998"]
......@@ -39,7 +39,7 @@ variables:
.checkout_commit: &checkout_commit
# checkout the commit that triggered the pipeline
- cd ${CI_PROJECT_DIR}/sources/${CI_PROJECT_NAME}
- git fetch origin
- git fetch origin ${CI_COMMIT_SHA}
- git checkout ${CI_COMMIT_SHA}
.repo_tag: &repo_tag
......@@ -64,10 +64,7 @@ prepare_environment:
- "./"
cache:
untracked: false
key:
files:
- .repo/manifests/default.xml
prefix: layers
key: "$CI_PIPELINE_ID"
paths:
# - "sources/*/{[^.git]}*/*"
- "./"
......@@ -89,6 +86,7 @@ prepare_environment:
# setup build environment
- export MACHINE="${CI_PARAM_MACHINE}"
- export DISTRO="${CI_PARAM_DISTRO}"
- export EULA="1"
- source ./"${SETUPSCRIPT}" build
# start build
- echo -e "section_start:`date +%s`:bitbake_run\r\e[0KBitbake Log"
......
......@@ -6,6 +6,6 @@ build:
extends: .build
parallel:
matrix:
- CI_PARAM_MACHINE: [imx6guf]
- CI_PARAM_MACHINE: [imx6guf, imx8mguf]
CI_PARAM_DISTRO: [guf-wayland]
CI_PARAM_IMAGE: [guf-image]
......@@ -9,6 +9,6 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
BBFILE_COLLECTIONS += "guf-distro"
BBFILE_PATTERN_guf-distro := "^${LAYERDIR}/"
BBFILE_PRIORITY_guf-distro = "4"
BBFILE_PRIORITY_guf-distro = "7"
LAYERSERIES_COMPAT_guf-distro = "dunfell"
......@@ -8,3 +8,8 @@ SRC_URI_append_mx6 = " \
file://asound.state \
file://asound.conf \
"
SRC_URI_append_mx8 = " \
file://asound.state \
file://asound.conf \
"
defaults.pcm.rate_converter "linear"
pcm.dmix_48000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 48000
}
}
pcm.dmix_44100{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 44100
}
}
pcm.dmix_32000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 32000
}
}
pcm.dmix_24000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 24000
}
}
pcm.dmix_22050{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 22050
}
}
pcm.dmix_16000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 16000
}
}
pcm.dmix_12000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 12000
}
}
pcm.dmix_11025{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 11025
}
}
pcm.dmix_8000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 8000
}
}
pcm.!dsnoop_48000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 48000
}
}
pcm.!dsnoop_44100{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 44100
}
}
pcm.!dsnoop_32000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 32000
}
}
pcm.!dsnoop_24000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 24000
}
}
pcm.!dsnoop_22050{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 22050
}
}
pcm.!dsnoop_16000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 16000
}
}
pcm.!dsnoop_12000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 12000
}
}
pcm.!dsnoop_11025{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 11025
}
}
pcm.!dsnoop_8000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:0,0"
period_time 40000
format S16_LE
rate 8000
}
}
pcm.asymed{
type asym
playback.pcm "dmix_44100"
capture.pcm "dsnoop_44100"
}
pcm.dsp0{
type plug
slave.pcm "asymed"
}
pcm.!default{
type plug
route_policy "average"
slave.pcm "asymed"
}
ctl.!default{
type hw
card 0
}
ctl.mixer0{
type hw
card 0
}
pcm_slave.esai{
pcm "hw:0,0"
channels 8
rate 48000
period_time 40000
}
pcm.esaich1to6{
type dshare
ipc_key 5778293
slave esai
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
}
pcm.esaich78{
type dshare
ipc_key 5778293
slave esai
bindings.0 3
bindings.1 7
}
pcm_slave.sai5 {
pcm "hw:5,0"
channels 8
}
pcm.sai5_ch1to8 {
type dsnoop
ipc_key 5185558
slave sai5
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
bindings.6 3
bindings.7 7
}
pcm.sai5_ch1to6 {
type dsnoop
ipc_key 5165558
slave sai5
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
}
pcm.sai5_ch1to4 {
type dsnoop
ipc_key 5145558
slave sai5
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
}
pcm_slave.sai1{
pcm "hw:4,0"
channels 16
}
pcm.sai1to16{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
bindings.10 5
bindings.11 13
bindings.12 6
bindings.13 14
bindings.14 7
bindings.15 15
}
pcm.sai1to14{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
bindings.10 5
bindings.11 13
bindings.12 6
bindings.13 14
}
pcm.sai1to12{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
bindings.10 5
bindings.11 13
}
pcm.sai1to10{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
}
pcm.sai1to8{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
}
pcm.sai1to6{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
}
pcm.sai1to4{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
}
pcm.cdnhdmi4ch {
type dshare
slave {
pcm "hw:3,0"
channels 4
}
ipc_key 5144458
bindings.0 0
bindings.1 2
bindings.2 1
bindings.3 3
}
pcm.cdnhdmi8ch {
type dshare
slave {
pcm "hw:3,0"
channels 8
}
ipc_key 5144458
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
bindings.6 3
bindings.7 7
}
state.tas2552audio {
control.1 {
iface MIXER
name 'Speaker Driver Playback Volume'
value 22
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -700
dbmax 2400
dbvalue.0 1500
}
}
control.2 {
iface MIXER
name 'DIN source'
value 'Left + Right average'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Muted
item.1 Left
item.2 Right
item.3 'Left + Right average'
}
}
control.3 {
iface MIXER
name 'Input selection'
value Digital
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Digital
item.1 Analog
}
}
}
\ No newline at end of file
......@@ -147,12 +147,12 @@ then
if fdtoverlay -i "$MOUNTPOINT/$DEVICETREE_FILE" -o "${MOUNTPOINT}/devicetree.dtb" $DEVICETREE_OVERLAYS
then
echo $DEVICETREE_OVERLAYS > ${MOUNTPOINT}/overlays
DEVICETREE_APPEND_FILE="${MOUNTPOINT}/devicetree.dtb"
DEVICETREE_APPEND_FILE="devicetree.dtb"
fi
fi
# Combine both to one file called linuximage
cat "$MOUNTPOINT/$KERNEL_FILE" "$DEVICETREE_APPEND_FILE" > "$MOUNTPOINT"/linuximage
cat "$MOUNTPOINT/$KERNEL_FILE" "${MOUNTPOINT}/$DEVICETREE_APPEND_FILE" > "$MOUNTPOINT"/linuximage
sync
if $MOUNTED
......
SUMMARY = "The standard Garz & Fricke Yocto Image"
include guf-image.inc
REQUIRED_DISTRO_FEATURES = "wayland"
# ----------------------------------------------
# The following packages are included implicitly
# ----------------------------------------------
# bootscript -> machine
# fng-install
# fng-install-postinstallation
# ----------------------------------------------
IMAGE_FEATURES += " \
hwcodecs \
package-management \
splash \
ssh-server-openssh \
tools-debug \
"
IMAGE_INSTALL_GRAPHICS += " \
packagegroup-guf-graphics-wayland \
packagegroup-guf-graphics-fonts \
"
IMAGE_INSTALL_GUF += " \
guf-show-demo \
packagegroup-guf-small \
"
IMAGE_INSTALL_MULTIMEDIA += " \
packagegroup-guf-multimedia \
packagegroup-guf-multimedia-tests \
packagegroup-guf-multimedia-extra \
"
IMAGE_INSTALL_QT +=" \
packagegroup-guf-qt5 \
packagegroup-guf-qt5-tools \
packagegroup-guf-qt5-tests \
packagegroup-guf-qt5-translations \
packagegroup-guf-qt5-examples \
"
IMAGE_INSTALL_TEST +=" \
packagegroup-guf-tests-full \
"
IMAGE_INSTALL_CONNECTIVITY +=" \
packagegroup-guf-connectivity \
"
CORE_IMAGE_EXTRA_INSTALL += " \
${IMAGE_INSTALL_GRAPHICS} \
${IMAGE_INSTALL_GUF} \
${IMAGE_INSTALL_MULTIMEDIA} \
${IMAGE_INSTALL_QT} \
${IMAGE_INSTALL_TEST} \
${IMAGE_INSTALL_CONNECTIVITY} \
"
EXTRA_USERS_PARAMS = "\
useradd guf; \
"
SUMMARY = "A minimal Garz & Fricke Yocto Image"
LICENSE = "MIT"
IMAGE_BOOT_FILES = " uImage "
IMAGE_FSTYPES = " tar.gz "
inherit core-image features_check extrausers
include guf-image.inc
# ----------------------------------------------
# The following packages are included implicitly
......
SUMMARY = "A small Garz & Fricke Yocto Image"
LICENSE = "MIT"
IMAGE_BOOT_FILES = " uImage "
IMAGE_FSTYPES = " tar.gz "
inherit core-image features_check extrausers
include guf-image.inc
REQUIRED_DISTRO_FEATURES = "wayland"
......@@ -40,6 +34,11 @@ IMAGE_INSTALL_QT +=" \
"
IMAGE_INSTALL_TEST +=" \
packagegroup-guf-tests \
"
IMAGE_INSTALL_CONNECTIVITY +=" \
packagegroup-guf-connectivity \
"
CORE_IMAGE_EXTRA_INSTALL += " \
......@@ -48,6 +47,7 @@ CORE_IMAGE_EXTRA_INSTALL += " \
${IMAGE_INSTALL_MULTIMEDIA} \
${IMAGE_INSTALL_QT} \
${IMAGE_INSTALL_TEST} \
${IMAGE_INSTALL_CONNECTIVITY} \
"
EXTRA_USERS_PARAMS = "\
......
SUMMARY = "The standard Garz & Fricke Yocto Image"
LICENSE = "MIT"
IMAGE_BOOT_FILES = " uImage "
IMAGE_FSTYPES = " tar.gz "
inherit core-image features_check extrausers
include guf-image.inc
REQUIRED_DISTRO_FEATURES = "wayland"
......@@ -50,6 +44,10 @@ IMAGE_INSTALL_QT +=" \
IMAGE_INSTALL_TEST +=" \
packagegroup-guf-tests-full \
"
IMAGE_INSTALL_CONNECTIVITY +=" \
packagegroup-guf-connectivity \
"
CORE_IMAGE_EXTRA_INSTALL += " \
${IMAGE_INSTALL_GRAPHICS} \
......@@ -57,6 +55,7 @@ CORE_IMAGE_EXTRA_INSTALL += " \
${IMAGE_INSTALL_MULTIMEDIA} \
${IMAGE_INSTALL_QT} \
${IMAGE_INSTALL_TEST} \
${IMAGE_INSTALL_CONNECTIVITY} \
"
EXTRA_USERS_PARAMS = "\
......
# Common definitions for guf-image recipes
LICENSE = "MIT"
IMAGE_BOOT_FILES = " uImage "
IMAGE_FSTYPES += " tar.gz "
inherit core-image features_check extrausers
DESCRIPTION = "Garz & Fricke Connectivity Groups"
inherit packagegroup
PACKAGES = "\
${PN} \
${PN}-full \
"
RDEPENDS_${PN} = "\
bluez5 \
lldpd \
"
RDEPENDS_${PN}-full = "\
"
......@@ -5,6 +5,7 @@ inherit packagegroup
PACKAGES = "\
${PN} \
${PN}-tests \
${PN}-extra \
"
RDEPENDS_${PN} = "\
......
......@@ -6,6 +6,7 @@ PACKAGES = "\
${PN} \
${PN}-tests \
${PN}-tools \
${PN}-examples \
${PN}-translations \
"
......@@ -47,6 +48,7 @@ RDEPENDS_${PN} = "\
RDEPENDS_${PN}-tests = "\
qt5-opengles2-test \
cinematicexperience \
cinematicexperience-tools \
"
RDEPENDS_${PN}-tools = "\
......@@ -65,3 +67,8 @@ RDEPENDS_${PN}-translations = "\
qttranslations-qtwebsockets \
qttranslations-qtxmlpatterns \
"
RDEPENDS_${PN}-examples = "\
qtbase-examples \
qtmultimedia-examples \
"
......@@ -9,8 +9,10 @@ PACKAGES = "\
RDEPENDS_${PN} = "\
packagegroup-guf-minimal \
vim \
less \
tslib-calibrate \
tslib-tests \
touchcal-conv \
ltp-guf-tests \
"
......@@ -24,4 +24,5 @@ RDEPENDS_${PN}-full = "\
${PN} \
packagegroup-guf-qt5-tests \
packagegroup-guf-multimedia-tests \
ltp-guf-tests \
"
......@@ -31,8 +31,3 @@ export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
umask 022
# Defaults to allow start of gui tools from the commandline
export XDG_RUNTIME_DIR=/run/user/0
export QT_QPA_FONTDIR=/usr/share/fonts/truetype
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
alias ls='ls -F'
alias ll='ls -lh'
alias cd..='cd ..'
# Defaults to allow start of gui tools from the commandline
export XDG_RUNTIME_DIR=/var/run/user/0
export QT_QPA_FONTDIR=/usr/share/fonts/truetype
export QT_QPA_PLATFORM=wayland