Re: [PATCH] spl: fit: Prefer a malloc()'d buffer for loading images

2020-12-08 Thread Tom Rini
On Wed, Oct 21, 2020 at 06:32:58PM -0500, Alexandru Gagniuc wrote: > Fit images were loaded to a buffer provided by spl_get_load_buffer(). > This may work when the FIT image is small and fits between the start > of DRAM and SYS_TEXT_BASE. > > One problem with this approach is that the location of

Re: [PATCH] spl: fit: Prefer a malloc()'d buffer for loading images

2020-12-07 Thread Alex G.
On 11/3/20 9:11 AM, Simon Glass wrote: +Tom Rini too ping? Alex On Wed, 21 Oct 2020 at 17:33, Alexandru Gagniuc wrote: Fit images were loaded to a buffer provided by spl_get_load_buffer(). This may work when the FIT image is small and fits between the start of DRAM and SYS_TEXT_BASE. One

Re: [PATCH] spl: fit: Prefer a malloc()'d buffer for loading images

2020-11-03 Thread Simon Glass
+Tom Rini too On Wed, 21 Oct 2020 at 17:33, Alexandru Gagniuc wrote: > > Fit images were loaded to a buffer provided by spl_get_load_buffer(). > This may work when the FIT image is small and fits between the start > of DRAM and SYS_TEXT_BASE. > > One problem with this approach is that the locati

[PATCH] spl: fit: Prefer a malloc()'d buffer for loading images

2020-10-21 Thread Alexandru Gagniuc
Fit images were loaded to a buffer provided by spl_get_load_buffer(). This may work when the FIT image is small and fits between the start of DRAM and SYS_TEXT_BASE. One problem with this approach is that the location of the buffer may be manipulated by changing the 'size' field of the FIT. A mali