Altera_Forum
Honored Contributor
15 years agoocm_spi_mmu problem with NEEK
Hi
I'm newbie and I want to make my NEEK working with MMU. I follow the tutorial in the NIOS wiki for the toolchain installation (I have Fedora 10). I succeded with my first project starting from scratch (only cpu and UART), so the toolchain is working and now I want to implement ethernet. I look at the Ethernet page on the wiki and for testing I download the ocm design for neek (neek_ocm_spi_mmu.zip). I take directly the custom_fpga and I try to configure the drivers (make menuconfig) and I have some difficulties to choose the drivers. I look at the thread "Avalon OpenCores MAC 10/100 + µClinux" thread 18390 and I configure the drivers accordingly. Anyway when I do "make" I have the following error : /home/phil/nios2-linux/linux-2.6/drivers/net/open_eth.c: In function 'oeth_phymac_synch': /home/phil/nios2-linux/linux-2.6/drivers/net/open_eth.c:757: error: 'PHY_ADDRESS' undeclared (first use in this function) /home/phil/nios2-linux/linux-2.6/drivers/net/open_eth.c:757: error: (Each undeclared identifier is reported only once Why this error? Antoher question more generic: where to find the driver to configure with the sopc modules I implement? I mean when I looked at the ip eth_ocm documentation I can't find the relevant options to cross in the "make menuconfig" Finally, I looked at the sopc configuration for the ocm_spi_mmu project and I'm wondering about the IRQ0 for the sys_clock_timer ??? I thought it as forbidden ??? Thanks