<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zynq PS IP Core Ethernet Doesn&amp;#39;t Come Up</title><link>https://community.element14.com/products/devtools/avnetboardscommunity/avnetboard-forums/f/using-xilinx-tools-forum/36013/zynq-ps-ip-core-ethernet-doesn-t-come-up</link><description>Hello All, I&amp;#39;m currently working on the zedboard running and open embedded OS using the latest xilinx provided kernel and devicetree (3.19 and zynq-zed.dtb). I build my firmware using Vivado&amp;#39;s block diagram feature and configure the Zynq PS IP core by</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Wed, 24 Jun 2015 18:22:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/devtools/avnetboardscommunity/avnetboard-forums/f/using-xilinx-tools-forum/36013/zynq-ps-ip-core-ethernet-doesn-t-come-up" /><item><title>RE: Zynq PS IP Core Ethernet Doesn't Come Up</title><link>https://community.element14.com/thread/130454?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 18:22:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0caca9ac-241d-4b67-b9ea-0df77371cfaa</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi Ron,&lt;br /&gt;The original FSBL I was using I generated for my hardware using SDK. I did do some more digging and found that in fact the latest u-boot can generate a working build using the &amp;quot;foreign&amp;quot; FSBL. The &amp;quot;native&amp;quot; FSBL I was using was what was causing the failures. I rebuilt the FSBL, which as an aside took forever as my Vivado SDK decided it wanted to go ahead and corrupt itself, but I could still run the build through the command line. The re-generated FSBL also works. I&amp;#39;m not sure why the original FSBL wasn&amp;#39;t working. Thanks for the insight, though, it was very helpful in trying to understand why this didn&amp;#39;t work.&lt;br /&gt;-Austin&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zynq PS IP Core Ethernet Doesn't Come Up</title><link>https://community.element14.com/thread/130467?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 14:56:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:65f1fef2-d5b7-42ee-b756-453d47ee73d0</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Austin,&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp; The FSBL sets numerous device registers to set up the Zynq PS, so in general you should always make sure you generate the correct FSBL for a specific design, and not just copy it from another project.&amp;nbsp; Since the Ethernet is part of the hard-core, I&amp;#39;m not saying another FSBL won&amp;#39;t work (obviously the ADI example does), but if you had any special configuration set up in the Vivado design these setting would not be passed on to a &amp;quot;foreign&amp;quot; FSBL.&amp;nbsp;&amp;nbsp; As for U-boot, it&amp;#39;s job is to load the kernel and DTB into DDR and it may pass some kernel arguments to the Linux loader, but I&amp;#39;m not aware of anything that would affect the Ethernet (but if anyone is and can enlighten me, please do).&amp;nbsp; U-boot itself usually tries to make contact with a DHCP server, so if was not working it could be a clue that the PHY was not operating correctly at U-boot startup, and that points the finger at the hardware design (or FSBL configuration).&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;It would be interesting to know which component was the culprit here.&amp;nbsp; If you have time, try swapping them out for your original versions one at a time and see if you can isolate the error.&lt;/p&gt;&lt;p style="margin:0;"&gt;Glad you got it going.&lt;/p&gt;&lt;p style="margin:0;"&gt;Ron&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zynq PS IP Core Ethernet Doesn't Come Up</title><link>https://community.element14.com/thread/130446?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2015 00:45:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ec536cb9-a393-40af-8d08-130b768db498</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;I had a bad fsbl.elf or a bad u-boot, but when I switched to the fsbl.elf/u-boot supplied by Analog Devices, the Ethernet works like a charm. I didn&amp;#39;t think those could affect the Ethernet, also why just the Ethernet? Too weird, but bottom line got Ethernet and DMA working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zynq PS IP Core Ethernet Doesn't Come Up</title><link>https://community.element14.com/thread/130442?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2015 19:03:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:298b1a5b-85a4-4132-9a73-783b2936781f</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;I had tried implementing a DTS like that. I tried that again using your example.&lt;br /&gt;It still didn&amp;#39;t work, but that did eliminate the message regarding selecting &lt;br /&gt;a phy driver, so that does seem to force it to default to the Marvell. It&amp;#39;s still &lt;br /&gt;not starting the ethernet clock. I&amp;#39;ve had the Ethernet come up with a 2014.2 build &lt;br /&gt;if I use the project distributed by Analog Devices for their FMCOMMS2 board. &lt;br /&gt;I&amp;#39;ve copied their block design into a new project, removed everything except the &lt;br /&gt;PS7 IP and when I build that cleaned version, it fails in the same way it has been &lt;br /&gt;failing. I&amp;#39;m certain at this point that my issue has something to do with project &lt;br /&gt;settings or build environment settings and not devicetree or IP core settings. &lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zynq PS IP Core Ethernet Doesn't Come Up</title><link>https://community.element14.com/thread/130424?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 19:45:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c60f5199-06f3-4972-8c3e-77d00238c11b</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi Austin,&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;I&amp;#39;m not aware of any problems in particular with a standard Ethernet design on any Zynq devices (Zedboard included) migrating from the old tools to the current versions.&amp;nbsp;&amp;nbsp; There have been some problems with more complex designs, such as dual-ethernet, but that shouldn&amp;#39;t apply here.&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;There is an example Ethernet Performace design posted for Zedboard that uses the 2014.4 tool release, and it works fine.&amp;nbsp; I decompiled the DTB that is suppled with that, and it gave me the following source for the Ethernet.&amp;nbsp; Perhaps you can compare this with your device tree entry and see if there is anything that leaps out.&amp;nbsp; This was built using the xilinx open source Linux, so it should be applicable to your implementation.&lt;/p&gt;&lt;p style="margin:0;"&gt;Ron&lt;/p&gt;&lt;p style="margin:0;"&gt;eth@e000b000 {&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = &amp;quot;xlnx,ps7-ethernet-1.00.a&amp;quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0xe000b000 0x1000&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupts = &amp;lt;0x0 0x16 0x0&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupt-parent = &amp;lt;0x1&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;phy-handle = &amp;lt;0x2&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,ptp-enet-clock = &amp;lt;0x69f6bc7&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,slcr-div0-1000Mbps = &amp;lt;0x8&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,slcr-div0-100Mbps = &amp;lt;0x8&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,slcr-div0-10Mbps = &amp;lt;0x8&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,slcr-div1-1000Mbps = &amp;lt;0x1&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,slcr-div1-100Mbps = &amp;lt;0x5&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlnx,slcr-div1-10Mbps = &amp;lt;0x32&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#address-cells = &amp;lt;0x1&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#size-cells = &amp;lt;0x0&amp;gt;;&lt;br /&gt; &lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;phy@0 {&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = &amp;quot;marvell,88e1510&amp;quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;device_type = &amp;quot;ethernet-phy&amp;quot;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x0&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;marvell,reg-init = &amp;lt;0x3 0x10 0xff00 0x1e 0x3 0x11 0xfff0 0xa&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;linux,phandle = &amp;lt;0x2&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;phandle = &amp;lt;0x2&amp;gt;;&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>