Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi, I took a look at "arch/nios2nommu/Kconfig" and I noticed that the PIO_DEVICES option that you turn on can only be used if you select one of the following platforms:
Altera Stratix Altera Stratix Pro Altera Cyclone It's an oversight on our part. There are one of two things you can do: (1) Select one of the above platforms for your configuration. It should be safe unless you've made modifications to the kernel that depend on the platform option for the Stratix II (2) Modify the arch/nios2nommu/Kconfig file so that the PIO devices can be turned on for the Altera Stratix II. To do step (2): Open up the following file:...altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/Kconfig Look for the following lines: config PIO_DEVICES
bool "Enable leds, seven segment display"
default y
depends on (ALTERA_STRATIX || ALTERA_STRATIX_PRO || ALTERA_CYCLONE)
... and modify it so that it looks like: config PIO_DEVICES
bool "Enable leds, seven segment display"
default y
depends on (ALTERA_STRATIX || ALTERA_STRATIX_PRO || ALTERA_STRATIX_II || ALTERA_CYCLONE)
... Notice the addition of the "ALTERA_STRATIX_II" symbol in the last line. After you made the above modification, try running menuconfig and the option should appear. Enable it, re-build, re-upload, and the leds should come alive.