Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Scott,
<div class='quotetop'>QUOTE </div> --- Quote Start --- > 1. When I change the TEXT_BASE in config.mk, u-boot can not be made. I don't understand what you mean by "u-boot can not be made" ... please describe what you observe. Does the make fail? Does the link fail?[/b] --- Quote End --- Sorry, somewhere I make a mistake. I recheck and can build correct. <div class='quotetop'>QUOTE </div> --- Quote Start --- Make is looking for mtxkit1c20.c and can't find it¡¡¡..[/b] --- Quote End --- Yes, the name of .c file is inconsistent with top-level Makefile. <div class='quotetop'>QUOTE </div> --- Quote Start --- What type of flash are you using? (type and geometry) What is its base address? What is the value assigned to CFG_ENV_ADDR?[/b] --- Quote End --- My flash is AM29DL323GB-90EI. 2M*16bit flash Base Address is 0x0. I find that CFG_ENV_ADDR is define in MTXKIT1C20.h file(platform description file).# define CFG_ENV_ADDR (CFG_RESET_ADDR + CFG_MONITOR_LEN)# define CFG_RESET_ADDR 0x00000000 /* Hard-reset address */# define CFG_MONITOR_LEN (256 * 1024) /* Reserve 128k */ I do not know clearly what files I need to have and how to correct them. So my board can be initialized OK. My system now just include NIOS2/s, SDRAM, FLAHS, EPCS4, UART, JTAG-UART, sysid and system_timer. Thanks, LiangYi