Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| zedboard [2019/04/20 11:56] – [GigE x 2] rpjday | zedboard [2019/05/19 19:28] (current) – [Internal links] rpjday | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | Kernel/ | + | Various and sundry |
| - | ===== zynq-zed.dts | + | ===== Links ===== |
| - | < | + | * [[https://store.digilentinc.com/ |
| - | /dts-v1/; | + | * [[http:// |
| - | #include "zynq-7000.dtsi" | + | |
| - | / { | + | ===== Yocto Project build ===== |
| - | model = "Avnet ZedBoard board"; | + | |
| - | compatible | + | |
| - | aliases { | + | ==== Setup ==== |
| - | ethernet0 | + | |
| - | serial0 | + | |
| - | mmc0 = & | + | |
| - | }; | + | |
| - | memory@0 { | + | Stick with (for now) '' |
| - | device_type = " | + | |
| - | reg = <0x0 0x20000000>; | + | |
| - | }; | + | |
| - | + | ||
| - | chosen { | + | |
| - | bootargs = ""; | + | |
| - | stdout-path = " | + | |
| - | }; | + | |
| - | + | ||
| - | usb_phy0: phy0 { | + | |
| - | compatible = "usb-nop-xceiv"; | + | |
| - | #phy-cells = < | + | |
| - | }; | + | |
| - | }; | + | |
| - | + | ||
| - | &clkc { | + | |
| - | ps-clk-frequency = < | + | |
| - | }; | + | |
| - | + | ||
| - | &gem0 { | + | |
| - | status = " | + | |
| - | phy-mode = " | + | |
| - | phy-handle = <& | + | |
| - | + | ||
| - | ethernet_phy: | + | |
| - | reg = < | + | |
| - | device_type = " | + | |
| - | }; | + | |
| - | }; | + | |
| - | + | ||
| - | &sdhci0 { | + | |
| - | status = " | + | |
| - | }; | + | |
| - | + | ||
| - | &uart1 { | + | |
| - | status = " | + | |
| - | }; | + | |
| - | + | ||
| - | &usb0 { | + | |
| - | status = " | + | |
| - | dr_mode = " | + | |
| - | usb-phy = <& | + | |
| - | }; | + | |
| - | </ | + | |
| - | + | ||
| - | ===== Devices ===== | + | |
| - | + | ||
| - | ==== UART x 2 ==== | + | |
| < | < | ||
| - | uart0: serial@e0000000 { | + | SCONF_VERSION |
| - | compatible | + | SOURCE_MIRROR_URL ?= "file:/// |
| - | | + | INHERIT += "own-mirrors" |
| - | | + | BB_GENERATE_MIRROR_TARBALLS |
| - | clock-names | + | # BB_NO_NETWORK |
| - | reg = < | + | |
| - | interrupts = <0 27 4>; | + | |
| - | }; | + | |
| - | + | ||
| - | uart1: serial@e0001000 { | + | |
| - | compatible = " | + | |
| - | | + | |
| - | | + | |
| - | clock-names | + | |
| - | reg = < | + | |
| - | interrupts = <0 50 4>; | + | |
| - | }; | + | |
| </ | </ | ||
| < | < | ||
| - | &uart1 { | + | MACHINE |
| - | status | + | INHERIT_remove = " |
| - | }; | + | |
| </ | </ | ||
| - | |||
| - | ==== USB x 2 ==== | ||
| < | < | ||
| - | usb0: usb@e0002000 { | + | BBLAYERS ?= " |
| - | compatible | + | / |
| - | | + | / |
| - | | + | / |
| - | interrupt-parent = <& | + | / |
| - | | + | " |
| - | reg = < | + | |
| - | phy_type = " | + | |
| - | }; | + | |
| - | + | ||
| - | usb1: usb@e0003000 { | + | |
| - | compatible = " | + | |
| - | | + | |
| - | clocks = <& | + | |
| - | interrupt-parent = <& | + | |
| - | | + | |
| - | reg = < | + | |
| - | phy_type = "ulpi"; | + | |
| - | }; | + | |
| </ | </ | ||
| < | < | ||
| - | &usb0 { | + | $ bitbake |
| - | status = " | + | |
| - | dr_mode = " | + | |
| - | usb-phy = <& | + | |
| - | }; | + | |
| </ | </ | ||
| - | ==== GigE x 2 ==== | + | ==== Generated artifacts |
| < | < | ||
| - | gem0: ethernet@e000b000 { | + | core-image-minimal-zedboard-zynq7-20190505091339.rootfs.cpio |
| - | | + | u-boot-zedboard-zynq7-v2018.01-xilinx-v2018.3+gitAUTOINC+d8fc4b3b70-r0.img |
| - | reg = < | + | uEnv.txt |
| - | | + | core-image-minimal-zedboard-zynq7-20190505091339.rootfs.cpio.gz.u-boot |
| - | | + | core-image-minimal-zedboard-zynq7-20190505091339.rootfs.tar.gz |
| - | clocks = <& | + | core-image-minimal-zedboard-zynq7-20190505091339.rootfs.manifest |
| - | clock-names = " | + | uImage--4.14-xilinx-v2018.3+git0+eeab73d120-r0-zedboard-zynq7-20190505091339.bin |
| - | # | + | core-image-minimal-zedboard-zynq7-20190505091339.testdata.json |
| - | #size-cells = < | + | 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", " | + | |
| - | reg = < | + | |
| - | status = " | + | |
| - | interrupts = <0 45 4>; | + | |
| - | clocks = <& | + | |
| - | clock-names = " | + | |
| - | # | + | |
| - | #size-cells = <0>; | + | |
| - | }; | + | |
| </ | </ | ||
| - | < | + | ===== Internal links ===== |
| - | &gem0 { | + | |
| - | status | + | |
| - | phy-mode | + | |
| - | phy-handle | + | |
| - | ethernet_phy: | ||
| - | reg = <0>; | ||
| - | device_type = " | ||
| - | }; | ||
| - | }; | ||
| - | </ | ||
| - | ==== GPIO ==== | ||
| - | < | + | * [[Zed SD card]] |
| - | gpio0: gpio@e000a000 { | + | * [[Zed machine conf]] |
| - | | + | * [[Zed device tree]] |
| - | #gpio-cells = < | + | * [[Zed Yocto U-Boot commands]] |
| - | clocks = <& | + | |
| - | gpio-controller; | + | |
| - | interrupt-controller; | + | |
| - | # | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 20 4>; | + | |
| - | reg = < | + | |
| - | }; | + | |
| - | </ | + | |
| - | + | ||
| - | ==== SPI x 2 ==== | + | |
| - | + | ||
| - | < | + | |
| - | spi0: spi@e0006000 { | + | |
| - | compatible = " | + | |
| - | reg = < | + | |
| - | status = " | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 26 4>; | + | |
| - | clocks = <& | + | |
| - | clock-names = " | + | |
| - | # | + | |
| - | #size-cells = < | + | |
| - | }; | + | |
| - | + | ||
| - | spi1: spi@e0007000 { | + | |
| - | compatible = " | + | |
| - | reg = < | + | |
| - | status = " | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 49 4>; | + | |
| - | clocks = <& | + | |
| - | clock-names = " | + | |
| - | # | + | |
| - | #size-cells = < | + | |
| - | }; | + | |
| - | </ | + | |
| - | + | ||
| - | ==== I2C x 2 ==== | + | |
| - | + | ||
| - | < | + | |
| - | i2c0: i2c@e0004000 { | + | |
| - | compatible = " | + | |
| - | status = " | + | |
| - | clocks = <& | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 25 4>; | + | |
| - | reg = < | + | |
| - | # | + | |
| - | #size-cells = < | + | |
| - | }; | + | |
| - | + | ||
| - | i2c1: i2c@e0005000 { | + | |
| - | compatible = " | + | |
| - | status = " | + | |
| - | clocks = <& | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 48 4>; | + | |
| - | reg = < | + | |
| - | # | + | |
| - | #size-cells = < | + | |
| - | }; | + | |
| - | </ | + | |
| - | + | ||
| - | ==== SDIO x 2 ==== | + | |
| - | + | ||
| - | < | + | |
| - | sdhci0: mmc@e0100000 { | + | |
| - | compatible = " | + | |
| - | status = " | + | |
| - | clock-names = " | + | |
| - | clocks = <& | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 24 4>; | + | |
| - | reg = < | + | |
| - | }; | + | |
| - | + | ||
| - | sdhci1: mmc@e0101000 { | + | |
| - | compatible = " | + | |
| - | status = " | + | |
| - | clock-names = " | + | |
| - | clocks = <& | + | |
| - | interrupt-parent = <& | + | |
| - | interrupts = <0 47 4>; | + | |
| - | reg = < | + | |
| - | }; | + | |
| - | </ | + | |
| - | + | ||
| - | < | + | |
| - | &sdhci0 { | + | |
| - | status = " | + | |
| - | }; | + | |
| - | </ | + | |
| - | ==== CAN x 2 ==== | + | |
| - | + | ||
| - | < | + | |
| - | can0: can@e0008000 { | + | |
| - | compatible = " | + | |
| - | status = " | + | |
| - | clocks = <& | + | |
| - | clock-names = " | + | |
| - | reg = < | + | |
| - | interrupts = <0 28 4>; | + | |
| - | interrupt-parent = <& | + | |
| - | tx-fifo-depth = < | + | |
| - | rx-fifo-depth = < | + | |
| - | }; | + | |
| - | + | ||
| - | can1: can@e0009000 { | + | |
| - | compatible = " | + | |
| - | status = " | + | |
| - | clocks = <& | + | |
| - | clock-names = " | + | |
| - | reg = < | + | |
| - | interrupts = <0 51 4>; | + | |
| - | interrupt-parent = <& | + | |
| - | tx-fifo-depth = < | + | |
| - | rx-fifo-depth = < | + | |
| - | }; | + | |
| - | </ | + | |