기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.
리눅스에서는 다음과 같이 SD를 인식하는데여.
/ # mount /dev/block/mmcblk1p4 /mnt/
/ # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/block/mmcblk1p4 3864656 4 3864652 0% /mnt
안드로이드에서는 인식을 안하네요.
원래는 됏었는데 어느 순간 부터 인식을 안하네요.
SDHC는 4G 샌디스크 사용하고요. FAT32로 포맷하였습니다.
그리고 기존의 트레센트 SD 8기가가 인식을 안하네여.
SD2USB 리더를 사용해서 읽으려고 해도 인식이 되지 않습니다.
혹시 A/S 신청을 할수 있는지요...?
OK
U-Boot 1.3.4-dirty (Nov 9 2009 - 10:51:00) for HKDKC100
CPU: S5PC100@666MHz
Fclk = 1332MHz, Hclk = 166MHz, Pclk = 66MHz, Serial = PCLK
Board: HKDKC100
I2C: ready
DRAM: 512 MB
SD/MMC: 1887 MB
*** Warning - using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
Reading kernel from sector 3853262 (8192 sectors).. completed
Boot with zImage
Starting kernel ...
Uncompressing Linux.................................................................................................................................. done, booting the kernel.
Linux version 2.6.27 (c@server) (gcc version 4.2.2) #14 Sun Oct 25 17:04:42 KST 2009
CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=00c5387f
Machine: SMDKC100
Memory policy: ECC disabled, Data cache writeback
CPU S5PC100 (id 0x43100000)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S5PC100: PLL settings, A=1332000000, M=267000000, E=67500000, H=24000000
S5PC100_: ARMCLK=666000000, HCLKD0=166500000, PCLKD0=83250000, HCLK=133500000, PCLK=66750000
mout_apll: source is fout_apll (1), rate is 1332000000
mout_epll: source is fout_epll (1), rate is 67500000
mout_mpll: source is mpll (1), rate is 267000000
mout_hpll: source is srclk (1), rate is 24000000
mmc_bus: source is dout_mpll (1), rate is 44500000
mmc_bus: source is dout_mpll (1), rate is 66750000
mmc_bus: source is dout_mpll (1), rate is 66750000
usb-host-bus: source is dout_mpll (1), rate is 133500000
uclk1: source is dout_mpll (1), rate is 66750000
spi-bus: source is dout_mpll2 (1), rate is 66750000
spi-bus: source is dout_mpll2 (1), rate is 66750000
spi-bus: source is dout_mpll2 (1), rate is 66750000
audio-bus: source is mout_epll (0), rate is 67500000
audio-bus: source is mout_epll (0), rate is 67500000
audio-bus: source is mout_epll (0), rate is 67500000
sclk_irda: source is dout_mpll (1), rate is 133500000
sclk_pwi: source is srclk (0), rate is 0
sclk_lcd: source is dout_mpll (1), rate is 133500000
sclk_fimc: source is dout_mpll (1), rate is 133500000
sclk_fimc: source is dout_mpll (1), rate is 133500000
sclk_fimc: source is dout_mpll (1), rate is 133500000
sclk_mixer: source is clk_27m (0), rate is 27000000
s5pc1xx: 10485760 bytes SDRAM reserved for fimc at 0x20796000
s5pc1xx: 33554432 bytes SDRAM reserved for mfc at 0x21196000
s5pc1xx: 10485760 bytes SDRAM reserved for jpeg at 0x23196000
s5pc1xx: 16777216 bytes SDRAM reserved for pmem at 0x23b96000
s5pc1xx: 4194304 bytes SDRAM reserved for pmem_gpu1 at 0x24b96000
s5pc1xx: 6291456 bytes SDRAM reserved for pmem_adsp at 0x24f96000
CPU0: D VIPT write-back cache
CPU0: cache: 768 bytes, associativity 1, 8 byte lines, 64 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 97536
Kernel command line: root=/dev/mmcblk0p1 rw rootfstype=ext3 mem=384m init=/init console=ttySAC0,115200
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 384MB = 384MB total
Memory: 305024KB available (3568K code, 887K data, 156K init)
Calibrating delay loop... 665.19 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
regulator: core version 0.5
NET: Registered protocol family 16
s5pc1xx Power Management init, (c) 2009 Samsung Electronics
Requested domain-LP mode: 2
S5PC100: Initialising architecture
S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics
Total 24 DMA channels will be initialized.
SCSI subsystem initialized
Bluetooth: Core ver 2.13
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
S3C PWM Driver, (c) 2006-2007 Samsung Electronics
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
msgmni has been set to 596
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: mmc_bus (133500000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: mmc_bus (133500000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: hsmmc (133500000 Hz)
/n*** mmc->f_min : 521484***
/n*** mmc->f_max : 133500000***
Registered led device: mmc0
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: clock source 0: mmc_bus (133500000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: mmc_bus (133500000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc (133500000 Hz)
/n*** mmc->f_min : 521484***
/n*** mmc->f_max : 133500000***
Registered led device: mmc1
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
s3c-sdhci s3c-sdhci.2: clock source 0: mmc_bus (133500000 Hz)
s3c-sdhci s3c-sdhci.2: clock source 1: mmc_bus (133500000 Hz)
s3c-sdhci s3c-sdhci.2: clock source 2: hsmmc (133500000 Hz)
/n*** mmc->f_min : 521484***
/n*** mmc->f_max : 133500000***
Registered led device: mmc2
mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
S3C_LCD clock got enabled :: 133.500 Mhz
LCD TYPE :: LMS350DF will be initialized
===================>>>>>>> S3C_FB_VFRAME_FREQ 60
GPIO-20 autorequested
GPIO-21 autorequested
power on sequence done...
display on sequence done...
Window[0] - FB1: map_video_memory: clear ff000000:00096000
FB1: map_video_memory: dma=37a00000 cpu=ff000000 size=00096000
Window[0] - FB2: map_video_memory: clear ff04b000:0004b000
FB2: map_video_memory: dma=37a4b000 cpu=ff04b000 size=0004b000
Console: switching to colour frame buffer device 40x30
fb0: s3cfb frame buffer device
Window[1] - FB1: map_video_memory: clear ff096000:00096000
FB1: map_video_memory: dma=37b00000 cpu=ff096000 size=00096000
Window[1] - FB2: map_video_memory: clear ff0e1000:0004b000
FB2: map_video_memory: dma=37b4b000 cpu=ff0e1000 size=0004b000
fb1: s3cfb frame buffer device
Window[2] - FB1: map_video_memory: clear ff12c000:0004b000
FB1: map_video_memory: dma=37980000 cpu=ff12c000 size=0004b000
fb2: s3cfb frame buffer device
Window[3] - FB1: map_video_memory: clear ff177000:0004b000
FB1: map_video_memory: dma=37c00000 cpu=ff177000 size=0004b000
fb3: s3cfb frame buffer device
Window[4] - FB1: map_video_memory: clear ff1c2000:0004b000
FB1: map_video_memory: dma=37c80000 cpu=ff1c2000 size=0004b000
*** KEVIN_DEBUG : First we search for SDIO...***
fb4: s3cfb frame buffer device
SMDK board LCD Backlight Device Driver (c) 2008 Samsung Electronics
Registered led device: lcd-backlight
*** KEVIN_DEBUG : ...then normal SD...***
***KEVIN : mmc_attach_sd***
s5pc100-uart.0: s3c2410_serial0 at MMIO 0xec000000 (irq = 16) is a S3C6400/10
s5pc100-uart.1: s3c2410_serial1 at MMIO 0xec000400 (irq = 20) is a S3C6400/10
s5pc100-uart.2: s3c2410_serial2 at MMIO 0xec000800 (irq = 24) is a S3C6400/10
s5pc100-uart.3: s3c2410_serial3 at MMIO 0xec000c00 (irq = 28) is a S3C6400/10
mmc0: new SD card at address 870b
mmcblk0: mmc0:870b SU02G 1931264KiB
mmcblk0:<7>PM: Adding info for No Bus:ram0
brd: module loaded
loop: module loaded
pmem: 1 init
pmem_gpu1: 1 init
pmem_adsp: 1 init
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
Linux video capture interface: v2.00
p1
S5PC100 MFC Driver, (c) 2009 Samsung Electronics
S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
S5PC1XX TVOUT Driver probe is done
S5PC1XX TVOUT Driver init OK.
s3c-fimc: controller 0 registered successfully
s3c-fimc: controller 1 registered successfully
s3c-fimc: controller 2 registered successfully
S3C JPEG Driver, (c) 2007 Samsung Electronics
S3C G3D Driver, (c) 2007-2009 Samsung Electronics
s3c_g3d version : 0x1020100
Driver 'sd' needs updating - please use bus_type methods
[S3C USB-OTG MODE] : DMA
android init
android_bind
mass_storage_function_add
android_usb gadget: Number of LUNs=1
adb_function_add
composite vendor = 0x18d1, product = 0x1, device = 0x222
android_usb gadget: android_usb ready
Registered gadget driver 'android_usb'
mice: could not register psaux device, error: -16
mice: PS/2 mouse device common for all mice
input: hkc100-keypad as /class/input/input0
HardKernel-C100(HKC100) dev board keypad driver initialized!!
input: hkc100-touch as /class/input/input1
TOUCH ID : 0xC2
HKC100 TOUCH request_irq = 36
HardKernel-C100 touch driver initialized!! Ver 1.0
bma150_sensor_init
input: bma150-sensor as /class/input/input2
BMA150 Sensor I2C 3 Wire Mode [rd = 0x00]
BMA150 Sensor Chip version [1.2]
BMA150 Sensor Chip ID [2]
HardKernel-C100 BMA150 Sensor driver initialized!! Ver 1.0
platform_driver_register 0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c-rtc s3c-rtc: rtc disabled, re-enabling
s3c-rtc s3c-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c.0: slave address 0x10
s3c2410-i2c s3c2410-i2c.0: bus frequency set to 379 KHz
parent clock for camera: 133.500 MHz, divisor: 3
s3c2410-i2c s3c2410-i2c.0: i2c-0: S3C I2C adapter
s3c2410-i2c s3c2410-i2c.1: slave address 0x10
s3c2410-i2c s3c2410-i2c.1: bus frequency set to 379 KHz
parent clock for camera: 133.500 MHz, divisor: 3
s3c2410-i2c s3c2410-i2c.1: i2c-1: S3C I2C adapter
max17040 0-0036: MAX17040 Fuel-Gauge Ver 02
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
cpuidle: using governor ladder
cpuidle: using governor menu
ret : fe
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
s5pc1xx_snd_rxctrl : RXDMA -> [off]
s5pc1xx_snd_rxctrl : IISCON [0x00000e78]
wm8991: WM8991 Audio Codec 0.1
WM8991 Control Interface : 2-Wire Mode, CSB Low
playback: 1, capture : 1
asoc: WM8991 ADC/DAC Primary <-> s5pc1xx-i2s1 mapping ok
Failed to add route LIN4->LIN34 PGA
playback: 1, capture : 1
asoc: SPDIF PAIFRX <-> s5p-spdif mapping ok
ALSA device list:
#0: s5pc100 (WM8991)
#1: smdkc100_spdif (SPDIF)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 17
Bluetooth: L2CAP ver 2.11
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.10
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
s3c-rtc s3c-rtc: setting system clock to 2009-12-06 00:39:05 UTC (1260059945)
*** KEVIN_DEBUG : First we search for SDIO...***
*** KEVIN_DEBUG : ...then normal SD...***
***KEVIN : mmc_attach_sd***
mmc1: new high speed SDHC card at address aaaa
mmcblk1: mmc1:aaaa SD04G 3872256KiB
mmcblk1: p4
*** KEVIN_DEBUG : First we search for SDIO...***
mmc2: new SDIO card at address 0001
firmware: requesting sd8686_helper.bin
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 156K
Warning: unable to open an initial console.
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
firmware: requesting sd8686.bin
init: untracked pid 1594 exited
init: untracked pid 1706 exited
warning: `rild' uses 32-bit capabilities (legacy support in use)
/ash: can't access tty; job control turned off
/ # enabling adb
adb_open
libertas: 00:0b:5d:b4:84:ed, fw 9.70.3p24, cap 0x00000303
libertas: PREP_CMD: command 0x00a3 failed: 2
libertas: PREP_CMD: command 0x00a3 failed: 2
libertas: eth0: Marvell WLAN 802.11 adapter
s3c-fimc: i2c client is not registered
s3c-fimc: i2c client is not registered
s3c-fimc: resolution changed to SVGA (800x600) mode
android_power: wakeup (0->0) at 20221645913 (2009-12-06 00:39:23.713618525 UTC)
bma150_sensor_open
/ #
인식이 안될때 시리얼 포트나 adb shell에서 로그를 볼 수 있을까요?
오드로이드 세트 문제인지 카드 문제인지 아니면 리더기 문제인지 PC 문제인지... 파악하기위해서요...
SD카드가 생각보다 정전기에 약한것 같습니다. 요즘 날씨가 좀 건조해서 카드를 만질때 금속 접점을 주의하시길...