DE10 Nano U-Boot issues

I’ve been building sdcard images for the DE10 Nano using u-boot v2018.05 with no issues, but if I try to use a newer version it builds just fine but doesn’t work.

In order to build u-boot I’m using the following commands:
make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} socfpga_de10_nano_defconfig
make ARCH=arm CROSS_COMPILE=${CC} u-boot-with-spl.sfp

Where ${CC} is a variable pointing to linaro gcc.

After some debugging I found out that if I edit the “socfpga_de10_nano_defconfig” and change the variable CONFIG_DEFAULT_DEVICE_TREE=“socfpga_cyclone5_de10_nano” to CONFIG_DEFAULT_DEVICE_TREE=“socfpga_cyclone5_de0_nano_soc” it works just fine.

That lead me to belive that there was an issue with the dts file.
The weird part is that if I edit the socfpga_cyclone5_de0_nano_soc.dts file and put the content of the socfpga_cyclone5_de10_nano.dts file in, it also works just fine.

So my question is what’s the problem with my build process? Am I missing something?

So I was able to solve the issue.
There was a dtsi file missing for the de10 nano board and that file was supposed to configure the uart frequency, making the console output blank.
I’ll try to make a patch for the v2019.04 version and post the link here