This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SDHC supported by dm6446

HI

       Now my platform is dm6446,pro5.0  linux 2.6.18, dvsdk_setuplinux_2_00_00_22.bin  , mvl_5_0_0_demo_lsp_setuplinux_02_00_00_140.bin  . I want make my chip support SDHC , How can i get it ? Is there patch?   Thanks

  • Check this wiki page. 

    http://processors.wiki.ti.com/index.php/How_to_use_SDHC_on_DM365_with_MontaVista_5.0

  • I had checked the wiki page ,but the test requirements is  LSP_2.10.00.14, mine is LSP_2.00.00.140,  So my software engineer told me that  he can not add the patch to my uImage,   because he can not compile it succussfully.  is that right ?

  • Zhang,

    It might not apply directly. I haven't tried the patch myself. Can you try to manually merge the changes?

  • OK, Thomas, thank you !  my software enginner is trying to change our LSP from 2.00.00.140 to 2.10.00.14, when I got it, I will try it again and tell you the result.

    By the way ,at the same time , I was trying to change the SD driver to make it support  SDHC,  is anybody has the code in any form, so I can have a reference?

  • terrt zhang said:

    By the way ,at the same time , I was trying to change the SD driver to make it support  SDHC,  is anybody has the code in any form, so I can have a reference?

    I think that patch I've forwarded you will do the same thing.

  • Yes Thomas, the patch will do the same thing ,but the file (name\include,and so on) is different in different LSP. so when I "patch -p1 -i sdhc_mcl.diff" , it tell me that  can't find file to patch at input line 4
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |diff -ru a/drivers/mmc/davinci-mmc.c b/drivers/mmc/davinci-mmc.c
    |--- a/drivers/mmc/davinci-mmc.c        2009-09-18 18:23:54.790783008 -0400
    |+++ b/drivers/mmc/davinci-mmc.c        2009-09-18 18:25:02.883807894 -0400
    --------------------------
    File to patch:

    so is hard to verify the drivers

     

    by the way ,under the lsp_2.10, I can patch the driver and support SanDisk  SDHC . 

    mmcblk0: mmc0:1234 SA04G 3813376KiB
     mmcblk0: p1

     

    thank you thomas