[PATCH V4 01/49] spl: imx8mm: enlarge SPL_MAX_SIZE
frieder.schrempf at kontron.de
Wed Jul 6 08:34:03 CEST 2022
Am 06.07.22 um 01:52 schrieb Peng Fan:
> On 7/5/2022 2:50 PM, Frieder Schrempf wrote:
>> Am 05.07.22 um 08:05 schrieb Peng Fan (OSS):
>>> From: Peng Fan <peng.fan at nxp.com>
>>> The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE
>>> set to 0x7E1000.
>>> Signed-off-by: Peng Fan <peng.fan at nxp.com>
>> I wonder if there is any more explanation for the maximum size that can
>> be used. According to the RM, the TCML and TCMU area has a total size of
>> 256 KB. But it seems only 156 KB is usable for the SPL!?
> Without binman to pack ddr firmware, ddr firmware will take 96KB
> so 4KB + 156KB + 96KB = 256KB. With binman enabled in the future,
> SPL_MAX_SIZE could be larger. With ddr firmware runtime on demand
> loading ,it will larger!!
Thanks for the explanation! That was the part I was missing. If you
happen to respin this, it would be nice to have this explanation in the
More information about the U-Boot