LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   New SD/MMC Host driver, problem (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/new-sd-mmc-host-driver-problem-740499/)

tac2 07-16-2009 05:46 AM

New SD/MMC Host driver, problem
 
Hello
Im making my very first Linux driver at the moment, it's a Host driver to a custom made SD/MMC card

controller for opencores.org.

I wonder if someone has experience in writing those kind of host drivers, or blockdrivers in general?

Because i encounter some problems that i hope some one can give some advice on. Without no debug tool except

printk the debugging is tedious.

1) After the card initialization process,i got the following printout from the system:
Code:

mmc: new SD card at address 0002
mmcblk0 : mmc:0002 ???????????????????????????????????? 2129587936 KiB.

The print oblivious not correct in hex its (EFBF BDEF BFBD EFBF BDEF BFBD EFBF). The address output i was

able to track to the bus.c, but were does the "mmcblk0 : " line comes from?


All times are GMT -5. The time now is 04:54 AM.