Hi all,
Please let us know your requests for Lopper-specific topics for next Tuesday's call.
Thanks & regards, Nathalie
-----Original Appointment----- From: Nathalie Chan King Choy Sent: Friday, April 29, 2022 8:44 AM To: Nathalie Chan King Choy; Stefano Stabellini; Bruce Ashfield; Bill Mills; Loic PALLARDY; Arnaud POULIQUEN; Bolivar, Marti; 'system-dt@lists.openampproject.org' Cc: Andrew Wafaa; christopher.w.clark@gmail.com; Tanmay Shah; Felix Burton; Sudeep Holla; joakim.bech@linaro.org; Tomas Evensen Subject: System Device Tree - Lopper When: Tuesday, May 10, 2022 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada). Where: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am...
Hi all,
At the OpenAMP TSC, we discussed having a Lopper-focused call in early May.
Notes from the previous System DT call https://github.com/OpenAMP/open-amp/wiki/System-Device-Tree-Meeting-Notes-20...
For system-dt mailing list archives, and to subscribe/unsubscribe someone: https://lists.openampproject.org/mailman3/lists/system-dt.lists.openampproje...
Thanks & regards,
Nathalie
[https://st2.zoom.us/static/6.1.6144/image/new/ZoomLogo_110_25.png]https://zoom.us/ Hi there, Nathalie Chan King Choy is inviting you to a scheduled Zoom meeting. Join Zoom Meetinghttps://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&from=addon Phone one-tap: US: +17209289299,,96170643686#,,,,,,0#,,5608505361#tel:+17209289299,,96170643686#,,,,,,0#,,5608505361# or +19292056099,,96170643686#,,,,,,0#,,5608505361#tel:+19292056099,,96170643686#,,,,,,0#,,5608505361# Meeting URL: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am... Meeting ID: 961 7064 3686 Passcode: UdbZD7$=eN Join by Telephone For higher quality, dial a number based on your current location. Dial:
US: +1 720 928 9299 or +1 929 205 6099 or +1 669 900 6833 or 877 853 5257 (Toll Free) or 888 475 4499 (Toll Free) or 833 548 0276 (Toll Free) or 833 548 0282 (Toll Free) India: +91 116 480 2722 or +91 22 48 798 004 or +91 224 879 8012 or +91 225 097 2742 or +91 225 097 2743 or +91 225 097 2744 or +91 225 097 2745 or +91 226 480 2722 or +91 22 71 279 525 or +91 406 480 2722 or +91 446 480 2722 or +91 806 480 2722 or +91 80 71 279 440 or 000 800 001 4002 (Toll Free) or 000 800 050 5050 (Toll Free) Ireland: +353 1 653 3895 or +353 6 163 9031 or +353 1 536 9320 or 1800 943 965 (Toll Free) or 1800 949 238 (Toll Free) or 1800 901 561 (Toll Free) Singapore: +65 3158 7288 or +65 3165 1065 or 800 101 3814 (Toll Free) or 800 852 6054 (Toll Free) or 1800 407 5602 (Toll Free) Meeting ID: 961 7064 3686 Passcode: 5608505361 International numbershttps://xilinx.zoom.us/u/avV9fBlke Join from a Video Conference room system Meeting ID: 961 7064 3686 Passcode: 5608505361 US: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 APAC: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 India: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 Europe: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 SIP: 96170643686@zoomcrc.commailto:96170643686@zoomcrc.com Passcode: 5608505361
Hi Nathalie,
We would like to discuss a generic way to transform dts file in c-struct for baremetal/rtos environment. An initial lopper assist is under development on ST side and we would like to get feedbacks and see it is possible to have some synergies with other projects.
Regards, Loic
ST Restricted From: Nathalie Chan King Choy nathalie@xilinx.com Sent: Thursday, May 5, 2022 12:25 AM To: Stefano Stabellini stefanos@xilinx.com; Bruce Ashfield brucea@xilinx.com; Bill Mills bill.mills@linaro.org; Loic PALLARDY loic.pallardy@st.com; Arnaud POULIQUEN arnaud.pouliquen@st.com; Bolivar, Marti Marti.Bolivar@nordicsemi.no; 'system-dt@lists.openampproject.org' system-dt@lists.openampproject.org Subject: Calling for agenda: 2022-05-10 System Device Tree - Lopper
Hi all,
Please let us know your requests for Lopper-specific topics for next Tuesday's call.
Thanks & regards, Nathalie
-----Original Appointment----- From: Nathalie Chan King Choy Sent: Friday, April 29, 2022 8:44 AM To: Nathalie Chan King Choy; Stefano Stabellini; Bruce Ashfield; Bill Mills; Loic PALLARDY; Arnaud POULIQUEN; Bolivar, Marti; 'system-dt@lists.openampproject.org' Cc: Andrew Wafaa; christopher.w.clark@gmail.commailto:christopher.w.clark@gmail.com; Tanmay Shah; Felix Burton; Sudeep Holla; joakim.bech@linaro.orgmailto:joakim.bech@linaro.org; Tomas Evensen Subject: System Device Tree - Lopper When: Tuesday, May 10, 2022 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada). Where: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am...
Hi all,
At the OpenAMP TSC, we discussed having a Lopper-focused call in early May.
Notes from the previous System DT call https://github.com/OpenAMP/open-amp/wiki/System-Device-Tree-Meeting-Notes-20...
For system-dt mailing list archives, and to subscribe/unsubscribe someone: https://lists.openampproject.org/mailman3/lists/system-dt.lists.openampproje...
Thanks & regards,
Nathalie
[https://st2.zoom.us/static/6.1.6144/image/new/ZoomLogo_110_25.png]https://zoom.us/ Hi there, Nathalie Chan King Choy is inviting you to a scheduled Zoom meeting. Join Zoom Meetinghttps://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&from=addon Phone one-tap: US: +17209289299,,96170643686#,,,,,,0#,,5608505361#tel:+17209289299,,96170643686#,,,,,,0#,,5608505361# or +19292056099,,96170643686#,,,,,,0#,,5608505361#tel:+19292056099,,96170643686#,,,,,,0#,,5608505361# Meeting URL: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am... Meeting ID: 961 7064 3686 Passcode: UdbZD7$=eN Join by Telephone For higher quality, dial a number based on your current location. Dial:
US: +1 720 928 9299 or +1 929 205 6099 or +1 669 900 6833 or 877 853 5257 (Toll Free) or 888 475 4499 (Toll Free) or 833 548 0276 (Toll Free) or 833 548 0282 (Toll Free) India: +91 116 480 2722 or +91 22 48 798 004 or +91 224 879 8012 or +91 225 097 2742 or +91 225 097 2743 or +91 225 097 2744 or +91 225 097 2745 or +91 226 480 2722 or +91 22 71 279 525 or +91 406 480 2722 or +91 446 480 2722 or +91 806 480 2722 or +91 80 71 279 440 or 000 800 001 4002 (Toll Free) or 000 800 050 5050 (Toll Free) Ireland: +353 1 653 3895 or +353 6 163 9031 or +353 1 536 9320 or 1800 943 965 (Toll Free) or 1800 949 238 (Toll Free) or 1800 901 561 (Toll Free) Singapore: +65 3158 7288 or +65 3165 1065 or 800 101 3814 (Toll Free) or 800 852 6054 (Toll Free) or 1800 407 5602 (Toll Free) Meeting ID: 961 7064 3686 Passcode: 5608505361 International numbershttps://xilinx.zoom.us/u/avV9fBlke Join from a Video Conference room system Meeting ID: 961 7064 3686 Passcode: 5608505361 US: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 APAC: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 India: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 Europe: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 SIP: 96170643686@zoomcrc.commailto:96170643686@zoomcrc.com Passcode: 5608505361
+ Anirudha whose team worked on bare metal assist I've forwarded the call invitation to Anirudha, Alexandre & Valentin
From: Loic PALLARDY loic.pallardy@st.com Sent: Thursday, May 5, 2022 6:26 AM To: Nathalie Chan King Choy nathalie@xilinx.com; Stefano Stabellini stefanos@xilinx.com; Bruce Ashfield brucea@xilinx.com; Bill Mills bill.mills@linaro.org; Arnaud POULIQUEN arnaud.pouliquen@st.com; Bolivar, Marti Marti.Bolivar@nordicsemi.no; 'system-dt@lists.openampproject.org' system-dt@lists.openampproject.org Cc: Alexandre TORGUE alexandre.torgue@st.com; Valentin CARON valentin.caron@st.com Subject: RE: Calling for agenda: 2022-05-10 System Device Tree - Lopper
Hi Nathalie,
We would like to discuss a generic way to transform dts file in c-struct for baremetal/rtos environment. An initial lopper assist is under development on ST side and we would like to get feedbacks and see it is possible to have some synergies with other projects.
Regards, Loic
ST Restricted From: Nathalie Chan King Choy <nathalie@xilinx.commailto:nathalie@xilinx.com> Sent: Thursday, May 5, 2022 12:25 AM To: Stefano Stabellini <stefanos@xilinx.commailto:stefanos@xilinx.com>; Bruce Ashfield <brucea@xilinx.commailto:brucea@xilinx.com>; Bill Mills <bill.mills@linaro.orgmailto:bill.mills@linaro.org>; Loic PALLARDY <loic.pallardy@st.commailto:loic.pallardy@st.com>; Arnaud POULIQUEN <arnaud.pouliquen@st.commailto:arnaud.pouliquen@st.com>; Bolivar, Marti <Marti.Bolivar@nordicsemi.nomailto:Marti.Bolivar@nordicsemi.no>; 'system-dt@lists.openampproject.org' <system-dt@lists.openampproject.orgmailto:system-dt@lists.openampproject.org> Subject: Calling for agenda: 2022-05-10 System Device Tree - Lopper
Hi all,
Please let us know your requests for Lopper-specific topics for next Tuesday's call.
Thanks & regards, Nathalie
-----Original Appointment----- From: Nathalie Chan King Choy Sent: Friday, April 29, 2022 8:44 AM To: Nathalie Chan King Choy; Stefano Stabellini; Bruce Ashfield; Bill Mills; Loic PALLARDY; Arnaud POULIQUEN; Bolivar, Marti; 'system-dt@lists.openampproject.org' Cc: Andrew Wafaa; christopher.w.clark@gmail.commailto:christopher.w.clark@gmail.com; Tanmay Shah; Felix Burton; Sudeep Holla; joakim.bech@linaro.orgmailto:joakim.bech@linaro.org; Tomas Evensen Subject: System Device Tree - Lopper When: Tuesday, May 10, 2022 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada). Where: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am...
Hi all,
At the OpenAMP TSC, we discussed having a Lopper-focused call in early May.
Notes from the previous System DT call https://github.com/OpenAMP/open-amp/wiki/System-Device-Tree-Meeting-Notes-20...
For system-dt mailing list archives, and to subscribe/unsubscribe someone: https://lists.openampproject.org/mailman3/lists/system-dt.lists.openampproje...
Thanks & regards,
Nathalie
[https://st2.zoom.us/static/6.1.6144/image/new/ZoomLogo_110_25.png]https://zoom.us/ Hi there, Nathalie Chan King Choy is inviting you to a scheduled Zoom meeting. Join Zoom Meetinghttps://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&from=addon Phone one-tap: US: +17209289299,,96170643686#,,,,,,0#,,5608505361#tel:+17209289299,,96170643686#,,,,,,0#,,5608505361# or +19292056099,,96170643686#,,,,,,0#,,5608505361#tel:+19292056099,,96170643686#,,,,,,0#,,5608505361# Meeting URL: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am... Meeting ID: 961 7064 3686 Passcode: UdbZD7$=eN Join by Telephone For higher quality, dial a number based on your current location. Dial:
US: +1 720 928 9299 or +1 929 205 6099 or +1 669 900 6833 or 877 853 5257 (Toll Free) or 888 475 4499 (Toll Free) or 833 548 0276 (Toll Free) or 833 548 0282 (Toll Free) India: +91 116 480 2722 or +91 22 48 798 004 or +91 224 879 8012 or +91 225 097 2742 or +91 225 097 2743 or +91 225 097 2744 or +91 225 097 2745 or +91 226 480 2722 or +91 22 71 279 525 or +91 406 480 2722 or +91 446 480 2722 or +91 806 480 2722 or +91 80 71 279 440 or 000 800 001 4002 (Toll Free) or 000 800 050 5050 (Toll Free) Ireland: +353 1 653 3895 or +353 6 163 9031 or +353 1 536 9320 or 1800 943 965 (Toll Free) or 1800 949 238 (Toll Free) or 1800 901 561 (Toll Free) Singapore: +65 3158 7288 or +65 3165 1065 or 800 101 3814 (Toll Free) or 800 852 6054 (Toll Free) or 1800 407 5602 (Toll Free) Meeting ID: 961 7064 3686 Passcode: 5608505361 International numbershttps://xilinx.zoom.us/u/avV9fBlke Join from a Video Conference room system Meeting ID: 961 7064 3686 Passcode: 5608505361 US: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 APAC: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 India: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 Europe: 96170643686@global.zoomcrc.commailto:96170643686@global.zoomcrc.com Passcode: 5608505361 SIP: 96170643686@zoomcrc.commailto:96170643686@zoomcrc.com Passcode: 5608505361
If there is time, I would like to discuss the automatic generation of Xen passthrough device tree config files using lopper.
On Thu, 5 May 2022, Nathalie Chan King Choy wrote:
- Anirudha whose team worked on bare metal assist
I’ve forwarded the call invitation to Anirudha, Alexandre & Valentin
From: Loic PALLARDY loic.pallardy@st.com Sent: Thursday, May 5, 2022 6:26 AM To: Nathalie Chan King Choy nathalie@xilinx.com; Stefano Stabellini stefanos@xilinx.com; Bruce Ashfield brucea@xilinx.com; Bill Mills bill.mills@linaro.org; Arnaud POULIQUEN arnaud.pouliquen@st.com; Bolivar, Marti Marti.Bolivar@nordicsemi.no; 'system-dt@lists.openampproject.org' system-dt@lists.openampproject.org Cc: Alexandre TORGUE alexandre.torgue@st.com; Valentin CARON valentin.caron@st.com Subject: RE: Calling for agenda: 2022-05-10 System Device Tree - Lopper
Hi Nathalie,
We would like to discuss a generic way to transform dts file in c-struct for baremetal/rtos environment.
An initial lopper assist is under development on ST side and we would like to get feedbacks and see it is possible to have some synergies with other projects.
Regards,
Loic
ST Restricted
From: Nathalie Chan King Choy nathalie@xilinx.com Sent: Thursday, May 5, 2022 12:25 AM To: Stefano Stabellini stefanos@xilinx.com; Bruce Ashfield brucea@xilinx.com; Bill Mills bill.mills@linaro.org; Loic PALLARDY loic.pallardy@st.com; Arnaud POULIQUEN arnaud.pouliquen@st.com; Bolivar, Marti Marti.Bolivar@nordicsemi.no; 'system-dt@lists.openampproject.org' system-dt@lists.openampproject.org Subject: Calling for agenda: 2022-05-10 System Device Tree - Lopper
Hi all,
Please let us know your requests for Lopper-specific topics for next Tuesday’s call.
Thanks & regards,
Nathalie
-----Original Appointment----- From: Nathalie Chan King Choy Sent: Friday, April 29, 2022 8:44 AM To: Nathalie Chan King Choy; Stefano Stabellini; Bruce Ashfield; Bill Mills; Loic PALLARDY; Arnaud POULIQUEN; Bolivar, Marti; 'system-dt@lists.openampproject.org' Cc: Andrew Wafaa; christopher.w.clark@gmail.com; Tanmay Shah; Felix Burton; Sudeep Holla; joakim.bech@linaro.org; Tomas Evensen Subject: System Device Tree - Lopper When: Tuesday, May 10, 2022 8:00 AM-9:00 AM (UTC-08:00) Pacific Time (US & Canada). Where: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&am...
Hi all,
At the OpenAMP TSC, we discussed having a Lopper-focused call in early May.
Notes from the previous System DT call https://github.com/OpenAMP/open-amp/wiki/System-Device-Tree-Meeting-Notes-20...
For system-dt mailing list archives, and to subscribe/unsubscribe someone:
https://lists.openampproject.org/mailman3/lists/system-dt.lists.openampproje...
Thanks & regards,
Nathalie
[ZoomLogo_110_25.png] Hi there, Nathalie Chan King Choy is inviting you to a scheduled Zoom meeting. Join Zoom Meeting Phone one-tap: US: +17209289299,,96170643686#,,,,,,0#,,5608505361# or +19292056099,,96170643686#,,,,,,0#,,5608505361# Meeting URL: https://xilinx.zoom.us/j/96170643686?pwd=VWViYTdLZFpQK1Zac0U0S3dJQy9rdz09&from=addon Meeting ID: 961 7064 3686 Passcode: UdbZD7$=eN Join by Telephone For higher quality, dial a number based on your current location. Dial:
US: +1 720 928 9299 or +1 929 205 6099 or +1 669 900 6833 or 877 853 5257 (Toll Free) or 888 475 4499 (Toll Free) or 833 548 0276 (Toll Free) or 833 548 0282 (Toll Free) India: +91 116 480 2722 or +91 22 48 798 004 or +91 224 879 8012 or +91 225 097 2742 or +91 225 097 2743 or +91 225 097 2744 or +91 225 097 2745 or +91 226 480 2722 or +91 22 71 279 525 or +91 406 480 2722 or +91 446 480 2722 or +91 806 480 2722 or +91 80 71 279 440 or 000 800 001 4002 (Toll Free) or 000 800 050 5050 (Toll Free) Ireland: +353 1 653 3895 or +353 6 163 9031 or +353 1 536 9320 or 1800 943 965 (Toll Free) or 1800 949 238 (Toll Free) or 1800 901 561 (Toll Free) Singapore: +65 3158 7288 or +65 3165 1065 or 800 101 3814 (Toll Free) or 800 852 6054 (Toll Free) or 1800 407 5602 (Toll Free)
Meeting ID: 961 7064 3686 Passcode: 5608505361 International numbers Join from a Video Conference room system Meeting ID: 961 7064 3686 Passcode: 5608505361 US: 96170643686@global.zoomcrc.com Passcode: 5608505361 APAC: 96170643686@global.zoomcrc.com Passcode: 5608505361 India: 96170643686@global.zoomcrc.com Passcode: 5608505361 Europe: 96170643686@global.zoomcrc.com Passcode: 5608505361 SIP: 96170643686@zoomcrc.com Passcode: 5608505361
Hi,
Coming back to this discussion, I said during the meeting that I would release the work I've done with lopper for C code generation from device tree.
Here you will find my lopper fork: https://github.com/ValentinGrim/lopper
I have also attached the slides that I presented. Please let me know if you have any comments or suggestions.
Regards, Valentin.
ST Restricted
On Thu, May 5, 2022 at 8:26 AM Loic PALLARDY via System-dt system-dt@lists.openampproject.org wrote:
Hi Nathalie,
We would like to discuss a generic way to transform dts file in c-struct for baremetal/rtos environment.
My suggestion would be to use the DT schema. The flow would be something like this:
dts---------------->dtb---------+-->C struct declarations | schemas-->C struct definitions--+
The information is all there in the schemas. It's used to decode byte arrays in dtbs into the appropriate types for schema validation. Patterns with '#*-cells' need some code to handle if you want to split the entries (i.e. anything more than an array of u32's). Not really any way around that.
While dts files (may) have some amount of type information in them, having been down the path of using that, I would not recommend any solution doing that. Any type information may not be there to begin with and it's lost in any processing whether that's the dtb file or a dts to dts pass.
Rob
Hi Rob,
ST Restricted
-----Original Message----- From: Rob Herring robh@kernel.org Sent: Thursday, May 5, 2022 6:17 PM To: Loic PALLARDY loic.pallardy@st.com Cc: Nathalie Chan King Choy nathalie@xilinx.com; Stefano Stabellini stefanos@xilinx.com; Bruce Ashfield brucea@xilinx.com; Bill Mills bill.mills@linaro.org; Arnaud POULIQUEN arnaud.pouliquen@st.com; Bolivar, Marti Marti.Bolivar@nordicsemi.no; system- dt@lists.openampproject.org; Valentin CARON valentin.caron@st.com Subject: Re: [System-dt] Re: Calling for agenda: 2022-05-10 System Device Tree - Lopper
On Thu, May 5, 2022 at 8:26 AM Loic PALLARDY via System-dt system-dt@lists.openampproject.org wrote:
Hi Nathalie,
We would like to discuss a generic way to transform dts file in c-struct for
baremetal/rtos environment.
My suggestion would be to use the DT schema. The flow would be something like this:
dts---------------->dtb---------+-->C struct declarations | schemas-->C struct definitions--+
That's what we prototyped based on lopper and assist capabilities. We would like to get feedbacks to know it is enough generic to be used by any SoC and any RTOS.
Loic
The information is all there in the schemas. It's used to decode byte arrays in dtbs into the appropriate types for schema validation. Patterns with '#*-cells' need some code to handle if you want to split the entries (i.e. anything more than an array of u32's). Not really any way around that.
While dts files (may) have some amount of type information in them, having been down the path of using that, I would not recommend any solution doing that. Any type information may not be there to begin with and it's lost in any processing whether that's the dtb file or a dts to dts pass.
Rob
system-dt@lists.openampproject.org