2008-06-24 16:29:28     Formatted SD card in windows, not recognised in uClinux.

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-24 16:29:28     Formatted SD card in windows, not recognised in uClinux.

blue hash (UNITED STATES)

Message: 57818   

 

On uClinux- 2008r1rc8, an SD card formatted in Windows( FAT, default allocation size) in  not mountable in uClinux

 

( mount -t vfat /dev/spi_mmc /mnt )

 

However, if the same card is formatted with  mkfs.vfat /dev/spi_mmc, the card mounts and works flawlessly.

 

The following flavors were tested, and all exhibit the same behaviour.

 

Sandisk 2GB, 1GB, 32MB, Kingston 1GB, Cannon 16MB

 

Has anyone noticed this?  Is there an option or step being missed out?

QuoteReplyEditDelete

 

 

2008-06-24 18:03:06     Re: Formatted SD card in windows, not recognised in uClinux.

Mike Frysinger (UNITED STATES)

Message: 57821   

 

`mkfs.vfat` does not create 32bit FAT's by default.  you need to specify the -F option when running it.  try formatting it with the right flag and see if you can still mount it under Linux.

QuoteReplyEditDelete

 

 

2008-06-26 14:56:30     Re: Formatted SD card in windows, not recognised in uClinux.

Graham Davies (UNITED STATES)

Message: 57935   

 

Mount /dev/spi_mmc1, the first partition on the SD Card, not /dev/spi_mmc, the SD Card itself.

Attachments

    Outcomes