Hi
I have an external emmc connected on sdmmc1.
Currently with below entry external emmc is working on hs200 mode
sdhci@3400000 { /added external eMMC support on SDMMC1/
uhs-mask = <0x1f>;
no-sdio;
no-sd;
non-removable;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
nvidia,cd-wakeup-capable;
nvidia,enable-strobe-mode;
status = “okay”;
};
root@localhost:/home/ubuntu# dmesg | grep mmc
[ 0.000000] Kernel command line: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw M
[ 0.449035] GPIO line 445 (sdmmc-wake-support-input) hogged as input
[ 0.449080] GPIO line 446 (sdmmc-wake-support-output) hogged as output/high
[ 0.525548] vddio-sdmmc1: 1800 <–> 3300 mV at 3300 mV
[ 4.400269] mmc1: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA 64-bit with 64 bit addr
[ 4.400290] mmc0: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA 64-bit with 64 bit addr
[ 4.412263] mmc2: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA 64-bit with 64 bit addr
[ 4.455034] mmc0: mmc_decode_ext_csd: CMDQ supported: depth: 31, cmdq_support: 1
[ 4.469241] mmc0: periodic cache flush enabled
[ 4.469248] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[ 4.471036] mmc2: Applying tuning correction
[ 4.471088] WARNING: CPU: 3 PID: 1616 at …/drivers/mmc/host/sdhci-tegra.c:660 tegra_sdhci_post_tuning+0x474/0x630
[ 4.471103] Workqueue: events_freezable mmc_rescan
[ 4.471158] mmc_execute_tuning+0x58/0xe0
[ 4.471160] mmc_hs200_tuning+0x3c/0x70
[ 4.471162] mmc_init_card+0x8dc/0xd68
[ 4.471164] mmc_attach_mmc+0xa4/0x168
[ 4.471166] mmc_rescan+0x2f8/0x370
[ 4.471180] mmc2: Tap value after applying correction 19
[ 4.471186] mmc2: hw tuning done …
[ 4.471880] mmc2: new HS200 MMC card at address 0001
[ 4.472800] mmcblk0: mmc0:0001 DG4016 14.7 GiB
[ 4.476182] mmcblk2: mmc2:0001 DA6128 116 GiB
[ 4.476306] mmcblk2boot0: mmc2:0001 DA6128 partition 1 4.00 MiB
[ 4.476934] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[ 4.477037] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 4.480430] mmcblk2boot1: mmc2:0001 DA6128 partition 2 4.00 MiB
[ 4.480531] mmcblk2rpmb: mmc2:0001 DA6128 partition 3 4.00 MiB
[ 4.483009] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB
[ 4.486088] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32
[ 16.620646] mmcblk mmc0:0001: Card claimed for testing.
[ 16.620653] mmcblk mmc2:0001: Card claimed for testing.
[ 16.763263] Root device found: mmcblk0p1
[ 16.768127] Found dev node: /dev/mmcblk0p1
[ 16.791428] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 16.800176] Rootfs mounted over mmcblk0p1
[ 17.299528] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ 19.829373] EXT4-fs (mmcblk2): mounted filesystem with ordered data mode. Opts: (null)
[ 138.898957] EXT4-fs (mmcblk0p32): mounted filesystem with ordered data mode. Opts: (null)
Whenever i am doing any read/write on the emmc, below logs are continuously coming in dmesg:
[ 1677.265071] sdhci-tegra 3400000.sdhci: tegra_sdhci_pad_autocalib: error -19 in comp vref settings
[ 1677.274107] sdhci-tegra 3400000.sdhci: tegra_sdhci_pad_autocalib: error -19 in autocal-en settings
[ 1677.283225] sdhci-tegra 3400000.sdhci: error -19 in autocal-pu-pd-offset settings
Please suggest how can i fix them.