Reference for eMMC tuning 410

Hello,

Summary: I am trying to use different MCP part from Samsung. This part is pin to pin compatible to the current MCP from SanDisc and suits the same voltage levels.

Issue: I am facing errors while trying to write the eMMC.

=== Entry: name: , size: 65536, align: , type: , format: , file:
=== Entry: name: cdt, size: 2, align: , type: A19F205F-CCD8-4B6D-8F1E-2D9BC24CFFB1, format: , file: sbc_1.0_8016.bin
=== Entry: name: sbl1, size: 512, align: , type: DEA0BA2C-CBDD-4805-B4F9-F428251C3E98, format: , file: sbl1.mbn
=== Entry: name: rpm, size: 512, align: , type: 098DF793-D712-413D-9D4E-89D711772228, format: , file: rpm.mbn
=== Entry: name: tz, size: 1024, align: , type: A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4, format: , file: tz.mbn
=== Entry: name: hyp, size: 512, align: , type: E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A, format: , file: hyp.mbn
=== Entry: name: sec, size: 16, align: 65536, type: 303E6AC3-AF15-4C54-9E9B-D9A8FBECF401, format: , file:
=== Entry: name: aboot, size: 1024, align: , type: 400FFDCD-22E0-47E7-9A23-F16ED9382388, format: , file: emmc_appsboot.mbn
=== Entry: name: boot, size: 65536, align: , type: 20117F86-E985-4357-B9EE-374BC1D8487D, format: , file: boot.img
=== Entry: name: devinfo, size: 1024, align: , type: 1B81E7E6-F50D-419B-A739-2AEEF8DA3335, format: , file:
=== Entry: name: rootfs, size: 0, align: , type: , format: fastboot, file: rootfs.img
=== Create file with size (kb): 7634944
=== Destroy GPT data on block device: /dev/mmcblk0
[ 157.290874] mmcblk0: retrying because a re-tune was needed
Warning! Main and backup partition tables differ! Use the ‘c’ and ‘e’ options
on the recovery & transformation menu to examine the two tables.
mmcblk0: error -84 transferring data, sector 15269848, nr 40, cmd response 0x900, card status 0xd00
blk_update_request: I/O error, dev mmcblk0, sector 15269848
[ 158.424971] Buffer I/O error on dev mmcblk0, logical block 1908731, lost async page write
[ 158.431548] blk_update_request: I/O error, dev mmcblk0, sector 15269856
[ 158.439820] Buffer I/O error on dev mmcblk0, logical block 1908732, lost async page write
[ 158.446257] blk_update_request: I/O error, dev mmcblk0, sector 15269864
[ 158.454582] Buffer I/O error on dev mmcblk0, logical block 1908733, lost async page write
[ 158.461012] blk_update_request: I/O error, dev mmcblk0, sector 15269872
[ 157.953351] mmc0: Reset 0x1 never completed.
[ 157.953363] sdhci: =========== REGISTER VDUMP (mmc0)===========
[ 157.956667] sdhci: Sys addr: 0x00000000 | Version: 0x00002e02
[ 157.962311] sdhci: Blk size: 0x00004000 | Blk cnt: 0x00000000
[ 157.968212] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 157.974029] sdhci: Present: 0x01f80000 | Host ctl: 0x00000000
[ 157.979845] sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 157.985660] sdhci: Wake-up: 0x00000000 | Clock: 0x00000003
[ 157.991476] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 157.997293] sdhci: Int enab: 0x00000000 | Sig enab: 0x00000000
[ 158.003109] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 158.008926] sdhci: Caps: 0x322dc8b2 | Caps_1: 0x00008007
[ 158.014743] sdhci: Cmd: 0x00000000 | Max curr: 0x00000000
[ 158.020557] sdhci: Host ctl2: 0x00000000
[ 158.026372] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000000000000
[ 158.030454] sdhci: ===========================================
[ 158.039459] l5: Restricting voltage, 3300000-1800000uV
[ 158.042627] l5: Restricting voltage, 3000000-1800000uV
[ 158.047781] l5: Restricting voltage, 3300000-1800000uV
[ 158.052875] l5: Restricting voltage, 2700000-1800000uV
[ 158.057991] mmc0: Switching to 3.3V signalling voltage failed

Observations: While debugging I didn’t see any errors reported by kernel during tuning phase.

Any clues for the issue.
Thanks