[U-Boot] [PATCH 1/2] fit: Support FDT compression
Julius Werner
jwerner at chromium.org
Thu Apr 18 21:09:16 UTC 2019
> Hmm, I think we might want to use the lmb functions here to allocate a
> buffer instead of relyling on malloc? The malloc pool might be large
> enough for an uncompressed devicetree, but not for an 8 MByte FPGA image...
>
> But starting with malloc might be ok.
Okay, that sounds like a good possible improvement for later. For now,
you can always just specify a load address for the FPGA image so that
it doesn't need to allocate a separate buffer.
> The reason I discontinued that patch was that I started adding a feature
> to mkimage to add a property for the uncompressed size. This is still
> pending work I haven't sent to the ML, but I do want to continue it once
> I find the time.
Yeah, that would make all of this a lot cleaner.
> So maybe we could move on with a v2 of your patch that uncompresses
> everything but the kernel? I'd like to test that with my compressed FPGA
> images then.
Sounds good, v2 sent out.
More information about the U-Boot
mailing list