Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-20 Thread Jerome Forissier
Hi, On 5/11/22 17:35, Jerome Forissier wrote: > This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip > platforms. > > Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format > in addition to the ELF data. They are essential information for proper > initializatio

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-02 Thread Alper Nebi Yasak
On 02/06/2022 13:43, Jens Wiklander wrote: > On Thu, Jun 2, 2022 at 9:50 AM Jerome Forissier > wrote: >> On 5/29/22 18:08, Alper Nebi Yasak wrote: >>> Why I am asking these is that I'm hypothesizing we can put the >>> unmodified 'tee.bin' (including header) and 'bl31.elf' (normally split >>> into

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-02 Thread Jens Wiklander
Hi, On Thu, Jun 2, 2022 at 9:50 AM Jerome Forissier wrote: > > > > On 5/29/22 18:08, Alper Nebi Yasak wrote: > > On 28/05/2022 01:08, Jerome Forissier wrote: > >> On 5/27/22 21:24, Alper Nebi Yasak wrote: > >>> On 11/05/2022 18:35, Jerome Forissier wrote: > +if paged_sz != 0: >

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-02 Thread Jerome Forissier
On 5/29/22 18:08, Alper Nebi Yasak wrote: > On 28/05/2022 01:08, Jerome Forissier wrote: >> On 5/27/22 21:24, Alper Nebi Yasak wrote: >>> On 11/05/2022 18:35, Jerome Forissier wrote: +if paged_sz != 0: +raise ValueError("OP-TEE paged mode not supported") >>> >>> Is

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-05-29 Thread Alper Nebi Yasak
On 28/05/2022 01:08, Jerome Forissier wrote: > On 5/27/22 21:24, Alper Nebi Yasak wrote: >> On 11/05/2022 18:35, Jerome Forissier wrote: >>> +if paged_sz != 0: >>> +raise ValueError("OP-TEE paged mode not supported") >> >> Is this not feasible/necessary to do, or just not implem

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-05-27 Thread Jerome Forissier
On 5/27/22 21:24, Alper Nebi Yasak wrote: > On 11/05/2022 18:35, Jerome Forissier wrote: >> This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip >> platforms. >> >> Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format >> in addition to the ELF data. They are

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-05-27 Thread Alper Nebi Yasak
On 11/05/2022 18:35, Jerome Forissier wrote: > This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip > platforms. > > Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format > in addition to the ELF data. They are essential information for proper > initialization

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-05-26 Thread Kever Yang
On 2022/5/11 23:35, Jerome Forissier wrote: This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip platforms. Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format in addition to the ELF data. They are essential information for proper initialization of the TE

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-05-11 Thread Peter Griffin
Hi Jerome, On Wed, 11 May 2022 at 16:36, Jerome Forissier wrote: > This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip > platforms. > > Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format > in addition to the ELF data. They are essential information for pr

[PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-05-11 Thread Jerome Forissier
This commit adds support for the OP-TEE 'tee.bin' v1 format for Rockchip platforms. Since OP-TEE 3.8.0, tee.bin contains meta-data in a proprietary format in addition to the ELF data. They are essential information for proper initialization of the TEE core, such as the size of the memory region co