Age | Commit message (Collapse) | Author |
|
Update the recipe to the BSP 6.6.3_1.0.0.
Add support of SoC i.MX95.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
Update the recipe to the BSP 6.1.55_2.2.0.
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
|
|
It changes the Makefile, so the recipe is the only one controlling the
build arguments.
It is related to [1]
[1] https://git.yoctoproject.org/poky/commit/?id=04eac1f2b67eac5f892a9e0f8fcfe54849923af5
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
|
|
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
Upgrade the jailhouse to the version used in NXP BSP LF6.1.36-2.1.0.
Relevant changes:
- d3484c68 MLK-26114 solve the problem that .NOTINTERMEDIATE and .SECONDARY are mutually exclusive
- bcce5bc4 LF-9101 solve the problem that Jailhouse cannot be compiled
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
Make recipe aligned with NXP way and use a configurable variable
for a project repo.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
Install the python jailhouse lib for testing purpose.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
The native python is only needed by the setuptools witch is
already provided in setuptools3
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
Overriding do_configure will skip:
setup_target_config
setuptools3_do_configure
Using prepend in do_install will result in the call of python3
pip directly inside of oe_runmake instead of using the functions [1]
resulting in install the python stuff to a wrong target path
which includes the HOME directory of the user who runs bitbake.
[1]
setup_target_config
setuptools3_do_install
python_pep517_do_install
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
Must overrides module install path to algin with module_do_install in module.bbclass
- MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}"
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
meta-freescale uses cortexa55 as a tune for mx93, while jailhouse
intentionally sets march=armv8-a+nofp to disable using FPU registers
by jailhouse. It leads to a building error [1]. Drop cortex-a55 from
TUNE_CCARGS (used for generating CC) for mx93.
[1]
cc1: error: switch '-mcpu=cortex-a55' conflicts with '-march=armv8-a+nofp' switch [-Werror]
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
There is a general jailhouse recipe in other layers which causes a
version conflict. Introduce jailhouse-imx recipe to avoid conflict.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
Switch a branch to lf-6.1.22_2.0.0 to align the recipe with NXP BSP
LF6.1.22_2.0.0, and update relevant parts of the recipe.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
Update license: COPYING is renamed to LICENSE.
Relevant changes:
- 8faaeb45 Rename COPYING TO LICENSE
- b0817a39 tools: demos: ivshmem-demo: force has_msix to 0
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
Update jailhouse to the lf-5.15.71_2.2.0 release and also extend the
default compatible machine list to include 8ulp and mx93, since they are
now supported on this release.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|
Update jailhouse to the NXP lf-5.15.52_2.1.0 release, and clean up the
packaging logic to align with the latest release.
Packaging changes:
- Drop build instructions for tools as that is now built as part of the
main Makefile
- Drop JH_CONFIG and related tools variables as they are not required
- Change do_compile and do_install to prepend to allow the logic from
setuptools3 to be executed (and package pyjailhouse properly)
- Drop kernel from PACKAGE_BEFORE_PN, as it wasn't really used in the
end, and doesn't work correctly with usrmerge. Prefer removing libdir
that gets appended by setuptools3 for module split to work correctly
with and without usrmerge.
- Update FILES for pyjailhouse to include all the python related files
produced by the build
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|
Also fix installation path of the modules and firmware when
usrmerge is enabled.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
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>
|
|
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.
So, for example, the mx8mq override is split into:
- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP
- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP
- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP
- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP
The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.
Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).
To convert an existing layer, the following script can be used:
```sh
git ls-files classes recipes-* \
| xargs sed -i \
-e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
-e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
-e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
-e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
\
-e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
-e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
-e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(vf\w*\),:\1-generic-bsp,g' \
-e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
-e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
-e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
-e 's,(\(imx\)),(\1-nxp-bsp),g' \
-e 's,\(imx\)|,\1-nxp-bsp|,g' \
-e 's,|\(imx\)),|\1-nxp-bsp),g'
for d in $(find -type d | egrep '/mx[6-8]w*'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/imx$'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/mx[5s]w*'); do
git mv $d $d-generic-bsp
done
```
Fixes: #791.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
The firmware is installed in /lib regardless of multilib usage.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
|
Signed-off-by: Cristinel Panfir <cristinel.panfir@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>
|