[meta-xilinx] PLEASE HELP: zynqmp sdhci1 not working correcly in kernel

Jean-Francois Dagenais jeff.dagenais at gmail.com
Thu Apr 6 04:39:24 PDT 2017


Hi gang,

I am still struggling with this... This is on our custom board now.

Using the meta-xilinx state of u-boot-xlnx, atf and linux-xlnx (2016.4), I get a panic soon after ATF entry (at 0x00000000fffea80c). So this is one track that I could research. Any hints?

So since I get further in the "master branches" track, I'm mostly exploring this. Using a "hacked" pmufw pretending to be 0.3 and a permissive PmGetMmioAccess() function (inserted an early "return true"), I get through SPL, atf, u-boot then the kernel.

The problem is, although the SD1 (0xff170000) booted the system in u-boot, once in the kernel, I get errors initializing the sd card on schci1 (ff170000.sdhci). And this is either with ZYNQPM_PM_DOMAINS enabled or not, contrary to Mike's experience.

I've somewhat worked around it by putting my whole yocto image in initramfs, so I get a shell. Thats "something".

Is there any more hacks I could perform in pmufw? Any other hints at all? I'm at a loss here.

What exactly is wrong with this setup. If the xilinx guys could give a brief description of what shouldn't work, that could help! Once I know where to look for, I'll nearly be done with the problem I'm sure.

Thanks again for the support!
/jfd


More information about the meta-xilinx mailing list