Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

MTD driver sends SIGSEGV

Altera_Forum
Honored Contributor II
916 Views

Hi all, 

 

I am trying to use jffs2 on my custom board (an AMD CFI compliant flash).  

When I try to mount my CFI-compliant flash, it seems ok (no message from MTD driver with debug level 3, and it appears as mounted in /proc/mounts), but as soon as I try to access it (an 'ls' in the mounted directory, or any write access), I get a SIGSEGV, and the system never responds anything else than SIGSEGV to any command I enter. The flash I use is an S29GL256M that is correctly recognized by the flash-programmer. I have modified the mapping file to use the MTD driver, and I have created entry in the /dev dir, with the correct minor/major (I actually did exactly what I did to have a JFFS2 filesystem running ok on the Altera devboard...). 

 

Can somebody help me with this ? 

 

Thanks, 

 

pod
0 Kudos
0 Replies
Reply