Hi there,
i've got a problem with mounting sd-card. At Linux startup the mmc0 (sd-card interface) always mounts read only. I made settings in /etc/fstab to mount the mmcblk0p1 (sd-card) writeable.
Code:
# stock fstab - you probably want to override this with a machine specific one
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
tmpfs /var/volatile tmpfs defaults 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /media/ram tmpfs defaults 0 0
# uncomment this if your device has a SD/MMC/Transflash slot
/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0
when i mount the sd-card i get the print:
Code:
mount: block device /dev/mmcblk0p1 is write-protected, mounting read-only
also /etc/mtab prints out:
Code:
root@at91sam9263ek:/media/card$ cat /etc/mtab
rootfs / rootfs rw 0 0
/dev/root / jffs2 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/root /dev/.static/dev jffs2 rw 0 0
tmpfs /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /var/volatile tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
tmpfs /media/ram tmpfs rw 0 0
/dev/mmcblk0p1 /media/card vfat ro,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0
The Hardware Write Protection on the sd-card ist not set.
The cupper contact in the sd-card slot works also fine.
Has anybody an idea to get the sd-card mounted writeable?
Thanks a lot.
Stefan