기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

2410보드에 sd card를 mount하려고하는데 잘 안되네요~
커널은 2.6.13버전의 이재훈님게서 만들어놓으신것을 사용하였습니다.
물론 커널 옵션에 fat, ntfs등 file system을 체크했습니다.
u-boot 1.1.2를 사용하여 fatinfo mmc 0으로 확인해보니 다음과 같이 확인할수 있었습니다.

SMDK2410 # fatinfo mmc 0
Interface:  MMC
  Device 0: Vendor: Man aESOP1 Snr 123456 Prod.: SDxxxMB Rev: 123 456
            Type: Hard Disk
            Capacity: 489.5 MB = 0.4 GB (1002496 x 512)
Partition 1: Filesystem: FAT16 "NO NAME    "

램디스크에는 /dev/mmcblk0이라는 디바이스가 없어서
cat /proc/devices로 mmc가 254로 잡혀있는 것을 확인하고
mknod /dev/mmcblk0 b 254 1로 만들어놓았습니다.
sd card는 윈도우상에서 fat로 포맷을 하였습니다.
하지만 커널 부팅후 다음과 같이 파티션을 인식하지 못하더군요.
그래서 mount -t vfat /dev/mmcblk0 /mnt/sd로 마운트를 시도해보았으나
No such device or address라는 에러와 함께 마운트가 안되더라구요.
당췌 무엇이 문제길래 이리도 속을 썩이는지 모르겠습니다.
고수님들의 한 마디가 저에게는 큰 도움이 됩니다~~^^;;
나른한 월욜 오후 수고하십시요~~~~

참고로 /dev의 장치들입니다.
console    dsp3       fb6        mmcblk0    mtdblock2  ram2       tty2
cusa0      fb         fb7        mtd0       mtdblock3  ram3       ttyE0
cusa1      fb0        iop        mtd1       mtdblock4  random     ttyE1
cusa2      fb1        mixer      mtd2       null       root       ttyE2
dsp        fb2        mixer0     mtd3       pcmcia0    ts         ttyE3
dsp0       fb3        mixer1     mtd4       pts        tty        ttyS0
dsp1       fb4        mixer2     mtdblock0  ram0       tty0       ttyS1
dsp2       fb5        mixer3     mtdblock1  ram1       tty1


## Starting application at 0x30F00000 ...

