Altera_Forum
Honored Contributor
21 years agoCompact Flash (IDE) Support
Hello,
I'm using the Microtronix Stratix Development board and am trying to get the Nios II processor and all of the various peripherals working and I'm having problems with the compact flash card. For using the compact flash card with the old Nios processor, an 'Interface to User Logic' was instantiated in SOPC builder which interfaced with the OCIDEC core. When configuring the linux kernel, OCIDEC support was selected and everything seemed to work OK. For Nios II, I've tried the same approach, but when I build the linux kernel (through the Nios II IDE) I get the following error: error: `na_ide_ide' undeclared (first use in this function)[/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c] kernel_project line 218 Has anyone else encountered this problem or know how to work around it? I've also noticed that the linux kernel configuration contains another option under the ""ATA/ATAPI/MFM/RLL support" section: Altera CF (IDE mode) interface (Avalon bus) support (NEW) This actually seems to be the default option when "Microtronix Stratix Board support" is selected. What kind of support is required in SOPC builder for this "Altera CF (IDE mode) ... " to work? Is there a specific Altera core that should be used for this? (I don't see any in SOPC builder) Thanks, Terry