I need to find a way to get SDHC cards working on the DM365 (for application read/write, not boot). Regular SD cards work, but SDHC cards are not recognised by the kernel.
The kernel mainline would "just work", but it or the current linux-davinci git tree do not support the DM365 yet, so I can't use them.
The MV 2.6.18 kernel does not have SDHC in the mmc layer. It was added to the mainline around 2.6.21. I could try and merge mainline changes in the mmc layer until it works, but there is quite a distance between 2.6.18 and 2.6.21 and I may have to go further before it actually works and there is a major reorganisation of the code in 2.6.22, so this could be hard. If there are changes required to the davinci host driver, I wouldn't know as the mainline had no davinci support at that time.
The PSP for the DM355 had some optional patches (part of REL_TI_DAVINCI_MV_1_0_PATCH_LEVEL_050) to add a davinci port of the atheros SDIO stack which included SDHC support. This subsystem replaces the regular kernel mmc layer. I could try and merge this patch set, but it is against 2.6.10, not 2.6.18 and for the DM355, not the DM365. Seeing that the LSP for the DM365 has davinci mmc changes even since the relatively recent LSP for the DM357, it seems unlikely that code written for the DM355 against 2.6.10 will work.
Does anyone have an opinion on the best approach?