Uncompressing Linux..................................................... done, booting the kernel.
Linux version 2.6.13 (root@ubuntu) (gcc version 3.4.4) #4 Fri Jul 6 06:02:08 EDT 2007
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw initrd=0x30800000,8M console=ttySAC0 mem=64M
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 54912KB available (1348K code, 224K data, 72K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
Linux NoNET1.0 for Linux 2.6
S3C2410: Initialising architecture
Linux Plug and Play Support v0.97 (c) Adam Belay
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.23 [Flags: R/W DEBUG].
yaffs Jul  6 2007 06:00:56 Installing.
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4980000
s3c2410-nand: timing: Tacls 10ns, Twrph0 60ns, Twrph1 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 3668 at 0x03950000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00200000-0x00400000 : "S3C2410 Kernel partition"
0x00400000-0x00900000 : "S3C2410 Ramdisk partition"
0x00900000-0x03b00000 : "S3C2410 UserData"
s3c2410_udc: version 28 Aug 2005
mice: PS/2 mouse device common for all mice
wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.3
wbsd: Copyright(c) Pierre Ossman
mmci-s3c2410: probe: mapped sdi_base=c4b00000 irq=37 irq_cd=62 dma=0.
mmci-s3c2410: initialisation done.
MMC: sd_app_op_cond: at least one card is busy - trying again.
mmcblk0: mmc0:b368 SD    501248KiB
mmcblk0: unknown partition table
MMC: sd_app_op_cond: at least one card is busy - trying again.
RAMDISK: Compressed image found at block 0
EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 72K
Mon Jul 26 21:42:00 UTC 2004
ln: fb0: File exists
ln: ts: File exists
ln: dsp: File exists
ln: mixer: File exists
ln: tty0: File exists
ln: tty1: File exists
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
block 3093 is bad
/etc/init.d/rc.local: 45: /nand/etc/start: not found

Please press Enter to activate this console.


고현철

2007.07.10 01:19:54
*.70.26.87

kernel에서 인식 못한겁니다.

김승규

2007.07.10 04:02:52
*.247.144.149

mmci-s3c2410: probe: mapped sdi_base=c4b00000 irq=37 irq_cd=62 dma=0.
mmci-s3c2410: initialisation done.
MMC: sd_app_op_cond: at least one card is busy - trying again.
mmcblk0: mmc0:b368 SD 501248KiB
mmcblk0: unknown partition table
위와같이 초기화 끝났다고도 나오는데 커널에서 인식을 못하고 있는건가요?
어딜 건드려 줘야 되는지 힌트좀 부탁 드려용~~~^^;;;

고현철

2007.07.11 01:32:45
*.70.26.87

음....이재훈님과 저랑 둘다 smdk2410/2410tk 보드에서 테스트했던 코드입니다.

잘 되었었던 것 같은데....보통 이 경우는 대부분 타이밍 문제라....--;

김승규

2007.07.11 02:25:02
*.247.144.149

아~~~넵 잘알겠습니다~~~^^;;;답변감사드립니다~~~으~~미궁속으로 빠지겠네요~~~^^;;;데이터시트도 없는뎅~~ㅋ

김승규

2007.07.12 17:43:55
*.247.144.149

자답입니다. 커널의 Native Language Support 과 Partition type을 설정하여 에러를 잡아 sd카드를 설정하였습니다. ㅡㅡ...혹시 참고 하세용~
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
6268 [완료] USB CDRW [9] 한영민 2007-05-10 3744
6267 메인 페이지도 오픈하셨네요... 툴체인 관련...<=완료 [5] 이홍석 2006-04-06 3730
6266 GUI Tool 선정에 관하여 [2] 권형식 2006-04-12 3720
6265 [완료] 터치칩 제조사 검색이 안되네요. [3] 박영학 2007-05-15 3716
6264 [완료]공유기 없이 VMware network 환경 설정 [7] 최재혁 2007-12-24 3694
» [완료]sd card mount 질문입니다~~^^; [5] 김승규 2007-07-09 3681
6262 [완료] 공구 LX800 LCD화면 색이 변해서 어떠한 것이 문제인지..... [10] 이승진 2007-05-07 3677
6261 [질문] USB 메모리로 부팅해서 설치하는데.. [1] 류충렬 2007-05-12 3672
6260 안드로이드 해상도 변경방법은?? [2] 블루스카이 2012-05-01 3653
6259 [ORIGEN-4412]Linux포팅하는 방법을 알고 싶습니다. [5] monad 2013-04-26 3642
6258 완료) XP 용 graphic driver는 어떻게 만드나요 ? [2] 김형기 2007-08-10 3603
6257 [질문] aesop-lx800 보드 사용시에 필요한 부품들은? [8] 류충렬 2007-05-08 3599
6256 winpe 설치 해보신분 [3] 김준대 2007-05-16 3586
6255 [질문] PCI LAN Card. RTL8139D Error 있습니까? [6] 한영민 2007-05-09 3579
6254 [질문]LCD 고장인거 같아서 외부 모니터 설정하는 키보드 순서 알... [4] 이동술 2007-06-28 3575
6253 외부 모니터로 출력 선택후 10분뒤 LCD 하단부가 고열로 검게 변했... [5] 조준동 2007-06-02 3571
6252 [완료]serial gadget에 관해서.. [5] 박기호 2007-05-24 3539
6251 자료실에서... [3] 박현진 2006-04-09 3530
6250 사운드 PATH 설정에 대하여 [1] 데카 2010-11-25 3525
6249 일반터미널 상에서는 emmc에 uboot를 올리지못하나요?? [10] xoduddk123 2014-02-14 3515

사용자 로그인