From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org, Stephen Molfetta <sjmolfetta@ti.com>
Subject: Re: [PATCH v2] dra7xx-evm.conf: removing am57xx SOCS from PDK
Date: Mon, 29 Jan 2018 14:10:28 -0500 [thread overview]
Message-ID: <20180129191028.GE14655@edge> (raw)
In-Reply-To: <1517251041-600-1-git-send-email-j-stiffler@ti.com>
Jake,
This does not apply on morty. Please rebase on top of AM574 changes.
--
Denys
On Mon, Jan 29, 2018 at 01:37:21PM -0500, Jacob Stiffler wrote:
> From: Stephen Molfetta <sjmolfetta@ti.com>
>
> 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>
> ---
> v2 changes: move am57xx-evm TI_PDK_LIMIT_SOCS from omap-a15 family
>
> conf/machine/am57xx-evm.conf | 1 +
> conf/machine/dra7xx-evm.conf | 2 +-
> conf/machine/include/omap-a15.inc | 3 ---
> recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb | 5 ++++-
> 4 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf
> index e4a4051..6f6fbf8 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"
> UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
>
> # Set the list of device targets for ti-pdk class recipes
> +TI_PDK_LIMIT_SOCS = "am571x am572x"
> TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x"
> diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf
> index 91afd85..7db9ff6 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"
>
> # Set the list of device targets for ti-pdk class recipes
> TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x"
> -TI_PDK_LIMIT_SOCS_append = " dra72x dra75x dra78x"
> +TI_PDK_LIMIT_SOCS = "dra72x dra75x dra78x"
> diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
> index 11620a9..6dcff82 100644
> --- a/conf/machine/include/omap-a15.inc
> +++ b/conf/machine/include/omap-a15.inc
> @@ -34,6 +34,3 @@ 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 mmip dsp"
> -
> -# Set the list of device targets for ti-pdk class recipes
> -TI_PDK_LIMIT_SOCS = "am571x am572x"
> diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
> index f4496b9..100d2f4 100644
> --- a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
> +++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
> @@ -1,5 +1,5 @@
> require common-csl-ip.inc
> -PR = "${INC_PR}.5"
> +PR = "${INC_PR}.6"
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> COMPATIBLE_MACHINE_append = "|c66x"
> @@ -16,3 +16,6 @@ export DEST_ROOT="${S}"
>
> # HTML doc link params
> PDK_COMP_LINK_TEXT = "CSL-Chip Support Library"
> +
> +# Workaround: dra7xx build requires am57xx CSL libraries for opencl-monitor
> +TI_PDK_LIMIT_SOCS_append_dra7xx = " am571x am572x"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2018-01-29 19:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-29 18:37 [PATCH v2] dra7xx-evm.conf: removing am57xx SOCS from PDK Jacob Stiffler
2018-01-29 19:10 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180129191028.GE14655@edge \
--to=denys@ti.com \
--cc=j-stiffler@ti.com \
--cc=meta-ti@yoctoproject.org \
--cc=sjmolfetta@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.