Commit Graph

4096 Commits

Author SHA1 Message Date
Dima Zavin
73926e3059 license: clarify the licensing for the project's metadata
Presently, the recipe files in meta-freescale are under an ambiguous
license. There is a EULA file at the root, but it's clearly not meant
to apply as the default license as it is only explicitly called out in
a few recipes and mirrors the language of the LSDK. The yocto upstream
projects are meant to be distributed under a more liberal license than
the LSDK.

There are several licenses listed is custom-licenses/, but those again
only apply to specific recipes (e.g. NXP-Binary-EULA).

The license for the recipes themselves (and for the layer metadata, etc.)
is not clear and is problematic when attempting to host a mirror of this
code. So, add a LICENSE file that describes this situation, and provide
a reference copy of the MIT license (taken from poky/meta/).

Signed-off-by: Dima Zavin <dmitriyz@waymo.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-01-10 10:59:06 -02:00
Chunrong Guo
462f360b11 Migrate from SOC_FAMILY to MACHINEOVERRIDES
MACHINEOVERRIDES way is more straightforward than SOC_FAMILY, so migrate from
SOC_FAMILY to MACHINEOVERRIDES for NXP QorIQ PPC targets.

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-01-10 10:57:50 -02:00
Marc Ferland
77b80bda83 imx-uuc: bump to latest revision
* Includes the following changes:

e3fbdfe ufb: fix printf warning about argument type
48043c0 sdimage: fix printf warnings about expected argument types
79e9798 sdimage: rework verbose/debug messages
ceec934 sdimage: reorder writes to reduce risk in case of power loss during update
59ff3e3 sdimage: refactor debug messages
3eeebda sdimage: introduce alignment support for second bootstream
8f7ec52 sdimage: restore compatibility to i.MX23
3136bbf sdimage: major refactoring
32644ae sdimage: use EXIT_FAILURE and EXIT_SUCCESS for return values
3633e94 sdimage: minor refactoring, renames etc.
7640d2f sdimage: handle endianess correctly
4100d09 sdimage: drop global variables
2fff78e sdimage: refactor boot control block structure
702747e sdimage: drop Windows line termination on success message
b195bdc sdimage: drop unneeded initialization
61ca818 sdimage: use platform independed variable types and rename members slightly
014ddad sdimage: minor whitespace style fixes

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-01-10 10:57:22 -02:00
Max Krummenacher
a97c71c631 mx8: move non soc specific fw out of imx-base
It is unlikely that all future mx8 machines will require ath10k fw. So add
it in the specific board configuration and not in imx-base.inc.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-01-09 14:42:52 -02:00
Max Krummenacher
f4b590bc5e linux-imx_4.9.123: fix kernel module deploymenmt for ipk
Change the LOCALVERSION to '-imx'. While only linux-imx_4.9.123.bb fails,
change the the same pattern in linux-imx-headers_4.9.123.bb for consistency.

At least the ipk packager doesn't like the '_' characters and errors out
with the following for each kernel module:

| ERROR: Fatal errors occurred in subprocesses:
| Command 'PATH="..." opkg-build -Z xz kernel-module-snd-usbmidi-lib-4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc08975 \
|     .../deploy-ipks/imx8qmmek' returned non-zero exit status 1.: Traceback (most recent call last):
|  File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/lib/oe/utils.py", line 272, in run
|    ret = self._target(*self._args, **self._kwargs)
|  File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/classes/package_ipk.bbclass", line 230, \
|    in ipk_write_pkg
|    shell=True)
|  File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
|    **kwargs).stdout
|  File "/usr/lib64/python3.6/subprocess.py", line 418, in run
|    output=stdout, stderr=stderr)
| subprocess.CalledProcessError: Command '...' returned non-zero exit status 1.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-01-09 14:42:52 -02:00
Max Krummenacher
9b6c142bc0 mx8: prefer u-boot-imx, linux-imx
Fixes:
| ERROR: Nothing PROVIDES 'virtual/kernel'
| linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)

| ERROR: Nothing PROVIDES 'virtual/bootloader'
| u-boot-fslc PROVIDES virtual/bootloader but was skipped: incompatible with machine imx8qmmek (not in COMPATIBLE_MACHINE)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-01-09 14:42:52 -02:00
Max Krummenacher
352734ff17 imx8: machines: silence kernel warning
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.

