Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFirst of all, you have to build a system with mmu.
If you can, I suggest to put a flash into your system. Follow this (http://www.nioswiki.com/linux/creating_a_nios_ii_design_with_an_mmu) --- Quote Start --- # ifndef _ASM_NIOS2_H__ # define _ASM_NIOS2_H__ # if defined(CONFIG_MY_NIOS2_FPGA) # include <asm/my_nios2_fpga.h> # define DDR2_TOP_BASE DDR_SDRAM_BASE # define DDR2_TOP_SPAN DDR_SDRAM_SPAN # define TIMER_1MS_FREQ SYS_CLK_TIMER_FREQ # define TIMER_1MS_BASE SYS_CLK_TIMER_BASE # define TIMER_1MS_SPAN SYS_CLK_TIMER_SPAN # define TIMER_1MS_IRQ SYS_CLK_TIMER_IRQ # define GPIO_LED1 0 # else # error "No FPGA configuration selected" # endif .... --- Quote End --- Change Nios.h step is very important. Try to build you zImage use make If show error, check do you have that component or not? If you have, change (nios.h) to map you component name to his one. If you don't have, use make menuconfig to unselect that component. It is hard to show how to do thought this, you can show more detail than we can discuss together. Good lucky you can do it. htmin