zedboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
zedboard [2019/04/20 11:54] – [I2C x 2] rpjdayzedboard [2019/05/19 19:28] (current) – [Internal links] rpjday
Line 1: Line 1:
 ===== Overview ===== ===== Overview =====
  
-Kernel/device tree info for Avnet ZedBoard.+Various and sundry info for Digilent/Avnet Zynq-7000-based Zedboard, based on unsupported Fedora 30.
  
-===== zynq-zed.dts =====+===== Links =====
  
-<code> +  * [[https://store.digilentinc.com/zedboard-zynq-7000-arm-fpga-soc-development-board/|Digilent store page]] 
-/dts-v1/+  * [[http://zedboard.org/|http://zedboard.org/]]
-#include "zynq-7000.dtsi"+
  
-/ { +===== Yocto Project build =====
-        model "Avnet ZedBoard board"; +
-        compatible "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000";+
  
-        aliases { +==== Setup ====
-                ethernet0 &gem0; +
-                serial0 &uart1; +
-                mmc0 &sdhci0; +
-        };+
  
-        memory@0 { +Stick with (for now) ''thud'' checkout for ''poky'' and ''meta-xilinx-bsp''.
-                device_type = "memory"; +
-                reg = <0x0 0x20000000>; +
-        }; +
- +
-        chosen { +
-                bootargs = ""; +
-                stdout-path = "serial0:115200n8"; +
-        }; +
- +
-        usb_phy0: phy0 { +
-                compatible = "usb-nop-xceiv"; +
-                #phy-cells = <0>; +
-        }; +
-}; +
- +
-&clkc { +
-        ps-clk-frequency = <33333333>; +
-}; +
- +
-&gem0 { +
-        status = "okay"; +
-        phy-mode = "rgmii-id"; +
-        phy-handle = <&ethernet_phy>; +
- +
-        ethernet_phy: ethernet-phy@0 { +
-                reg = <0>; +
-                device_type = "ethernet-phy"; +
-        }; +
-}; +
- +
-&sdhci0 { +
-        status = "okay"; +
-}; +
- +
-&uart1 { +
-        status = "okay"; +
-}; +
- +
-&usb0 { +
-        status = "okay"; +
-        dr_mode = "host"; +
-        usb-phy = <&usb_phy0>; +
-}; +
-</code> +
- +
-===== Devices ===== +
- +
-==== UART x 2 ====+
  
 <code> <code>
-uart0: serial@e0000000 { +SCONF_VERSION = "1
-        compatible = "xlnx,xuartps", "cdns,uart-r1p8"; +SOURCE_MIRROR_URL ?= "file:///home/rpjday/oe/dist/tarballs/
-        status = "disabled"; +INHERIT += "own-mirrors
-        clocks = <&clkc 23>, <&clkc 40>; +BB_GENERATE_MIRROR_TARBALLS = "1
-        clock-names = "uart_clk", "pclk"; +# BB_NO_NETWORK = "1"
-        reg = <0xE0000000 0x1000>; +
-        interrupts = <0 27 4>; +
-}; +
- +
-uart1: serial@e0001000 { +
-        compatible = "xlnx,xuartps", "cdns,uart-r1p8"; +
-        status = "disabled"; +
-        clocks = <&clkc 24>, <&clkc 41>; +
-        clock-names = "uart_clk", "pclk"; +
-        reg = <0xE0001000 0x1000>; +
-        interrupts = <0 50 4>; +
-};+
 </code> </code>
  
 <code> <code>
-&uart1 { +MACHINE = "zedboard-zynq7
-        status = "okay"; +INHERIT_remove = "uninative"
-};+
 </code> </code>
- 
-==== USB x 2 ==== 
  
 <code> <code>
-usb0: usb@e0002000 { +BBLAYERS ?= " \ 
-        compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; +  /home/rpjday/oe/dist/layers/poky/meta \ 
-        status = "disabled"; +  /home/rpjday/oe/dist/layers/poky/meta-poky \ 
-        clocks = <&clkc 28>; +  /home/rpjday/oe/dist/layers/poky/meta-yocto-bsp \ 
-        interrupt-parent = <&intc>; +  /home/rpjday/oe/dist/layers/xilinx/meta-xilinx/meta-xilinx-bsp \ 
-        interrupts = <0 21 4>; +  "
-        reg = <0xe0002000 0x1000>; +
-        phy_type = "ulpi"; +
-}; +
- +
-usb1: usb@e0003000 { +
-        compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; +
-        status = "disabled"; +
-        clocks = <&clkc 29>; +
-        interrupt-parent = <&intc>; +
-        interrupts = <0 44 4>; +
-        reg = <0xe0003000 0x1000>; +
-        phy_type = "ulpi"; +
-};+
 </code> </code>
  
 <code> <code>
-&usb0 { +$ bitbake --runall=fetch core-image-minimal
-        status = "okay"; +
-        dr_mode = "host"; +
-        usb-phy <&usb_phy0>; +
-};+
 </code> </code>
  
-==== GigE x 2 ====+==== Generated artifacts ====
  
 <code> <code>
-gem0: ethernet@e000b000 { +core-image-minimal-zedboard-zynq7-20190505091339.rootfs.cpio 
-        compatible = "cdns,zynq-gem", "cdns,gem"; +u-boot-zedboard-zynq7-v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0.img 
-        reg = <0xe000b000 0x1000>; +uEnv.txt 
-        status = "disabled"; +core-image-minimal-zedboard-zynq7-20190505091339.rootfs.cpio.gz.u-boot 
-        interrupts = <0 22 4>; +core-image-minimal-zedboard-zynq7-20190505091339.rootfs.tar.gz 
-        clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; +core-image-minimal-zedboard-zynq7-20190505091339.rootfs.manifest 
-        clock-names = "pclk", "hclk", "tx_clk"; +uImage--4.14-xilinx-v2018.3+git0+eeab73d120-r0-zedboard-zynq7-20190505091339.bin 
-        #address-cells = <1>; +core-image-minimal-zedboard-zynq7-20190505091339.testdata.json 
-        #size-cells = <0>; +zynq-zed--4.14-xilinx-v2018.3+git0+eeab73d120-r0-zedboard-zynq7-20190505091339.dtb 
-}; +modules--4.14-xilinx-v2018.3+git0+eeab73d120-r0-zedboard-zynq7-20190505091339.tgz 
- +boot.bin-zedboard-zynq7-v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0 
-gem1: ethernet@e000c000 { +u-boot-zedboard-zynq7-v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0.elf
-        compatible = "cdns,zynq-gem", "cdns,gem"; +
-        reg = <0xe000c000 0x1000>; +
-        status = "disabled"; +
-        interrupts = <0 45 4>; +
-        clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>; +
-        clock-names = "pclk", "hclk", "tx_clk"; +
-        #address-cells = <1>; +
-        #size-cells = <0>; +
-};+
 </code> </code>
  
-<code> +===== Internal links =====
-&gem0 { +
-        status "okay"; +
-        phy-mode "rgmii-id"; +
-        phy-handle <&ethernet_phy>; +
- +
-        ethernet_phy: ethernet-phy@0 { +
-                reg <0>; +
-                device_type "ethernet-phy"; +
-        }; +
-}; +
-</code> +
-==== GPIO ==== +
- +
-<code> +
-gpio0: gpio@e000a000 { +
-        compatible = "xlnx,zynq-gpio-1.0"; +
-        #gpio-cells = <2>; +
-        clocks = <&clkc 42>; +
-        gpio-controller; +
-        interrupt-controller; +
-        #interrupt-cells = <2>; +
-        interrupt-parent = <&intc>; +
-        interrupts = <0 20 4>; +
-        reg = <0xe000a000 0x1000>; +
-}; +
-</code> +
- +
-==== SPI x 2 ==== +
- +
-<code> +
-spi0: spi@e0006000 { +
-        compatible = "xlnx,zynq-spi-r1p6"; +
-        reg = <0xe0006000 0x1000>; +
-        status = "disabled"; +
-        interrupt-parent = <&intc>; +
-        interrupts = <0 26 4>; +
-        clocks = <&clkc 25>, <&clkc 34>; +
-        clock-names = "ref_clk", "pclk"; +
-        #address-cells = <1>; +
-        #size-cells = <0>; +
-}; +
- +
-spi1: spi@e0007000 { +
-        compatible = "xlnx,zynq-spi-r1p6"; +
-        reg = <0xe0007000 0x1000>; +
-        status = "disabled"; +
-        interrupt-parent = <&intc>; +
-        interrupts = <0 49 4>; +
-        clocks = <&clkc 26>, <&clkc 35>; +
-        clock-names = "ref_clk", "pclk"; +
-        #address-cells = <1>; +
-        #size-cells = <0>; +
-}; +
-</code> +
- +
-==== I2C x 2 ==== +
- +
-<code> +
-i2c0: i2c@e0004000 { +
-        compatible = "cdns,i2c-r1p10"; +
-        status = "disabled"; +
-        clocks = <&clkc 38>; +
-        interrupt-parent = <&intc>; +
-        interrupts = <0 25 4>; +
-        reg = <0xe0004000 0x1000>; +
-        #address-cells = <1>; +
-        #size-cells = <0>; +
-}; +
- +
-i2c1: i2c@e0005000 { +
-        compatible = "cdns,i2c-r1p10"; +
-        status = "disabled"; +
-        clocks = <&clkc 39>; +
-        interrupt-parent = <&intc>; +
-        interrupts = <0 48 4>; +
-        reg = <0xe0005000 0x1000>; +
-        #address-cells = <1>; +
-        #size-cells = <0>; +
-}; +
-</code>+
  
-==== SDIO x 2 ==== 
  
-==== CAN x 2 ====+  * [[Zed SD card]] 
 +  * [[Zed machine conf]] 
 +  * [[Zed device tree]] 
 +  * [[Zed Yocto U-Boot commands]] 
 +  
  • zedboard.1555761250.txt.gz
  • Last modified: 2019/04/20 11:54
  • by rpjday