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.

OMAP4 x-loader emmc 8-bit



Hello,

x-loader doesn't seem to be optimized for 8-bit transfer with emmc. For instance, here:

http://omapzoom.org/?p=repo/x-loader.git;a=blob;f=cpu/omap4/mmc.c;h=efd7860cf55af0f62f1eff562f11a4a7a2a65aed;hb=dd88047040dce4a926a6ab80e207bc757f44d648

I see only DW8_1_4BITMODE. Is there a patch or a tree somewhere to have maximum read speed for emmc at x-loader level?

Many thanks in advance.

  • Hello,

    What OS are you using? Ubuntu (GLP1.6.x) or Android?

    I checked the latest official android release for omap4 (http://omappedia.org/wiki/4AJ.2.5P2_OMAP4_Jelly_Bean_Release_Notes) but I could only see DW8_1_4BITMODE in cpu/pomap4/mmc.c.

    To my knowledge official TI releases use only DW8_1_4BITMODE.

    I found a modification of this function that uses DW_1_8BITMODE here: https://github.com/wkpark/u-boot-omap4-optimus/blob/master/cpu/omap4/mmc.c, but I cannot guarantee that this code will work OK on omap4 based platforms from TI (Blaze, Blaze tablet & Pandaboard).  You can try to enable this yourself.

    Best Regards,

    Yordan

  • This driver is from u-boot but it's pretty self-contained so it's possible to use it within x-loader. Strangely, it didn't work for 4-bit sd but it worked for 8-bit emmc at maximum speed which is what I wanted. Thanks.