diff options
author | Stephen Molfetta <sjmolfetta@ti.com> | 2018-01-30 01:06:37 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-01-29 19:03:08 -0500 |
commit | 7577f46fda5c036fd029335ba50975442645fe15 (patch) | |
tree | 116653a507556474558a28d9edb17bb98598d9d3 /conf/machine | |
parent | 07c78b49f8c33cd38026b87bf7254dd1429f1776 (diff) | |
download | meta-ti-7577f46fda5c036fd029335ba50975442645fe15.tar.gz |
dra7xx-evm.conf: removing am57xx SOCS from PDK
opencl-monitor does not distinguish between dra7xx and am57xx devices,
treating both as the same and attempting to build for am57xx regardless.
However, this is dependent on common-csl-ip-rtos, a component of PDK,
which in general does handle these devices differently. The definition
of am57xx SOCs in the PDK list from omap-15.conf gets inherited by
dra7xx-evm.conf, thereby creating a rule that all dra7xx PDK recipes
must build am57xx libraries. This results in a dra7xx image which is
much larger than necessary, and more severely, creates an artifical
dependency link between these two devices and introduces build failures
for various PDK recipes.
Instead, we now override the PDK SOC definition in dra7xx-evm.conf, and
only in the CSL RTOS recipe do we append the am57xx SOCS for dra7xx-evm
machine build. This allows for opencl-monitor to build successfully for
dra7xx while preventing any other PDK recipes from attempting to build
libraries for am57xx devices.
This is a workaround that must stay in place until opencl build can
properly comprehend am57xx and dra7xx independently, and/or omap-a15
is not implied to be synonymous with am57xx in various recipes.
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/am57xx-evm.conf | 1 | ||||
-rw-r--r-- | conf/machine/dra7xx-evm.conf | 2 | ||||
-rw-r--r-- | conf/machine/include/omap-a15.inc | 3 |
3 files changed, 2 insertions, 4 deletions
diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf index 6e2eedf3..18325481 100644 --- a/conf/machine/am57xx-evm.conf +++ b/conf/machine/am57xx-evm.conf | |||
@@ -42,4 +42,5 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192" | |||
42 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | 42 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" |
43 | 43 | ||
44 | # Set the list of device targets for ti-pdk class recipes | 44 | # Set the list of device targets for ti-pdk class recipes |
45 | TI_PDK_LIMIT_SOCS = "am571x am572x am574x" | ||
45 | TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x" | 46 | TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x" |
diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf index 91afd855..7db9ff69 100644 --- a/conf/machine/dra7xx-evm.conf +++ b/conf/machine/dra7xx-evm.conf | |||
@@ -40,4 +40,4 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | |||
40 | 40 | ||
41 | # Set the list of device targets for ti-pdk class recipes | 41 | # Set the list of device targets for ti-pdk class recipes |
42 | TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x" | 42 | TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x" |
43 | TI_PDK_LIMIT_SOCS_append = " dra72x dra75x dra78x" | 43 | TI_PDK_LIMIT_SOCS = "dra72x dra75x dra78x" |
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc index cda9e0c9..6dcff82b 100644 --- a/conf/machine/include/omap-a15.inc +++ b/conf/machine/include/omap-a15.inc | |||
@@ -34,6 +34,3 @@ UBI_VOLNAME = "rootfs" | |||
34 | 34 | ||
35 | # List common SoC features, may need to add touchscreen for specific machines | 35 | # List common SoC features, may need to add touchscreen for specific machines |
36 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp" | 36 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp" |
37 | |||
38 | # Set the list of device targets for ti-pdk class recipes | ||
39 | TI_PDK_LIMIT_SOCS = "am571x am572x am574x" | ||