| WARNING: .../linux-yocto_4.19.bb: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base ().

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-01-09 14:42:52 -02:00
Tom Hochstein
1ec2c308da imx-vpuwrap: Simplify COMPATIBLE_MACHINE
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 17:19:49 -02:00
Tom Hochstein
8f515d2af9 imx8mmevk.conf: Remove redundant MACHINE_SOCARCH_FILTER setting
Settings are already made in conf/machine/include/imx-base.inc.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
eaf4f998d6 imx-test: Add VPU tests
Add VPU tests by making sure VPU support is in sysroots.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
6ae137b7a8 imx-test: Upgrade for i.MX 8MM
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
d2bfb23a8a imx-base.inc: Share i.MX 8 and i.MX 8X binaries
The SOC-specific binaries for i.MX 8 and 8X families are compatible,
so set MACHINE_SOCARCH_SUFFIX to share.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
24f8f13e58 formfactor: Fix typo in comment
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
faf35a8034 firmware-imx: Update logic for non-rootfs firmware
Certain i.MX 8 firmware packages are included in the boot image
via imx-boot recipe, not through rootfs. Clarify the logic that
handles this.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
890f86d17b alsa-lib: Add support for AK4458
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 10:01:31 -06:00
Tom Hochstein
47cfb92dcf imx-base.inc: Add sha384sum to fix 8X builds of imx-boot
Fix the following build error:
| sh: 1: sha384sum: not found
| Failed to hash file: scfw_tcm.bin

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
eb2b9bf4ce u-boot-imx: Deploy boot image generation tools for i.MX 8M
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
1e34a9f93f imx-boot: Add recipe for i.MX 8 boot partition packages
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
cdda3a3b46 imx-mkimage: Add recipe for i.MX 8 boot partition packages
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
d9597d0ce6 firmware-imx-8*: Add new firmware recipes for i.MX 8 series
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
0e518077c9 firmware-imx: Add include file for re-use of archive
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
e7e71e96d6 firmware-imx: System Controller Firmware added to package
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
c9bb48f288 firmware-imx: Upgrade to 7.8, adding i.MX 8MM support
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
9fc085799b imx8mmevk.conf: Add mx8m to MACHINE_OVERRIDES hierarchy
There is commonality between 8M and 8M Mini, so add a new
machine override to the hierarchy.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
f87442f7a0 imx8qxpmek.conf: Add 8X family designation to MACHINE_OVERRIDES
Add mx8x to the MACHINE_OVERRIDES hierarchy.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
14a19cd218 imx8mqevk.conf: Add 8M family designation to MACHINE_OVERRIDES
Add mx8m to the MACHINE_OVERRIDES hierarchy.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
b591b40f37 imx-sc-firmware: Add new package System Controller Firmware
Add System Controller firmware package for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Tom Hochstein
a77be07199 imx-atf: Add new package ARM Trusted Firmware
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-12-13 07:26:04 -02:00
Sebastien Bourdelin
57f7fc2335 imx-kobs: Fix a typo
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:15:04 -02:00
Chunrong Guo
e9ea002347 ovs-dpdk: set DPAA_VER = "dpaa"
*dpdk do not support 32bit target

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:14:33 -02:00
Sebastien Bourdelin
9bd9925d42 libdrm: Add nobranch option
The codeaurora repository doesn't provide a remote HEAD, which cause an
issue when bitbake try to verify the SHA1 of the commit id.
The nobranch option allow to bypass this behaviour and correctly
checkout the commit id.

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:13:41 -02:00
Chunrong Guo
c414c6c80e dpdk: set DPAA_VER = "dpaa"
* dpdk do not support 32bit target

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:13:15 -02:00
Chunrong Guo
304e085689 openssl-qoriq: enable -DHAVE_CRYPTODEV option
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:12:53 -02:00
Chunrong Guo
1395ddf49e p1020rdb: update uboot config * default link nor uboot types
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:12:22 -02:00
Chunrong Guo
fa5d368f17 p2020rdb: update uboot config * default link nor uboot types
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:12:00 -02:00
Khem Raj
bbd87d3428 qe-ucode: Fix python indentation as per OE-Core style guidelines
Fixes parsing warnings e.g.
qe-ucode_git.bb: python should use 4 spaces indentation, but found tabs in qe-ucode_git.bb, line 14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05 21:31:28 -08:00
Otavio Salvador
15a354ee59 u-boot-fslc: Bump to 6e25ce6f3c revision
This includes following fixes:

