Altera_Forum
Honored Contributor
21 years agoNios-II boot monitor (u-boot)
u-boot for Nios-II is has been accepted into the main u-boot project at:
http://sourceforge.net/projects/u-boot (http://sourceforge.net/projects/u-boot) The default u-boot make will attempt to build some native tools along with the target elf, bin, and srec files. Without native gcc under cygwin, this (obviously) causes problems. For developers using the Altera cygwin tools you will need to make some modifications to the main source tree: 1. top-level makefile Remove the 'tools' directory from the SUBDIRS macro. 2. common/makefile Replace:environment.o: environment.c ../tools/envcrc
$(CC) $(AFLAGS) -Wa,--no-warn
-DENV_CRC=$(shell ../tools/envcrc)
-c -o $@ environment.c With: environment.o: environment.c
$(CC) $(AFLAGS) -Wa,--no-warn
-DENV_CRC=0
-c -o $@ environment.c BTW, thats a 'zero' ... not the letter 'O'. And note that the "../tools/envcrc" dependency has been removed. note: u-boot is a relatively large and very active project. as such, it can take several
weeks for fixes, enhancements and new features to be added to the source tree.
Regards, --Scott