[meta-xilinx] Recipes for MicroZed

Anders Berndtsson anders.berndtsson at idptech.se
Mon Jan 13 04:11:10 PST 2014


Hallo all,

I have made recipes for the MiroZed board, based on the current Master
branch.

During the development I had problem to access the SD cards. 

Finally I found a solution at the Elphel project where the clocks frequency
are changed in the device tree generator for the ps7_sd_0 as follows.

 

                                ps7_sd_0: ps7-sdio at e0100000 {

                                                clock-frequency =
<0x7735940>; 

                                                clock-names = "ref_clk",
"aper_clk"; 

                                                clocks = <&clkc 21>, <&clkc
32>;

                                                compatible =
"xlnx,ps7-sdio-1.00.a", "generic-sdhci"  , "arasan,sdhci-8.9a";  

                                                interrupt-parent =
<&ps7_scugic_0>;

                                                interrupts = <0 24 4>;

                                                reg = <0xe0100000 0x1000>;

                                                xlnx,has-cd = <0x0>;

                                                xlnx,has-power = <0x0>;

                                                xlnx,has-wp = <0x0>;

                                                xlnx,sdio-clk-freq-hz =
<0x3f93e10>; 

                                } ;

 

I have now following questions.

1.       Why is it working with this frequencies? In Xilinx-Zynq manual max
frequency for the SD core is 50Mhz and also the zedboard is using 50 MHz.

2.       On the zed board the WP and CD are connected to MDIO 46 and 47, on
microzed there is no WP and CD is connected to MDIO 46. In the device tree
generator I disabled all signals but it seems that the CD works anyway, how
come?

3.       Where can I find the source code for the ps7_sd_0 driver?

 

My images seems to work well and stable, but I'm a newbie for both linux and
Yocto so I will not publish anything official.

If someone is interested to test out this recipes and do the work I'm glad
to chair my code. Just send a mail.

 

Regards

Anders

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140113/0dcbd4a5/attachment.html>


More information about the meta-xilinx mailing list