
2 Aug
2022
2 Aug
'22
1:36 p.m.
On Tue, Aug 02, 2022 at 11:27:25AM +0200, Pali Rohár wrote:
Hello! I have tested it without dm-pre-reloc on A385 Turris Omnia and you are right. SPL cannot load proper U-Boot and throws error:
Trying to boot from SPI Invalid bus 0 (err=-19) SPI probe failed. SPL: failed to boot from all boot devices
Stefan and Tom, it is possible to somehow "inject" dm-pre-reloc into spi DTB SPL node during SPL compile time when CONFIG_SPL_SPI=y is enabled?
Because really CONFIG_SPL_SPI=y option does not work without dm-pre-reloc.
Automatically? Not at this time, that's what -u-boot.dtsi files are for.
--
Tom