Commit Graph

34 Commits

Author SHA1 Message Date
Max Krummenacher
b747b01501 global: whinlatter updates for WORKDIR/UNPACKDIR and git fetch location
The series [1] changed the way sources are fetched/unpacked and
S needs to follow that. Additionally for git repos it moved away from
having 'git/' as the checkout directory.

This has been partly tested by building weston based image for
imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images.
E.g. none of the recipes specific for qoriq is built time tested.

As walnascar is no longer compatible with master/whinlatter drop
it from LAYERSERIES_COMPAT.

[1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-06-28 18:58:39 +02:00
Max Krummenacher
01a7d1c67b recipes: fix whitespace warnings
Fix some more whitspace warnings.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-04-26 12:09:22 +02:00
Jun Zhu
db67bdf59c Switch NXP QorIQ repositories to github.com
Fetch QorIQ's source code from github.com/nxp-qoriq,
as original source.codeaurora.org/external/qoriq will
stop to access from April 2023.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-12-15 11:47:18 +08:00
Andrey Zhizhikin
832da37d74 layer: Update LICENSE variable to use SPDX license identifiers
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for
obsolete license usage"), LICENSE field not containing SPDX identifiers
are treated with WARNING.

An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers has been done on
the entire layer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2022-03-03 15:34:00 +00:00
Ting Liu
d70e4ef35a qemu-qoriq: upgrade to 4.2
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Khem Raj
59d36c9832 layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12 10:08:24 -07:00
Ting Liu
ca079524ad qemu-qoriq: copy a qemu.inc to not break build for 4.1.0
qemu-qoriq resues qemu.inc from oe-core. As oe-core had upgraded to 5.2.0 which
switched to meson+ninja, build error appear as qemu-qoriq version is 4.1.0.

Copy a working qemu.inc from gatesgarth branch to not break the build.

Some errors:
| stdout: Applying patch cross.patch
| patching file configure
| Hunk #1 FAILED at 6973.
| Hunk #2 FAILED at 6999.
| 2 out of 2 hunks FAILED -- rejects in file configure
| Patch cross.patch does not apply (enforce with -f)
...
| DEBUG: Executing shell function do_configure
| ERROR: unknown option --with-suffix=qemu-qoriq

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-04-15 11:17:39 -03:00
Ting Liu
1b755e6367 qemu-qoriq: enable vhost PACKAGECONFIG
Enable it to test KVM vhost-net feature.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-17 09:33:27 -03:00
Ting Liu
8da53a53f4 qemu-qoriq: overide do_install_ptest
qemu-qoriq reuses poky's qemu.inc which has upgraded to 5.1.
qemu-qoriq is based on 4.1 in which tests/data/acpi/disassemle-aml.sh
does not exist. This leads to do_install_ptest fail.

Override do_install_ptest in qemu-qoriq recipe.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-16 08:38:13 -03:00
Ting Liu
05c19a765a qemu-qoriq: update to 0b88a503
support new MC version.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-16 08:38:13 -03:00
Ting Liu
00ce28ae2d qemu-qoriq: enable aio/libusb PACKAGECONFIG
aio is required for virtio-blk-dataplane and libusb for passthrough
of usb devices.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-05-14 08:51:50 -03:00
Ting Liu
8e115ab460 qemu-qoriq: upgrade to 4.1
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-04-20 16:17:28 -03:00
Chunrong Guo
df8761cdff qemu-qoriq: update to ca6417b
*include the following changes:
ca6417b - Updated Linux headers

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-10-21 09:07:06 -03:00
Chunrong Guo
ae14280a14 qemu-qoriq: use Python 2.7 to build
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-09-04 18:33:08 -03:00
Khem Raj
168a1e5b6d qemu-qoriq: Mark is specific to imx/qoriq
It has started to fail now that we have libssh dependency in 4.1 instead
of libssh2 in earlier versions, so this recipe needs to be upgraded to
use 4.1 release as well, but I dont have way to test it out.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-28 17:36:54 -03:00
Chunrong Guo
8324dbe927 qemu-qoriq: update to 79df057
*include the following changes:
79df057 - vfio/fsl-mc: Check command version on dprc and dpmcp cmdif
475d962 - vfio/fsl-mc: Add support for DPRC command version-2
271b7fa - vfio/fsl-mc: Add interface for device region range
23f6ed8 - vfio/fsl-mc: Setup address space for QBman CE-SH region
89add80 - vfio/fsl-mc: Fix mc-command version check

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-07-12 17:18:34 -03:00
Chunrong Guo
d055d364cb qemu-qoriq: update to 798304e
*Update to lsdk 1903 tag
include the following changes:
798304e - libvhost-user: replace vasprintf() to fix build
28930fe - kvm: workaround build break on gcc-7.1.1 / fedora26
e1037e1 - arm/translate-a64: mark path as unreachable to eliminate warning
3bfe2f3 - build-sys: compile with -Og or -O1 when --enable-debug
a5bb74e - exynos4210: workaround UBSAN compilation error
587b286 - dump: Fix build with newer gcc
a6fc8a7 - atomic.h: Work around gcc spurious "unused value" warning
aa62683 - slirp/smb: Replace constant strings by glib string
000e1d7 - usb: Fix build with newer gcc
a58c405 - blkverify: Catch bs->exact_filename overflow
03a56f1 - blkdebug: Catch bs->exact_filename overflow
35c4866 - memfd: fix configure test
8ed0f37 - vfio fsl-mc: Expose DPIO cacheable region as cacheable
9ee40f5 - fsl-mc: mc-bus device fdt node creation
72c76f2 - fsl-mc: Add APIs to provide root mc-portal region
3d9ed87 - fsl-mc: Add API to provide mc-portals region
bee0442 - vfio fsl-mc: Configure and setup irqfd
cd232f7 - vfio fsl-mc: Enable DPMCP emulation
10c4b8b - vfio fsl-mc: Add support to close dpmcp command interface
80fe8bb - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp
069f397 - vfio fsl-mc: Add support for dprc command interface on dpmcp
b735296 - vfio fsl-mc: Add support to open dpmcp command interface
14a0c80 - vfio fsl-mc: forward non-emulated mc commands to VFIO
de59bcc - vfio fsl-mc: Add support of get_obj_irq mc commands
ae864b2 - vfio fsl-mc: Add support of set obj_irq mc commands
8119f86 - vfio fsl-mc: Add support of get_irq mc commands
00a9a3f - vfio fsl-mc: Add support of set_irq mc commands
fea28c6 - vfio fsl-mc: Add support of get_obj_region command
09dcb70 - vfio-fsl-mc: Add support of dprc get-attr command
ce6028c - vfio-fsl-mc: Add support of dprc open/close command
2164354 - vfio-fsl-mc: Add framework for handling mc-portal commands

*depends glib-2.0 zlib pixman dtc

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-04-11 09:00:13 -03:00
André Draszik
74df05a7f0 remove True option to getVar calls
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search & replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik <andre.draszik@jci.com>
2019-01-17 14:29:17 +00:00
Chunrong Guo
220bfee06c qemu-qoriq: add recipes
*include the following changes:
6c297a7 - vfio fsl-mc: Expose DPIO cacheable region as cacheable
8e929a8 - fsl-mc: mc-bus device fdt node creation
4be2ad9 - fsl-mc: Add APIs to provide root mc-portal region
b1abcf2 - fsl-mc: Add API to provide mc-portals region
22d303a - vfio fsl-mc: Configure and setup irqfd
cfc1b9a - vfio fsl-mc: Enable DPMCP emulation
c5b28d1 - vfio fsl-mc: Add support to close dpmcp command interface
56353d9 - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp
12a9dae - vfio fsl-mc: Add support for dprc command interface on dpmcp
a24861b - vfio fsl-mc: Add support to open dpmcp command interface
ae9efbb - vfio fsl-mc: forward non-emulated mc commands to VFIO
913ab98 - vfio fsl-mc: Add support of get_obj_irq mc commands
9883a03 - vfio fsl-mc: Add support of set obj_irq mc commands
57db3b4 - vfio fsl-mc: Add support of get_irq mc commands
c87c8c1 - vfio fsl-mc: Add support of set_irq mc commands
35413a8 - vfio fsl-mc: Add support of get_obj_region command
edca25c - vfio-fsl-mc: Add support of dprc get-attr command
74ca7d2 - vfio-fsl-mc: Add support of dprc open/close command
bb895ff - vfio-fsl-mc: Add framework for handling mc-portal commands
eb51475 - vfio fsl-mc: Scan dprc container and realize child devices
82a1b97 - vfio-fsl-mc: Register mc-device regions with mc-bus
f2a56a1 - vfio fsl-mc: add support for non-dprc device
c36e7f6 - vfio fsl-mc: Add nested dprc support
be171ec - vfio fsl-mc: framework to support fsl-mc-bus in vfio
16010da - vfio fsl-mc: Sync linux header for fsl-mc device
be260fc - fsl-mc: add interfaces to set/get msi messages
f9756ce - fsl-mc: Add mc-bus-devices region registration interface
5ae0227 - vfio-fsl-mc: Initialize fsl-mc bus devices device-id
9bdfa45 - fsl-mc: Add mc-bus-devices registration interface
c996be1 - fsl-mc: define device-id map for mc-bus devices

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-18 14:25:33 -03:00
Chunrong Guo
1f1d3596ca qemu-qoriq: remove
This pkg will not be supported anymore.

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:08:09 -03:00
Ting Liu
bb96cd06e4 qemu-qoriq: upgrade to v2.6.2+
upgrade to v2.6.2, add support for ls1012a.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-17 17:04:04 -03:00
Zhenhua Luo
9bbf7ca14e qemu-qoriq: support 32b build for arm64 platforms
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11 10:53:43 -02:00
Zhenhua Luo
8c208e11b4 qemu-qoriq: fix do_install_ptest_base issue
Fix the following build error:
| DEBUG: Executing shell function do_install_ptest_base
| cp: cannot stat '.../qemu-qoriq/git-r1/git/tests/Makefile.include': No such file or directory
| WARNING: exit code 1 from a shell command.

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-13 17:45:41 -03:00
Ting Liu
37332a9d2c qemu-qoriq: upgrade to v2.4 plus fsl patches
Detailed commit log can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/qemu.git/log/?h=sdk-v2.0.x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-08-12 11:41:02 -03:00
Ting Liu
5f20962cd0 qemu-qoriq: Fix runtime providers
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-08-12 11:41:02 -03:00
Ting Liu
edc2808bd9 qemu-qoriq: porvide qemu
Otherwise the version in Poky will be used as some pkgs depends on qemu.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:24 -03:00
Ting Liu
83b3cd6415 qemu-qoriq: replace /usr/share with ${datadir}
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:23 -03:00
Ting Liu
695eaac895 qemu_qoriq: import ptest patches from poky
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:23 -03:00
Ting Liu
25f3befd73 qemu-qoriq: empty not supported PACKAGECKG
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:23 -03:00
Ting Liu
6509526b83 qemu-qoriq: update to commit 8362a29
New commits imported:
8362a29 nbd: fix type conversion error when doing ioctl

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:23 -03:00
Laurentiu Tudor
ae5fc95ee6 qemu-qoriq: enable back libusb through PACKAGECONFIG
This fixes usb passthrough support.

Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: Lu Wei <wei.lu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:23 -03:00
Zhenhua Luo
d869d9080d qemu: unify the recipe for QorIQ ARM and QorIQ PPC
* rename recipe to qemu-qoriq_git.bb to be product specific
* add DESCRIPTION
* conditionally define QEMU_TARGETS and EXTRA_OECONF
* skip dev-deps check to fix build error
* add COMPATIBLE_MACHINE

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
2016-04-19 15:03:15 -03:00
Otavio Salvador
6a868a6714 Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28 23:26:59 -03:00
Otavio Salvador
f8517afc7a Move meta-fsl-arm content to layer root
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.

This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16 15:01:29 -03:00