mmc관련 질문입니다.

보드에..그냥 회로를 꾸며서 만들었고요..
임피던스 매칭용으로 직렬로..22옴
풀업은 10K 달았습니다.
CMD,DAT,SCK세가닥 연결했구요.
그런데 아무리해도..계속.. I/O에러가 나네요..
우찌 해야 할찌..몰겠습니다.

WELCOME EZBOOT.X5 V1.6...................for PXA255

Program by You Young-chang, fooji (FALinux Co.,Ltd)

Last Modify 2004.09.06


Boot Flash Check ......................

Detect AM29LV160B (BOTTOM)Flash : 2249

SIZE 16M-BIT [2Mbyte]


NAND Chip Check .......................

Detect SAMSUNG [ec:76] 64MByte

BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]


CS8900 Init............................

Mac Address : [00 A2 55 9B B1 67]

Detect value : [3000:3000]

Chip ID : [0E63:000A]


Quickly Autoboot [ENTER] / Goto BOOT-MENU press [space bar]...

Copy Kernel Image .....

Copy Ramdisk Image .....

Starting kernel [MARCH 303]...

Uncompressing Linux................................................
done, booting the kernel.

Linux version 2.4.19-rmk7-pxa1 (root@server) (gcc version 3.2.1) #2
2004. 11. 13. (ㄳㄳ 11:45:17 KST

CPU: XScale-PXA255 revision 6

Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board

Ignoring unrecognised tag 0x00000000

Check ezboot Magic Value [20030702]

Check ezboot Check String [CMD=]

Check ezboot command line [ initrd=0xa0800000,5M root=/dev/ram
ramdisk=12288 console=ttyS02,115200 ip0=192.168.0.178
nandparts=1,5,58]

Memory clock: 99.53MHz (*27)

Run Mode clock: 398.13MHz (*4)

Turbo Mode clock: 398.13MHz (*1.0, inactive)

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=1f04 mem=32M initrd=0xa0800000,5M
root=/dev/ram ramdisk=12288 console=ttyS02,115200 ip0=192.168.0.178
nandparts=1,5,58

Console: colour dummy device 80x30

Calibrating delay loop... 397.31 BogoMIPS

Memory: 32MB = 32MB total

Memory: 25604KB available (1267K code, 315K data, 64K init)

Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)

Inode cache hash table entries: 2048 (order: 2, 16384 bytes)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 8192 (order: 3, 32768 bytes)

POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Using PXA255 frequency points.

Registering CPU frequency change support.

CPU clock: 398.131 MHz (99.000-400.000 MHz)

Starting kswapd

Console: switching to colour frame buffer device 80x30

LCD resolution 640x480

pty: 256 Unix98 ptys configured

Serial driver version 5.05c (2001-07-08) with no serial options enabled

ttyS00 at 0x0000 (irq = 15) is a PXA UART

ttyS01 at 0x0000 (irq = 14) is a PXA UART

ttyS02 at 0x0000 (irq = 13) is a PXA UART

mk712 device OK!

eth0: cs8900 rev K Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:9B:B1:67

RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize

loop: loaded (max 8 devices)

NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)

Creating 3 MTD partitions on "NAND 64MB 3,3V":

0x00000000-0x00100000 : "EZ-X5 Kernel partition"

0x00100000-0x00400000 : "EZ-X5 Ramdisk partition"

0x00400000-0x04000000 : "EZ-X5 Data partition 0"

MMC subsystem, $Revision: 0.3.1.14 $

MMC block device driver, $Revision: 0.3.1.16 $

PXA250 MMC controller driver, $Revision: 0.3.1.12 $

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 4096)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com

RAMDISK: Compressed image found at block 0

Freeing initrd memory: 5120K

VFS: Mounted root (ext2 filesystem) readonly.

Freeing init memory: 64K

INIT: version 2.84 booting

INIT: Entering runlevel: 3
yaffs: dev is 7938 name is "1f:02"

Starting system logger: syslogd
Starting INET services: inetd


