* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
@ 2020-08-18 0:53 Thirupathaiah Annapureddy
2020-08-20 0:15 ` Thirupathaiah Annapureddy
0 siblings, 1 reply; 7+ messages in thread
From: Thirupathaiah Annapureddy @ 2020-08-18 0:53 UTC (permalink / raw)
To: u-boot
Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of
for all aspeed targets.
Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
---
arch/arm/dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 7e29b9096b..d019f26983 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -938,7 +938,7 @@ dtb-$(CONFIG_ARCH_BCM6858) += \
dtb-$(CONFIG_TARGET_BCMNS3) += ns3-board.dtb
-dtb-$(CONFIG_ARCH_ASPEED) += ast2500-evb.dtb
+dtb-$(CONFIG_TARGET_EVB_AST2500) += ast2500-evb.dtb
dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
--
2.25.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
2020-08-18 0:53 [PATCH] arm: dts: fix ast2500-evb inclusion for correct target Thirupathaiah Annapureddy
@ 2020-08-20 0:15 ` Thirupathaiah Annapureddy
2020-08-20 2:06 ` Ryan Chen
0 siblings, 1 reply; 7+ messages in thread
From: Thirupathaiah Annapureddy @ 2020-08-20 0:15 UTC (permalink / raw)
To: u-boot
Adding Ryan and Chiawei to the list.
On 8/17/2020 5:53 PM, Thirupathaiah Annapureddy wrote:
> Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of
> for all aspeed targets.
>
> Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com
> ---
> arch/arm/dts/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index 7e29b9096b..d019f26983 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -938,7 +938,7 @@ dtb-$(CONFIG_ARCH_BCM6858) += \
>
> dtb-$(CONFIG_TARGET_BCMNS3) += ns3-board.dtb
>
> -dtb-$(CONFIG_ARCH_ASPEED) += ast2500-evb.dtb
> +dtb-$(CONFIG_TARGET_EVB_AST2500) += ast2500-evb.dtb
>
> dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
2020-08-20 0:15 ` Thirupathaiah Annapureddy
@ 2020-08-20 2:06 ` Ryan Chen
2020-08-20 21:09 ` Thirupathaiah Annapureddy
0 siblings, 1 reply; 7+ messages in thread
From: Ryan Chen @ 2020-08-20 2:06 UTC (permalink / raw)
To: u-boot
Hi
> -----Original Message-----
> From: Thirupathaiah Annapureddy [mailto:thiruan at linux.microsoft.com]
> Sent: Thursday, August 20, 2020 8:16 AM
> To: u-boot at lists.denx.de
> Cc: Maxim Sloyko <maxims@google.com>; Marek Vasut <marex@denx.de>;
> ChiaWei Wang <chiawei_wang@aspeedtech.com>; Ryan Chen
> <ryan_chen@aspeedtech.com>
> Subject: Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
>
> Adding Ryan and Chiawei to the list.
>
> On 8/17/2020 5:53 PM, Thirupathaiah Annapureddy wrote:
> > Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of for
> > all aspeed targets.
There should not have to many Kconfig for ASPEED platform.
I prefer use following to build all all ASPEED platform. Like following.
dtb-$(CONFIG_ARCH_ASPEED) += \
ast2400-evb.dtb \
ast2500-evb.dtb \
ast2600a0-evb.dtb \
ast2600a0-ncsi.dtb \
ast2600a1-evb.dtb \
ast2600a1-ncsi.dtb \
ast2600-fpga.dtb \
ast2600-rainier.dtb \
ast2600-slt.dtb \
ast2600-tacoma.dtb
> >
> > Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com
> > ---
> > arch/arm/dts/Makefile | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index
> > 7e29b9096b..d019f26983 100644
> > --- a/arch/arm/dts/Makefile
> > +++ b/arch/arm/dts/Makefile
> > @@ -938,7 +938,7 @@ dtb-$(CONFIG_ARCH_BCM6858) += \
> >
> > dtb-$(CONFIG_TARGET_BCMNS3) += ns3-board.dtb
> >
> > -dtb-$(CONFIG_ARCH_ASPEED) += ast2500-evb.dtb
> > +dtb-$(CONFIG_TARGET_EVB_AST2500) += ast2500-evb.dtb
> >
> > dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
> >
> >
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
2020-08-20 2:06 ` Ryan Chen
@ 2020-08-20 21:09 ` Thirupathaiah Annapureddy
2020-08-21 0:03 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: Thirupathaiah Annapureddy @ 2020-08-20 21:09 UTC (permalink / raw)
To: u-boot
Hi Ryan,
Thanks for reviewing the patch. Please see my comment(s):
On 8/19/2020 7:06 PM, Ryan Chen wrote:
> Hi
>> -----Original Message-----
>> From: Thirupathaiah Annapureddy [mailto:thiruan at linux.microsoft.com]
>> Sent: Thursday, August 20, 2020 8:16 AM
>> To: u-boot at lists.denx.de
>> Cc: Maxim Sloyko <maxims@google.com>; Marek Vasut <marex@denx.de>;
>> ChiaWei Wang <chiawei_wang@aspeedtech.com>; Ryan Chen
>> <ryan_chen@aspeedtech.com>
>> Subject: Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
>>
>> Adding Ryan and Chiawei to the list.
>>
>> On 8/17/2020 5:53 PM, Thirupathaiah Annapureddy wrote:
>>> Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of for
>>> all aspeed targets.
>
> There should not have to many Kconfig for ASPEED platform.
When you build U-Boot, you have to provide a platform specific defconfig
as the target. ex: evb-ast2500_defconfig.
defconfig specifies the platform specific device tree file.
ex: CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
I do not see any reason to make other device trees (ex: ast2600a0-evb.dtb)
when we are building for evb-ast2500.
> I prefer use following to build all all ASPEED platform. Like following.
> dtb-$(CONFIG_ARCH_ASPEED) += \
> ast2400-evb.dtb \
> ast2500-evb.dtb \
> ast2600a0-evb.dtb \
> ast2600a0-ncsi.dtb \
> ast2600a1-evb.dtb \
> ast2600a1-ncsi.dtb \
> ast2600-fpga.dtb \
> ast2600-rainier.dtb \
> ast2600-slt.dtb \
> ast2600-tacoma.dtb
>
>>>
>>> Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com
>>> ---
>>> arch/arm/dts/Makefile | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index
>>> 7e29b9096b..d019f26983 100644
>>> --- a/arch/arm/dts/Makefile
>>> +++ b/arch/arm/dts/Makefile
>>> @@ -938,7 +938,7 @@ dtb-$(CONFIG_ARCH_BCM6858) += \
>>>
>>> dtb-$(CONFIG_TARGET_BCMNS3) += ns3-board.dtb
>>>
>>> -dtb-$(CONFIG_ARCH_ASPEED) += ast2500-evb.dtb
>>> +dtb-$(CONFIG_TARGET_EVB_AST2500) += ast2500-evb.dtb
>>>
>>> dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
>>>
>>>
>
Best Regards,
Thiru
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
2020-08-20 21:09 ` Thirupathaiah Annapureddy
@ 2020-08-21 0:03 ` Tom Rini
2020-08-23 5:24 ` Thirupathaiah Annapureddy
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2020-08-21 0:03 UTC (permalink / raw)
To: u-boot
On Thu, Aug 20, 2020 at 02:09:55PM -0700, Thirupathaiah Annapureddy wrote:
> Hi Ryan,
>
> Thanks for reviewing the patch. Please see my comment(s):
>
> On 8/19/2020 7:06 PM, Ryan Chen wrote:
> > Hi
> >> -----Original Message-----
> >> From: Thirupathaiah Annapureddy [mailto:thiruan at linux.microsoft.com]
> >> Sent: Thursday, August 20, 2020 8:16 AM
> >> To: u-boot at lists.denx.de
> >> Cc: Maxim Sloyko <maxims@google.com>; Marek Vasut <marex@denx.de>;
> >> ChiaWei Wang <chiawei_wang@aspeedtech.com>; Ryan Chen
> >> <ryan_chen@aspeedtech.com>
> >> Subject: Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
> >>
> >> Adding Ryan and Chiawei to the list.
> >>
> >> On 8/17/2020 5:53 PM, Thirupathaiah Annapureddy wrote:
> >>> Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of for
> >>> all aspeed targets.
> >
> > There should not have to many Kconfig for ASPEED platform.
> When you build U-Boot, you have to provide a platform specific defconfig
> as the target. ex: evb-ast2500_defconfig.
> defconfig specifies the platform specific device tree file.
> ex: CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
>
> I do not see any reason to make other device trees (ex: ast2600a0-evb.dtb)
> when we are building for evb-ast2500.
It keeps the Makefile logic clearer and makes future moves towards more
platforms in a single binary easier if we just build all of the dtb
files.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200820/13214563/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
2020-08-21 0:03 ` Tom Rini
@ 2020-08-23 5:24 ` Thirupathaiah Annapureddy
2020-08-23 20:02 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: Thirupathaiah Annapureddy @ 2020-08-23 5:24 UTC (permalink / raw)
To: u-boot
On 8/20/2020 5:03 PM, Tom Rini wrote:
> On Thu, Aug 20, 2020 at 02:09:55PM -0700, Thirupathaiah Annapureddy wrote:
>> Hi Ryan,
>>
>> Thanks for reviewing the patch. Please see my comment(s):
>>
>> On 8/19/2020 7:06 PM, Ryan Chen wrote:
>>> Hi
>>>> -----Original Message-----
>>>> From: Thirupathaiah Annapureddy [mailto:thiruan at linux.microsoft.com]
>>>> Sent: Thursday, August 20, 2020 8:16 AM
>>>> To: u-boot at lists.denx.de
>>>> Cc: Maxim Sloyko <maxims@google.com>; Marek Vasut <marex@denx.de>;
>>>> ChiaWei Wang <chiawei_wang@aspeedtech.com>; Ryan Chen
>>>> <ryan_chen@aspeedtech.com>
>>>> Subject: Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
>>>>
>>>> Adding Ryan and Chiawei to the list.
>>>>
>>>> On 8/17/2020 5:53 PM, Thirupathaiah Annapureddy wrote:
>>>>> Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of for
>>>>> all aspeed targets.
>>>
>>> There should not have to many Kconfig for ASPEED platform.
>> When you build U-Boot, you have to provide a platform specific defconfig
>> as the target. ex: evb-ast2500_defconfig.
>> defconfig specifies the platform specific device tree file.
>> ex: CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
>>
>> I do not see any reason to make other device trees (ex: ast2600a0-evb.dtb)
>> when we are building for evb-ast2500.
>
> It keeps the Makefile logic clearer and makes future moves towards more
> platforms in a single binary easier if we just build all of the dtb
> files.
>
ast2400 is based on ARM926EJ-S processor (ARMv5-architecture).
ast2500 is based on ARM1176JZS processor (ARMv6-architecture).
ast2600 is based on Cortex A7 processor (ARMv7-A architecture).
Each of the above SOC is using a different ARM CPU(s) with different ARM
architecture revision. Is it possible for single binary to support multiple
platforms based on above SOCs?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
2020-08-23 5:24 ` Thirupathaiah Annapureddy
@ 2020-08-23 20:02 ` Tom Rini
0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2020-08-23 20:02 UTC (permalink / raw)
To: u-boot
On Sat, Aug 22, 2020 at 10:24:58PM -0700, Thirupathaiah Annapureddy wrote:
>
>
> On 8/20/2020 5:03 PM, Tom Rini wrote:
> > On Thu, Aug 20, 2020 at 02:09:55PM -0700, Thirupathaiah Annapureddy wrote:
> >> Hi Ryan,
> >>
> >> Thanks for reviewing the patch. Please see my comment(s):
> >>
> >> On 8/19/2020 7:06 PM, Ryan Chen wrote:
> >>> Hi
> >>>> -----Original Message-----
> >>>> From: Thirupathaiah Annapureddy [mailto:thiruan at linux.microsoft.com]
> >>>> Sent: Thursday, August 20, 2020 8:16 AM
> >>>> To: u-boot at lists.denx.de
> >>>> Cc: Maxim Sloyko <maxims@google.com>; Marek Vasut <marex@denx.de>;
> >>>> ChiaWei Wang <chiawei_wang@aspeedtech.com>; Ryan Chen
> >>>> <ryan_chen@aspeedtech.com>
> >>>> Subject: Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target
> >>>>
> >>>> Adding Ryan and Chiawei to the list.
> >>>>
> >>>> On 8/17/2020 5:53 PM, Thirupathaiah Annapureddy wrote:
> >>>>> Include ast2500-evb.dtb for CONFIG_TARGET_EVB_AST2500 instead of for
> >>>>> all aspeed targets.
> >>>
> >>> There should not have to many Kconfig for ASPEED platform.
> >> When you build U-Boot, you have to provide a platform specific defconfig
> >> as the target. ex: evb-ast2500_defconfig.
> >> defconfig specifies the platform specific device tree file.
> >> ex: CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
> >>
> >> I do not see any reason to make other device trees (ex: ast2600a0-evb.dtb)
> >> when we are building for evb-ast2500.
> >
> > It keeps the Makefile logic clearer and makes future moves towards more
> > platforms in a single binary easier if we just build all of the dtb
> > files.
> >
> ast2400 is based on ARM926EJ-S processor (ARMv5-architecture).
> ast2500 is based on ARM1176JZS processor (ARMv6-architecture).
> ast2600 is based on Cortex A7 processor (ARMv7-A architecture).
>
> Each of the above SOC is using a different ARM CPU(s) with different ARM
> architecture revision. Is it possible for single binary to support multiple
> platforms based on above SOCs?
Thanks for the details. It depends on thee goals and needs. There's
probably some hurdles to supporting v5/v6 and v7 in a single binary.
But yes, if we aren't supporting all 3 of those families yet, we should
include and build the families we can support. But that would still
mean all ast2500 DTBs for example still.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200823/af8c69cf/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-08-23 20:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-18 0:53 [PATCH] arm: dts: fix ast2500-evb inclusion for correct target Thirupathaiah Annapureddy
2020-08-20 0:15 ` Thirupathaiah Annapureddy
2020-08-20 2:06 ` Ryan Chen
2020-08-20 21:09 ` Thirupathaiah Annapureddy
2020-08-21 0:03 ` Tom Rini
2020-08-23 5:24 ` Thirupathaiah Annapureddy
2020-08-23 20:02 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox