mbox series

[0/7] ARM32/64: DT overlay build support

Message ID 1535459532-17211-1-git-send-email-t-kristo@ti.com
Headers show
Series ARM32/64: DT overlay build support | expand

Message

Tero Kristo Aug. 28, 2018, 12:32 p.m. UTC
Hi,

This series introduces devicetree overlay building support for ARM
platforms. The .dtbo target is introduced globally, then makefile
changes for both arm32/64 for supporting the .dtbo target, changes
to support sub-dir makefile flags, and finally adding the DTC flags
override for TI platforms, as that is where we want to introduce
the DT overlay support initially.

The ARM makefile changes for supporting DTS sub-makefiles don't look
too clean, but that was the only way I could figure out how to
get it done.

-Tero

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

Comments

Frank Rowand Aug. 29, 2018, 6:40 p.m. UTC | #1
+ Mark Rutland, just in case he is interested

On 08/28/18 05:32, Tero Kristo wrote:
> Hi,

> 

> This series introduces devicetree overlay building support for ARM

> platforms. The .dtbo target is introduced globally, then makefile

> changes for both arm32/64 for supporting the .dtbo target, changes

> to support sub-dir makefile flags, and finally adding the DTC flags

> override for TI platforms, as that is where we want to introduce

> the DT overlay support initially.

> 

> The ARM makefile changes for supporting DTS sub-makefiles don't look

> too clean, but that was the only way I could figure out how to

> get it done.

> 

> -Tero

> 

> --

> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

> 


This series does three unrelated things:

