Forum Discussion
Altera_Forum
Honored Contributor
21 years agoU-Boot : 'make' problem
Hello, I'm trying to compile a Uboot package in order to upload the .srec file to the NIOSII Cyclone board. My problem is that "make" command terminates with this message : (...)
ma...
Altera_Forum
Honored Contributor
21 years agoHi Max,
make: Entering directory `/cygdrive/c/altera/kits/nios2/examples/uboot/u-boot-1.1.2/tools' This looks like the sources directly from sourceforge.net ... this tree assumes you have an appropriately configured native gcc and shell environment -- which doesn't come with the nios2 toolchain 8-P The easiest thing to do is get the source tree from http://www.pysent.com/download (http://www.pysent.com/download) -- this tree has certain "nips & tucks" made to build cleanly with the default nios2 toolchain (under cygwin) -- and it's more up-to-date than the sourceforge tree (WRT Nios-II, the sourceforge tree has been lagging by several months). Otherwise, you'll either need to start editing the Makefiles (and some other files), or build the nios2 toolchain in a standard unix environment (not cygwin). If you're determined to edit Makefiles, the first thing you'll want to do is disable building the "tools" directory by removing it from the SUBDIRS make variable -- you won't need any of the targets from tools to download an srec. Regards, --Scott