Skip to content
Snippets Groups Projects
Commit a1bd62f6 authored by Samuli Piippo's avatar Samuli Piippo
Browse files

imx8: update meta layer


For NXP boards, use sumo-4.14.98-2.0.0_ga branch for meta-fsl-bsp-release,
and add configuration form NXP i.MX 8QuadMax MEK and 8MQuad EVK boards.

For Toradex board, use toradex-sumo-4.14.78-1.0.0_ga-bringup branch for the
same layer, and add configuration for Colibri-iMX8QXP board.

Task-number: QTBUG-73355
Task-number: QTBUG-73372
Change-Id: Ib0d7669d9a06f65a891f9ec849cb6ed5ba830688
Reviewed-by: default avatarMikko Gronoff <mikko.gronoff@qt.io>
 
parent 10723551
No related branches found
No related tags found
No related merge requests found
Showing
with 237 additions and 46 deletions
#!/bin/sh
############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
......@@ -115,9 +115,12 @@ get_groups() {
all)
PROJECT_GROUPS="external"
;;
apalis-imx8|imx8qmlpddr4arm2)
imx8qmmek|imx8mqevk)
PROJECT_GROUPS="fsl-imx8"
;;
apalis-imx8|colibri-imx8qxp)
PROJECT_GROUPS="toradex-imx8"
;;
apalis-imx6|colibri-imx6|colibri-imx6ull|colibri-vf|colibri-imx7|colibri-imx7-emmc)
PROJECT_GROUPS="toradex"
;;
......
############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 3 or (at your option) any later version
## approved by the KDE Free Qt Foundation. The licenses are as published by
## the Free Software Foundation and appearing in the file LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
############################################################################
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE')) + '/../..')}"
BBLAYERS ?= " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
${BSPDIR}/sources/meta-fsl-bsp-release-toradex/imx/meta-bsp \
${BSPDIR}/sources/meta-fsl-bsp-release-toradex/imx/meta-sdk \
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-python \
${BSPDIR}/sources/meta-openembedded/meta-networking \
${BSPDIR}/sources/meta-openembedded/meta-initramfs \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
${BSPDIR}/sources/meta-mingw \
${BSPDIR}/sources/meta-qt5 \
"
############################################################################
##
## Copyright (C) 2018 The Qt Company Ltd.
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
......@@ -29,6 +29,11 @@
include conf/distro/include/fsl-imx8.inc
FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release-toradex/imx/EULA.txt"
DEPLOY_CONF_NAME = "Toradex Apalis iMX8"
SERIAL_CONSOLE = "115200 ttyLP1"
IMAGE_BOOT_FILES += "\
dpfw.bin \
hdmitxfw.bin \
"
############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 3 or (at your option) any later version
## approved by the KDE Free Qt Foundation. The licenses are as published by
## the Free Software Foundation and appearing in the file LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
############################################################################
include conf/distro/include/fsl-imx8.inc
FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release-toradex/imx/EULA.txt"
DEPLOY_CONF_NAME = "Toradex Colibri iMX8QXP"
############################################################################
##
## Copyright (C) 2018 The Qt Company Ltd.
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
......@@ -28,52 +28,32 @@
############################################################################
include conf/distro/include/fsl.inc
include conf/distro/include/fsl-imx-preferred-env.inc
FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
DISTRO_FEATURES_remove = "vulkan"
RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
BBMASK += "\
meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
meta-freescale/recipes-graphics/wayland/weston \
meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test \
meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/connman \
meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
meta-fsl-bsp-release/imx/meta-bsp/recipes-devtools/gdb \
meta-fsl-bsp-release/imx/meta-bsp/recipes-extended/logrotate \
meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv \
meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/xorg-driver \
meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/cryptodev \
meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa \
meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
meta-freescale/recipes-graphics/drm/libdrm_%.bbappend \
imx/meta-bsp/recipes-browser \
imx/meta-sdk/recipes-fsl/fsl-rc-local \
imx/meta-sdk/recipes-fsl/images \
imx/meta-sdk/recipes-fsl/packagegroup/packagegroup-fsl-gstreamer1.0.bbappend \
imx/meta-sdk/recipes-fsl/packagegroup/packagegroup-fsl-tools-gpu.bbappend \
imx/meta-sdk/recipes-fsl/packagegroup/packagegroup-fsl-tools-testapps.bbappend \
imx/meta-sdk/recipes-graphics/devil \
imx/meta-sdk/dynamic-layers/qt5-layer \
"
KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION').replace('_','-')}"
EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
WKS_FILE = "imx8-uboot-bootpart.wks"
WKS_FILE = "imx8-uboot-bootpart.wks.in"
WIC_CREATE_EXTRA_ARGS = "--no-fstab-update"
WKS_FILE_DEPENDS += "imx-boot"
BOOT_CONFIG_MACHINE_pn-imx-boot = "${BOOT_NAME}-${UBOOT_CONFIG}.bin"
IMAGE_BOOT_FILES = "\
Image \
fsl-*.dtb \
hdmitxfw.bin \
"
############################################################################
##
## Copyright (C) 2018 The Qt Company Ltd.
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
......@@ -29,6 +29,4 @@
include conf/distro/include/fsl-imx8.inc
DEPLOY_CONF_NAME = "NXP iMX8QM"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
DEPLOY_CONF_NAME = "NXP i.MX 8MQuad EVK"
############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 3 or (at your option) any later version
## approved by the KDE Free Qt Foundation. The licenses are as published by
## the Free Software Foundation and appearing in the file LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
############################################################################
include conf/distro/include/fsl-imx8.inc
DEPLOY_CONF_NAME = "NXP i.MX 8QuadMax MEK"
IMAGE_BOOT_FILES += "\
dpfw.bin \
hdmirxfw.bin \
hdmitxfw.bin \
"
############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 3 or (at your option) any later version
## approved by the KDE Free Qt Foundation. The licenses are as published by
## the Free Software Foundation and appearing in the file LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
############################################################################
# need to use MACHINE_ARCH since the recipe deploys machine specific files
PACKAGE_ARCH_mx8 = "${MACHINE_ARCH}"
############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
##
## $QT_BEGIN_LICENSE:GPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 3 or (at your option) any later version
## approved by the KDE Free Qt Foundation. The licenses are as published by
## the Free Software Foundation and appearing in the file LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
############################################################################
# Package firmware-qca6174 wants to install file .../etc/bluetooth/firmware.conf
# But that file is already provided by package * linux-firmware-qca
do_install_append () {
rm -f ${D}${sysconfdir}/bluetooth/firmware.conf
}
FILES_${PN}-qca_remove = " \
${sysconfdir}/bluetooth/firmware.conf \
"
......@@ -12,7 +12,7 @@
# | | | |
# 0 33kiB 4MiB 32MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
#
part u-boot --source rawcopy --sourceparams="file=imx-boot-sd.bin" --ondisk mmcblk --no-table --align 33
part u-boot --source rawcopy --sourceparams="file=imx-boot-${MACHINE}-sd.bin" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 32
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
......
......@@ -15,6 +15,7 @@
<remote fetch="git://git.toradex.com" name="toradex"/>
<remote fetch="git://github.com/boundarydevices" name="boundary"/>
<remote fetch="git://github.com/toradex" name="toradex-github"/>
<remote fetch="git://source.codeaurora.org/external/imx" name="aurora-imx"/>
<project name="poky"
remote="yocto"
......@@ -37,12 +38,12 @@
remote="freescale"
revision="27ca94f8a4336790ba117b4298566f6820e7e74c"
path="sources/meta-freescale"
groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/>
groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8,toradex-imx8"/>
<project name="meta-freescale-3rdparty"
remote="freescale"
revision="82037216280a39957fb4272581637abec734ad50"
path="sources/meta-freescale-3rdparty"
groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/>
groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8,toradex-imx8"/>
<project name="meta-raspberrypi"
remote="yocto"
revision="2d40b000021bc8a9ef7f329ed0ad410f8d227b97"
......@@ -89,10 +90,15 @@
path="sources/meta-boundary"
groups="notdefault,external,boundary"/>
<project name="meta-fsl-bsp-release"
remote="toradex-github"
revision="28c1b2adfb6445a64a42d082299203ec2035ea9f"
remote="aurora-imx"
revision="cb65aa03c70d0b88cdc2b06eb56ab59ae01f54bf"
path="sources/meta-fsl-bsp-release"
groups="notdefault,external,fsl-imx8"/>
<project name="meta-fsl-bsp-release"
remote="toradex-github"
revision="55754a3cc79759f18fa1df88ae2ffa91fbd87d84"
path="sources/meta-fsl-bsp-release-toradex"
groups="notdefault,external,toradex-imx8"/>
<project name="nvidia-layer"
remote="playground"
......
......@@ -56,9 +56,12 @@ BUILDDIRECTORY=${BUILDDIRECTORY:-build-${MACHINE}}
if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
case ${MACHINE} in
apalis-imx8|imx8qmlpddr4arm2)
imx8qmmek|imx8mqevk)
LAYERSCONF="bblayers.conf.fsl-imx8.sample"
;;
apalis-imx8|colibri-imx8qxp)
LAYERSCONF="bblayers.conf.toradex-imx8.sample"
;;
apalis-imx6|colibri-imx6|colibri-imx6ull|colibri-vf|colibri-imx7|colibri-imx7-emmc)
LAYERSCONF="bblayers.conf.toradex.sample"
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment