Forum Discussion
Altera_Forum
Honored Contributor
16 years agouClinux in Nios II with MMU - Device Driver Kernel Panic
Hi, I'm developing a uClinux MMU kernel over a Nios II FPGA system and I'm having a lot of problemes when trying to run a custom device driver. I've managed to run a "Hello world" dr...
Altera_Forum
Honored Contributor
16 years agoHi,
Maybe Pos_Leds_Mem = 0x08001000. If this is the address of your LEDs, next code may help you, but I will not guarantee it.
outb(Data, ((unsigned long)Pos_Leds_Mem) | 0xe0000000);
If you want to make some driver for genuine Linux, I strongly recommend you to study the functionality of MMU and the meaning of virtual addresses. Kazu