6e25ce6f3c pico-imx7d: Increase the CONFIG_ENV_OFFSET size

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-03 11:03:49 -02:00
Khem Raj
9c801795c8 u-boot-fslc-mxsboot: When building target recipe, limit it to fsl machines
The latest updates observed that the target recipe is building for qemu
machines as well, which is not useful. see
http://errors.yoctoproject.org/Errors/Details/202502/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-30 17:23:34 -02:00
Otavio Salvador
f7c2d4dedf linux-fslc: Bump revision to 093a10401c15
This applies following changes:

093a10401c15 ARM: dts: imx7d-pico: Describe the Wifi clock

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-29 11:08:11 -02:00
Otavio Salvador
7d536efb5d linux-fslc: Upgrade to 4.19-based fork
This upgrades the Linux FSLC to a 4.19-based fork. It is currently
based on 4.19.5 stable release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-28 19:17:14 -02:00
Otavio Salvador
15adae4343 u-boot-fslc: Upgrade to 2018.11-based fork
This upgrade our fork to the current stable release. It got most of
our patches merged and now it has a very small set which are basically
Yocto Project specific stuff.

Still applied patches are:

1f39b911b7 mx25pdk: Change root to use a single partition layout
a0f8bec9d3 mx6sabre_common: Dynamically change the video output
7847536319 mx6sabresd: Enable video interfaces in bootargs
994d8e0733 mx6sabresd: Use LDO dtb file until LDO bypass support is added
c6c87fb39b mx6slevk: Use LDO dtb file until LDO bypass support is added

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-27 14:24:23 -02:00
Andreas Müller
0daa6c7825 qtbase: Do not modify QT_CONFIG_FLAGS
* For distros enabling x11 and wayland it breaks X11 images (xfce/lxqt) for ALL
  machines
* It is a setting which can be done at runtime. E.g KDE plasma does so.
* Settings like these do NOT belong into BSP layers

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-11-21 09:30:43 +01:00
Chunrong Guo
43a448d52b dce: add recipes
*include the following changes:
8d6dd32 - .gitmodules: use codeaurora url
492eecd - dpdcei: Affine thread for FQDAN setup
b2a48e8 - dce: Support LX2160 SOCs
62af9fe - dce: Userspace dce support for DPAA2 devices
51d907a - Initial Commit

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-19 10:20:05 -02:00
Chunrong Guo
9810f9a0a7 cst: update to 3285e1d23a6abe3db6b
*include the following changes:
3285e1d - Merge pull request #98 in SDK/cst from ~NXA27423/cst-sg-table:master to master
abc448f - Correct OEM_UID and FSL_UID flag
ac8c66c - LX2 - Add uni_pbi input file
bea5298 - Merge pull request #101 in SDK/cst from ~NXA06956/cst-jaypee:master to master
2698da2 - ISBC and ESBC cst changes for LX2160
e9ccaa9 - IMA EVM:LS1012A: adds input file to support image signing
c8f77f1 - Changes the initramfs image address in input file.
05be800 - Merge pull request #94 in SDK/cst from ~NXA27427/cst:master to master
44d610c - Ls2088/1088: Fuse provisioning: Adds input file.
a1a2f5f - IMA-EVM Feature: Adds input files for signing images.
85c227b - Fix OTPMK generation issue

*remove patch

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-19 10:19:49 -02:00
Chunrong Guo
451cb70475 ppa-optee: support ls2088a
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-19 10:19:16 -02:00
Chunrong Guo
930368e5d7 dpdk: add '-fPIC' to CPU_CFLAGS
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-19 10:17:28 -02:00
Chunrong Guo
9594fe7247 fmc: set EXTRA_OEMAKE_PLATFORM for p* targets
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:37:01 -02:00
Chunrong Guo
89d1c337a4 udev-rules-qoriq: remove rule for t1024
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:37:01 -02:00
Khem Raj
75ddf7ede8 linux-imx-headers: Reduce visibility to imx host alone
It uses variables that are specific to meta-fsl layer and when using in
multi-BSP env this fails to expand those variables

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:37:01 -02:00
Chunrong Guo
a409c3449e rcw: renamed ls1088ardb_pb -> ls1088ardb-pb
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:37:01 -02:00