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++

jffs2 on custom board

Altera_Forum
Honored Contributor II
992 Views

Hello, 

 

I am trying to port uClinux on my custom board, a lot of things seem to be ok, but I still have 2 problems (at least:-) ) : 

 

- When I used uClinux on the Altera Cyclone devboard, I had a lot of messages on the console before the login prompt (info from kernel, drivers, ...). On my custom board, it seems to be skipped, I directly get the prompt. Actually, it is not a big problem, but I don't understand why it is so (I use the JTAG uart on the devboard, and on my custom board too). 

 

- More important : when I try to mount my CFI-compliant flash, it seems ok (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...). 

 

Does anybody have more info about this ? 

 

Thanks a lot. 

 

pod
0 Kudos
0 Replies
Reply