Welcome to FALinux EZ-X5 ( www.falinux.com )
XScale(PXA255) Linux
ez-x5 login: root
[root@ez-x5 /root]$ mke2fs /dev /mmca1
mke2fs 1.27 (8-Mar-2002)
Partition check:

mmca: mmca1

mmca:end_request: I/O error, dev f1:00 (mmc_block), sector 0

ramdisk, kernel image 모두 제공 CD 것을 사용하였습니다.
mke2fs /dev/mmca1
명령이후에 멈추어 버립니다.
Transcend MultimediaCard 512M를 사용하였습니다.

MMC는 전원이 꺼진 상태에서 삽입을 하였고, fdisk명령 이후에는 꼭 리부팅(전
원)을 하였습니다. 리부팅 하지 않고 다시 fdisk명령을 실행하면
[root@ez-x5 /root]$ fdisk /dev/mmca
mmca:end_request: I/O error, dev f1:00 (mmc_block), sector 0
메시지가 뜨며 멈추어 버립니다.

슈퍼불럭의 라이팅 문제라고 하셔서 MMC 라이팅 가능한 PC확장 카드를 구입하
여 슈퍼블록을 날려도 보았습니다. 윈도우에서 FAT16으로 포멧후
mount -t fat /dev/mmca1 /mnt/mmc 하여 마운트 시도해 보았씁니다.
그러면
root@ez-x5 /root]$ mount -t fat16 /dev/mmca1 /mnt/temp/
mount: Mounting /dev/mmca1 on /mnt/temp failed: No such device
[root@ez-x5 /root]$ mount -t fat /dev/mmca1 /mnt/temp/
mount: Mounting /dev/mmca1 on /mnt/temp failed: No such device
[root@ez-x5 /root]$ mount -t fat /dev/mmca2 /mnt/temp/
mount: Mounting /dev/mmca2 on /mnt/temp failed: No such device
[root@ez-x5 /root]$ mount -t fat /dev/mmca /mnt/temp/
mount: Mounting /dev/mmca on /mnt/temp failed: No such device
[root@ez-x5 /root]$ mount -t ext2 /dev/mmca1 /mnt/temp/
Partition check:
mmca: mmca1
end_request: I/O error, dev f1:01 (mmc_block), sector 2
EXT2-fs: unable to read superblock
mount: Mounting /dev/mmca1 on /mnt/temp failed: Invalid argument
이런 메세지가 뜹니다.

//////////////////////////////////////////////////////////
아래는 PCMCIA 보드에있는 문서대로 셋팅하여 파티션을 리눅스 파티션을
나누었을때의 출력 화면입니다.
//////////////////////////////////////////////////////////
[root@ez-x5 /root]$ fdisk /dev/mmca
Partition check:
mmca: mmca1

The number of cylinders for this disk is set to 1003520.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/mmca: 1 heads, 1 sectors, 1003520 cylinders
Units = cylinders of 1 * 512 bytes

Device Boot Start End Blocks Id System
/dev/mmca1 2 1003520 501759+ 83 Linux
/dev/mmca2 1 1 0 0 Empty
Partition 2 does not end on cylinder boundary:
phys=(0, 0, 0) should be (0, 0, 1)

Command (m for help):

///////////////////////////////////////////////////
위의 파티션 정보를 가진 mmc를 보드 리셋 전/후
mke2fs로 format하여 보았습니다 멈추어 버립니다.
///////////////////////////////////////////////////
보드 리셋 전
[root@ez-x5 /root]$ mke2fs /dev/mmca1
mke2fs 1.27 (8-Mar-2002)
mmca:end_request: I/O error, dev f1:00 (mmc_block), sector 0

보드 리셋 후
[root@ez-x5 /root]$ mke2fs /dev/mmca1
mke2fs 1.27 (8-Mar-2002)
Partition check:
mmca: mmca1
mmca:end_request: I/O error, dev f1:00 (mmc_block), sector 0

////////////////////////////////////////////////////////