-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Variscite: preliminary support for iMX8 SoMs family
- Loading branch information
Showing
10 changed files
with
279 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
meta-boot2qt-distro/conf/bblayers.conf.variscite-imx.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
############################################################################ | ||
## | ||
## Copyright (C) 2018 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/imx/meta-bsp \ | ||
${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk \ | ||
${BSPDIR}/sources/meta-freescale \ | ||
${BSPDIR}/sources/meta-freescale-3rdparty \ | ||
${BSPDIR}/sources/meta-variscite-imx \ | ||
${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 \ | ||
" |
32 changes: 32 additions & 0 deletions
32
meta-boot2qt-distro/conf/distro/include/imx8mm-var-dart.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
############################################################################ | ||
## | ||
## Copyright (C) 2020 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/variscite.inc | ||
|
||
DEPLOY_CONF_NAME = "Variscite DART-MX8M Mini" |
32 changes: 32 additions & 0 deletions
32
meta-boot2qt-distro/conf/distro/include/imx8mq-var-dart.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
############################################################################ | ||
## | ||
## Copyright (C) 2020 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/variscite.inc | ||
|
||
DEPLOY_CONF_NAME = "Variscite DART-MX8M" |
38 changes: 38 additions & 0 deletions
38
meta-boot2qt-distro/conf/distro/include/imx8qm-var-som.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
############################################################################ | ||
## | ||
## Copyright (C) 2020 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/variscite.inc | ||
|
||
DEPLOY_CONF_NAME = "Variscite VAR-SOM-MX8" | ||
|
||
IMAGE_BOOT_FILES += "\ | ||
dpfw.bin \ | ||
hdmirxfw.bin \ | ||
hdmitxfw.bin \ | ||
" |
32 changes: 32 additions & 0 deletions
32
meta-boot2qt-distro/conf/distro/include/imx8qxp-var-som.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
############################################################################ | ||
## | ||
## Copyright (C) 2020 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/variscite.inc | ||
|
||
DEPLOY_CONF_NAME = "Variscite VAR-SOM-MX8X" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
############################################################################ | ||
## | ||
## Copyright (C) 2020 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 | ||
|
||
IMAGE_BOOT_FILES_remove = "Image" | ||
IMAGE_BOOT_FILES_prepend = "Image.gz" | ||
|
||
IMAGE_FSTYPES_remove = "ext3" | ||
IMAGE_FSTYPES += "tar.gz" | ||
|
||
# recovery SD dependencies and test tools | ||
IMAGE_INSTALL_append = " \ | ||
alsa-utils \ | ||
boot2qt-demo-camera \ | ||
can-utils \ | ||
e2fsprogs-mke2fs \ | ||
evtest \ | ||
imx-gst1.0-plugin-gplay \ | ||
iperf3 \ | ||
pulseaudio-server \ | ||
tar \ | ||
" | ||
|
||
WKS_FILE = "imx8-uboot-singlepart.wks.in" | ||
|
||
BBMASK += " \ | ||
meta-variscite-imx/recipes-fsl/images/fsl-image-gui.bbappend \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# short-description: Create SD card image with a boot partition | ||
# long-description: | ||
# Create an image that can be written onto a SD card using dd for use | ||
# with i.MX SoC family | ||
# It uses u-boot + other binaries gathered together on imx-boot file | ||
# | ||
# The disk layout used is: | ||
# - ---------- -------------- | ||
# | | imx-boot | rootfs | | ||
# - ---------- -------------- | ||
# ^ ^ ^ ^ | ||
# | | | | | ||
# 0 | 8MiB rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual | ||
# | ||
part u-boot --source rawcopy --sourceparams="file=imx-boot-${MACHINE}-sd.bin" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} | ||
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 | ||
|
||
bootloader --ptable msdos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters