Forum Discussion
Altera_Forum
Honored Contributor
13 years agoPorting non-mmu code to MMU -- MMU memcpy SEGV
Thanks in Advance. With the non-mmu nios2 our design defined sdram regions that we utilized for buffers in our custom device driver. **** device driver sharedMem = kmalloc( SHARED_MEMSIZE...
Altera_Forum
Honored Contributor
13 years agoHi,
--- Quote Start --- I have the device driver open "/dev/myDDriver0" -- which is MAJOR - 240 and Minor 0 I created a node locally in the directory I'm running the test code: mknod node c 204 0 (same major and minor# ) --- Quote End --- Same major and minor# ? 240 - 204 ? Sorry, I can't understand your question. --- Quote Start --- I'm going to need to have 2 more memory areas and would like to know what that is going to entail --- Quote End --- There are several ways. One is to use different minor numbers, like 0, 1, 2 etc.. Kazu