Firefly Open Source Community

Title: System freezing when replaced with another eMMC [Print This Page]

Author: motive1    Time: 4/20/2017 16:34
Title: System freezing when replaced with another eMMC
Last edited by motive1 In 4/20/2017 16:36 Editor

System freezing when replaced with another eMMC

How to reproduce:
1. Replace the original 32GB Samsung eMMC with another manufacturer's eMMC
2. Download Firefly-RK3399_Android6.0_201703181519.img using AndroidTool
3. After downloading and rebooting, the system will freeze after proceeding to the following kernel log.(Attached the full log.)
...
[ 1.715125] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.717158] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.718873] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.721783] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.733657] u?
[ 1.782257] mmc_host mmc2: Bus speed (slot 0) = 200000000Hz (slot req 208000000Hz, actual 200000000HZ div = 0)

I have tested eMMCs from other manufacturers (Sandisk, Micron, Hynix Toshba, etc.) but all have the same problem except for the original soldered eMMC.
It is the same symptom in other types of memory even made by Samsung.


Somebody please help me.


teraterm_20170420_172652_recovery.zip

14.75 KB, Down times: 6

full log


Author: motive1    Time: 4/20/2017 16:47

I modified the mmc driver to print all eMMC commands.
As a result, I confirmed that the system had access to the RPMB area of eMMC at the point of the problem.
Does the platform check the authenticated eMMC to limit its operation?

[    1.571560] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.573428] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.575325] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.578638] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.587821] mmc1: CMD(6) = 0x03B30301           <== Select RPMB Area
[    1.587946] mmc1: CMD(13) = 0x00010000
[    1.588021] mmc1: CMD(13) = 0x00010000
[    1.588143] mmc1: CMD(25) = 0x00000000
[    1.588276] mmc1: CMD(13) = 0x00010000
[    1.588421] mmc1: CMD(18) = 0x00000000        < read somthing
[    1.588735] mmc1: CMD(13) = 0x00010000
[    1.588923] mmc1: CMD(6) = 0x03B30001        <== Select RPMB Area
[    1.589101] mmc1: CMD(13) = 0x00010000
Author: mobile360    Time: 6/11/2018 18:29
was the issue resolved?
I came across the same issue, and please teach me how to modify mmc driver to print all emmc commands




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1