microSD with Arduino Yun

Hello everyone,

I have just acquired my arduino Yun and I'm trying to make it work. I've been trying to read and load information in a microSD, I have already configured it with FAT format, but when I try to run the CardInfo example it keeps giving me this message:

Initializing SD card...
initialization failed. Things to check:

  • is a card is inserted?
  • Is your wiring correct?
  • did you change the chipSelect pin to match your shield or module?

As there is little information about the Arduino Yun, I don´t know which number do I have to put on the ChipSelect, I assume I don´t have to make all the SPI wiring because the Yun has the SD lector incorporated. I neither know if I have to add a directory in the microSD folder, such as /arduino etc. If anyone could help me I'd be very thankful, I've been trying this really hard...

The cardinfo script is for a sdcard connected directly to the microcontroller side. On the Yun the sdcard is connected to the linino side.

http://arduino.cc/en/Reference/YunFileIOConstructor gives info on how to use the sdcard from the microcontroller part of the Yun.

Thank you very much, you made my day =)