Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi young,
> I install the tools CDK4NIOS Don't use CDK4NIOS -- it is junk ... it is old ... it is unmaintained. If you must use it, you're on your own :-( > and use nios-elf-gcc to compile the U-Boot-1.1.4. Just to make sure: this is for Nios-32, not Nios II -- is that what you intend? > For the test,I input: make DK1C20_config ... snip ... > CFG_DISP_CWORD' undeclared (first use in this function) > cmd_display.c:41: (Each undeclared identifier is reported only once > cmd_display.c:41: for each function it appears in.) > cmd_display.c:51: `CFG_DISP_CHR_RAM' It looks like CFG_CMD_DISPLAY is now a default option. Try adding it to the excluded options where CONFIG_COMMANDS is defined in the board config file: include/configs/DK1C20.h<div class='quotetop'>QUOTE </div> --- Quote Start --- #define CONFIG_COMMANDS (CFG_CMD_ALL & ~( CFG_CMD_ASKENV | CFG_CMD_BEDBUG | CFG_CMD_BMP | CFG_CMD_BSP | CFG_CMD_CACHE | CFG_CMD_DATE | cfg_cmd_display | \ CFG_CMD_DOC | CFG_CMD_DTT | CFG_CMD_EEPROM | CFG_CMD_ELF | ...[/b] --- Quote End --- Regards, --Scott