Re: [PATCH v2 7/8] board: ti: j721e: During resume spl restores TF-A and DM-Firmware

2023-11-09 Thread Andrew Davis
On 11/9/23 5:29 AM, Thomas Richard wrote: On 11/8/23 18:30, Andrew Davis wrote:   void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)   {   typedef void __noreturn (*image_entry_noargs_t)(void); @@ -235,6 +241,32 @@ void __noreturn jump_to_image_no_args(struct

Re: [PATCH v2 7/8] board: ti: j721e: During resume spl restores TF-A and DM-Firmware

2023-11-09 Thread Thomas Richard
On 11/8/23 18:30, Andrew Davis wrote: >>   void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image) >>   { >>   typedef void __noreturn (*image_entry_noargs_t)(void); >> @@ -235,6 +241,32 @@ void __noreturn jump_to_image_no_args(struct >> spl_image_info *spl_image) >>   if

Re: [PATCH v2 7/8] board: ti: j721e: During resume spl restores TF-A and DM-Firmware

2023-11-08 Thread Andrew Davis
On 11/7/23 10:18 AM, Thomas Richard wrote: During the boot a copy of DM-Firmware is done in a reserved memory area before it starts. When resuming, R5 SPL uses this copy of DM-Firmware instead of the fit image. TF-A which saved itself in this same memory area, is restored in SRAM by R5 SPL.

Re: [PATCH v2 7/8] board: ti: j721e: During resume spl restores TF-A and DM-Firmware

2023-11-07 Thread Tom Rini
On Tue, Nov 07, 2023 at 05:18:01PM +0100, Thomas Richard wrote: > During the boot a copy of DM-Firmware is done in a reserved memory > area before it starts. > When resuming, R5 SPL uses this copy of DM-Firmware instead of the fit > image. > TF-A which saved itself in this same memory area, is

[PATCH v2 7/8] board: ti: j721e: During resume spl restores TF-A and DM-Firmware

2023-11-07 Thread Thomas Richard
During the boot a copy of DM-Firmware is done in a reserved memory area before it starts. When resuming, R5 SPL uses this copy of DM-Firmware instead of the fit image. TF-A which saved itself in this same memory area, is restored in SRAM by R5 SPL. Based on the work of Gregory CLEMENT