diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-07-30 20:38:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 20:38:19 -0300 |
commit | a3cb35e5077e425562a7921c1e73c4a294d24a67 (patch) | |
tree | 85293b8deedb2554d715d7b3d3aaca498f2202c6 | |
parent | d198e22696b493d0367006d376aeaaf33eef3881 (diff) | |
parent | db32cfce6f02762c891e85af02fb509ecfec4433 (diff) | |
download | meta-freescale-a3cb35e5077e425562a7921c1e73c4a294d24a67.tar.gz |
Merge pull request #836 from thochstein/jailhouse
Jailhouse enablement rework
-rw-r--r-- | conf/machine/include/imx-base.inc | 5 | ||||
-rw-r--r-- | conf/machine/include/imx8mm-evk.inc | 4 | ||||
-rw-r--r-- | conf/machine/include/imx8mp-evk.inc | 5 |
3 files changed, 6 insertions, 8 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 65b1e6e0..f92a08af 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -315,7 +315,7 @@ MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" | |||
315 | 315 | ||
316 | # Jailhouse | 316 | # Jailhouse |
317 | MACHINE_EXTRA_RRECOMMENDS += " \ | 317 | MACHINE_EXTRA_RRECOMMENDS += " \ |
318 | ${@bb.utils.contains('COMBINED_FEATURES', 'jailhouse', 'jailhouse', '', d)} \ | 318 | ${@bb.utils.filter('COMBINED_FEATURES', 'jailhouse', d)} \ |
319 | " | 319 | " |
320 | 320 | ||
321 | # GStreamer 1.0 plugins | 321 | # GStreamer 1.0 plugins |
@@ -474,9 +474,6 @@ KERNEL_IMAGETYPE_aarch64 = "Image" | |||
474 | 474 | ||
475 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" | 475 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" |
476 | 476 | ||
477 | SOC_MACHINE_FEATURES_BACKFILL_mx8m = "jailhouse" | ||
478 | MACHINE_FEATURES_BACKFILL_append = " ${SOC_MACHINE_FEATURES_BACKFILL}" | ||
479 | |||
480 | # Add the ability to specify _imx machines | 477 | # Add the ability to specify _imx machines |
481 | MACHINEOVERRIDES =. "imx:" | 478 | MACHINEOVERRIDES =. "imx:" |
482 | 479 | ||
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc index bcf838ab..f458c56d 100644 --- a/conf/machine/include/imx8mm-evk.inc +++ b/conf/machine/include/imx8mm-evk.inc | |||
@@ -5,13 +5,13 @@ require conf/machine/include/tune-cortexa53.inc | |||
5 | 5 | ||
6 | MACHINE_FEATURES += "pci wifi bluetooth bcm43455 bcm4356" | 6 | MACHINE_FEATURES += "pci wifi bluetooth bcm43455 bcm4356" |
7 | 7 | ||
8 | # NXP BSP can consume BCM4359 and QCA9377 driver and firmware | 8 | # NXP BSP can consume proprietary jailhouse, BCM4359, and QCA9377 driver and firmware |
9 | # Since the firmware is not available publicly, and rather distributed | 9 | # Since the firmware is not available publicly, and rather distributed |
10 | # under "Proprietary" license - we opt-out from using it in all BSPs | 10 | # under "Proprietary" license - we opt-out from using it in all BSPs |
11 | # and pin it to NXP BSP only | 11 | # and pin it to NXP BSP only |
12 | # OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have | 12 | # OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have |
13 | # a full support for it yet. | 13 | # a full support for it yet. |
14 | MACHINE_FEATURES_append_use-nxp-bsp = " optee bcm4359 qca9377" | 14 | MACHINE_FEATURES_append_use-nxp-bsp = " optee jailhouse bcm4359 qca9377" |
15 | 15 | ||
16 | KERNEL_DEVICETREE = " \ | 16 | KERNEL_DEVICETREE = " \ |
17 | freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ | 17 | freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ |
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc index 814638d0..d070831f 100644 --- a/conf/machine/include/imx8mp-evk.inc +++ b/conf/machine/include/imx8mp-evk.inc | |||
@@ -3,11 +3,12 @@ MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mp:" | |||
3 | require conf/machine/include/imx-base.inc | 3 | require conf/machine/include/imx-base.inc |
4 | require conf/machine/include/tune-cortexa53.inc | 4 | require conf/machine/include/tune-cortexa53.inc |
5 | 5 | ||
6 | MACHINE_FEATURES += "pci wifi bluetooth jailhouse" | 6 | MACHINE_FEATURES += "pci wifi bluetooth" |
7 | 7 | ||
8 | # NXP BSP can consume proprietary jailhouse and Marvell drivers | ||
8 | # OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have | 9 | # OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have |
9 | # a full support for it yet. | 10 | # a full support for it yet. |
10 | MACHINE_FEATURES_append_use-nxp-bsp = " optee mrvl8997" | 11 | MACHINE_FEATURES_append_use-nxp-bsp = " optee jailhouse mrvl8997" |
11 | 12 | ||
12 | # Mainline kernel contains only one DTB file for | 13 | # Mainline kernel contains only one DTB file for |
13 | # imx8mpevk machine | 14 | # imx8mpevk machine |