Tool/software: Linux
Hi,
I want to know if TI kernel 3.12 support HS200 mode of eMMC, and if not is there any patches provided by TI to support HS200 mode on kernel 3.12?
Regards
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.
Hi @j3 si,
According to the Release notes, the HS200 mode support was added in GLSDK ver. 7.00.00.04:
which means that it happened when transitioning from 3.12 kernel to 3.14.
I would suggest if possible to migrate to newer version (current version of PSDKLA is based on 4.14 kernel):
Or otherwise, as last resort you can check the changes done in the kernel and try to backport them to 3.12, you should look at tag 'glsdk-7.00.00.04' in this git (I am not sure that it will be straightforward task thou):
Regards,
Yordan
Hi Yordan,
After back-porting the changes from 3.14 kernel based on TAG "glsdk-7.00.00.04" , I am getting the kernel panic issue as shown below:
[ 66.477757] Unable to handle kernel NULL pointer dereference at virtual address 00000000 ....... [ 66.905862] Backtrace: [ 67.121069] [<8036db64>] (mmc_rescan+0x0/0x308) from [<8005b8a4>] (process_one_work+0x138/0x41c) |
Could you help me out?
Regards
Hi
from the logs, it appears to be kernel crash inside the MMC driver- but dont have any further inference from the crash logs.
Can you review the patches that you had back ported from 3.14, and if they have been integrated cleanly
Hi Srirama,
Thanks for your reply!!
I verified the changes back-ported and seems fine to me. Since I have very little experience in eMMC so I am not sure if I missed something.
Let me brief what I have done, I have simply replaced the following files from the kernel 3.14 to 3.12:
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/omap.c
drivers/mmc/core/mmc.c
drivers/mmc/core/core.c
drivers/mmc/core/bus.c
drivers/mmc/core//host.c
and the relevant include files.
This issue is happening when it is calling omap_execute_tuning function. I am clueless here.
Would it be feasible for you to list the commits that will be taken from 3.14 branch that has HS200 support to back-port them into 3.12 branch or if feasible could you tell me what is being missed here.
Thanks again for your support!!
Regards
Hi,
It won't be easy to list down HS200 only patches, best would be to take all patches in omap_hsmmc driver.
For proper HS200 support, you have to backport the IODELAY support for MMC also.
Although this may not be the reason for the crash, but something to keep in mind.
Could you try below patch to see if it makes any difference?
http://git.omapzoom.org/?p=kernel/omap.git;a=commit;h=a710a8c9d514ab2ec09242276263ad2a4a7aece8
Also share the full kernel logs.
Regards,
Vishal
Hi,
I haven't heard back from you, I'm assuming you were able to resolve your issue.
If not, just post a reply below (or create a new thread if the thread has locked due to time-out).
Regards,
Vishal