Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

Problems building Preloader

Altera_Forum
Honored Contributor II
1,432 Views

Im following the steps here: http://www.rocketboards.org/foswiki/documentation/gsrdpreloader 

After having made some minor changes to the FPGA design. When I run the makefile, I get the following unhelpfull errors: 

 

make CROSS_COMPILE=arm-none-eabi- -C uboot-socfpga socfpga_cyclone5_config 

make[1]: Entering directory `/cv_soc_devkit_ghrd/software/spl_bsp/uboot-socfpga' 

: invalid option 

make[1]: *** [socfpga_cyclone5_config] Error 1 

make[1]: Leaving directory `/cv_soc_devkit_ghrd/software/spl_bsp/uboot-socfpga' 

make: *** [config] Error 2 

 

 

Anyone got any ideas?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
714 Views

Probably nothing but maybe check the makefiles & co for mixed unix/windows line endings, linux make gave some strange errors for me with that, before i figured it out. ( I somehow managed to generate such a file and only saw it because the file size of one of the uboot files was different from a working configuration. Generating the BSP on top of an existing file structure also seems to be a bad idea).

0 Kudos
Altera_Forum
Honored Contributor II
714 Views

Try to do steps as below: 

1) Re-compile whole Quartus project. 

2) use bsp-editor to create new preloader source code 

3) build preloader.
0 Kudos
Reply