[meta-xilinx] mmcblk not showing up? [sd card mounting]
Giordon Stark
kratsg at gmail.com
Thu Jan 21 06:44:18 PST 2016
Hi Nathan,
So the system.dts (and all the dts files) were generated from Xilinx. We
made two changes:
- first change was to connect the PHY chip to the ethernet
- second change was to update the bootargs
I'm assuming that if it exported the `xlnx,has-cd = <0x0>` -- it is
something specific to only xilinx that doesn't work with the linux kernel.
Although looking here (http://zedboard.org/content/sd-mounting-fails-linux)
seems like it should do something, but maybe I don't quite understand.
How do you determine what needs to be added to the device tree to get the
driver hooked up correctly?
Giordon
On Fri, Jan 15, 2016 at 2:14 AM Nathan Rossi <nathan at nathanrossi.com> wrote:
> On Fri, Jan 15, 2016 at 5:46 AM, Giordon Stark <kratsg at gmail.com> wrote:
> > Hi all,
> >
> > I'm booting a board with an OS successfully (putting all my files on the
> > micro sd card). However, I can't seem to bring up the SD Card at all.
> >
> > Log and an `ls` of the /dev directory:
> > https://gist.github.com/anonymous/44bb6f541dce751a1f7b
> >
> > Machine definition is here:
> >
> https://github.com/kratsg/meta-l1calo/blob/master/conf/machine/preprototype.conf
> >
> > Device trees are here:
> >
> https://github.com/kratsg/meta-l1calo/tree/master/conf/machine/boards/preprototype
> >
> > I'm not sure what else to do to get it working.
>
> Im just looking at the system.dts here, it appears you have
> "xlnx,has-cd = <0x0>;". Firstly do you not have the card detect signal
> connected? if you don't have it connected "xlnx,has-cd" is not going
> to do anything to help, you will need to use the boolean 'broken-cd'
> or 'non-removable'. Have a look at the kernel mmc binding docs in
> 'Documentation/devicetree/bindings/mmc/mmc.txt'.
>
> e.g.
>
> &sdhci0 {
> status = "okay";
> broken-cd;
> };
>
> Regards,
> Nathan
>
> >
> > Thanks,
> >
> > Giordon
> >
> >
> > --
> > _______________________________________________
> > meta-xilinx mailing list
> > meta-xilinx at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-xilinx
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20160121/37fbf8ed/attachment.html>
More information about the meta-xilinx
mailing list