(1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/

(2) create a rule for creating a .dtbo from a .dtso

(3) add a dtc compile flag to add phandle symbol information to
    all .dtb files created from arch/arm/boot/dts/ti/ and
    arch/arm64/boot/dts/ti/

Please split the patches into three independent series so that
each of the three concepts can be discussed separately.

Thanks,

Frank
Tero Kristo Aug. 30, 2018, 5:12 p.m. UTC | #2
On 29/08/18 21:40, Frank Rowand wrote:
> + Mark Rutland, just in case he is interested

> 

> On 08/28/18 05:32, Tero Kristo wrote:

>> Hi,

>>

>> This series introduces devicetree overlay building support for ARM

>> platforms. The .dtbo target is introduced globally, then makefile

>> changes for both arm32/64 for supporting the .dtbo target, changes

>> to support sub-dir makefile flags, and finally adding the DTC flags

>> override for TI platforms, as that is where we want to introduce

>> the DT overlay support initially.

>>

>> The ARM makefile changes for supporting DTS sub-makefiles don't look

>> too clean, but that was the only way I could figure out how to

>> get it done.

>>

>> -Tero

>>

>> --

>>

> 

> This series does three unrelated things:


Well, I was kind of trying to show the whole solution here but...

> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/

> 

> (2) create a rule for creating a .dtbo from a .dtso

> 

> (3) add a dtc compile flag to add phandle symbol information to

>      all .dtb files created from arch/arm/boot/dts/ti/ and

>      arch/arm64/boot/dts/ti/

> 

> Please split the patches into three independent series so that

> each of the three concepts can be discussed separately. 


Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to 
do it today.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Frank Rowand Aug. 30, 2018, 8:32 p.m. UTC | #3
Hi Tero,

(Really adding Mark as a cc: this time.  Last time I added him as
a bcc: by mistake.)


On 08/30/18 10:12, Tero Kristo wrote:
> On 29/08/18 21:40, Frank Rowand wrote:

>> + Mark Rutland, just in case he is interested

>>

>> On 08/28/18 05:32, Tero Kristo wrote:

>>> Hi,

>>>

>>> This series introduces devicetree overlay building support for ARM

>>> platforms. The .dtbo target is introduced globally, then makefile

>>> changes for both arm32/64 for supporting the .dtbo target, changes

>>> to support sub-dir makefile flags, and finally adding the DTC flags

>>> override for TI platforms, as that is where we want to introduce

>>> the DT overlay support initially.

>>>

>>> The ARM makefile changes for supporting DTS sub-makefiles don't look

>>> too clean, but that was the only way I could figure out how to

>>> get it done.

>>>

>>> -Tero

>>>

>>> -- 

>>>

>>

>> This series does three unrelated things:

> 

> Well, I was kind of trying to show the whole solution here but...


That actually makes sense, and normally I wouldn't have asked for the
split.  It might be the case that I am being too cautious, and maybe
there won't be much discussion at all.  I was just concerned that in
this case some of the concepts might get overlooked due to discussion
of other concepts.  I'm also expecting different people to care
about each of the concepts.

> 

>> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/

>>

>> (2) create a rule for creating a .dtbo from a .dtso

>>

>> (3) add a dtc compile flag to add phandle symbol information to

>>      all .dtb files created from arch/arm/boot/dts/ti/ and

>>      arch/arm64/boot/dts/ti/

>>

>> Please split the patches into three independent series so that

>> each of the three concepts can be discussed separately. 

> 

> Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to do it today.


Thanks, I appreciate your flexibility.

-Frank

> 

> -Tero

> -- 

> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

>
Tero Kristo Sept. 3, 2018, 9:03 a.m. UTC | #4
On 30/08/18 23:32, Frank Rowand wrote:
> Hi Tero,

> 

> (Really adding Mark as a cc: this time.  Last time I added him as

> a bcc: by mistake.)

> 

> 

> On 08/30/18 10:12, Tero Kristo wrote:

>> On 29/08/18 21:40, Frank Rowand wrote:

>>> + Mark Rutland, just in case he is interested

>>>

>>> On 08/28/18 05:32, Tero Kristo wrote:

>>>> Hi,

>>>>

>>>> This series introduces devicetree overlay building support for ARM

>>>> platforms. The .dtbo target is introduced globally, then makefile

>>>> changes for both arm32/64 for supporting the .dtbo target, changes

>>>> to support sub-dir makefile flags, and finally adding the DTC flags

>>>> override for TI platforms, as that is where we want to introduce

>>>> the DT overlay support initially.

>>>>

>>>> The ARM makefile changes for supporting DTS sub-makefiles don't look

>>>> too clean, but that was the only way I could figure out how to

>>>> get it done.

>>>>

>>>> -Tero

>>>>

>>>> -- 

>>>>

>>>

>>> This series does three unrelated things:

>>

>> Well, I was kind of trying to show the whole solution here but...

> 

> That actually makes sense, and normally I wouldn't have asked for the

> split.  It might be the case that I am being too cautious, and maybe

> there won't be much discussion at all.  I was just concerned that in

> this case some of the concepts might get overlooked due to discussion

> of other concepts.  I'm also expecting different people to care

> about each of the concepts.

> 

>>

>>> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/

>>>

>>> (2) create a rule for creating a .dtbo from a .dtso

>>>

>>> (3) add a dtc compile flag to add phandle symbol information to

>>>       all .dtb files created from arch/arm/boot/dts/ti/ and

>>>       arch/arm64/boot/dts/ti/

>>>

>>> Please split the patches into three independent series so that

>>> each of the three concepts can be discussed separately.

>>

>> Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to do it today.

> 

> Thanks, I appreciate your flexibility.


Hi Frank,

I did post v2 as a split series on Friday, but seems I missed adding you 
in the delivery for those by accident... sorry about that. Do you want 
me to repost or can you pick those from the devicetree list?

-Tero

> 

> -Frank

> 

>>

>> -Tero

>> -- 

>>

> 


--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Frank Rowand Sept. 3, 2018, 5:26 p.m. UTC | #5
Hi Tero,

On 09/03/18 02:03, Tero Kristo wrote:
> On 30/08/18 23:32, Frank Rowand wrote:

>> Hi Tero,

>>

>> (Really adding Mark as a cc: this time.  Last time I added him as

>> a bcc: by mistake.)

>>

>>

>> On 08/30/18 10:12, Tero Kristo wrote:

>>> On 29/08/18 21:40, Frank Rowand wrote:

>>>> + Mark Rutland, just in case he is interested

>>>>

>>>> On 08/28/18 05:32, Tero Kristo wrote:

>>>>> Hi,

>>>>>

>>>>> This series introduces devicetree overlay building support for ARM

>>>>> platforms. The .dtbo target is introduced globally, then makefile

>>>>> changes for both arm32/64 for supporting the .dtbo target, changes

>>>>> to support sub-dir makefile flags, and finally adding the DTC flags

>>>>> override for TI platforms, as that is where we want to introduce

>>>>> the DT overlay support initially.

>>>>>

>>>>> The ARM makefile changes for supporting DTS sub-makefiles don't look

>>>>> too clean, but that was the only way I could figure out how to

>>>>> get it done.

>>>>>

>>>>> -Tero

>>>>>

>>>>> -- 

>>>>>

>>>>

>>>> This series does three unrelated things:

>>>

>>> Well, I was kind of trying to show the whole solution here but...

>>

>> That actually makes sense, and normally I wouldn't have asked for the

>> split.  It might be the case that I am being too cautious, and maybe

>> there won't be much discussion at all.  I was just concerned that in

>> this case some of the concepts might get overlooked due to discussion

>> of other concepts.  I'm also expecting different people to care

>> about each of the concepts.

>>

>>>

>>>> (1) create a ti specific dts subdirectory arch/arm/boot/dts/ti/

>>>>

>>>> (2) create a rule for creating a .dtbo from a .dtso

>>>>

>>>> (3) add a dtc compile flag to add phandle symbol information to

>>>>       all .dtb files created from arch/arm/boot/dts/ti/ and

>>>>       arch/arm64/boot/dts/ti/

>>>>

>>>> Please split the patches into three independent series so that

>>>> each of the three concepts can be discussed separately.

>>>

>>> Ok will do that, hopefully tomorrow. Didn't manage to squeeze in time to do it today.

>>

>> Thanks, I appreciate your flexibility.

> 

> Hi Frank,

> 

> I did post v2 as a split series on Friday, but seems I missed adding

> you in the delivery for those by accident... sorry about that. Do you

> want me to repost or can you pick those from the devicetree list?


Yes, please repost to be sure I see all the replys.

Thanks,

Frank


> -Tero

> 

>>

>> -Frank

>>

>>>

>>> -Tero

>>> -- 

>>>

>>

> 

> -- 

> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

>