* [meta-ti][master/scarthgap][PATCH v2] conf: machine: am69-sk: Create a new am69.inc file
@ 2024-04-30 19:58 Ryan Eatmon
2024-04-30 20:47 ` Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Eatmon @ 2024-04-30 19:58 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti
Reusing the j784s4.inc file presents problems as the am69-sk platform
does not support GP. So copy the j784s4.inc to am69.inc and update
accordingly.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v2: Fix commit message.
meta-ti-bsp/conf/machine/am69-sk.conf | 2 +-
meta-ti-bsp/conf/machine/include/am69.inc | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 meta-ti-bsp/conf/machine/include/am69.inc
diff --git a/meta-ti-bsp/conf/machine/am69-sk.conf b/meta-ti-bsp/conf/machine/am69-sk.conf
index 233a4618..6341a6fa 100644
--- a/meta-ti-bsp/conf/machine/am69-sk.conf
+++ b/meta-ti-bsp/conf/machine/am69-sk.conf
@@ -2,7 +2,7 @@
#@NAME: AM69 SK
#@DESCRIPTION: Machine configuration for the TI AM69 SK
-require conf/machine/include/j784s4.inc
+require conf/machine/include/am69.inc
TFA_K3_USART = "0x8"
OPTEE_K3_USART = "0x8"
diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc
new file mode 100644
index 00000000..81be1397
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/am69.inc
@@ -0,0 +1,19 @@
+require conf/machine/include/k3.inc
+SOC_FAMILY:append = ":j784s4"
+
+MACHINE_FEATURES += "screen gpu"
+
+require conf/machine/include/mesa-pvr.inc
+PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
+
+# Default tiboot3.bin on AM69 is for SR1.0 HS-FS
+IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
+
+# Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
+IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
+
+TFA_BOARD = "j784s4"
+
+OPTEEMACHINE = "k3-j784s4"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-ti][master/scarthgap][PATCH v2] conf: machine: am69-sk: Create a new am69.inc file
2024-04-30 19:58 [meta-ti][master/scarthgap][PATCH v2] conf: machine: am69-sk: Create a new am69.inc file Ryan Eatmon
@ 2024-04-30 20:47 ` Denys Dmytriyenko
2024-04-30 21:03 ` Ryan Eatmon
0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2024-04-30 20:47 UTC (permalink / raw)
To: reatmon; +Cc: Praneeth Bajjuri, meta-ti
On Tue, Apr 30, 2024 at 02:58:11PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> Reusing the j784s4.inc file presents problems as the am69-sk platform
> does not support GP. So copy the j784s4.inc to am69.inc and update
> accordingly.
Any chance to get this as a diff against j784s4.inc to simplify the review?
Maybe by playing with -C and -M options?
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> v2: Fix commit message.
>
> meta-ti-bsp/conf/machine/am69-sk.conf | 2 +-
> meta-ti-bsp/conf/machine/include/am69.inc | 19 +++++++++++++++++++
> 2 files changed, 20 insertions(+), 1 deletion(-)
> create mode 100644 meta-ti-bsp/conf/machine/include/am69.inc
>
> diff --git a/meta-ti-bsp/conf/machine/am69-sk.conf b/meta-ti-bsp/conf/machine/am69-sk.conf
> index 233a4618..6341a6fa 100644
> --- a/meta-ti-bsp/conf/machine/am69-sk.conf
> +++ b/meta-ti-bsp/conf/machine/am69-sk.conf
> @@ -2,7 +2,7 @@
> #@NAME: AM69 SK
> #@DESCRIPTION: Machine configuration for the TI AM69 SK
>
> -require conf/machine/include/j784s4.inc
> +require conf/machine/include/am69.inc
>
> TFA_K3_USART = "0x8"
> OPTEE_K3_USART = "0x8"
> diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc
> new file mode 100644
> index 00000000..81be1397
> --- /dev/null
> +++ b/meta-ti-bsp/conf/machine/include/am69.inc
> @@ -0,0 +1,19 @@
> +require conf/machine/include/k3.inc
> +SOC_FAMILY:append = ":j784s4"
> +
> +MACHINE_FEATURES += "screen gpu"
> +
> +require conf/machine/include/mesa-pvr.inc
> +PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
> +
> +# Default tiboot3.bin on AM69 is for SR1.0 HS-FS
> +IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
> +
> +# Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
> +IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
> +
> +TFA_BOARD = "j784s4"
> +
> +OPTEEMACHINE = "k3-j784s4"
> +
> +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
> --
> 2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-ti][master/scarthgap][PATCH v2] conf: machine: am69-sk: Create a new am69.inc file
2024-04-30 20:47 ` Denys Dmytriyenko
@ 2024-04-30 21:03 ` Ryan Eatmon
2024-05-01 19:53 ` Andrew Davis
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Eatmon @ 2024-04-30 21:03 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: Praneeth Bajjuri, meta-ti
On 4/30/2024 3:47 PM, Denys Dmytriyenko wrote:
> On Tue, Apr 30, 2024 at 02:58:11PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>> Reusing the j784s4.inc file presents problems as the am69-sk platform
>> does not support GP. So copy the j784s4.inc to am69.inc and update
>> accordingly.
>
> Any chance to get this as a diff against j784s4.inc to simplify the review?
> Maybe by playing with -C and -M options?
Here is the diff:
> diff meta-ti-bsp/conf/machine/include/am69.inc
meta-ti-bsp/conf/machine/include/j784s4.inc
9c9,12
< # Default tiboot3.bin on AM69 is for SR1.0 HS-FS
---
> # Default tiboot3.bin on J784S4 is for GP
> IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin"
>
> # Since default tiboot3.bin on J784S4 is for GP, add a version for
SR1.0 HS-FS
12c15
< # Since default tiboot3.bin on AM69 is for HS-FS, add a version for
SR1.0 HS-SE
---
> # Since default tiboot3.bin on J784S4 is for GP, add a version for
SR1.0 HS-SE
Effectively removing a line and changing some of the comments.
>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>> v2: Fix commit message.
>>
>> meta-ti-bsp/conf/machine/am69-sk.conf | 2 +-
>> meta-ti-bsp/conf/machine/include/am69.inc | 19 +++++++++++++++++++
>> 2 files changed, 20 insertions(+), 1 deletion(-)
>> create mode 100644 meta-ti-bsp/conf/machine/include/am69.inc
>>
>> diff --git a/meta-ti-bsp/conf/machine/am69-sk.conf b/meta-ti-bsp/conf/machine/am69-sk.conf
>> index 233a4618..6341a6fa 100644
>> --- a/meta-ti-bsp/conf/machine/am69-sk.conf
>> +++ b/meta-ti-bsp/conf/machine/am69-sk.conf
>> @@ -2,7 +2,7 @@
>> #@NAME: AM69 SK
>> #@DESCRIPTION: Machine configuration for the TI AM69 SK
>>
>> -require conf/machine/include/j784s4.inc
>> +require conf/machine/include/am69.inc
>>
>> TFA_K3_USART = "0x8"
>> OPTEE_K3_USART = "0x8"
>> diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc
>> new file mode 100644
>> index 00000000..81be1397
>> --- /dev/null
>> +++ b/meta-ti-bsp/conf/machine/include/am69.inc
>> @@ -0,0 +1,19 @@
>> +require conf/machine/include/k3.inc
>> +SOC_FAMILY:append = ":j784s4"
>> +
>> +MACHINE_FEATURES += "screen gpu"
>> +
>> +require conf/machine/include/mesa-pvr.inc
>> +PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
>> +
>> +# Default tiboot3.bin on AM69 is for SR1.0 HS-FS
>> +IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
>> +
>> +# Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
>> +IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
>> +
>> +TFA_BOARD = "j784s4"
>> +
>> +OPTEEMACHINE = "k3-j784s4"
>> +
>> +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
>> --
>> 2.17.1
--
Ryan Eatmon reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-ti][master/scarthgap][PATCH v2] conf: machine: am69-sk: Create a new am69.inc file
2024-04-30 21:03 ` Ryan Eatmon
@ 2024-05-01 19:53 ` Andrew Davis
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Davis @ 2024-05-01 19:53 UTC (permalink / raw)
To: reatmon, Denys Dmytriyenko; +Cc: Praneeth Bajjuri, meta-ti
On 4/30/24 4:03 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
>
>
> On 4/30/2024 3:47 PM, Denys Dmytriyenko wrote:
>> On Tue, Apr 30, 2024 at 02:58:11PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>>> Reusing the j784s4.inc file presents problems as the am69-sk platform
>>> does not support GP. So copy the j784s4.inc to am69.inc and update
>>> accordingly.
>>
>> Any chance to get this as a diff against j784s4.inc to simplify the review?
>> Maybe by playing with -C and -M options?
>
> Here is the diff:
>
> > diff meta-ti-bsp/conf/machine/include/am69.inc meta-ti-bsp/conf/machine/include/j784s4.inc
> 9c9,12
> < # Default tiboot3.bin on AM69 is for SR1.0 HS-FS
> ---
> > # Default tiboot3.bin on J784S4 is for GP
> > IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin"
Could we include j784s4.inc from am69.inc, should be some way to remove that one
item from IMAGE_BOOT_FILES (maybe?).
Andrew
> >
> > # Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-FS
> 12c15
> < # Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
> ---
> > # Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-SE
>
>
> Effectively removing a line and changing some of the comments.
>
>
>
>
>
>>
>>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>>> ---
>>> v2: Fix commit message.
>>>
>>> meta-ti-bsp/conf/machine/am69-sk.conf | 2 +-
>>> meta-ti-bsp/conf/machine/include/am69.inc | 19 +++++++++++++++++++
>>> 2 files changed, 20 insertions(+), 1 deletion(-)
>>> create mode 100644 meta-ti-bsp/conf/machine/include/am69.inc
>>>
>>> diff --git a/meta-ti-bsp/conf/machine/am69-sk.conf b/meta-ti-bsp/conf/machine/am69-sk.conf
>>> index 233a4618..6341a6fa 100644
>>> --- a/meta-ti-bsp/conf/machine/am69-sk.conf
>>> +++ b/meta-ti-bsp/conf/machine/am69-sk.conf
>>> @@ -2,7 +2,7 @@
>>> #@NAME: AM69 SK
>>> #@DESCRIPTION: Machine configuration for the TI AM69 SK
>>> -require conf/machine/include/j784s4.inc
>>> +require conf/machine/include/am69.inc
>>> TFA_K3_USART = "0x8"
>>> OPTEE_K3_USART = "0x8"
>>> diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc
>>> new file mode 100644
>>> index 00000000..81be1397
>>> --- /dev/null
>>> +++ b/meta-ti-bsp/conf/machine/include/am69.inc
>>> @@ -0,0 +1,19 @@
>>> +require conf/machine/include/k3.inc
>>> +SOC_FAMILY:append = ":j784s4"
>>> +
>>> +MACHINE_FEATURES += "screen gpu"
>>> +
>>> +require conf/machine/include/mesa-pvr.inc
>>> +PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
>>> +
>>> +# Default tiboot3.bin on AM69 is for SR1.0 HS-FS
>>> +IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
>>> +
>>> +# Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE
>>> +IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
>>> +
>>> +TFA_BOARD = "j784s4"
>>> +
>>> +OPTEEMACHINE = "k3-j784s4"
>>> +
>>> +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
>>> --
>>> 2.17.1
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#17616): https://lists.yoctoproject.org/g/meta-ti/message/17616
> Mute This Topic: https://lists.yoctoproject.org/mt/105828549/3619733
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [afd@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-01 19:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 19:58 [meta-ti][master/scarthgap][PATCH v2] conf: machine: am69-sk: Create a new am69.inc file Ryan Eatmon
2024-04-30 20:47 ` Denys Dmytriyenko
2024-04-30 21:03 ` Ryan Eatmon
2024-05-01 19:53 ` Andrew Davis
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.