Skip to contentSkip to conversation

machine: clean up MACHINE_FEATURES for omap5, dra7, am57

PATCH In review Denys Dmytriyenko 2 participants 2 messages Aug 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 machine: clean up MACHINE_FEATURES for omap5, dra7, am57

From: Denys Dmytriyenko <[email protected]>

* 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

---
 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(-)
conf/machine/am57xx-evm.conf +2 -4
index 0beed60..25b1647 100644
@@ -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"
conf/machine/dra7xx-evm.conf +2 -4
index 7069b44..ba7b440 100644
@@ -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"
conf/machine/include/omap-a15.inc +4 -1
index 3fef64e..d7ddb62 100644
@@ -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"
conf/machine/omap5-evm.conf +0 -4
index ba60e7c..d21abc1 100644
@@ -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"
Signature · 1 line
2.0.4
Acked-by on v1 1/1
#1 lore raw
Quoted 107 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Tuesday, August 26, 2014 10:00 AM
To: [email protected]
Subject: [meta-ti] [PATCH] machine: clean up MACHINE_FEATURES for omap5, dra7, am57

From: Denys Dmytriyenko <[email protected]>

* 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

---
 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(-)
conf/machine/am57xx- renamed from conf/machine/am57xx-evm.conf +0 -0

evm.conf index 0beed60..25b1647 100644

conf/machine/am57xx-evm.conf +2 -2
@@ -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"

conf/machine/dra7xx- renamed from conf/machine/dra7xx-evm.conf +0 -0

evm.conf index 7069b44..ba7b440 100644

conf/machine/dra7xx-evm.conf +2 -2
@@ -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"

conf/machine/include/omap-a15.inc +0 -0
index 3fef64e..d7ddb62 100644
@@ -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"

conf/machine/include/omap-a15.inc +4 -0
+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"

conf/machine/omap5- renamed from conf/machine/omap5-evm.conf +0 -0

evm.conf index ba60e7c..d21abc1 100644

conf/machine/omap5-evm.conf +0 -2
@@ -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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti