Hi Quentin, On 7/15/2025 11:11 AM, Quentin Schulz wrote: > Hi Jonas, > > On 7/12/25 11:27 PM, Jonas Karlman wrote: >> Ensure that the spi/sfc node for SPI flash is aviliable during pre-reloc >> phase so that env can successfully be loaded from SPI Flash. >> > > Shouldn't the pinmux nodes be added as well? Or are you planning on > having those part of the individual board's DTS rather than in the SoC DTSI?
The boards that come with SPI flash should already have those added in the SoC or individual board's DTs, to my knowledge. However, when I was testing env in SPI flash on odroid-go2 I noticed that env would not load unless we explicitly include the sfc/spi node in pre-reloc phase. And the recent added propagation of bootph- props in binman did not seem to really affect use of multiple FDTs in FIT. With this patch I try to add this explicit bootph-some-ram prop so that if anyone enable the ENV_IN_SPI_FLASH option it actually works as intended on boards that already support booting from SPI flash. Basically this fixes something I missed in old patches/series ;-) Regards, Jonas > > Cheers, > Quentin