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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

CompactFlash Problem

Altera_Forum
Honored Contributor II
1,381 Views

I'm a newbie in Nios uClinux , I use Stratix 1s40 board ,when I want mount Fat Filesystem but have some truble. At first time i mount Fat Filesystem CF card have error like this: 

# /bin/mount -t vfat /dev/hda1 /mnt/ide0 -n 

hda: hda1 

FAT: codepage cp437 not found 

hda: hda1 

mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems 

 

and then i find this topic : 

 

http://www.niosforum.com/forum/index.php?s...pic=2518&hl=437 (http://www.niosforum.com/forum/index.php?showtopic=2518&hl=437

 

in this topic have trouble like me so i follow those steps to  

enable Code 437 (United States & Canada) 

 

but the problem was not solved, when i rebuild kernel and upload to my board 

Stratix 1s40 and run it ,I got an another problem happen like this: 

# mount -t vfat /dev/hda1 /mnt/ide0 -n 

mount -t vfat /dev/hda1 /mnt/ide0 -n 

hda: hda1 

 

FAT: IO charset iso8859-1 not found 

 

hda: hda1 

 

mount: wrong fs type, bad option, bad superblock on /dev/hda1, 

or too many mounted file systems 

 

i'm sure when i use Extended 2 Filesystem in CF card i can mount it , but when i use Fat filesystem i can't mount it anymore.  

 

have anyone can help me solve this problem? let me can mount Fat filesystem cf card in my Nios Board. Thanks&#65281;(Sorry my English is not so good><)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
433 Views

Hi 

 

I beleive you have to enable support for that character set in the kernel as well. I&#39;m not exacly sure where, but its not hard to find. 

 

Good luck
0 Kudos
Altera_Forum
Honored Contributor II
433 Views

Thank you for your recommend&#65281; 

It work&#65281; 

thanks&#65281;
0 Kudos
Reply