Takeyoshi, I pushed some more files to the SDMMC branch— changing the IMXRT_HSDC to SAMA5_SDMMC throughout. It probably doesn't compile. I'll work on the registers and other problems tomorrow.
-adam On Sat, Mar 7, 2020 at 6:19 PM Adam Feuer <a...@starcat.io> wrote: > Cool. I'll see if I can work on the imxrt file then, in the branch I > linked to above. > > cheers > adam > > On Sat, Mar 7, 2020 at 6:15 PM Takeyoshi Kikuchi <kiku...@centurysys.co.jp> > wrote: > >> Adam, >> >> Since standards are determined by SD assotication, I think that the >> number of implementations according to the specifications has increased >> recently. >> >> https://www.sdcard.org/downloads/pls/index.html >> >> Because it includes DMA, I found it by greping the register. >> >> Since the implementation of imxrt supports 2 slots, I think that it is >> easier to port it considering the structure of the driver. >> >> Takeyoshi Kikuchi >> >> >> On 2020/03/08 10:52, Adam Feuer wrote: >> > They do look like the same register sets. Thanks for the pointer to >> them. >> > By the way, how did you find them...? :) >> > >> > I have to look at both files more closely... the Sony one is about 1400 >> > lines longer, so they seem somewhat different from each other. Have you >> > looked at these files at all? If so which one do you think is a better >> > starting point...? >> > >> > cheers >> > adam >> > >> > On Sat, Mar 7, 2020 at 3:28 PM Adam Feuer <a...@starcat.io> wrote: >> > >> >> Thanks. I was on my phone last night and couldn't find the right >> files... >> >> I'll check out the ones you mentioned. >> >> >> >> cheers >> >> adam >> >> >> >> On Fri, Mar 6, 2020 at 10:33 PM Takeyoshi Kikuchi < >> >> kiku...@centurysys.co.jp> wrote: >> >> >> >>> No, >> >>> >> >>> In addition to the board-specific parts you implemented, we need to >> port >> >>> the code of nuttx/arch/arm/src/cxd56xx/cxd56_sdhci.c or >> >>> nuttx/arch/arm/src/imxrt/imxrt_usdhc.c to sama5d2. >> >>> >> >>> >> >>> >> >>> On 2020/03/07 15:15, Adam Feuer wrote: >> >>>> This one? >> >>>> >> >>>> >> >>> >> https://github.com/apache/incubator-nuttx/blob/master/boards/arm/cxd56xx/spresense/src/cxd56_sdcard.c >> >>>> >> >>>> On Fri, Mar 6, 2020 at 21:42 Adam Feuer <a...@starcat.io >> >>>> <mailto:a...@starcat.io>> wrote: >> >>>> >> >>>> Do those have NuttX implementations? If so will you point me at >> >>> them? >> >>>> >> >>>> -adam >> >>>> >> >>>> On Fri, Mar 6, 2020 at 21:40 Takeyoshi Kikuchi >> >>>> <kiku...@centurysys.co.jp <mailto:kiku...@centurysys.co.jp>> >> wrote: >> >>>> >> >>>> Adam, >> >>>> >> >>>> Since the SDMMC controller of the SAMA5D2 series is >> compatible >> >>>> with the >> >>>> standard register set, I think it is better to port the >> >>>> implementation >> >>>> of SONY CXD56xx or NXP i.MXRT. >> >>>> >> >>>> Takeyoshi Kikuchi >> >>>> >> >>>> On 2020/03/07 9:29, Adam Feuer wrote: >> >>>> > Takeyoshi, >> >>>> > >> >>>> > I started a branch for SAMA5D27 SDMMC support, it's here: >> >>>> > >> >>>> > >> >>>> >> >>> >> https://github.com/starcat-io/incubator-nuttx/tree/feature/sama5d27-sdmmc-support >> >>>> > >> >>>> > I just started it, so not much progress, but I'll let you >> >>>> know if I get >> >>>> > any further. >> >>>> > >> >>>> > -adam >> >>>> > -- >> >>>> > Adam Feuer <a...@starcat.io <mailto:a...@starcat.io> >> >>>> <mailto:a...@starcat.io <mailto:a...@starcat.io>>> >> >>>> >> >>>> -- >> >>>> --------------------------------- >> >>>> Takeyoshi Kikuchi >> >>>> kiku...@centurysys.co.jp <mailto:kiku...@centurysys.co.jp> >> >>>> >> >>>> -- >> >>>> Adam Feuer <a...@starcat.io <mailto:a...@starcat.io>> >> >>>> >> >>>> -- >> >>>> Adam Feuer <a...@starcat.io <mailto:a...@starcat.io>> >> >>> >> >>> -- >> >>> --------------------------------- >> >>> センチュリー・システムズ株式会社 >> >>> ソフトウェア開発第四部 >> >>> 菊地 武義 >> >>> kiku...@centurysys.co.jp >> >>> >> >> >> >> >> >> -- >> >> Adam Feuer <a...@starcat.io> >> >> >> > >> > >> >> -- >> --------------------------------- >> Takeyoshi Kikuchi >> kiku...@centurysys.co.jp >> > > > -- > Adam Feuer <a...@starcat.io> > -- Adam Feuer <a...@starcat.io>