[U-Boot] u-boot on Minnowboard max

Bin Meng bmeng.cn at gmail.com
Wed Jun 8 07:00:40 CEST 2016


Hi,

On Tue, Jun 7, 2016 at 7:40 PM, vinoth eswaran <evinoth1206 at 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


More information about the U-Boot mailing list