| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If using a fsl-xxx distro the prefered provider of U-Boot is
u-boot-imx. That U-Boot didn't make the switch to a unified dl/q/qp
binary and does not use an spl. For the imx6ulevk it does not use an
spl.
The below commits try to address that, however the change is not
limited to
- the fsl distro but rather uses use-nxp-bsp which can be used with any distro
- some machines which do not use u-boot-imx, e.g. colibri-imx6 now fail.
Fix this by moving the configuration into the affected distro in
meta-freescale-distro and the machines.
Fixes:
c9757ea3 ("imx-base.inc: Fix use-nxp-bsp after rework")
77e56f30 ("imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7")
e5cd33c9 ("u-boot.imx: Add u-boot configuration for fsl")
Build tested with fsl-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, and imx6ulevk.
Build tested with the fslc-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, imx6ulevk, and colibri-imx6.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit b6e910abdea72f9cd6336c4eeecdf8646e3543c2)
|
|
|
|
|
|
|
|
|
|
| |
The use-*-bsp rework renamed use-fsl-bsp to use-nxp-bsp.
It also added to MACHINEOVERRIDES automatically, so fix the comment
as well.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit c9757ea36f8472d75cb5c6d9abbbe5c3ed2e826b)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both SoC families use the same vpu firmware packaged into
firmware-imx-vpu-imx8.
Note that a package by the name firmware-imx-vpu-imx8-qxp does
not exist.
Compare with https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/conf/layer.conf?h=zeus-5.4.47-2.2.0#n70
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit bf275047bb6ae7ac04cfd6c7eb59db8a8ff16c05)
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit c6219d68f087c342fe1568ab8d10396c9d329dfd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to install the SDMA firmware for all i.MX8M based SoCs so it can
properly enable the DMA support, this has been done for following SoC
families:
- mx8mm
- mx8mn
- mx8mp
- mx8mq
Reported-by: Brian Hutchinson <b.hutchman@gmail.com>
Change-Id: I047164568e659a532307fdedab31cdbb521fdfa1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 1e119770f76318e9e541de759b507039244d98f6)
|
|
|
|
|
|
|
|
|
|
| |
Add machine definition file based in NXP release 5.4.24-2.1.0
Modify imx-base.inc machine file to add defines required to bring new
machine definition into the base.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
(cherry picked from commit 19b67c2beec9c458da53ed1db0ba85fa7de60e14)
|
|
|
|
|
|
|
|
| |
The tune-specific package architecture is sufficient, no need to
use the more specific SOC or MACHINE package architecture.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 8786908fcf68873179c831f0a2c928761de221a0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update all recipes to pull sources from imx_5.4.24_2.1.0 branch in NXP
upstream and update SRCREV to match release tags.
Update PREFERRED_VERSION of optee for mx8 to point to 3.7.0.imx.
Following notes are additions to the version update of recipes:
--------------------------
optee-os:
- Refresh gcc10 patch to resolve the fuzz during apply
- Drop python patch as it is already applied upstream
- Add new machines to the list
optee-client:
- Update CFLAGS patch to match 3.7.0 version
- Split ${B} from ${S}, this makes build more clear
optee-test:
- Remove do_compile task and substitute with OEMAKE
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
(cherry picked from commit 0c961a51248fc02c6a0bb3691a707495805025a5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update all recipe PN to match the one from upstream.
Latest delivery from NXP has VPU firmware for imx27 in the package, so
enable it to be included in the image.
It also also lacks the VPU firmware for imx8qxp, so disable the package
for now until it is provided from NXP.
firmware-imx has been re-worked to provide a more unified mechanism for
installing firmware files into ${D} and package split is expalined in
the comments section.
NOTE: This update uses new EULA v11 from NXP.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
(cherry picked from commit b3eff3e4cea333e35401e031293731ab32bc0929)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop patch appplied upstream, remove additional install step which is
handled by imx-boot recipe.
Update u-boot dtb names in machine description files, upstream U-Boot
from NXP has DTB files renamed.
Upgrade u-boot-imx-tools and u-boot-imx-mfgtool to 2020.04 as well to
match u-boot-imx recipe.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
(cherry picked from commit 5b58232d3e7b5e66d5bdcfd11a6265b098b2f898)
|
|
|
|
|
|
|
|
| |
ptpd-qoriq is no longer used and supported, remove the recipe.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
(cherry picked from commit 693fc486334c87a00c28cd68c2db5c1a41f709cf)
(cherry picked from commit 7e9784a1907a04b954c63a7df302de8a5c5d93cc)
|
|
|
|
|
|
|
|
|
| |
The virtual/bootloader for this board used to be u-boot-imx which does
not include the board in COMPATIBLE_MACHINE any more, so the choice is
migrate to u-boot-fslc.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
(cherry picked from commit e0fa0255795ce584b3b5ad74c330cabeb0caa28d)
|
|
|
|
|
|
|
| |
There are no rule to make both dtb any more.
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
(cherry picked from commit fc552b4c2e26ab6e839906c5cb8822d6d8134d95)
|
|
|
|
|
|
|
|
|
|
|
|
| |
The virtual/bootloader for this board used to be u-boot-imx which does
not include the board in COMPATIBLE_MACHINE any more, so the choice is
migrate to u-boot-fslc.
The error message:
ERROR: Nothing PROVIDES 'virtual/bootloader' (but /media/daiane/TRIFORCE/yocto/dunfell/sources/poky/meta/recipes-core/images/core-image-minimal.bb DEPENDS on or otherwise requires it)
u-boot-imx PROVIDES virtual/bootloader but was skipped: incompatible with machine imx6sxsabreauto (not in COMPATIBLE_MACHINE)
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
|
|
|
|
|
|
|
|
| |
The variable is unused and thus we should drop it completely.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I3b2afe47c364dda6f928c93f75524bfec90a2131
(cherry picked from commit b9002e4ce93915a353eb72d73d8fa3f9a8a08190)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The linux-imx does not offer fixes for security issues as well as new
toolchain tooling, as we maintain an alternative Linux flavor it make
sense to use it.
The kernel can still to be overridden on the machine or
distro definition, so preserving the flexibility.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I2378881cf9951f3dd85f758edf19af48185a50e8
(cherry picked from commit 14d9e269562d7a6376ed55411783ef4115e319c5)
|
|
|
|
|
|
|
| |
This reverts commit c1b638305c1ebf5d05abc3b1a211e99710b795ab.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I3df2ae0f5113d3bb9bb9a09f92f57f65211f0fc5
|
|
|
|
| |
Signed-off-by: Antonin Godard <agodard@witekio.com>
|
|
|
|
|
|
|
| |
Remove openssl-qoriq from MACHINE_SOCARCH_FILTER since openssl is used from
OE-core with just some patches for QorIQ.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
|
|
|
|
|
|
| |
The Linux mainline 5.4 provide only the imx6ull-14x14-evk.dtb and all
others only are provided by the NXP-based Linux fork. We move them to
the NXP BSP specific setting.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We should avoid overriding the U-Boot and Linux kernel to imx flavour as
we might use mainline or their forks; this fixes build errors when using
fslc distros as:
,----[ Build error ]
| ERROR: Nothing PROVIDES 'virtual/kernel'
| linux-fslc-lts-4.19 PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-fslc-lts-4.19
| linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-fslc PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-fslc
| linux-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-fslc-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto-dev PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-dummy PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-dummy
| ERROR: Required build target 'core-image-minimal' has no buildable providers.
| Missing or unbuildable dependency chain was: ['core-image-minimal', 'virtual/kernel']
`----
Fixes: #432
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
Secure boot does not have DM mode support for PPC, and driver
related changes are not tested due to bandwidth limitation.
Remove secure-boot u-boot configs from the build list.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
| |
Avoid PREFERRED_PROVIDER_u-boot and PREFERRED_PROVIDER_virtual/bootloader
drift apart as good as it gets without creating circular dependencies.
Read: there in one primary definition (PREFERRED_PROVIDER_u-boot) and the
second specification is relying on the primary.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
u-boot-fw-utils have been replace by libubootenv which has been finalized with
commit d15639a0a27393aa455adae113f4692c27367e89
Author: Otavio Salvador <otavio@ossystems.com.br>
Date: Thu Apr 2 11:19:34 2020 -0300
u-boot-qoriq-fw-utils: Drop recipe as libubootenv works as replacement
Now we are using libubootenv and dropped the u-boot-qoriq-fw-utils, we
need to move the configuration file to the main recipe.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Remove choosing a preferred provider, too.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
|
|
|
|
|
|
| |
Instead of maintaing 98% copy of OE-core recipe without being up-to-date
as good as possible, inject patches into OE-core recipe of openssl when
compiling for the right platform.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
|
|
|
|
|
| |
For the srio_pcie boot, the DM pcie driver does not support
this feature. Remove it.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an adaptation of the original recipe
https://bitbucket.org/retotech/meta-jailhouse
- add recipe for Jailhouse version 0.11
- enable for mx8mq, mx8mm, mx8mn
- add pyjailhouse/python tools like jailhouse-cell-linux
- update to python3 classes
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
For the DPAA platforms, usdpaa dtb is actually used for DPDK.
DPDK specific Device Tree file is configured to provide userspace
applications with network interfaces.
Build it on NXP bsp only.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
| |
fsl-ls1028a-rdb-dpdk.dtb is dedicated for dpdk which needs disable
some interfaces. Build it on NXP bsp only.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
fsl-ls1046a-rdb-sdk.dtb is listed twice and one is supposed to be
fsl-ls1046a-qds-sdk.dtb. This is due to a typo in previous commit:
41c93da5a ls1043a/ls1046a: append non-upstream dtb on NXP bsp only
Fix it with fsl-ls1046a-qds-sdk.dtb.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
dtb with -sdk suffix only exist in kernel from NXP bsp. Append them
in machine configuration file only when using NXP bsp. Also, add the
dtb which already exist in pure mainline kernel.
This avoids failure when building pure mainline kernel.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Machines or distros can define which BSP it should use by default. We
are intending to default for NXP BSP by default and specific
machines or DISTROs might change it if need.
Two values are considered valid: mainline, nxp
For example:
QORIQ_DEFAULT_BSP = "nxp"
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
| |
usdpaa is unsupported feature now, and usdpaa dts does not exist
in pure mainline kernel. It only exist in kernel from NXP bsp.
Remove them to avoid failure when building pure mainline kernel.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
| |
PBI command for Boot source is added by TF-A during its compilation,
no need to use spevific RCW for SD boot. Use the generic one.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
| |
Fix below issue when compiling linux-qoriq:
make[2]: *** No rule to make target 'arch/powerpc/boot/dts/p4080ds.dtb'.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EMMC boot on LX2160A RDB is supported now. Define RCWEMMC for atf
build.
Documents:
What's New in LSDK 20.04:
https://docs.nxp.com/bundle/GUID-51EEFEDB-ABD5-40C0-BEBD-6527B3494D57/page/GUID-01DD18F7-27DC-4A0F-B79B-FBB5CBA5F4C0.html
LX2160A Reference Design Board:
https://www.nxp.com/design/qoriq-developer-resources/layerscape-lx2160a-reference-design-board:LX2160A-RDB
LX2160A Multicore Communications Processor:
https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-communication-process/layerscape-lx2160a-multicore-communications-processor:LX2160A
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
| |
We should avoid leaking NXP settings when using mainline BSP so we need
to filter it out.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
The library should not be overrided for SoCs without official BSP
releases from NXP as it is untested.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
| |
git.freescale.com is down and will not be available.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
| |
Current assignment of the IMX_DEFAULT_BSP variables is too strong. For
example, any IMX_DEFAULT_BSP value set in local.conf currently gets
overridden by the assingment in imx-base.inc. Soften the assignment
to allow for alternative values for these variables.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated kernel has some DTS files added and some dropped for various
i.MX derivatives. Those should be aligned with respective machines in
order to deliver proper DTB files, and do not fail the build for those
are missing.
Device tree files listed in respective machines are those only present
in updated 5.4 kernel release from NXP. Derivatives, which relied on
those device trees that are discarded from the new kernel release should
backport their respective files onto that update.
In other words: if after this update the DTS file used for the HW happens
to be missing - it should be manually added for that HW, since the default
version is no longer provided by NXP in their updated kernel tree.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
| |
Bump revisions of optee, wayland-protocols and weston since recipes were
upgraded.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
|
|
| |
Update DTB file names as they were renamed in the kernel tree.
For imx8mmevk machine the M4 DTB was removed from the list as it was
dropped from the kernel source tree.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
| |
The i.MX 8QXP has Cortex-A35 cores plus Crypto
extensions, so enable them by default.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
We cannot change the default BSP based on SoC as we trim out those when
moving to the mainline BSP.
For this reason, we moved the i.MX8 forced setting to our respective
machines as they lack mainline BSP support.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
The imx-alsa-plugins use i.MX kernel specific APIs so we cannot use it
with mainline.
Now, the imx-alsa-plugins are added only when NXP BSP is in use.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
| |
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
| |
We need to postpone the expanion so we avoid cycles.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
Like other i.MX 8M SOCs, the 8M Quad has Cortex-A53 cores
and supports ARM Crypto extensions. Enable them by default.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|