2008-08-11 09:32:57 with sd card on ADSP-BF548 EZ-KIT
Jingwei Cheng (CHINA)
Message: 60248
hello,every one!
I can't config SD card on ADSP-BF548 EZ-KIT .
Because I can't find /proc/spi_mmc.
How to config?
Thanks!!!
TranslateQuoteReplyEditDelete
2008-08-11 09:44:30 Re: with sd card on ADSP-BF548 EZ-KIT
Mike Frysinger (UNITED STATES)
Message: 60249
that doesnt really make sense ... the SD card interface on the BF548 is an on-chip peripheral. it is not a SPI-bitbanging device like the "spi_mmc" driver that is used on BF53x parts.
QuoteReplyEditDelete
2008-08-11 09:51:46 Re: with sd card on ADSP-BF548 EZ-KIT
Jingwei Cheng (CHINA)
Message: 60250
Thank you Mike,if I want to to use sd card on ADSP-BF548 EZ-KIT,it should be how to configure?
TranslateQuoteReplyEditDelete
2008-08-11 10:19:28 Re: with sd card on ADSP-BF548 EZ-KIT
Mike Frysinger (UNITED STATES)
Message: 60251
just enable the BF548 SD driver and the MMC block layer, then use /dev/mmcblk* like any other system
QuoteReplyEditDelete
2008-08-11 22:25:43 Re: with sd card on ADSP-BF548 EZ-KIT
Jingwei Cheng (CHINA)
Message: 60265
mount faile!
My kernel configuration is as follows: Other default.
Linux Kernel Configuration--->
Device Drivers--->
<*>MMC/SD card support--->
--- MMC/SD card support
[] MMC debugging
[] Allow unsafe resume (DANGEROUS)
--- MMC/SD Card Drivers
<*> MMC/SD block device drivers
--- MMC/SD Host Controller Drivers
<M> Blackfin Secure Digital Host support
[] Blackfin EZkit Rev 1.3 Missing SDH_CMD Pull Up Resistor Workaround
<> MMC/SD for SPI support (EXPERIMENTAL)
on target:
root:/dev>
root:/dev>
root:/dev> ls
audio null ram7 tty18 tty33 tty49 tty7
console otp ram8 tty19 tty34 tty5 tty8
dsp ptmx ram9 tty2 tty35 tty50 tty9
fb0 pts random tty20 tty36 tty51 ttyBF0
full ram0 rtc0 tty21 tty37 tty52 urandom
i2c-0 ram1 snd tty22 tty38 tty53 vcs
kmem ram10 tty tty23 tty39 tty54 vcs1
kmsg ram11 tty0 tty24 tty4 tty55 vcsa
log ram12 tty1 tty25 tty40 tty56 vcsa1
mem ram13 tty10 tty26 tty41 tty57 watchdog
mixer ram14 tty11 tty27 tty42 tty58 zero
mtd0 ram15 tty12 tty28 tty43 tty59
mtd0ro ram2 tty13 tty29 tty44 tty6
mtd1 ram3 tty14 tty3 tty45 tty60
mtd1ro ram4 tty15 tty30 tty46 tty61
mtdblock0 ram5 tty16 tty31 tty47 tty62
mtdblock1 ram6 tty17 tty32 tty48 tty63
root:/dev> mount -t vfat -o sync /dev/mmcblock0 /mnt/mmc
mount: mounting /dev/mmcblock0 on /mnt/mmc failed
root:/dev>
root:/dev>
root:/dev>
root:/dev>
TranslateQuoteReplyEditDelete
2008-08-12 21:51:21 Re: with sd card on ADSP-BF548 EZ-KIT
Mike Frysinger (UNITED STATES)
Message: 60355
clearly if /dev/mmcblock0 doesnt exist, then it isnt going to work. trying to run commands isnt going to change that.
mmcblock is like any other block device. you have to debug it one step at a time to figure out what is failing. start with the kernel boot output to see what the driver has to say about the driver and any cards.
QuoteReplyEditDelete
2008-08-12 22:26:34 Re: with sd card on ADSP-BF548 EZ-KIT
Cliff Cai (CHINA)
Message: 60356
Hi Jingwei,
I think you should configure a built-in sdh driver and choose the workaround ,just as following:
<*> Blackfin Secure Digital Host support
[*] Blackfin EZkit Rev 1.3 Missing SDH_CMD Pull Up Resistor Workaround
Cliff
QuoteReplyEditDelete
2008-08-13 03:43:10 回复: Re: with sd card on ADSP-BF548 EZ-KIT
Jingwei Cheng (CHINA)
Message: 60366
all kernel config is default.
I use the nandflash, will have an impact??
Cliff,I config the host,buf can't find /dev/mmc,can't mount,can't find sd card.
Thanks.
TranslateQuoteReplyEditDelete
2008-08-13 04:04:11 Re: 回复: Re: with sd card on ADSP-BF548 EZ-KIT
Cliff Cai (CHINA)
Message: 60367
You can run: ./build_sdiommc_kernel.exp BF548-EZKIT (under testsuites/sdiommc/)
to generate the config file for SD/MMC .
Cliff
QuoteReplyEditDelete
2008-08-13 09:59:17 回复: Re: 回复: Re: with sd card on ADSP-BF548 EZ-KIT
Jingwei Cheng (CHINA)
Message: 60401
what's mean?
run: ./build_sdiommc_kernel.exp BF548-EZKIT (under testsuites/sdiommc/)
I don't understand,Cliff.