From: Denys Dmytriyenko <denis@denix.org>
To: afd@ti.com
Cc: Denys Dmytriyenko <denys@konsulko.com>,
Ryan Eatmon <reatmon@ti.com>, Praneeth Bajjuri <praneeth@ti.com>,
Anand Gadiyar <gadiyar@ti.com>,
meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti][dunfell][PATCH 2/2] conf: machine: am64xx: Move multi-config targets into base SoC include
Date: Tue, 6 Sep 2022 20:10:55 -0400 [thread overview]
Message-ID: <20220907001055.GL18429@denix.org> (raw)
In-Reply-To: <20220906231119.29102-2-afd@ti.com>
On Tue, Sep 06, 2022 at 06:11:19PM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> The supported device types depends on the SoC, not on any specific
> board or EVM. Any board can be populated with any of the 3 supported
> AM64x types. Move these into the AM64x common include.
The reason multiconfigs were originally added in the machine config, instead
of a base SoC include, is because SR2.0 was initially only available for GP
and not HS variant of AM65x.
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
> conf/machine/am64xx-evm.conf | 26 +++++++-------------------
> conf/machine/include/am64xx.inc | 13 +++++++++++++
> 2 files changed, 20 insertions(+), 19 deletions(-)
> rewrite conf/machine/am64xx-evm.conf (76%)
>
> diff --git a/conf/machine/am64xx-evm.conf b/conf/machine/am64xx-evm.conf
> dissimilarity index 76%
> index d9afb08e..c6ba2a87 100644
> --- a/conf/machine/am64xx-evm.conf
> +++ b/conf/machine/am64xx-evm.conf
> @@ -1,19 +1,7 @@
> -#@TYPE: Machine
> -#@NAME: AM64xx EVM
> -#@DESCRIPTION: Machine configuration for the TI AM64xx EVM
> -
> -require conf/machine/include/am64xx.inc
> -
> -UBOOT_MACHINE = "am64x_evm_a53_defconfig"
> -
> -# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
> -BBMULTICONFIG += "k3r5-gp"
> -IMAGE_BOOT_FILES += " tiboot3-am64x-gp-evm.bin"
> -do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
> -do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
> -
> -# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
> -BBMULTICONFIG += "k3r5-sr2-hs-se"
> -IMAGE_BOOT_FILES += " tiboot3-am64x_sr2-hs-evm.bin"
> -do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
> -do_image_tar[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
> +#@TYPE: Machine
> +#@NAME: AM64xx EVM
> +#@DESCRIPTION: Machine configuration for the TI AM64xx EVM
> +
> +require conf/machine/include/am64xx.inc
> +
> +UBOOT_MACHINE = "am64x_evm_a53_defconfig"
This diff is very weird - the first 7 lines aren't changing, yet they are
removed and then added back. Can you please check what went wrong and
resubmit?
> diff --git a/conf/machine/include/am64xx.inc b/conf/machine/include/am64xx.inc
> index 0b9a3e59..913d95e6 100644
> --- a/conf/machine/include/am64xx.inc
> +++ b/conf/machine/include/am64xx.inc
> @@ -14,10 +14,23 @@ KERNEL_DEVICETREE = " \
> ti/k3-am642-evm-nand.dtbo \
> "
>
> +# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
> BBMULTICONFIG = "k3r5-sr2-hs-fs"
> do_image_wic[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy"
> do_image_tar[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy"
>
> +# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
> +BBMULTICONFIG += "k3r5-gp"
> +IMAGE_BOOT_FILES += " tiboot3-am64x-gp-evm.bin"
> +do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
> +do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
> +
> +# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
> +BBMULTICONFIG += "k3r5-sr2-hs-se"
> +IMAGE_BOOT_FILES += " tiboot3-am64x_sr2-hs-evm.bin"
> +do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
> +do_image_tar[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
> +
> TFA_BOARD = "lite"
> OPTEEMACHINE = "k3-am64x"
> OPTEEOUTPUTMACHINE = "k3"
> --
> 2.36.1
next prev parent reply other threads:[~2022-09-07 0:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 23:11 [meta-ti][dunfell][PATCH 1/2] conf: machine: am64xx-evm: Switch to SR2.0 HS-FS build by default Andrew Davis
2022-09-06 23:11 ` [meta-ti][dunfell][PATCH 2/2] conf: machine: am64xx: Move multi-config targets into base SoC include Andrew Davis
2022-09-07 0:10 ` Denys Dmytriyenko [this message]
2022-09-07 14:04 ` Andrew Davis
2022-09-06 23:16 ` [meta-ti][dunfell][PATCH 1/2] conf: machine: am64xx-evm: Switch to SR2.0 HS-FS build by default Andrew Davis
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=20220907001055.GL18429@denix.org \
--to=denis@denix.org \
--cc=afd@ti.com \
--cc=denys@konsulko.com \
--cc=gadiyar@ti.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=praneeth@ti.com \
--cc=reatmon@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.