
Hello Mr.Bin,
May I know what is the issue , if you could explain I can fix this in my target and could provide the patch. I am stuck up with this issue and couldn't able to proceed further.
Thanks a lot:)
Mit Freundlichen Grüßen VinothKumar +49 1798909072
On Wed, Jun 8, 2016 at 7:00 AM, Bin Meng bmeng.cn@gmail.com wrote:
Hi,
On Tue, Jun 7, 2016 at 7:40 PM, vinoth eswaran evinoth1206@gmail.com wrote:
Hello Mr.BIn,
I tested using the latest u-boot (u-boot-2016.07-rc1) with CONFIG_GENERATE_ACPI_TABLE=y enabled. I am still facing the same issue, the Linux kernel is not able to initialize the root file system from the sd card. I have attached the logs for your reference.
My Analysis: [ 1.267312] sdhci-pci 0000:00:12.0: failed to setup card detect gpio -- this error message I am seeing with UEFI firmware also. So I am assuming it is not the issue here.
I have done some debugging of MMC initialisation and found that in mmc_rescan function (drivers/mmc/core/core.c)
host->ops->get_cd(host) returns 0
and the condition is failed. So MMC is not getting intialized. i checked the return of
!!(sdhci_readl(host, SDHCI_PRESENT_STATE) & SDHCI_CARD_PRESENT); and here I am seeing that
with U-boot version it is 1FA0000 and bit AND with 0x00010000 is zero (condition fails) with UEFI version it is 1FF0000 and bit AND with 0x00010000 is one (condition succeeded)
Do you have any idea why this is happening, any input from your side will help me
Issue identified. Working on a fix. Stay tuned.
Thanks a lot:)
Mit Freundlichen Grüßen VinothKumar +49 1798909072
Please stop top-posting. Thanks!
Regards, Bin