aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/jailhouse
AgeCommit message (Collapse)Author
2024-04-21jailhouse-imx: Update the recipe to align to the NXP BSP LF6.6.3_1.0.0Oleksandr Suvorov
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>
2024-02-07jailhouse-imx: Update the recipe to align to the NXP BSP LF6.1.55_2.2.0Daiane Angolini
Update the recipe to the BSP 6.1.55_2.2.0. Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2024-02-07jailhouse-imx: Avoid the build error when using -mcpu and -marchDaiane Angolini
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>
2024-01-25jailhouse-imx: drop unused patchJose Quaresma
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25jailhouse-imx: Upgrade to 6.1.36-2.1.0Oleksandr Suvorov
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>
2024-01-25jailhouse-imx: make repo URL configurableOleksandr Suvorov
Make recipe aligned with NXP way and use a configurable variable for a project repo. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-01-25jailhouse-imx: Add pyjailhouse to RDEPENDSOleksandr Suvorov
Install the python jailhouse lib for testing purpose. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-01-25jailhouse-imx: drop python3native inheritJose Quaresma
The native python is only needed by the setuptools witch is already provided in setuptools3 Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25jailhouse-imx: use EXTRA_OEMAKE to pass the argsJose Quaresma
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25jailhouse-imx: fix bitbake tasks overridesJose Quaresma
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>
2023-11-08jailhouse-imx: Add MODLIB to build option to set right module install pathJun Zhu
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>
2023-08-03jailhouse: mx93: drop cortex-a55 tuneOleksandr Suvorov
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>
2023-08-03jailhouse: add imx versionOleksandr Suvorov
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>
2023-07-24jailhouse: Update to lf-6.1.22_2.0.0Oleksandr Suvorov
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>
2023-04-18jailhouse: Update lf-5.15.71_2.2.0 to lf-6.1.1_1.0.0Oleksandr Suvorov
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>
2023-04-03jailhouse: update to lf-5.15.71_2.2.0Ricardo Salveti
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>
2022-12-07jailhouse: update to lf-5.15.52_2.1.0Ricardo Salveti
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>
2022-12-06jailhouse: update to lf-5.15.32_2.0.0 branchJose Quaresma
Also fix installation path of the modules and firmware when usrmerge is enabled. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2022-03-03layer: Update LICENSE variable to use SPDX license identifiersAndrey Zhizhikin
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-02-21Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador
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>
2021-08-12layer: Convert to new override syntaxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18jailhouse: Fix firmware location as non-arch specificTom Hochstein
The firmware is installed in /lib regardless of multilib usage. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-10-20jailhouse: Fix FILES_pyjailhouseCristinel Panfir
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2020-10-20jailhouse: Upgrade to version 0.12Cristinel Panfir
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2020-05-25jailhouse: Enable Jailhouse for i.MXCristinel Panfir
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>