I am currently trying to port my U-boot from the altera fork v. 2013 to the latest 2019.04 mainline U-boot.
For compiling and using the U-boot SPL, It seems to be that the bsp-generate-files application, which generates the preloader sources from the bsp-settings file, is only compatible with older U-boots.
For validation, I’ve tried to generate my sources with the Quartus SDK v 18.1, unfortunately bsp-generate-files still generates the sources in the old format.
Is there a tool which is compatible to the latest U-Boot?
edit: a little more bit in detail: newer U-Boots implement:
…arch\arm\mach-socfpga\wrap_sdram_config.c
…arch\arm\mach-socfpga\wrap_pll_config.c
…arch\arm\mach-socfpga\wrap_pinmux_config.c
…arch\arm\mach-socfpga\wrap_iocsr_config.c
which include the header file (e.g pinmux_config.h)., which has been generated from bsp-generate-files.
However, with the current sources, there is an additional source file (e.g pinmux_config.c) generated.
Surely, It would be possible for me to copy and slightly modify the informations in the source file to the header file, but then my automatized build would not work.