Need to mount sd card automatically

Marcio Campos
Hi

I have a Mini2440 ARM9 Board with 256 flash runnig Linux. I need to mount
the SD card automatically in boot time. The card is going to be used by an
aaplication to store only data. I will not use it to boot Linux. I have
tried several ways to do so including generating as Kernel with SD support.
Can you give me a detailed description on how to do that ?
Thanks

open-nandra
Hi,

in u-boot you can mount sd card with commands like following:
bootcmd=mmcinit ; ext2load mmc 0:1 0x31000000 uImage ; bootm 0x31000000

So it initialize mmc and from 1 sd card partition (etx2 formatted) download
kernel image to 0x3100000 and jump to that location in RAM. Thats all ;).
In kernel you should have sd card mounted automatically.