[meta-ti] [PATCH] machine: clean up MACHINE_FEATURES for omap5, dra7, am57

Cooper Jr., Franklin fcooper at ti.com
Tue Aug 26 08:07:05 PDT 2014


Acked-by: Franklin Cooper Jr. <fcooper at ti.com>

> -----Original Message-----
> From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-
> bounces at yoctoproject.org] On Behalf Of Denys Dmytriyenko
> Sent: Tuesday, August 26, 2014 10:00 AM
> To: meta-ti at yoctoproject.org
> Subject: [meta-ti] [PATCH] machine: clean up MACHINE_FEATURES for
> omap5, dra7, am57
> 
> From: Denys Dmytriyenko <denys at ti.com>
> 
> * Enable "sgx" feature on all - the driver may still be missing, but GLES is
>   available from omap5-sgx-ddk-linux package
> * Enable "touchscreen" feature only on dra7 and am57 - not available on
> omap5
> 
> Signed-off-by: Denys Dmytriyenko <denys at ti.com>
> ---
>  conf/machine/am57xx-evm.conf      | 6 ++----
>  conf/machine/dra7xx-evm.conf      | 6 ++----
>  conf/machine/include/omap-a15.inc | 5 ++++-
>  conf/machine/omap5-evm.conf       | 4 ----
>  4 files changed, 8 insertions(+), 13 deletions(-)
> 
> diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-
> evm.conf index 0beed60..25b1647 100644
> --- a/conf/machine/am57xx-evm.conf
> +++ b/conf/machine/am57xx-evm.conf
> @@ -4,6 +4,8 @@
> 
>  require conf/machine/include/dra7xx.inc
> 
> +MACHINE_FEATURES += "touchscreen"
> +
>  IMAGE_FSTYPES += "ubi tar.gz"
> 
>  SERIAL_CONSOLE = "115200 ttyO2"
> @@ -30,7 +32,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
>  # UBI: sub-page size:              512
>  # UBI: VID header offset:          2048 (aligned 2048)
>  UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
> -
> -# Currently removing the sgx machine feature because there is no SGX
> package -# available for omap5 -MACHINE_FEATURES = "kernel26 apm
> usbgadget usbhost vfat ext2 screen touchscreen"
> diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-
> evm.conf index 7069b44..ba7b440 100644
> --- a/conf/machine/dra7xx-evm.conf
> +++ b/conf/machine/dra7xx-evm.conf
> @@ -4,6 +4,8 @@
> 
>  require conf/machine/include/dra7xx.inc
> 
> +MACHINE_FEATURES += "touchscreen"
> +
>  IMAGE_FSTYPES += "ubi tar.gz"
> 
>  SERIAL_CONSOLE = "115200 ttyO0"
> @@ -30,7 +32,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
>  # UBI: sub-page size:              512
>  # UBI: VID header offset:          2048 (aligned 2048)
>  UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
> -
> -# Currently removing the sgx machine feature because there is no SGX
> package -# available for omap5 -MACHINE_FEATURES = "kernel26 apm
> usbgadget usbhost vfat ext2 screen touchscreen"
> diff --git a/conf/machine/include/omap-a15.inc
> b/conf/machine/include/omap-a15.inc
> index 3fef64e..d7ddb62 100644
> --- a/conf/machine/include/omap-a15.inc
> +++ b/conf/machine/include/omap-a15.inc
> @@ -5,7 +5,7 @@ DEFAULTTUNE ?= "cortexa15thf-neon"
>  require conf/machine/include/tune-cortexa15.inc
> 
>  # Increase this everytime you change something in the kernel -
> MACHINE_KERNEL_PR = "r4"
> +MACHINE_KERNEL_PR = "r5"
> 
>  PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
>  PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
> @@ -29,3 +29,6 @@ GUI_MACHINE_CLASS = "smallscreen"
>  # Use the expected value of the ubifs filesystem's volume name in the kernel
> # and u-boot.
>  UBI_VOLNAME = "rootfs"
> +
> +# List common SoC features, may need to add touchscreen for specific
> +machines MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat
> ext2 screen alsa ethernet sgx"
> diff --git a/conf/machine/omap5-evm.conf b/conf/machine/omap5-
> evm.conf index ba60e7c..d21abc1 100644
> --- a/conf/machine/omap5-evm.conf
> +++ b/conf/machine/omap5-evm.conf
> @@ -30,7 +30,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
>  UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
> 
>  UBOOT_MACHINE = "omap5_uevm_config"
> -
> -# Currently removing the sgx machine feature because there is no SGX
> package -# available for omap5 -MACHINE_FEATURES = "kernel26 apm
> usbgadget usbhost vfat ext2 screen touchscreen"
> --
> 2.0.4
> 
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list