[U-Boot] DE10 Nano U-Boot v2019.04 Issues
Simon Goldschmidt
simon.k.r.goldschmidt at gmail.com
Sun Apr 28 08:13:06 UTC 2019
On 27.04.19 19:59, rafael mello wrote:
> Hello, I've attempted to build u-boot v2019.04 for the DE10 Nano board using the following commands:
> make ARCH=arm CROSS_COMPILE=${CC} distclean
You probably should use mrproper here, not distclean?
> make ARCH=arm CROSS_COMPILE=${CC} socfpga_de10_nano_defconfig
> make ARCH=arm CROSS_COMPILE=${CC} u-boot-with-spl.sfp
So what's $CC set to? I don't think you need ARCH=arm, works without
that for me.
>
> It builds just fine but I'm not able to make the board load U-Boot correctly.
So SPL runs fine but it doesn't load U-Boot? Or does it fail running
anything? Please send the console output, if any.
> If I run the same commands using v2018.05 it builds and I'm able to boot the board.
>
> After some attempts to find the issue, I was able to compile and boot the v2019.04 by changing the CONFIG_DEFAULT_DEVICE_TREE=“socfpga_cyclone5_de10_nano” to CONFIG_DEFAULT_DEVICE_TREE=“socfpga_cyclone5_de0_nano_soc” in the socfpga_de10_nano_defconfig file.
> That lead me to belive that there was an issue with the socfpga_cyclone5_de10_nano.dts file.
> After changing the socfpga_cyclone5_de10_nano.dts to be identical to the socfpga_cyclone5_de0_nano_soc.dts I wasn't able to boot the board, making me think that the issue is somewere else, since I'm also able to compile and boot the board if I rename the socfpga_cyclone5_de10_nano.dts to socfpga_cyclone5_de0_nano_soc.dts.
I don't see the file socfpga_cyclone5_de0_nano_soc.dts, where does it
come from?
Unfortunately, I don't have that board, so I cannot test it myself.
Regards,
Simon
More information about the U-Boot
mailing list