├── README.md ├── configs ├── device-tree │ ├── system-user.dtsi.ULTRA96V1 │ ├── system-user.dtsi.ULTRA96V2 │ ├── system-user.dtsi.UZ3EG_IOCC │ ├── system-user.dtsi.UZ3EG_PCIEC │ ├── system-user.dtsi.UZ7EV_EVCC │ ├── system-user.dtsi.mz_petalinux │ ├── system-user.dtsi.pz_petalinux │ ├── system-user.dtsi.uz3eg_iocc_dp │ ├── system-user.dtsi.uz3eg_iocc_dp_es1 │ ├── system-user.dtsi.uz3eg_pciec_ccd │ └── system-user.dtsi.uz7ev_evcc_factest ├── kernel │ ├── idt5901-2017.1-v1.0.patch │ ├── tpm-tis-spi.patch │ ├── user.cfg.ULTRA96V1 │ ├── user.cfg.ULTRA96V2 │ ├── user.cfg.UZ3EG_IOCC │ ├── user.cfg.UZ3EG_PCIEC │ ├── user.cfg.UZ7EV_EVCC │ ├── user.cfg.mz_fmccc │ ├── user.cfg.pz_fmc2 │ ├── user.cfg.uz3eg_iocc_dp │ └── user.cfg.uz3eg_pciec_ccd ├── meta-user.fmc_network1_factest │ ├── recipes-apps │ │ ├── eeprom-test │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── eeprom-test.bb │ │ │ └── files │ │ │ │ ├── AT24C02D_28FEB18_EEPROM.TXT │ │ │ │ ├── ERASE_EEPROM.TXT │ │ │ │ └── eeprom-test.sh │ │ ├── fmc-network1-factest-init │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── files │ │ │ │ └── fmc-network1-factest-init │ │ │ ├── fmc-network1-factest-init.bb │ │ │ └── petalinux-image.bbappend │ │ ├── fmc-network1-factest-launcher │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── files │ │ │ │ └── fmc-network1-factest-launcher.sh │ │ │ └── fmc-network1-factest-launcher.bb │ │ └── fmc-network1-factest │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── files │ │ │ └── fmc-network1-factory-test.sh │ │ │ └── fmc-network1-factest.bb │ └── recipes-core │ │ └── images │ │ └── petalinux-image.bbappend ├── meta-user │ ├── pz_fmc2_sd_oob │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── mac-eeprom-config-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac-eeprom-config-init │ │ │ │ └── mac-eeprom-config-init.bb │ │ │ ├── mac-eeprom-config │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac_eeprom_config.sh │ │ │ │ └── mac-eeprom-config.bb │ │ │ ├── performance-tests │ │ │ │ ├── files │ │ │ │ │ ├── network-test.sh │ │ │ │ │ └── sd-test.sh │ │ │ │ └── performance-tests.bb │ │ │ ├── python-webserver-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── python-webserver-init │ │ │ │ └── python-webserver-init.bb │ │ │ └── python-webserver │ │ │ │ ├── files │ │ │ │ ├── cgi.py │ │ │ │ ├── css │ │ │ │ │ └── main.css │ │ │ │ ├── images │ │ │ │ │ ├── Avnet_logo_tagline_rgb.png │ │ │ │ │ ├── board.jpg │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── picozed.png │ │ │ │ ├── index.html │ │ │ │ ├── launch_server.sh │ │ │ │ ├── pdfs │ │ │ │ │ ├── 5048-PB-PDP-AES-Z7PZ-SOM-G-V2.pdf │ │ │ │ │ └── PB-AES-PZCC-FMC-V2-G-V1.pdf │ │ │ │ ├── server.py │ │ │ │ ├── setup_gpio.sh │ │ │ │ ├── stop_server.sh │ │ │ │ └── unexport_gpio.sh │ │ │ │ └── python-webserver.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── ultra96v1_full │ │ ├── recipes-apps │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ └── peekpoke │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ ├── peek.c │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ ├── recipes-bsp │ │ │ └── pmu-firmware │ │ │ │ ├── files │ │ │ │ └── 0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button.patch │ │ │ │ └── pmu-firmware_%.bbappend │ │ ├── recipes-core │ │ │ ├── images │ │ │ │ └── petalinux-image.bbappend │ │ │ └── init-ifupdown │ │ │ │ ├── files │ │ │ │ └── interfaces │ │ │ │ └── init-ifupdown_%.bbappend │ │ └── recipes-graphics │ │ │ └── xorg-xserver │ │ │ ├── xserver-xf86-config │ │ │ └── zynqmp │ │ │ │ └── xorg.conf │ │ │ └── xserver-xf86-config_%.bbappend │ ├── ultra96v1_minimal │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ └── peekpoke │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ ├── peek.c │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── ultra96v2_valtest │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ └── peekpoke │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ ├── peek.c │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ ├── recipes-bsp │ │ │ ├── device-tree │ │ │ │ ├── device-tree-generation_%.bbappend │ │ │ │ └── files │ │ │ │ │ ├── multi-arch │ │ │ │ │ ├── zynqmp-qemu-multiarch-arm.dts │ │ │ │ │ └── zynqmp-qemu-multiarch-pmu.dts │ │ │ │ │ ├── system-user.dtsi │ │ │ │ │ └── zynqmp-qemu-arm.dts │ │ │ ├── pmu-firmware │ │ │ │ ├── files │ │ │ │ │ ├── 0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button.patch │ │ │ │ │ └── 0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button_v2board.patch │ │ │ │ └── pmu-firmware_%.bbappend │ │ │ ├── u-boot │ │ │ │ ├── files │ │ │ │ │ ├── platform-top.h │ │ │ │ │ └── platform-top.h.orig │ │ │ │ └── u-boot-xlnx_%.bbappend │ │ │ ├── ultra96-misc │ │ │ │ ├── files │ │ │ │ │ ├── ble.sh │ │ │ │ │ ├── bt.sh │ │ │ │ │ ├── wifi.sh │ │ │ │ │ └── wpa_supplicant.conf │ │ │ │ └── ultra96-misc.bb │ │ │ └── wilc-firmware │ │ │ │ └── wilc-firmware_15.00.bb │ │ ├── recipes-connectivity │ │ │ ├── bluez5 │ │ │ │ ├── bluez5 │ │ │ │ │ └── hciattach-reset-delay-bluez-5.41.patch │ │ │ │ └── bluez5_5.41.bbappend │ │ │ ├── hostapd │ │ │ │ ├── hostapd │ │ │ │ │ ├── 0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch │ │ │ │ │ ├── 0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch │ │ │ │ │ ├── 0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch │ │ │ │ │ ├── 0004-Prevent-installation-of-an-all-zero-TK.patch │ │ │ │ │ ├── 0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch │ │ │ │ │ ├── 0006-TDLS-Reject-TPK-TK-reconfiguration.patch │ │ │ │ │ ├── 0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch │ │ │ │ │ ├── 0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch │ │ │ │ │ ├── 0009-murata-hostapd-Add-BRCM_VE-support.patch │ │ │ │ │ ├── 0009-wpa_supplicant-Add-BRCM_VE-support-for-WFA-VE-certif.patch │ │ │ │ │ ├── 0010-murata-hostapd-conf.patch │ │ │ │ │ ├── defconfig │ │ │ │ │ ├── hostapd.service │ │ │ │ │ ├── init │ │ │ │ │ ├── key-replay-cve-multiple.patch │ │ │ │ │ └── udhcpd.conf │ │ │ │ └── hostapd_2.6.bb │ │ │ └── wpa-supplicant │ │ │ │ ├── wpa-supplicant │ │ │ │ ├── 0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch │ │ │ │ ├── 0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch │ │ │ │ ├── 0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch │ │ │ │ ├── 0004-Prevent-installation-of-an-all-zero-TK.patch │ │ │ │ ├── 0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch │ │ │ │ ├── 0006-TDLS-Reject-TPK-TK-reconfiguration.patch │ │ │ │ ├── 0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch │ │ │ │ ├── 0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch │ │ │ │ ├── 0009-wpa_supplicant-Add-BRCM_VE-support-for-WFA-VE-certif.patch │ │ │ │ ├── 0010-murata-wpa_supplication-Add-server-in-hs20.patch │ │ │ │ ├── 99_wpa_supplicant │ │ │ │ ├── defconfig │ │ │ │ ├── key-replay-cve-multiple.patch │ │ │ │ ├── wpa-supplicant.sh │ │ │ │ ├── wpa_supplicant.conf │ │ │ │ └── wpa_supplicant.conf-sane │ │ │ │ └── wpa-supplicant_2.6.bb │ │ ├── recipes-core │ │ │ └── images │ │ │ │ └── petalinux-image.bbappend │ │ ├── recipes-modules │ │ │ └── wilc │ │ │ │ ├── files │ │ │ │ ├── 0001-fix-syntax-error-change-virtual-intf.patch │ │ │ │ ├── 0002-Makefile-support-for-modules.patch │ │ │ │ └── 0003-set-GPIO-numbers.patch │ │ │ │ └── wilc_15.00.bb │ │ └── recipes-multimedia │ │ │ ├── pulseaudio-service │ │ │ ├── files │ │ │ │ └── pulseaudio.service │ │ │ └── pulseaudio-service_1.0.bb │ │ │ └── pulseaudio │ │ │ ├── files │ │ │ └── system.pa │ │ │ └── pulseaudio_9.0.bbappend │ ├── uz3eg_iocc │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ ├── mac-eeprom-config-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac-eeprom-config-init │ │ │ │ └── mac-eeprom-config-init.bb │ │ │ ├── mac-eeprom-config │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac_eeprom_config.sh │ │ │ │ └── mac-eeprom-config.bb │ │ │ └── peekpoke │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ ├── peek.c │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── uz3eg_iocc_dp │ │ ├── recipes-apps │ │ │ ├── trd-files │ │ │ │ ├── files │ │ │ │ │ ├── autostart.sh │ │ │ │ │ ├── runtricube.sh │ │ │ │ │ └── trd-autostart.sh │ │ │ │ └── trd-files.bb │ │ │ └── tricube │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ ├── tricube.cpp │ │ │ │ └── tricube.h │ │ │ │ └── tricube.bb │ │ ├── recipes-core │ │ │ ├── base-files │ │ │ │ └── base-files_%.bbappend │ │ │ ├── images │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── packagegroups │ │ │ │ └── packagegroup-trd.bb │ │ │ └── sysvinit │ │ │ │ └── sysvinit-inittab_%.bbappend │ │ └── recipes-graphics │ │ │ ├── x11-common │ │ │ └── xserver-nodm-init_%.bbappend │ │ │ └── xorg-xserver │ │ │ ├── xserver-xf86-config │ │ │ └── zynqmp │ │ │ │ └── xorg.conf │ │ │ └── xserver-xf86-config_%.bbappend │ ├── uz3eg_iocc_sd_oob │ │ ├── recipes-apps │ │ │ ├── mac-eeprom-config-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac-eeprom-config-init │ │ │ │ └── mac-eeprom-config-init.bb │ │ │ ├── mac-eeprom-config │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac_eeprom_config.sh │ │ │ │ └── mac-eeprom-config.bb │ │ │ ├── performance-tests │ │ │ │ ├── files │ │ │ │ │ ├── drive-test.sh │ │ │ │ │ ├── network-test.sh │ │ │ │ │ └── sd-test.sh │ │ │ │ └── performance-tests.bb │ │ │ ├── python-webserver-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── python-webserver-init │ │ │ │ └── python-webserver-init.bb │ │ │ └── python-webserver │ │ │ │ ├── files │ │ │ │ ├── cgi.py │ │ │ │ ├── css │ │ │ │ │ └── main.css │ │ │ │ ├── html │ │ │ │ │ ├── sata_results.html │ │ │ │ │ └── usb3_results.html │ │ │ │ ├── images │ │ │ │ │ ├── Avnet_logo_tagline_rgb.png │ │ │ │ │ ├── board.jpg │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── ultrazed.png │ │ │ │ ├── index.html │ │ │ │ ├── launch_server.sh │ │ │ │ ├── pdfs │ │ │ │ │ ├── 5043-PB-AES-ZU3EG-1-SOM-G-V3.pdf │ │ │ │ │ ├── 5080-PB-AES-ZU-IOCC-G-V2e.pdf │ │ │ │ │ └── Delkin_Devices_Product_Line.pdf │ │ │ │ ├── server.py │ │ │ │ ├── setup_gpio.sh │ │ │ │ ├── stop_server.sh │ │ │ │ └── unexport_gpio.sh │ │ │ │ └── python-webserver.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── uz3eg_pciec │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ ├── mac-eeprom-config-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac-eeprom-config-init │ │ │ │ └── mac-eeprom-config-init.bb │ │ │ ├── mac-eeprom-config │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac_eeprom_config.sh │ │ │ │ └── mac-eeprom-config.bb │ │ │ └── peekpoke │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ ├── peek.c │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── uz3eg_pciec_ccd │ │ ├── recipes-apps │ │ │ └── eltt2 │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── eltt2.bb │ │ │ │ └── files │ │ │ │ ├── Makefile │ │ │ │ ├── eltt2.c │ │ │ │ └── eltt2.h │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── uz3eg_pciec_sd_oob │ │ ├── recipes-apps │ │ │ ├── mac-eeprom-config-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac-eeprom-config-init │ │ │ │ └── mac-eeprom-config-init.bb │ │ │ ├── mac-eeprom-config │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac_eeprom_config.sh │ │ │ │ └── mac-eeprom-config.bb │ │ │ ├── performance-tests │ │ │ │ ├── files │ │ │ │ │ ├── drive-test.sh │ │ │ │ │ ├── network-test.sh │ │ │ │ │ └── sd-test.sh │ │ │ │ └── performance-tests.bb │ │ │ ├── python-webserver-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── python-webserver-init │ │ │ │ └── python-webserver-init.bb │ │ │ └── python-webserver │ │ │ │ ├── files │ │ │ │ ├── cgi.py │ │ │ │ ├── css │ │ │ │ │ └── main.css │ │ │ │ ├── html │ │ │ │ │ ├── sata_results.html │ │ │ │ │ └── usb3_results.html │ │ │ │ ├── images │ │ │ │ │ ├── Avnet_logo_tagline_rgb.png │ │ │ │ │ ├── board.jpg │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── ultrazed.png │ │ │ │ ├── index.html │ │ │ │ ├── launch_server.sh │ │ │ │ ├── pdfs │ │ │ │ │ ├── 5043-PB-AES-ZU3EG-1-SOM-G-V3.pdf │ │ │ │ │ ├── 5081-PB-AES-ZU-PCIECC-G-V2d.pdf │ │ │ │ │ └── Delkin_Devices_Product_Line.pdf │ │ │ │ ├── server.py │ │ │ │ ├── setup_gpio.sh │ │ │ │ ├── stop_server.sh │ │ │ │ └── unexport_gpio.sh │ │ │ │ └── python-webserver.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── uz7ev_evcc │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ ├── mac-eeprom-config-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac-eeprom-config-init │ │ │ │ └── mac-eeprom-config-init.bb │ │ │ ├── mac-eeprom-config │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── mac_eeprom_config.sh │ │ │ │ └── mac-eeprom-config.bb │ │ │ ├── peekpoke │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── peek.c │ │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ │ ├── user-led-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_user_led_test.c │ │ │ │ └── user-led-test.bb │ │ │ └── user-switch-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ ├── Makefile │ │ │ │ └── linux_user_switch_test.c │ │ │ │ └── user-switch-test.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ ├── uz7ev_evcc_factest │ │ ├── recipes-apps │ │ │ ├── blinky-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky-init.bb │ │ │ │ ├── files │ │ │ │ │ └── blinky-init │ │ │ │ └── petalinux-image.bbappend │ │ │ ├── blinky │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── blinky.bb │ │ │ │ └── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_led_blink.c │ │ │ ├── eeprom-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── eeprom-test.bb │ │ │ │ └── files │ │ │ │ │ ├── ERASE_EEPROM.TXT │ │ │ │ │ ├── IDT8T49N241_10Aug17_EEPROM.TXT │ │ │ │ │ └── eeprom-test.sh │ │ │ ├── gpio-demo │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gpio-demo.c │ │ │ │ └── gpio-demo.bb │ │ │ ├── iic-eeprom-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── iic-eeprom-test.c │ │ │ │ │ ├── iic_eeprom_demo.c │ │ │ │ │ ├── iic_eeprom_demo.h │ │ │ │ │ ├── iic_eeprom_test.c │ │ │ │ │ ├── main.c │ │ │ │ │ ├── platform.h │ │ │ │ │ ├── types.h │ │ │ │ │ ├── zed_iic.h │ │ │ │ │ └── zed_iic_axi.c │ │ │ │ └── iic-eeprom-test.bb │ │ │ ├── iic-gpio-expander-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── iic-gpio-expander-test.sh │ │ │ │ └── iic-gpio-expander-test.bb │ │ │ ├── mac-eeprom-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── mac_eeprom_demo.c │ │ │ │ │ ├── mac_eeprom_demo.h │ │ │ │ │ ├── mac_eeprom_test.c │ │ │ │ │ ├── main.c │ │ │ │ │ ├── platform.h │ │ │ │ │ ├── types.h │ │ │ │ │ ├── zed_iic.h │ │ │ │ │ └── zed_iic_axi.c │ │ │ │ └── mac-eeprom-test.bb │ │ │ ├── pcie-enumeration-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── pcie-enumeration-test.sh │ │ │ │ └── pcie-enumeration-test.bb │ │ │ ├── peekpoke │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── peek.c │ │ │ │ │ └── poke.c │ │ │ │ └── peekpoke.bb │ │ │ ├── pl-ddr4-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_plddr4_test.c │ │ │ │ └── pl-ddr4-test.bb │ │ │ ├── pl-gpio-loopback-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── gpio.c │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── linux_pl_gpio_loopback.c │ │ │ │ │ ├── pl_gpio_udriver.c │ │ │ │ │ ├── pl_gpio_udriver.h │ │ │ │ │ ├── platform.h │ │ │ │ │ └── types.h │ │ │ │ └── pl-gpio-loopback-test.bb │ │ │ ├── ps-pmod-loopback-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_ps_pmod_loopback_test.c │ │ │ │ └── ps-pmod-loopback-test.bb │ │ │ ├── usb3-link-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── usb3-link-test.sh │ │ │ │ └── usb3-link-test.bb │ │ │ ├── user-led-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_user_led_test.c │ │ │ │ └── user-led-test.bb │ │ │ ├── user-switch-test │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ ├── Makefile │ │ │ │ │ └── linux_user_switch_test.c │ │ │ │ └── user-switch-test.bb │ │ │ ├── uz-flash-programming │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── uz-flash-programming.sh │ │ │ │ └── uz-flash-programming.bb │ │ │ ├── uz7ev-evcc-factest-init │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── uz7ev-evcc-factest-init │ │ │ │ ├── petalinux-image.bbappend │ │ │ │ └── uz7ev-evcc-factest-init.bb │ │ │ ├── uz7ev-evcc-factest-launcher │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ │ └── uz7ev-evcc-factest-launcher.sh │ │ │ │ └── uz7ev-evcc-factest-launcher.bb │ │ │ └── uz7ev-evcc-factest │ │ │ │ ├── .gdbinit │ │ │ │ ├── README │ │ │ │ ├── files │ │ │ │ └── uz7ev-evcc-factory-test.sh │ │ │ │ └── uz7ev-evcc-factest.bb │ │ └── recipes-core │ │ │ └── images │ │ │ └── petalinux-image.bbappend │ └── uz7ev_evcc_sd_oob │ │ ├── recipes-apps │ │ ├── mac-eeprom-config-init │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── files │ │ │ │ └── mac-eeprom-config-init │ │ │ └── mac-eeprom-config-init.bb │ │ ├── mac-eeprom-config │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── files │ │ │ │ └── mac_eeprom_config.sh │ │ │ └── mac-eeprom-config.bb │ │ ├── performance-tests │ │ │ ├── files │ │ │ │ ├── drive-test.sh │ │ │ │ ├── network-test.sh │ │ │ │ └── sd-test.sh │ │ │ └── performance-tests.bb │ │ ├── python-webserver-init │ │ │ ├── .gdbinit │ │ │ ├── README │ │ │ ├── files │ │ │ │ └── python-webserver-init │ │ │ └── python-webserver-init.bb │ │ └── python-webserver │ │ │ ├── files │ │ │ ├── cgi.py │ │ │ ├── css │ │ │ │ └── main.css │ │ │ ├── html │ │ │ │ ├── sata_results.html │ │ │ │ └── usb3_results.html │ │ │ ├── images │ │ │ │ ├── Avnet_logo_tagline_rgb.png │ │ │ │ ├── board.jpg │ │ │ │ ├── favicon.ico │ │ │ │ └── ultrazed.png │ │ │ ├── index.html │ │ │ ├── launch_server.sh │ │ │ ├── pdfs │ │ │ │ ├── 5342-pb-ultrazed-ev-som-v1.pdf │ │ │ │ ├── 5342-pb-ultrazed-ev-starter-kit-v1.pdf │ │ │ │ └── Delkin_Devices_Product_Line.pdf │ │ │ ├── server.py │ │ │ ├── setup_gpio.sh │ │ │ ├── stop_server.sh │ │ │ └── unexport_gpio.sh │ │ │ └── python-webserver.bb │ │ └── recipes-core │ │ └── images │ │ └── petalinux-image.bbappend ├── minized-mw │ ├── components │ │ └── ext_sources │ │ │ ├── README.txt │ │ │ └── usb-drivers-from-petalinux20172.patch │ └── project-spec │ │ └── meta-user │ │ ├── recipes-bsp │ │ ├── device-tree │ │ │ ├── device-tree-generation_%.bbappend │ │ │ └── files │ │ │ │ ├── axilite.dtsi │ │ │ │ ├── base.dtsi │ │ │ │ ├── system-user.dtsi │ │ │ │ ├── zynq-mw-axilite-common.dtsi │ │ │ │ └── zynq-mw-common.dtsi │ │ ├── minized-firmware │ │ │ ├── files │ │ │ │ └── minized-firmware_2017.2.tar.gz │ │ │ └── minized-firmware_2017.2.bb │ │ ├── minized-misc │ │ │ ├── files │ │ │ │ ├── .mwapi-symlinks.sh.swp │ │ │ │ ├── 100-mw-drivers.rules │ │ │ │ ├── _mw_backup_network │ │ │ │ ├── _mw_getbootdev │ │ │ │ ├── _mw_reboot_mode │ │ │ │ ├── _mw_restore_network │ │ │ │ ├── _mw_setboot_default │ │ │ │ ├── _mw_setbootfile │ │ │ │ ├── boost-symlinks.sh │ │ │ │ ├── bootvars.conf │ │ │ │ ├── fw_env.config │ │ │ │ ├── fw_getbitstream │ │ │ │ ├── fw_getdevicetree │ │ │ │ ├── fw_getrdname │ │ │ │ ├── fw_setbitstream │ │ │ │ ├── fw_setdevicetree │ │ │ │ ├── fw_setrdname │ │ │ │ ├── minized-mount.sh │ │ │ │ ├── mw_setboot │ │ │ │ ├── mwapi-symlinks.sh │ │ │ │ ├── prmpt-color.sh │ │ │ │ └── wifi.sh │ │ │ ├── minized-misc.bb │ │ │ └── mw-utils.bb │ │ └── u-boot │ │ │ ├── files │ │ │ ├── platform-top.h │ │ │ ├── user_2017-10-10-14-46-00.cfg │ │ │ └── user_2018-01-11-14-21-00.cfg │ │ │ └── u-boot-xlnx_%.bbappend │ │ ├── recipes-core │ │ └── images │ │ │ ├── petalinux-image.bbappend │ │ │ └── petalinux-user-image.bbappend │ │ └── recipes-kernel │ │ └── linux │ │ ├── linux-xlnx │ │ ├── user_2017-10-10-14-40-00.cfg │ │ ├── user_2017-11-14-16-09-00.cfg │ │ ├── user_2017-11-14-16-40-00.cfg │ │ ├── user_2017-11-15-09-18-00.cfg │ │ ├── user_2017-11-15-11-44-00.cfg │ │ ├── user_2017-11-16-12-45-00.cfg │ │ ├── user_2017-11-16-13-42-00.cfg │ │ ├── user_2017-11-16-16-28-00.cfg │ │ ├── user_2017-11-30-15-04-00.cfg │ │ ├── user_2017-12-01-09-41-00.cfg │ │ ├── user_2017-12-04-15-49-00.cfg │ │ ├── user_2017-12-04-16-40-00.cfg │ │ ├── user_2017-12-05-15-44-00.cfg │ │ ├── user_2018-01-11-14-47-00.cfg │ │ ├── user_2018-01-11-14-52-00.cfg │ │ └── user_2018-01-11-15-39-00.cfg │ │ └── linux-xlnx_%.bbappend ├── project │ ├── config.MZ7010_FMCCC.patch │ ├── config.MZ7020_FMCCC.patch │ ├── config.PZ7010_FMC2.patch │ ├── config.PZ7010_FMC2_sd_oob.patch │ ├── config.PZ7015_FMC2.patch │ ├── config.PZ7015_FMC2_sd_oob.patch │ ├── config.PZ7020_FMC2.patch │ ├── config.PZ7020_FMC2_sd_oob.patch │ ├── config.PZ7030_FMC2.patch │ ├── config.PZ7030_FMC2_sd_oob.patch │ ├── config.ULTRA96V1.patch │ ├── config.UZ3EG_IOCC.patch │ ├── config.UZ3EG_PCIEC.patch │ ├── config.UZ3EG_PCIEC_CCD.patch │ ├── config.UZ7EV_EVCC.patch │ ├── config.emmc_boot.patch │ ├── config.fmc_network1_factest.patch │ ├── config.qspi_boot.patch │ ├── config.sd_ext4_boot.patch │ ├── config.ultra96v1_minimal.patch │ ├── config.ultra96v2_valtest.patch │ ├── config.ultra96v2_valtest_2018_2.patch │ ├── config.uz3eg_iocc_dp.patch │ ├── config.uz3eg_iocc_sd_oob.patch │ ├── config.uz3eg_pciec_sd_oob.patch │ ├── config.uz7ev_evcc_factest.patch │ ├── config.uz7ev_evcc_sd_oob.patch │ └── config.uz_emmc_boot.patch ├── rootfs │ ├── bbappend.mz_fmccc │ ├── bbappend.pz_fmc2 │ ├── config.fmc_network1_factest │ ├── config.mz_fmccc │ ├── config.pz_fmc2 │ ├── config.pz_fmc2_sd_oob │ ├── config.ultra96v1_full │ ├── config.ultra96v1_minimal │ ├── config.ultra96v2_valtest │ ├── config.uz3eg_iocc │ ├── config.uz3eg_iocc_dp │ ├── config.uz3eg_iocc_sd_oob │ ├── config.uz3eg_pciec │ ├── config.uz3eg_pciec_ccd │ ├── config.uz3eg_pciec_sd_oob │ ├── config.uz7ev_evcc │ ├── config.uz7ev_evcc_factest │ └── config.uz7ev_evcc_sd_oob └── u-boot │ ├── bsp.cfg │ ├── platform-top.h.mz_qspi_boot │ ├── platform-top.h.mz_sd_boot │ ├── platform-top.h.mz_sd_boot_no_bit │ ├── platform-top.h.pz_emmc_boot │ ├── platform-top.h.pz_emmc_boot_no_bit │ ├── platform-top.h.pz_qspi_boot │ ├── platform-top.h.pz_sd_boot │ ├── platform-top.h.pz_sd_boot_no_bit │ ├── platform-top.h.ultra96v1_sd_boot │ ├── platform-top.h.ultra96v1_sd_boot_no_bit │ ├── platform-top.h.ultra96v2_sd_boot │ ├── platform-top.h.ultra96v2_sd_boot_no_bit │ ├── platform-top.h.uz3eg_iocc_dp │ ├── platform-top.h.uz_emmc_boot │ ├── platform-top.h.uz_emmc_boot_no_bit │ ├── platform-top.h.uz_qspi_boot │ ├── platform-top.h.uz_sd_boot │ ├── platform-top.h.uz_sd_boot_no_bit │ ├── platform-top.h.uz_sd_factest_boot │ └── u-boot-xlnx_%.bbappend └── scripts ├── clean_fmc_network1_factest_bsp.sh ├── clean_mz_petalinux_bsp.sh ├── clean_pz_petalinux_bsp.sh ├── clean_pz_sd_oob_bsp.sh ├── clean_ultra96v1_petalinux_full_bsp.sh ├── clean_ultra96v1_petalinux_minimal_bsp.sh ├── clean_uz3eg_iocc_dp_bsp.sh ├── clean_uz3eg_pciec_ccd.sh ├── clean_uz7ev_evcc_factest_bsp.sh ├── clean_uz_petalinux_bsp.sh ├── clean_uz_sd_oob_bsp.sh ├── make_fmc_network1_factest_bsp.sh ├── make_mz_petalinux_bsp.sh ├── make_pz_petalinux_bsp.sh ├── make_pz_sd_oob.sh ├── make_ultra96v1_petalinux_full_bsp.sh ├── make_ultra96v1_petalinux_minimal_bsp.sh ├── make_ultra96v2_valtest_bsp.sh ├── make_uz3eg_iocc_dp_bsp.sh ├── make_uz3eg_pciec_ccd_bsp.sh ├── make_uz7ev_evcc_factest_bsp.sh ├── make_uz_petalinux_bsp.sh └── make_uz_sd_oob_bsp.sh /configs/device-tree/system-user.dtsi.ULTRA96V1: -------------------------------------------------------------------------------- 1 | /include/ "system-conf.dtsi" 2 | / { 3 | }; 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /configs/device-tree/system-user.dtsi.ULTRA96V2: -------------------------------------------------------------------------------- 1 | /include/ "system-conf.dtsi" 2 | / { 3 | }; 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /configs/device-tree/system-user.dtsi.mz_petalinux: -------------------------------------------------------------------------------- 1 | /include/ "system-conf.dtsi" 2 | / { 3 | 4 | }; 5 | 6 | 7 | &gem0 { 8 | status = "okay"; 9 | phy-handle = <&phy0>; 10 | phy-mode = "rgmii-id"; 11 | phy0: phy@0 { 12 | compatible = "marvell,88e1510"; 13 | device_type = "ethernet-phy"; 14 | reg = <0x0>; 15 | /* linux,phandle = <0x5>; */ 16 | /* phandle = <0x5>; */ 17 | /* 18 | * modify PHY registers to: 19 | * Reg 3_16 20 | * LED[1] bits [7:4] = ON=link, BLINK=activity, OFF=no activity 21 | * LED[0] bits [3:0] = link speed detect (3 blinks= 1Gbps, 2 blinks = 100Mbps, 1 blink = 10Mbps) 22 | * Reg 3_17 23 | * LED[1:0] = ON-drive low, OFF-high 24 | * Reg 3_18 25 | * LED[0] bits [3:2] = link speed LED blink off period = 170ms 26 | * LED[0] bits [1:0] = link speed LED blink on period = 340ms 27 | */ 28 | marvell,reg-init = <3 16 0xff00 0x42>, 29 | <3 17 0xfff0 0x0>, 30 | <3 18 0xfff0 0x6>; 31 | }; 32 | 33 | }; 34 | 35 | 36 | &qspi { 37 | flash0: flash@0 { 38 | compatible = "micron,n25q128a13"; 39 | }; 40 | }; 41 | 42 | / { 43 | usb_phy0:usb_phy@0 { 44 | compatible="usb-nop-xceiv"; 45 | #phy-cells = <0>; 46 | }; 47 | }; 48 | 49 | 50 | &usb0 { 51 | dr_mode = "otg"; 52 | usb-phy = <&usb_phy0>; 53 | }; 54 | -------------------------------------------------------------------------------- /configs/device-tree/system-user.dtsi.pz_petalinux: -------------------------------------------------------------------------------- 1 | /include/ "system-conf.dtsi" 2 | / { 3 | 4 | }; 5 | 6 | 7 | &gem0 { 8 | status = "okay"; 9 | phy-handle = <&phy0>; 10 | phy-mode = "rgmii-id"; 11 | phy0: phy@0 { 12 | compatible = "marvell,88e1510"; 13 | device_type = "ethernet-phy"; 14 | reg = <0x0>; 15 | /* linux,phandle = <0x5>; */ 16 | /* phandle = <0x5>; */ 17 | /* 18 | * modify PHY registers to: 19 | * Reg 3_16 20 | * LED[1] bits [7:4] = ON=link, BLINK=activity, OFF=no activity 21 | * LED[0] bits [3:0] = link speed detect (3 blinks= 1Gbps, 2 blinks = 100Mbps, 1 blink = 10Mbps) 22 | * Reg 3_17 23 | * LED[1:0] = ON-drive low, OFF-high 24 | * Reg 3_18 25 | * LED[0] bits [3:2] = link speed LED blink off period = 170ms 26 | * LED[0] bits [1:0] = link speed LED blink on period = 340ms 27 | */ 28 | marvell,reg-init = <3 16 0xff00 0x42>, 29 | <3 17 0xfff0 0x0>, 30 | <3 18 0xfff0 0x6>; 31 | }; 32 | 33 | }; 34 | 35 | 36 | &qspi { 37 | flash0: flash@0 { 38 | compatible = "micron,n25q128a13"; 39 | }; 40 | }; 41 | 42 | / { 43 | usb_phy0:usb_phy@0 { 44 | compatible="usb-nop-xceiv"; 45 | #phy-cells = <0>; 46 | }; 47 | }; 48 | 49 | 50 | &usb0 { 51 | dr_mode = "otg"; 52 | usb-phy = <&usb0>; 53 | }; 54 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.ULTRA96V1: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.ULTRA96V2: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.UZ3EG_IOCC: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_CDC_COMPOSITE=m 5 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.UZ3EG_PCIEC: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_CDC_COMPOSITE=m 5 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.UZ7EV_EVCC: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_CDC_COMPOSITE=m 5 | CONFIG_TIGON3=y 6 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.mz_fmccc: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_CDC_COMPOSITE=m 5 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.pz_fmc2: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_CDC_COMPOSITE=m 5 | CONFIG_I2C_XILINX=y 6 | -------------------------------------------------------------------------------- /configs/kernel/user.cfg.uz3eg_pciec_ccd: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_CDC_COMPOSITE=m 5 | 6 | 7 | CONFIG_TCG_TPM=y 8 | CONFIG_TCG_TIS_CORE=y 9 | CONFIG_TCG_TIS_SPI=y 10 | # CONFIG_TCG_TIS_I2C_ATMEL is not set 11 | # CONFIG_TCG_TIS_I2C_INFINEON is not set 12 | # CONFIG_TCG_TIS_I2C_NUVOTON is not set 13 | # CONFIG_TCG_ATMEL is not set 14 | # CONFIG_TCG_XEN is not set 15 | # CONFIG_TCG_VTPM_PROXY is not set 16 | # CONFIG_TCG_TIS_ST33ZP24_I2C is not set 17 | # CONFIG_TCG_TIS_ST33ZP24_SPI is not set 18 | # CONFIG_TRUSTED_KEYS is not set 19 | CONFIG_SECURITYFS=y 20 | 21 | CONFIG_SPI_SPIDEV=y 22 | 23 | CONFIG_HW_RANDOM=y 24 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set 25 | # CONFIG_HW_RANDOM_VIRTIO is not set 26 | CONFIG_HW_RANDOM_TPM=y 27 | CONFIG_HW_RANDOM_CAVIUM=y 28 | # CONFIG_USB_CHAOSKEY is not set 29 | 30 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/eeprom-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/eeprom-test/eeprom-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the eeprom-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple eeprom-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://eeprom-test.sh \ 11 | file://ERASE_EEPROM.TXT \ 12 | file://AT24C02D_28FEB18_EEPROM.TXT \ 13 | " 14 | 15 | S = "${WORKDIR}" 16 | 17 | do_install() { 18 | install -d ${D}/home/root/ 19 | install -m 0755 ${S}/eeprom-test.sh ${D}/home/root/ 20 | install -m 0755 ${S}/ERASE_EEPROM.TXT ${D}/home/root/ 21 | install -m 0755 ${S}/AT24C02D_28FEB18_EEPROM.TXT ${D}/home/root/ 22 | } 23 | 24 | FILES_${PN} += "/home/root/eeprom-test.sh \ 25 | /home/root/ERASE_EEPROM.TXT \ 26 | /home/root/AT24C02D_28FEB18_EEPROM.TXT \ 27 | " 28 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/eeprom-test/files/AT24C02D_28FEB18_EEPROM.TXT: -------------------------------------------------------------------------------- 1 | 01 00 00 12 00 01 00 EC 02 02 0D EF 00 00 B4 00 AB 00 BD 00 00 00 0A 00 E8 03 02 02 0D 2A C5 01 4A 01 39 01 5A 01 00 00 0A 00 E8 03 02 02 0D E2 0D 02 B0 04 74 04 EC 04 00 00 00 00 00 00 01 02 0D FD F3 03 00 00 00 00 00 00 00 00 00 00 00 00 01 02 0D E0 10 04 B4 00 B0 00 B7 00 00 00 00 00 01 00 01 02 0D FB F5 05 00 00 00 00 00 00 00 00 00 00 00 00 FA 02 08 D5 27 0C 15 00 00 00 00 0A 00 82 00 00 7E 00 00 00 00 00 00 00 00 00 00 00 01 06 00 00 00 00 C5 41 76 6E 65 74 CB 46 4D 43 2D 4E 45 54 57 4F 52 4B C0 CD 41 45 53 2D 46 4D 43 2D 4E 57 31 2D 47 C0 C1 00 00 00 00 00 00 DD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/eeprom-test/files/ERASE_EEPROM.TXT: -------------------------------------------------------------------------------- 1 | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 2 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest-init/fmc-network1-factest-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the fmc-network1-factest-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple fmc-network1-factest-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://fmc-network1-factest-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "fmc-network1-factest-init" 20 | INITSCRIPT_PARAMS = "start 99 5 ." 21 | 22 | do_install() { 23 | install -d ${D}${sysconfdir}/init.d 24 | install -m 0755 ${S}/fmc-network1-factest-init ${D}${sysconfdir}/init.d/fmc-network1-factest-init 25 | } 26 | 27 | FILES_${PN} += "${sysconfdir}/*" 28 | 29 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " fmc-network1-factest-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest-launcher/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest-launcher/fmc-network1-factest-launcher.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the fmc-network1-factest-launcher recipe. 3 | # 4 | 5 | SUMMARY = "Simple fmc-network1-factest-launcher application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://fmc-network1-factest-launcher.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 fmc-network1-factest-launcher.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/fmc-network1-factest-launcher.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-apps/fmc-network1-factest/fmc-network1-factest.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the fmc-network1-factest recipe. 3 | # 4 | 5 | SUMMARY = "Simple fmc-network1-factest application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://fmc-network1-factory-test.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 fmc-network1-factory-test.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/fmc-network1-factory-test.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user.fmc_network1_factest/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " iperf3" 2 | 3 | IMAGE_INSTALL_append = " eeprom-test" 4 | IMAGE_INSTALL_append = " fmc-network1-factest" 5 | IMAGE_INSTALL_append = " fmc-network1-factest-init" 6 | IMAGE_INSTALL_append = " fmc-network1-factest-launcher" 7 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/performance-tests/performance-tests.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the performance-tests recipe. 3 | # 4 | 5 | SUMMARY = "Simple performance-tests application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://network-test.sh \ 11 | file://sd-test.sh \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | do_install() { 17 | install -d ${D}/home/root 18 | install -m 0755 ${S}/network-test.sh ${D}/home/root 19 | install -m 0755 ${S}/sd-test.sh ${D}/home/root 20 | } 21 | 22 | FILES_${PN} += "/home/root/network-test.sh \ 23 | /home/root/sd-test.sh \ 24 | " 25 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver-init/python-webserver-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the python-webserver-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple python-webserver-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://python-webserver-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "python-webserver-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/python-webserver-init ${D}${sysconfdir}/init.d/python-webserver-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/css/main.css: -------------------------------------------------------------------------------- 1 | body{background-color: #FFF; padding: 15px; 2 | font: Arial,sans-serif} 3 | 4 | h1, h2, p, .forms {margin: 0 10px} 5 | h1 {font-size: 120%; text-indent: 10px; margin: 1.2em 0px; padding: 8px 0px; background: #6699FF} 6 | h2 {font-size: 110%; text-indent: 10px; margin: 1em 0px; padding: 5px 0px; background: #bbbbbb} 7 | .forms { padding: 10px 0 0 0} 8 | p {font-size: 100%} 9 | div#container {margin: 0 10%; background: #eeeeee} 10 | div#led_results {margin: 10px 0px 0px} 11 | div#switch_status {margin: 10px 0px 0px} 12 | 13 | b.rtop, b.rbottom{display: block; background: #FFF} 14 | b.rtop b, b.rbottom b{display: block; height: 1px; overflow: hidden; background: #eeeeee} 15 | b.r1{margin: 0 5px} 16 | b.r2{margin: 0 3px} 17 | b.r3{margin: 0 2px} 18 | b.rtop b.r4, b.rbottom b.r4{margin: 0 1px; height: 2px} 19 | -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/board.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/board.jpg -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/picozed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/images/picozed.png -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/pdfs/5048-PB-PDP-AES-Z7PZ-SOM-G-V2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/pdfs/5048-PB-PDP-AES-Z7PZ-SOM-G-V2.pdf -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/pdfs/PB-AES-PZCC-FMC-V2-G-V1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/pz_fmc2_sd_oob/recipes-apps/python-webserver/files/pdfs/PB-AES-PZCC-FMC-V2-G-V1.pdf -------------------------------------------------------------------------------- /configs/meta-user/pz_fmc2_sd_oob/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " iperf" 4 | IMAGE_INSTALL_append = " iperf3" 5 | IMAGE_INSTALL_append = " bonnie++" 6 | IMAGE_INSTALL_append = " hdparm" 7 | IMAGE_INSTALL_append = " python3" 8 | IMAGE_INSTALL_append = " python3-core" 9 | IMAGE_INSTALL_append = " python3-dbus" 10 | IMAGE_INSTALL_append = " python3-pygobject" 11 | 12 | IMAGE_INSTALL_append = " python-webserver" 13 | IMAGE_INSTALL_append = " python-webserver-init" 14 | IMAGE_INSTALL_append = " performance-tests" 15 | IMAGE_INSTALL_append = " blinky" 16 | IMAGE_INSTALL_append = " blinky-init" 17 | 18 | IMAGE_INSTALL_append = " mac-eeprom-config" 19 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 20 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-bsp/pmu-firmware/pmu-firmware_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append = " \ 2 | file://0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button.patch \ 3 | " 4 | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 6 | 7 | #Add debug for PMUFW 8 | XSCTH_BUILD_DEBUG = "1" 9 | 10 | #YAML_COMPILER_FLAGS_append_ultra96-zynqmp = " -DBOARD_SHUTDOWN_PIN=2 -DBOARD_SHUTDOWN_PIN_STATE=0 -DENABLE_MOD_ULTRA96 -DENABLE_SCHEDULER -DDEBUG_MODE -DXPFW_DEBUG_DETAILED" 11 | YAML_COMPILER_FLAGS_append_ultra96-zynqmp = " -DBOARD_SHUTDOWN_PIN=2 -DBOARD_SHUTDOWN_PIN_STATE=0 -DENABLE_MOD_ULTRA96 -DENABLE_SCHEDULER" 12 | 13 | EXTERNALXSCTSRC = "" 14 | EXTERNALXSCTSRC_BUILD = "" 15 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | #Note: Mention Each package in individual line 2 | # cascaded representation with line breaks are not valid in this file. 3 | IMAGE_INSTALL_append = " peekpoke" 4 | IMAGE_INSTALL_append = " gpio-demo" 5 | IMAGE_INSTALL_append = " packagegroup-base-extended" 6 | IMAGE_INSTALL_append = " cmake" 7 | IMAGE_INSTALL_append = " lmsensors-sensorsdetect" 8 | IMAGE_INSTALL_append = " python-pyserial" 9 | IMAGE_INSTALL_append = " libftdi" 10 | IMAGE_INSTALL_append = " python3-pip" 11 | IMAGE_INSTALL_append = " iperf3" 12 | IMAGE_INSTALL_append = " packagegroup-petalinux-ultra96-webapp" 13 | IMAGE_INSTALL_append = " packagegroup-petalinux-v4lutils" 14 | IMAGE_INSTALL_append = " packagegroup-petalinux-96boards-sensors" 15 | IMAGE_INSTALL_append = " packagegroup-petalinux-x11" 16 | IMAGE_INSTALL_append = " packagegroup-petalinux-matchbox" 17 | IMAGE_INSTALL_append = " ultra96-ap-setup" 18 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-core/init-ifupdown/files/interfaces: -------------------------------------------------------------------------------- 1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) 2 | 3 | # The loopback interface 4 | auto lo 5 | iface lo inet loopback 6 | 7 | # Wireless interfaces 8 | auto wlan0 9 | iface wlan0 inet dhcp 10 | wireless_mode managed 11 | wireless_essid any 12 | wpa-driver wext 13 | wpa-conf /etc/wpa_supplicant.conf 14 | 15 | iface atml0 inet dhcp 16 | 17 | # Wired or wireless interfaces 18 | auto eth0 19 | iface eth0 inet dhcp 20 | iface eth1 inet dhcp 21 | 22 | # Ethernet/RNDIS gadget (g_ether) 23 | # ... or on host side, usbnet and random hwaddr 24 | iface usb0 inet static 25 | address 192.168.7.2 26 | netmask 255.255.255.0 27 | network 192.168.7.0 28 | gateway 192.168.7.1 29 | 30 | # Bluetooth networking 31 | iface bnep0 inet dhcp 32 | 33 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-core/init-ifupdown/init-ifupdown_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 2 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf: -------------------------------------------------------------------------------- 1 | Section "InputDevice" 2 | Identifier "System Mouse" 3 | Driver "mouse" 4 | Option "Device" "/dev/input/mouse0" 5 | EndSection 6 | 7 | Section "InputDevice" 8 | Identifier "System Keyboard" 9 | Driver "kbd" 10 | Option "Device" "/dev/input/event0" 11 | EndSection 12 | 13 | Section "Device" 14 | Identifier "ZynqMP" 15 | Driver "armsoc" 16 | Option "DRI2" "true" 17 | Option "DRI2_PAGE_FLIP" "false" 18 | Option "DRI2_WAIT_VSYNC" "true" 19 | Option "SWcursorLCD" "false" 20 | Option "DEBUG" "false" 21 | EndSection 22 | 23 | Section "Screen" 24 | Identifier "DefaultScreen" 25 | Device "ZynqMP" 26 | DefaultDepth 16 27 | SubSection "Display" 28 | Modes "1920x1080" 29 | EndSubSection 30 | EndSection 31 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_full/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v1_minimal/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " blinky" 4 | IMAGE_INSTALL_append = " blinky-init" 5 | IMAGE_INSTALL_append = " iperf3" 6 | IMAGE_INSTALL_append = " bonnie++" 7 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/device-tree/device-tree-generation_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append ="\ 2 | file://system-user.dtsi \ 3 | " 4 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 5 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/pmu-firmware/pmu-firmware_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append = " \ 2 | file://0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button_v2board.patch \ 3 | " 4 | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 6 | 7 | #Add debug for PMUFW 8 | XSCTH_BUILD_DEBUG = "1" 9 | 10 | #YAML_COMPILER_FLAGS_append_ultra96-zynqmp = " -DBOARD_SHUTDOWN_PIN=2 -DBOARD_SHUTDOWN_PIN_STATE=0 -DENABLE_MOD_ULTRA96 -DENABLE_SCHEDULER -DDEBUG_MODE -DXPFW_DEBUG_DETAILED" 11 | YAML_COMPILER_FLAGS_append_ultra96-zynqmp = " -DBOARD_SHUTDOWN_PIN=2 -DBOARD_SHUTDOWN_PIN_STATE=0 -DENABLE_MOD_ULTRA96 -DENABLE_SCHEDULER" 12 | #YAML_COMPILER_FLAGS_append_ultra96-zynqmp = " -DBOARD_SHUTDOWN_PIN=2 -DBOARD_SHUTDOWN_PIN_STATE=0 -DENABLE_MOD_ULTRA96 -DENABLE_SCHEDULER -DENABLE_PM" 13 | 14 | EXTERNALXSCTSRC = "" 15 | EXTERNALXSCTSRC_BUILD = "" 16 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/u-boot/files/platform-top.h.orig: -------------------------------------------------------------------------------- 1 | #include 2 | #define CONFIG_SYS_BOOTM_LEN 0xF000000 3 | 4 | #define DFU_ALT_INFO_RAM \ 5 | "dfu_ram_info=" \ 6 | "setenv dfu_alt_info " \ 7 | "image.ub ram $netstart 0x1e00000\0" \ 8 | "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \ 9 | "thor_ram=run dfu_ram_info && thordown 0 ram 0\0" 10 | 11 | #define DFU_ALT_INFO \ 12 | DFU_ALT_INFO_RAM 13 | 14 | /*Required for uartless designs */ 15 | #ifndef CONFIG_BAUDRATE 16 | #define CONFIG_BAUDRATE 115200 17 | #ifdef CONFIG_DEBUG_UART 18 | #undef CONFIG_DEBUG_UART 19 | #endif 20 | #endif 21 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append = " file://platform-top.h" 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 3 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/ultra96-misc/files/ble.sh: -------------------------------------------------------------------------------- 1 | # Turn echo of commands on: 2 | set -v 3 | echo BT_POWER_UP > /dev/wilc_bt 4 | echo BT_DOWNLOAD_FW > /dev/wilc_bt 5 | echo BT_FW_CHIP_WAKEUP > /dev/wilc_bt 6 | 7 | # Set uart0 = PS UART0 = ttyPS1 baudrate: 8 | stty -F /dev/ttyPS1 115200 9 | stty -F /dev/ttyPS1 crtscts 10 | # Initialize the device: 11 | hciattach /dev/ttyPS1 -t 10 any 115200 noflow nosleep 12 | sleep 2s 13 | 14 | hciconfig hci0 up 15 | 16 | sleep 1s 17 | hciconfig -a 18 | # Turn echo off 19 | set +v 20 | 21 | #echo BT_FW_CHIP_ALLOW_SLEEP > /dev/wilc_bt 22 | 23 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/ultra96-misc/files/bt.sh: -------------------------------------------------------------------------------- 1 | #Turn echo of commands on: 2 | set -v 3 | 4 | echo BT_POWER_UP > /dev/wilc_bt 5 | echo BT_DOWNLOAD_FW > /dev/wilc_bt 6 | echo BT_FW_CHIP_WAKEUP > /dev/wilc_bt 7 | 8 | stty -F /dev/ttyPS1 115200 9 | stty -F /dev/ttyPS1 crtscts 10 | # Initialize the device: 11 | hciattach /dev/ttyPS1 -t 10 any 115200 noflow nosleep 12 | sleep 2s 13 | 14 | #Configure the right BT device: 15 | hciconfig hci0 up 16 | 17 | #begin new 18 | sleep 1s 19 | hciconfig hci0 reset 20 | #Bluetooth COD (class) is TBD. This is a 6 digit hex number 21 | #EXAMPLE 0x200404 22 | #hciconfig hci0 class 0x 23 | 24 | #for no password: 25 | hciconfig hci0 sspmode 1 26 | hciconfig hci0 piscan 27 | hciconfig hci0 leadv 28 | hciconfig -a 29 | #end new 30 | 31 | sleep 1s 32 | #Scan for BT devices: 33 | hcitool scan 34 | #Turn echo off 35 | set +v 36 | 37 | #Scan for BLE devices: 38 | #hcitool lescan 39 | 40 | #hciconfig -a 41 | #hcitool dev 42 | 43 | 44 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/ultra96-misc/files/wifi.sh: -------------------------------------------------------------------------------- 1 | #Copy the supplied wpa_supplicant.conf file to /etc 2 | #!!!NEED TO EDIT WITH SSID PASSWORD FIRST!!! 3 | cp -f /home/root/wpa_supplicant.conf /etc 4 | 5 | # Load ATWILC3000 driver 6 | modprobe wilc 7 | modprobe wilc-sdio 8 | 9 | # bring up interface 10 | ifconfig wlan0 up 11 | 12 | #Run wpa_supplicant for secure networking: 13 | wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf -B 14 | 15 | #To add DHCP: 16 | udhcpc -i wlan0 17 | 18 | #To run iperf3: 19 | #server mode: 20 | #comment this to simplify production testing: 21 | #iperf3 -s 22 | 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/ultra96-misc/files/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/run/wpa_supplicant 2 | ctrl_interface_group=0 3 | update_config=1 4 | 5 | network={ 6 | key_mgmt=WPA-PSK 7 | ssid="MySsidName" 8 | psk="MyPassword" 9 | } 10 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/ultra96-misc/ultra96-misc.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Custom / Misc files for Ultra96-V2" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | #FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 6 | 7 | SRC_URI += "file://wpa_supplicant.conf \ 8 | file://wifi.sh \ 9 | file://bt.sh \ 10 | file://ble.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILES_${PN} += "/home/root/*" 16 | 17 | do_install() { 18 | install -d ${D}/home/root 19 | install -m 0755 ${WORKDIR}/wpa_supplicant.conf ${D}/home/root 20 | install -m 0755 ${WORKDIR}/wifi.sh ${D}/home/root 21 | install -m 0755 ${WORKDIR}/bt.sh ${D}/home/root 22 | install -m 0755 ${WORKDIR}/ble.sh ${D}/home/root 23 | } 24 | 25 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-bsp/wilc-firmware/wilc-firmware_15.00.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "wilc-firmware: Firmware binaries for Microchip WILC1000/WILC3000" 2 | SECTION = "PETALINUX/modules" 3 | LICENSE = "GPLv3" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" 5 | 6 | SRC_URI = "git://github.com/linux4wilc/firmware;protocol=http;branch=master" 7 | 8 | SRCREV = "6f385eabfd8886c8c5faf0cd7929fcbb3e4c2e0f" 9 | 10 | S = "${WORKDIR}/git" 11 | 12 | do_install() { 13 | install -d ${D}/lib/firmware 14 | 15 | install -m 644 ${S}/wilc1000_wifi_firmware.bin ${D}/lib/firmware/wilc1000_wifi_firmware.bin 16 | install -m 644 ${S}/wilc3000_wifi_firmware.bin ${D}/lib/firmware/wilc3000_wifi_firmware.bin 17 | install -m 644 ${S}/wilc3000_bt_firmware.bin ${D}/lib/firmware/wilc3000_bt_firmware.bin 18 | install -m 644 ${S}/wilc3000_bt_firmware_no_rtc.bin ${D}/lib/firmware/wilc3000_bt_firmware_no_rtc.bin 19 | } 20 | 21 | PACKAGES =+ "${PN}-wilc1000 ${PN}-wilc3000 ${PN}-bt-firmware-no-rtc" 22 | 23 | FILES_${PN}-wilc1000 = " \ 24 | /lib/firmware/wilc1000_wifi_firmware.bin \ 25 | " 26 | 27 | FILES_${PN}-wilc3000 = " \ 28 | /lib/firmware/wilc3000_wifi_firmware.bin \ 29 | /lib/firmware/wilc3000_bt_firmware.bin \ 30 | " 31 | 32 | FILES_${PN}-bt-firmware-no-rtc = " \ 33 | /lib/firmware/wilc3000_bt_firmware_no_rtc.bin \ 34 | " 35 | 36 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/bluez5/bluez5/hciattach-reset-delay-bluez-5.41.patch: -------------------------------------------------------------------------------- 1 | diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c 2 | index 81f38cb..fc7e52f 100644 3 | --- a/tools/hciattach_bcm43xx.c 4 | +++ b/tools/hciattach_bcm43xx.c 5 | @@ -380,6 +380,8 @@ int bcm43xx_init(int fd, int def_speed, int speed, struct termios *ti, 6 | return -1; 7 | } 8 | 9 | + sleep(1); 10 | + 11 | if (bcm43xx_reset(fd)) 12 | return -1; 13 | } 14 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/bluez5/bluez5_5.41.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "file://hciattach-reset-delay-bluez-5.41.patch" 4 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/hostapd/hostapd/0010-murata-hostapd-conf.patch: -------------------------------------------------------------------------------- 1 | diff -ur hostapd-2.6-original/hostapd/hostapd.conf hostapd-2.6-modified/hostapd/hostapd.conf 2 | --- hostapd-2.6-original/hostapd/hostapd.conf 2016-10-02 13:51:11.000000000 -0500 3 | +++ hostapd-2.6-modified/hostapd/hostapd.conf 2017-12-05 15:02:29.842056615 -0600 4 | @@ -25,6 +25,7 @@ 5 | # Use driver=none if building hostapd as a standalone RADIUS server that does 6 | # not control any wireless/wired driver. 7 | # driver=hostap 8 | +driver=nl80211 9 | 10 | # Driver interface parameters (mainly for development testing use) 11 | # driver_params= 12 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/hostapd/hostapd/hostapd.service: -------------------------------------------------------------------------------- 1 | Unit] 2 | Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator 3 | After=network.target 4 | 5 | [Service] 6 | Type=forking 7 | PIDFile=/run/hostapd.pid 8 | ExecStart=@SBINDIR@/hostapd @SYSCONFDIR@/hostapd.conf -P /run/hostapd.pid -B 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/hostapd/hostapd/init: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | DAEMON=/usr/sbin/hostapd 3 | NAME=hostapd 4 | DESC="HOSTAP Daemon" 5 | ARGS="/etc/hostapd.conf -B" 6 | 7 | test -f $DAEMON || exit 0 8 | 9 | set -e 10 | 11 | # source function library 12 | . /etc/init.d/functions 13 | 14 | delay_stop() { 15 | count=0 16 | while [ $count -lt 9 ] ; do 17 | if pidof $DAEMON >/dev/null; then 18 | sleep 1 19 | else 20 | return 0 21 | fi 22 | count=`expr $count + 1` 23 | done 24 | echo "Failed to stop $DESC." 25 | return 1 26 | } 27 | 28 | case "$1" in 29 | start) 30 | echo -n "Starting $DESC: " 31 | start-stop-daemon -S -x $DAEMON -- $ARGS 32 | echo "$NAME." 33 | ;; 34 | stop) 35 | echo -n "Stopping $DESC: " 36 | start-stop-daemon -K --oknodo -x $DAEMON 37 | echo "$NAME." 38 | ;; 39 | restart) 40 | $0 stop 41 | delay_stop && $0 start 42 | ;; 43 | reload) 44 | echo -n "Reloading $DESC: " 45 | killall -HUP $(basename ${DAEMON}) 46 | echo "$NAME." 47 | ;; 48 | status) 49 | status $DAEMON 50 | exit $? 51 | ;; 52 | *) 53 | echo "Usage: $0 {start|stop|restart|reload|status}" 54 | exit 1 55 | ;; 56 | esac 57 | 58 | exit 0 -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/hostapd/hostapd/udhcpd.conf: -------------------------------------------------------------------------------- 1 | start 192.168.1.100 2 | end 192.168.1.150 3 | interface wlan0 4 | option dns 192.168.1.1 5 | option router 192.168.1.1 6 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/wpa-supplicant/wpa-supplicant/99_wpa_supplicant: -------------------------------------------------------------------------------- 1 | d root root 0700 /var/run/wpa_supplicant none 2 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/run/wpa_supplicant 2 | ctrl_interface_group=0 3 | update_config=1 4 | 5 | network={ 6 | key_mgmt=NONE 7 | } 8 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-modules/wilc/files/0001-fix-syntax-error-change-virtual-intf.patch: -------------------------------------------------------------------------------- 1 | diff --git a/wilc1000/wilc_wfi_cfgoperations.c b/wilc1000/wilc_wfi_cfgoperations.c 2 | index a6aefcc..2979e18 100644 3 | --- a/wilc_wfi_cfgoperations.c 4 | +++ b/wilc_wfi_cfgoperations.c 5 | @@ -1867,8 +1867,8 @@ static int set_power_mgmt(struct wiphy *wiphy, struct net_device *dev, 6 | 7 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0) 8 | static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, 9 | - u32 *flags, 10 | - enum nl80211_iftype type, struct vif_params *params) 11 | + enum nl80211_iftype type, 12 | + u32 *flags, struct vif_params *params) 13 | #else 14 | static int change_virtual_intf(struct wiphy *wiphy, struct net_device *dev, 15 | enum nl80211_iftype type, struct vif_params *params) 16 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-modules/wilc/files/0002-Makefile-support-for-modules.patch: -------------------------------------------------------------------------------- 1 | diff --git a/wilc1000/Makefile b/wilc1000/Makefile 2 | index f085daf..a615331 100644 3 | --- a/Makefile 4 | +++ b/Makefile 5 | @@ -13,3 +13,14 @@ wilc-sdio-objs += wilc_sdio.o wilc_bt.o 6 | 7 | obj-$(CONFIG_WILC_SPI) += wilc-spi.o 8 | wilc-spi-objs += wilc_spi.o wilc_bt.o 9 | + 10 | +all: 11 | + $(MAKE) -C $(KERNEL_SRC) M=$(CURDIR) modules 12 | + 13 | +modules_install: 14 | + $(MAKE) -C $(KERNEL_SRC) M=$(CURDIR) modules_install 15 | + 16 | +clean: 17 | + rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c 18 | + rm -f Module.markers Module.symvers modules.order 19 | + rm -rf .tmp_versions Modules.symvers 20 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-modules/wilc/files/0003-set-GPIO-numbers.patch: -------------------------------------------------------------------------------- 1 | GPIO_NUM_RESET = 398 when WiFi radio RST_N is connected to MIO[7] (1.8V - JT5 strapped to pins 2-3) 2 | GPIO_NUM_RESET = 469 when WiFi radio RST_N is connected to EMIO[0] (1.2V - JT5 strapped to pins 1-2) 3 | There are 78 MIO GPIOs (0-77) so the first EMIO is #78. 4 | For PetaLinux 2017.4 the Zynq MPSoC GPIO base is 322 5 | The WiFi EN is connected to MIO[8], so GPIO_NUM_CHIP_EN = 322+8 = 340 6 | The WiFi RSTN is mapped to EMIO[0], so GPIO_NUM_RESET = 322+78 = 400 7 | There are 78 MIO GPIOs (0-77) so the first EMIO is #78. 78-7=71, 398+71=469 8 | diff --git a/wilc1000/wilc_wlan.h b/wilc1000/wilc_wlan.h 9 | index b7cb1b7..5b5186a 100644 10 | --- a/wilc_wlan.h 11 | +++ b/wilc_wlan.h 12 | @@ -144,9 +144,9 @@ 13 | #define LINUX_TX_SIZE (64 * 1024) 14 | 15 | #define MODALIAS "WILC_SPI" 16 | -#define GPIO_NUM 0x5B 17 | -#define GPIO_NUM_CHIP_EN 94 18 | -#define GPIO_NUM_RESET 60 19 | +#define GPIO_NUM 399 20 | +#define GPIO_NUM_CHIP_EN 340 21 | +#define GPIO_NUM_RESET 400 22 | 23 | 24 | #define NQUEUES 4 25 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-modules/wilc/wilc_15.00.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Recipe for build an external wilc Linux kernel module" 2 | SECTION = "PETALINUX/modules" 3 | LICENSE = "GPLv3" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" 5 | 6 | inherit module 7 | 8 | SRC_URI = "git://github.com/linux4wilc/driver;protocol=http;branch=master" 9 | SRCREV = "1a0619d1b7489641838471417dcd9453efdca628" 10 | 11 | SRC_URI += "file://0001-fix-syntax-error-change-virtual-intf.patch;patchdir=${WORKDIR}/git/wilc1000 \ 12 | file://0002-Makefile-support-for-modules.patch;patchdir=${WORKDIR}/git/wilc1000 \ 13 | file://0003-set-GPIO-numbers.patch;patchdir=${WORKDIR}/git/wilc1000 \ 14 | " 15 | 16 | DEPENDS += "virtual/kernel" 17 | 18 | S = "${WORKDIR}/git/wilc1000" 19 | #S = "${WORKDIR}" 20 | 21 | EXTRA_OEMAKE = 'CONFIG_WILC=m \ 22 | CONFIG_WILC_SDIO=m \ 23 | CONFIG_WILC1000_HW_OOB_INTR=n \ 24 | KERNEL_SRC="${STAGING_KERNEL_DIR}" \ 25 | O=${STAGING_KERNEL_BUILDDIR} \ 26 | ' 27 | 28 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-multimedia/pulseaudio-service/files/pulseaudio.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=PulseAudio Sound System 3 | #After=alsa-restore.service 4 | 5 | [Service] 6 | BusName=org.pulseaudio.Server 7 | ExecStart=/usr/bin/pulseaudio --system --resample-method=src-sinc-fastest 8 | Restart=always 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-multimedia/pulseaudio-service/pulseaudio-service_1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Pulseaudio systemd service" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | inherit systemd useradd 6 | 7 | DEPENDS = "pulseaudio" 8 | 9 | SRC_URI += "\ 10 | file://pulseaudio.service \ 11 | " 12 | 13 | SYSTEMD_SERVICE_${PN} = "pulseaudio.service" 14 | 15 | FILES_${PN} = " \ 16 | /etc/systemd/system/pulseaudio.service \ 17 | " 18 | 19 | USERADD_PACKAGES = "pulseaudio-service" 20 | GROUPMEMS_PARAM_pulseaudio-service = " --add root --group audio" 21 | 22 | do_install_append() { 23 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 24 | install -d ${D}/etc/systemd/system 25 | install -m 0644 ${WORKDIR}/pulseaudio.service ${D}/etc/systemd/system/pulseaudio.service 26 | fi 27 | 28 | } 29 | -------------------------------------------------------------------------------- /configs/meta-user/ultra96v2_valtest/recipes-multimedia/pulseaudio/pulseaudio_9.0.bbappend: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Adds custom pulseaudio system.pa configuration file" 2 | LICENSE = "MIT" 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4 | 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 6 | SRC_URI += "file://system.pa" 7 | 8 | 9 | do_install_append() { 10 | install -d ${D}/etc/pulse 11 | install -m 0644 ${WORKDIR}/system.pa ${D}/etc/pulse/system.pa 12 | } 13 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " blinky" 4 | IMAGE_INSTALL_append = " blinky-init" 5 | IMAGE_INSTALL_append = " iperf3" 6 | IMAGE_INSTALL_append = " bonnie++" 7 | 8 | IMAGE_INSTALL_append = " mac-eeprom-config" 9 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 10 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-apps/trd-files/files/autostart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Source environment for init script 4 | source /etc/profile 5 | 6 | # Set console loglevel to KERN_INFO 7 | echo "Setting console loglevel to 0 ..." 8 | echo "0" > /proc/sys/kernel/printk 9 | 10 | # add /media/card to library search path 11 | echo '/media/card' >> /etc/ld.so.conf 12 | /sbin/ldconfig 13 | 14 | # Auto-start tricube application if present 15 | tri=$(which tricube) 16 | if [ $? -eq 0 ]; then 17 | runtricube.sh & 18 | fi 19 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-apps/trd-files/files/runtricube.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Kil X11 session 4 | killall Xorg 5 | 6 | sleep 4 7 | 8 | export DISPLAY=:0.0 9 | /usr/bin/Xorg -depth 16& 10 | 11 | sleep 2 12 | 13 | #Run Tricube Application 14 | 15 | tricube 16 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-apps/trd-files/files/trd-autostart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Execute userhook if present 4 | USERHOOK=/etc/trd/autostart.sh 5 | USERHOOK_SD=/media/card/autostart.sh 6 | if [ -f $USERHOOK_SD ]; then 7 | sh $USERHOOK_SD & 8 | elif [ -f $USERHOOK ]; then 9 | sh $USERHOOK & 10 | fi 11 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-apps/trd-files/trd-files.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "TRD Files" 2 | SECTION = "PETALINUX/apps" 3 | LICENSE = "MIT" 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5 | 6 | SRC_URI = "\ 7 | file://trd-autostart.sh \ 8 | file://autostart.sh \ 9 | file://runtricube.sh \ 10 | " 11 | 12 | S = "${WORKDIR}" 13 | 14 | inherit update-rc.d 15 | 16 | INITSCRIPT_NAME = "trd-autostart" 17 | INITSCRIPT_PARAMS = "start 99 5 ." 18 | 19 | do_install() { 20 | install -d ${D}${sysconfdir}/init.d 21 | install -m 0755 ${S}/trd-autostart.sh ${D}${sysconfdir}/init.d/trd-autostart 22 | 23 | install -d ${D}/${bindir} 24 | install -m 0755 ${S}/runtricube.sh ${D}/${bindir}/ 25 | 26 | install -d ${D}${sysconfdir}/trd 27 | install -m 0755 ${S}/autostart.sh ${D}${sysconfdir}/trd/ 28 | } 29 | 30 | FILES_${PN} += " \ 31 | ${bindir}/runtricube.sh \ 32 | " 33 | 34 | RDEPENDS_${PN}_append += "bash" 35 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-apps/tricube/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = tricube 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = tricube.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CXX) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) -lm -lpthread -ldl \ 12 | -lX11 -lxcb -lXau -lXdmcp -ldrm -lXfixes -lXext -lXdamage -lexpat -lglapi \ 13 | -lX11-xcb -lxcb-glx -lxcb-dri2 -lXxf86vm -lEGL -lGLESv2 -lGL -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-apps/tricube/tricube.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the tricube recipe. 3 | # 4 | 5 | SUMMARY = "A simple EGL/OpenGLES application that runs on x11 and renders a rotating triangle." 6 | LICENSE = "MIT" 7 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 8 | 9 | SRC_URI = " \ 10 | file://tricube.cpp \ 11 | file://tricube.h \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | DEPENDS = " \ 17 | libmali-xlnx \ 18 | libx11 \ 19 | libxext \ 20 | libxfixes \ 21 | libxdamage \ 22 | libdrm \ 23 | " 24 | 25 | do_compile () { 26 | ${CXX} ${CFLAGS} ${LDFLAGS} tricube.cpp -lm -lpthread -ldl -lX11 -lxcb -lXau -lXdmcp -ldrm \ 27 | -lXfixes -lXext -lXdamage -lexpat -lglapi -lX11-xcb -lxcb-glx -lxcb-dri2 -lXxf86vm -lEGL \ 28 | -lGLESv2 -lGL -o tricube -I${libdir} -L${includedir} 29 | } 30 | 31 | do_install() { 32 | install -d ${D}${bindir} 33 | install -m 0755 tricube ${D}${bindir} 34 | } 35 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-core/base-files/base-files_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | dirs755 += "/media/card" 3 | 4 | do_install_append () { 5 | echo "/dev/mmcblk1p1 /media/card auto defaults,sync 0 0" >> ${D}${sysconfdir}/fstab 6 | echo "alias ls='ls --color=auto'" >> ${D}${sysconfdir}/profile 7 | echo "alias ll='ls --color=auto -l'" >> ${D}${sysconfdir}/profile 8 | echo "alias la='ls --color=auto -la'" >> ${D}${sysconfdir}/profile 9 | echo "alias modetest='modetest -M xilinx_drm'" >> ${D}${sysconfdir}/profile 10 | echo "export PATH=/media/card:/media/card/bin:\$PATH" >> ${D}${sysconfdir}/profile 11 | echo "export QT_QPA_PLATFORM=eglfs" >> ${D}${sysconfdir}/profile 12 | echo "export QT_QPA_GENERIC_PLUGINS=libinput" >> ${D}${sysconfdir}/profile 13 | echo "export QT_QPA_ENABLE_TERMINAL_KEYBOARD=1" >> ${D}${sysconfdir}/profile 14 | echo "export QT_QPA_EGLFS_INTEGRATION=eglfs_x11" >> ${D}${sysconfdir}/profile 15 | } 16 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " tricube" 4 | IMAGE_INSTALL_append = " trd-files" 5 | IMAGE_INSTALL_append = " trd-files-dev" 6 | IMAGE_INSTALL_append = " packagegroup-trd" 7 | IMAGE_INSTALL_append = " packagegroup-trd-dev" 8 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-core/sysvinit/sysvinit-inittab_%.bbappend: -------------------------------------------------------------------------------- 1 | do_install_append () { 2 | sed -i -e '/hvc0/d' ${D}${sysconfdir}/inittab 3 | } 4 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-graphics/x11-common/xserver-nodm-init_%.bbappend: -------------------------------------------------------------------------------- 1 | INITSCRIPT_PARAMS = "" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-graphics/xorg-xserver/xserver-xf86-config/zynqmp/xorg.conf: -------------------------------------------------------------------------------- 1 | Section "InputDevice" 2 | Identifier "System Mouse" 3 | Driver "mouse" 4 | Option "Device" "/dev/input/mouse0" 5 | EndSection 6 | 7 | Section "InputDevice" 8 | Identifier "System Keyboard" 9 | Driver "kbd" 10 | Option "Device" "/dev/input/event0" 11 | EndSection 12 | 13 | Section "Device" 14 | Identifier "ZynqMP" 15 | Driver "armsoc" 16 | Option "DRICard" "0" 17 | Option "DRI2" "true" 18 | Option "DRI2_PAGE_FLIP" "false" 19 | Option "DRI2_WAIT_VSYNC" "true" 20 | Option "SWcursorLCD" "false" 21 | Option "DEBUG" "false" 22 | Option "DPMS" "false" 23 | EndSection 24 | 25 | Section "Screen" 26 | Identifier "DefaultScreen" 27 | Device "ZynqMP" 28 | DefaultDepth 24 29 | EndSection 30 | 31 | Section "ServerLayout" 32 | Identifier "ServerLayout0" 33 | Option "StandbyTime" "0" 34 | Option "SuspendTime" "0" 35 | Option "OffTime" "0" 36 | Option "BlankTime" "0" 37 | EndSection 38 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_dp/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/performance-tests/performance-tests.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the performance-tests recipe. 3 | # 4 | 5 | SUMMARY = "Simple performance-tests application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://drive-test.sh \ 11 | file://network-test.sh \ 12 | file://sd-test.sh \ 13 | " 14 | 15 | S = "${WORKDIR}" 16 | 17 | do_install() { 18 | install -d ${D}/home/root 19 | install -m 0755 ${S}/drive-test.sh ${D}/home/root 20 | install -m 0755 ${S}/network-test.sh ${D}/home/root 21 | install -m 0755 ${S}/sd-test.sh ${D}/home/root 22 | } 23 | 24 | FILES_${PN} += "/home/root/drive-test.sh \ 25 | /home/root/network-test.sh \ 26 | /home/root/sd-test.sh \ 27 | " 28 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver-init/python-webserver-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the python-webserver-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple python-webserver-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://python-webserver-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "python-webserver-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/python-webserver-init ${D}${sysconfdir}/init.d/python-webserver-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/css/main.css: -------------------------------------------------------------------------------- 1 | body{background-color: #FFF; padding: 15px; 2 | font: Arial,sans-serif} 3 | 4 | h1, h2, p, .forms {margin: 0 10px} 5 | h1 {font-size: 120%; text-indent: 10px; margin: 1.2em 0px; padding: 8px 0px; background: #6699FF} 6 | h2 {font-size: 110%; text-indent: 10px; margin: 1em 0px; padding: 5px 0px; background: #bbbbbb} 7 | .forms { padding: 10px 0 0 0} 8 | p {font-size: 100%} 9 | div#container {margin: 0 10%; background: #eeeeee} 10 | div#led_results {margin: 10px 0px 0px} 11 | div#switch_status {margin: 10px 0px 0px} 12 | 13 | b.rtop, b.rbottom{display: block; background: #FFF} 14 | b.rtop b, b.rbottom b{display: block; height: 1px; overflow: hidden; background: #eeeeee} 15 | b.r1{margin: 0 5px} 16 | b.r2{margin: 0 3px} 17 | b.r3{margin: 0 2px} 18 | b.rtop b.r4, b.rbottom b.r4{margin: 0 1px; height: 2px} 19 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/board.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/board.jpg -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/ultrazed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/images/ultrazed.png -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/pdfs/5043-PB-AES-ZU3EG-1-SOM-G-V3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/pdfs/5043-PB-AES-ZU3EG-1-SOM-G-V3.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/pdfs/5080-PB-AES-ZU-IOCC-G-V2e.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/pdfs/5080-PB-AES-ZU-IOCC-G-V2e.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/pdfs/Delkin_Devices_Product_Line.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_iocc_sd_oob/recipes-apps/python-webserver/files/pdfs/Delkin_Devices_Product_Line.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_iocc_sd_oob/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " iperf" 4 | IMAGE_INSTALL_append = " iperf3" 5 | IMAGE_INSTALL_append = " bonnie++" 6 | IMAGE_INSTALL_append = " hdparm" 7 | IMAGE_INSTALL_append = " python3" 8 | IMAGE_INSTALL_append = " python3-core" 9 | IMAGE_INSTALL_append = " python3-dbus" 10 | IMAGE_INSTALL_append = " python3-pygobject" 11 | 12 | IMAGE_INSTALL_append = " python-webserver" 13 | IMAGE_INSTALL_append = " python-webserver-init" 14 | IMAGE_INSTALL_append = " performance-tests" 15 | 16 | IMAGE_INSTALL_append = " mac-eeprom-config" 17 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " blinky" 4 | IMAGE_INSTALL_append = " blinky-init" 5 | IMAGE_INSTALL_append = " iperf3" 6 | IMAGE_INSTALL_append = " bonnie++" 7 | 8 | IMAGE_INSTALL_append = " mac-eeprom-config" 9 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 10 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_ccd/recipes-apps/eltt2/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_ccd/recipes-apps/eltt2/eltt2.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the eltt2 recipe. 3 | # 4 | 5 | SUMMARY = "Simple eltt2 application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://eltt2.c \ 11 | file://eltt2.h \ 12 | file://Makefile \ 13 | " 14 | 15 | S = "${WORKDIR}" 16 | 17 | FILES_${PN} += "/home/root/*" 18 | 19 | do_compile() { 20 | oe_runmake 21 | } 22 | 23 | do_install() { 24 | install -d ${D}/home/root/ 25 | install -m 0755 eltt2 ${D}/home/root/ 26 | } 27 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_ccd/recipes-apps/eltt2/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = eltt2 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = eltt2.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 12 | 13 | clean: 14 | -rm -f $(APP) *.elf *.gdb *.o 15 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_ccd/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " eltt2" 4 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/performance-tests/performance-tests.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the performance-tests recipe. 3 | # 4 | 5 | SUMMARY = "Simple performance-tests application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://drive-test.sh \ 11 | file://network-test.sh \ 12 | file://sd-test.sh \ 13 | " 14 | 15 | S = "${WORKDIR}" 16 | 17 | do_install() { 18 | install -d ${D}/home/root 19 | install -m 0755 ${S}/drive-test.sh ${D}/home/root 20 | install -m 0755 ${S}/network-test.sh ${D}/home/root 21 | install -m 0755 ${S}/sd-test.sh ${D}/home/root 22 | } 23 | 24 | FILES_${PN} += "/home/root/drive-test.sh \ 25 | /home/root/network-test.sh \ 26 | /home/root/sd-test.sh \ 27 | " 28 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver-init/python-webserver-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the python-webserver-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple python-webserver-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://python-webserver-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "python-webserver-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/python-webserver-init ${D}${sysconfdir}/init.d/python-webserver-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/css/main.css: -------------------------------------------------------------------------------- 1 | body{background-color: #FFF; padding: 15px; 2 | font: Arial,sans-serif} 3 | 4 | h1, h2, p, .forms {margin: 0 10px} 5 | h1 {font-size: 120%; text-indent: 10px; margin: 1.2em 0px; padding: 8px 0px; background: #6699FF} 6 | h2 {font-size: 110%; text-indent: 10px; margin: 1em 0px; padding: 5px 0px; background: #bbbbbb} 7 | .forms { padding: 10px 0 0 0} 8 | p {font-size: 100%} 9 | div#container {margin: 0 10%; background: #eeeeee} 10 | div#led_results {margin: 10px 0px 0px} 11 | div#switch_status {margin: 10px 0px 0px} 12 | 13 | b.rtop, b.rbottom{display: block; background: #FFF} 14 | b.rtop b, b.rbottom b{display: block; height: 1px; overflow: hidden; background: #eeeeee} 15 | b.r1{margin: 0 5px} 16 | b.r2{margin: 0 3px} 17 | b.r3{margin: 0 2px} 18 | b.rtop b.r4, b.rbottom b.r4{margin: 0 1px; height: 2px} 19 | -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/board.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/board.jpg -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/ultrazed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/images/ultrazed.png -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/pdfs/5043-PB-AES-ZU3EG-1-SOM-G-V3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/pdfs/5043-PB-AES-ZU3EG-1-SOM-G-V3.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/pdfs/5081-PB-AES-ZU-PCIECC-G-V2d.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/pdfs/5081-PB-AES-ZU-PCIECC-G-V2d.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/pdfs/Delkin_Devices_Product_Line.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz3eg_pciec_sd_oob/recipes-apps/python-webserver/files/pdfs/Delkin_Devices_Product_Line.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz3eg_pciec_sd_oob/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " iperf" 4 | IMAGE_INSTALL_append = " iperf3" 5 | IMAGE_INSTALL_append = " bonnie++" 6 | IMAGE_INSTALL_append = " hdparm" 7 | IMAGE_INSTALL_append = " python3" 8 | IMAGE_INSTALL_append = " python3-core" 9 | IMAGE_INSTALL_append = " python3-dbus" 10 | IMAGE_INSTALL_append = " python3-pygobject" 11 | 12 | IMAGE_INSTALL_append = " python-webserver" 13 | IMAGE_INSTALL_append = " python-webserver-init" 14 | IMAGE_INSTALL_append = " performance-tests" 15 | 16 | IMAGE_INSTALL_append = " mac-eeprom-config" 17 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/user-led-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/user-led-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = user-led-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_user_led_test.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o user-led-test $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/user-led-test/user-led-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the user-led-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple user-led-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_user_led_test.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 user-led-test ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/user-switch-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/user-switch-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = user-switch-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_user_switch_test.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o user-switch-test $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-apps/user-switch-test/user-switch-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the user-switch-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple user-switch-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_user_switch_test.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 user-switch-test ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " blinky" 4 | IMAGE_INSTALL_append = " blinky-init" 5 | IMAGE_INSTALL_append = " iperf3" 6 | IMAGE_INSTALL_append = " bonnie++" 7 | 8 | IMAGE_INSTALL_append = " user-led-test" 9 | IMAGE_INSTALL_append = " user-switch-test" 10 | 11 | IMAGE_INSTALL_append = " mac-eeprom-config" 12 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 13 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | 4 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky-init/README: -------------------------------------------------------------------------------- 1 | PetaLinux User Application Template 2 | =================================== 3 | 4 | This directory contains a PetaLinux user application created from a template. 5 | 6 | You can easily import any already built application or script by copying 7 | it into this directory, and editing the automatically generated Makefile 8 | as described below. 9 | 10 | Modify the "install:" target in Makefile to use $(TARGETINST) to install your 11 | prebuilt application or script to the host copy of the target file system 12 | referring to the comments of the "install:" target. 13 | 14 | Before building the application, you will need to enable the application 15 | from PetaLinux menuconfig by running: 16 | "petalinux-config -c rootfs" 17 | You will see your application in the "Applications --->" submenu. 18 | 19 | To install your prebuilt application or script to the target file system 20 | copy on the host, simply run the 21 | "petalinux-build -c rootfs/blinky-init" 22 | command. 23 | 24 | You will also need to rebuild PetaLinux bootable images so that the images 25 | is updated with the updated target filesystem copy, run this command: 26 | "petalinux-build -x package" 27 | 28 | You can also run one PetaLinux command to install the application to the 29 | target filesystem host copy and update the bootable images as follows: 30 | "petalinux-build" 31 | 32 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky-init/blinky-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://blinky-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "blinky-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/blinky-init ${D}${sysconfdir}/init.d/blinky-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " blinky-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky/blinky.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the blinky recipe. 3 | # 4 | 5 | SUMMARY = "Simple blinky application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_led_blink.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 blinky ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/blinky/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = blinky 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_led_blink.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o blinky $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/eeprom-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/eeprom-test/eeprom-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the eeprom-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple eeprom-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://eeprom-test.sh \ 11 | file://ERASE_EEPROM.TXT \ 12 | file://IDT8T49N241_10Aug17_EEPROM.TXT \ 13 | " 14 | 15 | S = "${WORKDIR}" 16 | 17 | do_install() { 18 | install -d ${D}/home/root/ 19 | install -m 0755 ${S}/eeprom-test.sh ${D}/home/root/ 20 | install -m 0755 ${S}/ERASE_EEPROM.TXT ${D}/home/root/ 21 | install -m 0755 ${S}/IDT8T49N241_10Aug17_EEPROM.TXT ${D}/home/root/ 22 | } 23 | 24 | FILES_${PN} += "/home/root/eeprom-test.sh \ 25 | /home/root/ERASE_EEPROM.TXT \ 26 | /home/root/IDT8T49N241_10Aug17_EEPROM.TXT \ 27 | " 28 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/eeprom-test/files/ERASE_EEPROM.TXT: -------------------------------------------------------------------------------- 1 | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/eeprom-test/files/IDT8T49N241_10Aug17_EEPROM.TXT: -------------------------------------------------------------------------------- 1 | FF FF FF FF FF FE EF 00 03 00 31 00 00 01 00 00 01 07 00 00 07 00 00 77 6D 00 00 00 00 00 00 FF FF FF FF 01 3F 00 29 00 04 DF 57 00 01 00 00 D0 00 00 00 00 00 00 00 00 00 0F 00 00 00 44 48 02 00 04 00 00 0A 00 00 06 00 00 0A 00 00 00 00 00 00 00 00 00 00 00 00 0C 63 FC 8D 06 66 66 66 0C 63 FC 8D 00 00 00 00 00 89 0A 2B 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 27 0C 00 00 00 00 00 00 00 00 49 2 | 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/gpio-demo/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = gpio-demo 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio-demo.o 5 | 6 | all: $(APP) 7 | 8 | $(APP): $(APP_OBJS) 9 | $(CC) $(LDFLAGS) -o $@ $(APP_OBJS) $(LDLIBS) 10 | 11 | clean: 12 | -rm -f $(APP) *.elf *.gdb *.o 13 | 14 | 15 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/gpio-demo/gpio-demo.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the GPIO-DEMO apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "gpio-demo application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://gpio-demo.c \ 11 | file://Makefile \ 12 | " 13 | S = "${WORKDIR}" 14 | CFLAGS_prepend = "-I ${S}/include" 15 | do_compile() { 16 | oe_runmake 17 | } 18 | do_install() { 19 | install -d ${D}${bindir} 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/iic-eeprom-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/iic-eeprom-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = iic-eeprom-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = iic_eeprom_demo.o 5 | APP_OBJS += iic_eeprom_test.o 6 | APP_OBJS += main.o 7 | APP_OBJS += zed_iic_axi.o 8 | 9 | all: build 10 | 11 | build: $(APP) 12 | 13 | $(APP): $(APP_OBJS) 14 | $(CC) $(LDFLAGS) -o iic-eeprom-test $(APP_OBJS) $(LDLIBS) 15 | 16 | %.o: %.c 17 | $(CC) -c $(CFLAGS) -o $@ $< 18 | 19 | clean: 20 | -rm -f $(APP) *.elf *.gdb *.o 21 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/iic-eeprom-test/iic-eeprom-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the iic-eeprom-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple iic-eeprom-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://iic_eeprom_demo.c \ 11 | file://iic_eeprom_demo.h \ 12 | file://iic_eeprom_test.c \ 13 | file://main.c \ 14 | file://platform.h \ 15 | file://types.h \ 16 | file://zed_iic.h \ 17 | file://zed_iic_axi.c \ 18 | file://Makefile \ 19 | " 20 | 21 | S = "${WORKDIR}" 22 | 23 | FILES_${PN} += "/home/root/*" 24 | 25 | do_compile() { 26 | oe_runmake 27 | } 28 | 29 | do_install() { 30 | install -d ${D}/home/root 31 | install -m 0755 iic-eeprom-test ${D}/home/root 32 | } 33 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/iic-gpio-expander-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/iic-gpio-expander-test/iic-gpio-expander-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the iic-gpio-expander-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple iic-gpio-expander-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://iic-gpio-expander-test.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 iic-gpio-expander-test.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/iic-gpio-expander-test.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/mac-eeprom-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/mac-eeprom-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = mac-eeprom-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = mac_eeprom_demo.o 5 | APP_OBJS += mac_eeprom_test.o 6 | APP_OBJS += zed_iic_axi.o 7 | APP_OBJS += main.o 8 | 9 | all: build 10 | 11 | build: $(APP) 12 | 13 | $(APP): $(APP_OBJS) 14 | $(CC) $(LDFLAGS) -o mac-eeprom-test $(APP_OBJS) $(LDLIBS) 15 | 16 | %.o: %.c 17 | $(CC) -c $(CFLAGS) -o $@ $< 18 | 19 | clean: 20 | -rm -f $(APP) *.elf *.gdb *.o 21 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/mac-eeprom-test/mac-eeprom-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_demo.c \ 11 | file://mac_eeprom_demo.h \ 12 | file://mac_eeprom_test.c \ 13 | file://main.c \ 14 | file://platform.h \ 15 | file://types.h \ 16 | file://zed_iic.h \ 17 | file://zed_iic_axi.c \ 18 | file://Makefile \ 19 | " 20 | 21 | S = "${WORKDIR}" 22 | 23 | FILES_${PN} += "/home/root/*" 24 | 25 | do_compile() { 26 | oe_runmake 27 | } 28 | 29 | do_install() { 30 | install -d ${D}/home/root 31 | install -m 0755 mac-eeprom-test ${D}/home/root 32 | } 33 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pcie-enumeration-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pcie-enumeration-test/pcie-enumeration-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the pcie-enumeration-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple pcie-enumeration-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://pcie-enumeration-test.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root/ 17 | install -m 0755 ${S}/pcie-enumeration-test.sh ${D}/home/root/ 18 | } 19 | 20 | FILES_${PN} += "/home/root/pcie-enumeration-test.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/peekpoke/files/Makefile: -------------------------------------------------------------------------------- 1 | PEEK = peek 2 | POKE = poke 3 | 4 | # Add any other object files to this list below 5 | PEEK_OBJS = peek.o 6 | POKE_OBJS = poke.o 7 | 8 | all: $(PEEK) $(POKE) 9 | 10 | $(POKE): $(POKE_OBJS) 11 | $(CC) $(LDFLAGS) -o $@ $(POKE_OBJS) $(LDLIBS) 12 | 13 | $(PEEK): $(PEEK_OBJS) 14 | $(CC) $(LDFLAGS) -o $@ $(PEEK_OBJS) $(LDLIBS) 15 | 16 | clean: 17 | -rm -f $(POKE) $(PEEK) *.elf *.gdb *.o 18 | 19 | 20 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/peekpoke/peekpoke.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This is the peekpoke apllication recipe 3 | # 4 | # 5 | 6 | SUMMARY = "peekpoke application" 7 | SECTION = "PETALINUX/apps" 8 | LICENSE = "MIT" 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 10 | SRC_URI = "file://peek.c \ 11 | file://poke.c \ 12 | file://Makefile \ 13 | " 14 | S = "${WORKDIR}" 15 | CFLAGS_prepend = "-I ${S}/include" 16 | do_compile() { 17 | oe_runmake 18 | } 19 | do_install() { 20 | install -d ${D}${bindir} 21 | install -m 0755 ${S}/peek ${D}${bindir} 22 | install -m 0755 ${S}/poke ${D}${bindir} 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-ddr4-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-ddr4-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = pl-ddr4-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_plddr4_test.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o pl-ddr4-test $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-ddr4-test/pl-ddr4-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the pl-ddr4-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple pl-ddr4-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_plddr4_test.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 pl-ddr4-test ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-gpio-loopback-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-gpio-loopback-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = pl-gpio-loopback-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = gpio.o 5 | APP_OBJS += linux_pl_gpio_loopback.o 6 | APP_OBJS += pl_gpio_udriver.o 7 | 8 | 9 | all: build 10 | 11 | build: $(APP) 12 | 13 | $(APP): $(APP_OBJS) 14 | $(CC) $(LDFLAGS) -o pl-gpio-loopback-test $(APP_OBJS) $(LDLIBS) 15 | 16 | %.o: %.c 17 | $(CC) -c $(CFLAGS) -o $@ $< 18 | 19 | clean: 20 | -rm -f $(APP) *.elf *.gdb *.o 21 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-gpio-loopback-test/files/types.h: -------------------------------------------------------------------------------- 1 | #ifndef TYPES_H 2 | #define TYPES_H 3 | 4 | #ifndef TRUE 5 | #define TRUE (1) 6 | #endif 7 | 8 | #ifndef FALSE 9 | #define FALSE (0) 10 | #endif 11 | 12 | #ifndef TEST_FAILURE 13 | #define TEST_FAILURE (-1) 14 | #endif 15 | 16 | #ifndef TEST_SUCCESS 17 | #define TEST_SUCCESS (0) 18 | #endif 19 | 20 | // This file may be included for embedded programs as well as for 21 | // programs running on the host PC. For the latter case, BOOL is 22 | // already otherwise defined. 23 | #ifndef HOST_COMPILE 24 | typedef unsigned char BOOL; 25 | #endif // HOST_COMPILE 26 | 27 | typedef unsigned char int8u; 28 | typedef char int8s; 29 | 30 | typedef unsigned short int16u; 31 | typedef short int16s; 32 | 33 | //typedef unsigned long int32u; 34 | //typedef long int32s; 35 | 36 | // On a Zynq Linux system it is okay to declare 32-bit unsigned int 37 | // as "unsigned int" type? 38 | typedef unsigned int int32u; 39 | typedef int int32s; 40 | 41 | 42 | typedef struct _int64u { 43 | int32u lo_addr; 44 | int32u hi_addr; 45 | } int64u; 46 | 47 | #endif // TYPES_H 48 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/pl-gpio-loopback-test/pl-gpio-loopback-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the pl-gpio-loopback-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple pl-gpio-loopback-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://gpio.c \ 11 | file://gpio.h \ 12 | file://linux_pl_gpio_loopback.c \ 13 | file://platform.h \ 14 | file://pl_gpio_udriver.c \ 15 | file://pl_gpio_udriver.h \ 16 | file://types.h \ 17 | file://Makefile \ 18 | " 19 | 20 | S = "${WORKDIR}" 21 | 22 | FILES_${PN} += "/home/root/*" 23 | 24 | do_compile() { 25 | oe_runmake 26 | } 27 | 28 | do_install() { 29 | install -d ${D}/home/root 30 | install -m 0755 pl-gpio-loopback-test ${D}/home/root 31 | } 32 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/ps-pmod-loopback-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/ps-pmod-loopback-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = ps-pmod-loopback-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_ps_pmod_loopback_test.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o ps-pmod-loopback-test $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/ps-pmod-loopback-test/ps-pmod-loopback-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the ps-pmod-loopback-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple ps-pmod-loopback-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_ps_pmod_loopback_test.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 ps-pmod-loopback-test ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/usb3-link-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/usb3-link-test/usb3-link-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the usb3-link-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple usb3-link-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://usb3-link-test.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 usb3-link-test.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/usb3-link-test.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/user-led-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/user-led-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = user-led-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_user_led_test.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o user-led-test $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/user-led-test/user-led-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the user-led-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple user-led-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_user_led_test.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 user-led-test ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/user-switch-test/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/user-switch-test/files/Makefile: -------------------------------------------------------------------------------- 1 | APP = user-switch-test 2 | 3 | # Add any other object files to this list below 4 | APP_OBJS = linux_user_switch_test.o 5 | 6 | all: build 7 | 8 | build: $(APP) 9 | 10 | $(APP): $(APP_OBJS) 11 | $(CC) $(LDFLAGS) -o user-switch-test $(APP_OBJS) $(LDLIBS) 12 | 13 | %.o: %.c 14 | $(CC) -c $(CFLAGS) -o $@ $< 15 | 16 | clean: 17 | -rm -f $(APP) *.elf *.gdb *.o 18 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/user-switch-test/user-switch-test.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the user-switch-test recipe. 3 | # 4 | 5 | SUMMARY = "Simple user-switch-test application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://linux_user_switch_test.c \ 11 | file://Makefile \ 12 | " 13 | 14 | S = "${WORKDIR}" 15 | 16 | FILES_${PN} += "/home/root/*" 17 | 18 | do_compile() { 19 | oe_runmake 20 | } 21 | 22 | do_install() { 23 | install -d ${D}/home/root 24 | install -m 0755 user-switch-test ${D}/home/root 25 | } 26 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz-flash-programming/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz-flash-programming/uz-flash-programming.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the uz-flash-programming recipe. 3 | # 4 | 5 | SUMMARY = "Simple uz-flash-programming application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://uz-flash-programming.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 uz-flash-programming.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/uz-flash-programming.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest-init/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " uz7ev-evcc-factest-init" 2 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest-init/uz7ev-evcc-factest-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the uz7ev-evcc-factest-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple uz7ev-evcc-factest-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://uz7ev-evcc-factest-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "uz7ev-evcc-factest-init" 20 | INITSCRIPT_PARAMS = "start 99 5 ." 21 | 22 | do_install() { 23 | install -d ${D}${sysconfdir}/init.d 24 | install -m 0755 ${S}/uz7ev-evcc-factest-init ${D}${sysconfdir}/init.d/uz7ev-evcc-factest-init 25 | } 26 | 27 | FILES_${PN} += "${sysconfdir}/*" 28 | 29 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest-launcher/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest-launcher/uz7ev-evcc-factest-launcher.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the uz7ev-evcc-factest-launcher recipe. 3 | # 4 | 5 | SUMMARY = "Simple uz7ev-evcc-factest-launcher application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://uz7ev-evcc-factest-launcher.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 uz7ev-evcc-factest-launcher.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/uz7ev-evcc-factest-launcher.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-apps/uz7ev-evcc-factest/uz7ev-evcc-factest.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the uz7ev-evcc-factest recipe. 3 | # 4 | 5 | SUMMARY = "Simple uz7ev-evcc-factest application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://uz7ev-evcc-factory-test.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 uz7ev-evcc-factory-test.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/uz7ev-evcc-factory-test.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_factest/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " blinky" 4 | IMAGE_INSTALL_append = " blinky-init" 5 | IMAGE_INSTALL_append = " iperf" 6 | IMAGE_INSTALL_append = " iperf3" 7 | IMAGE_INSTALL_append = " bonnie++" 8 | 9 | 10 | IMAGE_INSTALL_append = " eeprom-test" 11 | IMAGE_INSTALL_append = " iic-eeprom-test" 12 | IMAGE_INSTALL_append = " iic-gpio-expander-test" 13 | IMAGE_INSTALL_append = " mac-eeprom-test" 14 | IMAGE_INSTALL_append = " pl-gpio-loopback-test" 15 | IMAGE_INSTALL_append = " ps-pmod-loopback-test" 16 | IMAGE_INSTALL_append = " usb3-link-test" 17 | IMAGE_INSTALL_append = " user-led-test" 18 | IMAGE_INSTALL_append = " user-switch-test" 19 | IMAGE_INSTALL_append = " uz-flash-programming" 20 | IMAGE_INSTALL_append = " uz7ev-evcc-factest" 21 | IMAGE_INSTALL_append = " uz7ev-evcc-factest-init" 22 | IMAGE_INSTALL_append = " uz7ev-evcc-factest-launcher" 23 | 24 | IMAGE_INSTALL_append = " pl-ddr4-test" 25 | IMAGE_INSTALL_append = " iic-clock-eeprom-test" 26 | IMAGE_INSTALL_append = " pcie-enumeration-test" 27 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/mac-eeprom-config-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/mac-eeprom-config-init/mac-eeprom-config-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac-eeprom-config-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "mac-eeprom-config-init" 20 | # Run the script at the very beginning of run level 5. 21 | # Right before the networking is initialized 22 | INITSCRIPT_PARAMS = "start 00 5 ." 23 | 24 | 25 | do_install() { 26 | install -d ${D}${sysconfdir}/init.d 27 | install -m 0755 ${S}/mac-eeprom-config-init ${D}${sysconfdir}/init.d/mac-eeprom-config-init 28 | } 29 | 30 | FILES_${PN} += "${sysconfdir}/*" 31 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/mac-eeprom-config/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/mac-eeprom-config/mac-eeprom-config.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the mac-eeprom-config recipe. 3 | # 4 | 5 | SUMMARY = "Simple mac-eeprom-config application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://mac_eeprom_config.sh \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/home/root 17 | install -m 0755 mac_eeprom_config.sh ${D}/home/root 18 | } 19 | 20 | FILES_${PN} += "/home/root/mac_eeprom_config.sh \ 21 | " 22 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/performance-tests/performance-tests.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the performance-tests recipe. 3 | # 4 | 5 | SUMMARY = "Simple performance-tests application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://drive-test.sh \ 11 | file://network-test.sh \ 12 | file://sd-test.sh \ 13 | " 14 | 15 | S = "${WORKDIR}" 16 | 17 | do_install() { 18 | install -d ${D}/home/root 19 | install -m 0755 ${S}/drive-test.sh ${D}/home/root 20 | install -m 0755 ${S}/network-test.sh ${D}/home/root 21 | install -m 0755 ${S}/sd-test.sh ${D}/home/root 22 | } 23 | 24 | FILES_${PN} += "/home/root/drive-test.sh \ 25 | /home/root/network-test.sh \ 26 | /home/root/sd-test.sh \ 27 | " 28 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver-init/.gdbinit: -------------------------------------------------------------------------------- 1 | # Load the PetaLinux SDK main gdbinit script 2 | source plnx_gdbinit 3 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver-init/python-webserver-init.bb: -------------------------------------------------------------------------------- 1 | # 2 | # This file is the python-webserver-init recipe. 3 | # 4 | 5 | SUMMARY = "Simple python-webserver-init application" 6 | SECTION = "PETALINUX/apps" 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | SRC_URI = "file://python-webserver-init \ 11 | " 12 | 13 | S = "${WORKDIR}" 14 | 15 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 16 | 17 | inherit update-rc.d 18 | 19 | INITSCRIPT_NAME = "python-webserver-init" 20 | INITSCRIPT_PARAMS = "start 99 S ." 21 | 22 | 23 | do_install() { 24 | install -d ${D}${sysconfdir}/init.d 25 | install -m 0755 ${S}/python-webserver-init ${D}${sysconfdir}/init.d/python-webserver-init 26 | } 27 | 28 | FILES_${PN} += "${sysconfdir}/*" 29 | 30 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/css/main.css: -------------------------------------------------------------------------------- 1 | body{background-color: #FFF; padding: 15px; 2 | font: Arial,sans-serif} 3 | 4 | h1, h2, p, .forms {margin: 0 10px} 5 | h1 {font-size: 120%; text-indent: 10px; margin: 1.2em 0px; padding: 8px 0px; background: #6699FF} 6 | h2 {font-size: 110%; text-indent: 10px; margin: 1em 0px; padding: 5px 0px; background: #bbbbbb} 7 | .forms { padding: 10px 0 0 0} 8 | p {font-size: 100%} 9 | div#container {margin: 0 10%; background: #eeeeee} 10 | div#led_results {margin: 10px 0px 0px} 11 | div#switch_status {margin: 10px 0px 0px} 12 | 13 | b.rtop, b.rbottom{display: block; background: #FFF} 14 | b.rtop b, b.rbottom b{display: block; height: 1px; overflow: hidden; background: #eeeeee} 15 | b.r1{margin: 0 5px} 16 | b.r2{margin: 0 3px} 17 | b.r3{margin: 0 2px} 18 | b.rtop b.r4, b.rbottom b.r4{margin: 0 1px; height: 2px} 19 | -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/Avnet_logo_tagline_rgb.png -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/board.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/board.jpg -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/favicon.ico -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/ultrazed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/images/ultrazed.png -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/pdfs/5342-pb-ultrazed-ev-som-v1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/pdfs/5342-pb-ultrazed-ev-som-v1.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/pdfs/5342-pb-ultrazed-ev-starter-kit-v1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/pdfs/5342-pb-ultrazed-ev-starter-kit-v1.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/pdfs/Delkin_Devices_Product_Line.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/meta-user/uz7ev_evcc_sd_oob/recipes-apps/python-webserver/files/pdfs/Delkin_Devices_Product_Line.pdf -------------------------------------------------------------------------------- /configs/meta-user/uz7ev_evcc_sd_oob/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " iperf" 4 | IMAGE_INSTALL_append = " iperf3" 5 | IMAGE_INSTALL_append = " bonnie++" 6 | IMAGE_INSTALL_append = " hdparm" 7 | IMAGE_INSTALL_append = " python3" 8 | IMAGE_INSTALL_append = " python3-core" 9 | IMAGE_INSTALL_append = " python3-dbus" 10 | IMAGE_INSTALL_append = " python3-pygobject" 11 | 12 | IMAGE_INSTALL_append = " python-webserver" 13 | IMAGE_INSTALL_append = " python-webserver-init" 14 | IMAGE_INSTALL_append = " performance-tests" 15 | 16 | IMAGE_INSTALL_append = " mac-eeprom-config" 17 | IMAGE_INSTALL_append = " mac-eeprom-config-init" 18 | -------------------------------------------------------------------------------- /configs/minized-mw/components/ext_sources/README.txt: -------------------------------------------------------------------------------- 1 | Apply the usb-drivers-from-petalinux20172.patch to the following MathWorks linux tree: 2 | 3 | xilinx-linux-mathworks_zynq_R17.2.0 4 | 5 | Download @ https://github.com/mathworks/xilinx-linux/tree/mathworks_zynq_R17.2.0 6 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/device-tree/device-tree-generation_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append ="\ 2 | file://system-user.dtsi \ 3 | file://axilite.dtsi \ 4 | file://base.dtsi \ 5 | file://zynq-mw-common.dtsi \ 6 | file://zynq-mw-axilite-common.dtsi \ 7 | " 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 9 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/device-tree/files/axilite.dtsi: -------------------------------------------------------------------------------- 1 | #include "base.dtsi" 2 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/device-tree/files/base.dtsi: -------------------------------------------------------------------------------- 1 | #include "zynq-mw-common.dtsi" 2 | 3 | #include "zynq-mw-axilite-common.dtsi" 4 | 5 | &mwipcore0 { 6 | reg = <0x40000000 0xffff>; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/device-tree/files/zynq-mw-axilite-common.dtsi: -------------------------------------------------------------------------------- 1 | &fpga_axi { 2 | mwipcore0: mwipcore@0 { 3 | compatible = "mathworks,mwipcore-v2.00"; 4 | reg = <0x40010000 0x10000>; 5 | }; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/device-tree/files/zynq-mw-common.dtsi: -------------------------------------------------------------------------------- 1 | /* Create the common FPGA AXI bus and clock */ 2 | / { 3 | fpga_axi: fpga-axi@0 { 4 | compatible = "simple-bus"; 5 | interrupt-parent = <&intc>; 6 | #address-cells = <0x1>; 7 | #size-cells = <0x1>; 8 | ranges; 9 | }; 10 | core_clkwiz: clockwiz0 { 11 | compatible = "fixed-factor-clock"; 12 | clocks = <&clkc 15>; 13 | #clock-cells = <1>; 14 | clock-div = <2>; 15 | clock-mult = <1>; 16 | clock-output-names = "clk0"; 17 | }; 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-firmware/files/minized-firmware_2017.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-firmware/files/minized-firmware_2017.2.tar.gz -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-firmware/minized-firmware_2017.2.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "minized-firmware: Firmware binaries for adding Wi-Fi/BT to MiniZed" 2 | SECTION = "PETALINUX/modules" 3 | LICENSE = "GPLv2" 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 5 | 6 | #FILESEXTRAPATHS_prepend := "${THISDIR}/minized-firmware:" 7 | 8 | SRC_URI = "file://minized-firmware_${PV}.tar.gz" 9 | 10 | # This is needed for the wl_fmac_imx utility 11 | DEPENDS = "libnl" 12 | 13 | S = "${WORKDIR}" 14 | 15 | do_install() { 16 | install -d ${D}/lib/firmware/brcm 17 | install -d ${D}/etc/firmware 18 | install -d ${D}/usr/bin 19 | install -m 644 ${WORKDIR}/brcmfmac43430-sdio.bin ${D}/lib/firmware/brcm/brcmfmac43430-sdio.bin 20 | install -m 644 ${WORKDIR}/bcmdhd.1DX.SDIO.cal ${D}/lib/firmware/brcm/brcmfmac43430-sdio.txt 21 | install -m 644 ${WORKDIR}/BCM43430A1.1DX.hcd ${D}/etc/firmware 22 | install -m 755 ${WORKDIR}/wl_fmac_imx ${D}/usr/bin/wl 23 | } 24 | 25 | PACKAGES =+ "${PN}-wl" 26 | 27 | FILES_${PN} = " \ 28 | /lib/firmware/brcm/brcmfmac43430-sdio.bin \ 29 | /lib/firmware/brcm/brcmfmac43430-sdio.txt \ 30 | /etc/firmware/BCM43430A1.1DX.hcd \ 31 | " 32 | 33 | FILES_${PN}-wl = " \ 34 | /usr/bin/wl \ 35 | " 36 | 37 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/.mwapi-symlinks.sh.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Avnet/petalinux/9768608084da590dc612805ac380dcde7c4fb2e7/configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/.mwapi-symlinks.sh.swp -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/100-mw-drivers.rules: -------------------------------------------------------------------------------- 1 | # map mwipcore0 to mwipcore for legacy models 2 | KERNEL=="mwipcore0", SYMLINK+="mwipcore" 3 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/_mw_backup_network: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copy the network scripts from the boot device 4 | # 5 | 6 | source /etc/bootvars.conf 7 | 8 | if [ "$1" == "" ]; then 9 | BACKUP_DIR=${_SD_ROOT} 10 | else 11 | BACKUP_DIR=$1 12 | fi 13 | 14 | if [ "$2" == "" ]; then 15 | SRC="system" 16 | else 17 | SRC=$2 18 | fi 19 | 20 | 21 | mkdir -p $BACKUP_DIR 22 | 23 | SD_KEYDIR=${BACKUP_DIR}/sshkeys 24 | ETC_KEYDIR=/etc/ssh 25 | mkdir -p $SD_KEYDIR 26 | 27 | echo "Backing up network configuration..." 28 | 29 | for i in $(seq 1 $_NETWORK_FILES_NELEM); do 30 | file=$(get_elem $i $_NETWORK_SRC_FILES) 31 | sysfile=$(get_elem $i $_NETWORK_DST_FILES) 32 | 33 | if [ "$SRC" == "system" ]; then 34 | srcpath=$sysfile 35 | else 36 | srcpath=${SRC}/${file} 37 | fi 38 | 39 | if [ -f $srcpath ]; then 40 | cp -f $srcpath ${BACKUP_DIR}/${file} 41 | fi 42 | done 43 | 44 | if [ "$SRC" == "system" ]; then 45 | cp $ETC_KEYDIR/ssh_host_*key* $SD_KEYDIR/ 46 | else 47 | cp ${SRC}/sshkeys/ssh_host_*key* $SD_KEYDIR/ 48 | fi 49 | 50 | sync 51 | 52 | 53 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/_mw_getbootdev: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | source /etc/bootvars.conf 4 | 5 | _SD_PART=$(df -h ${_SD_ROOT} | grep /dev | sed -E "s|(/dev/\w+).*|\1|") 6 | _SD_DEV=$(echo ${_SD_PART} | sed -E "s|(.*)[0-9]+|\1|" | sed -E "s|(.*)p|\1|") 7 | 8 | 9 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/_mw_reboot_mode: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | source /etc/bootvars.conf 4 | 5 | BOOTMODE=$1 6 | 7 | case $BOOTMODE in 8 | recovery|RECOVERY) 9 | # Set the system to reboot into recovery mode 10 | NEW_RAMDISK=${_SYS_RECOVERY_RAMDISK} 11 | ;; 12 | 13 | normal|NORMAL) 14 | # Set the system to reboot into normal mode 15 | NEW_RAMDISK=${_SYS_NORMAL_RAMDISK} 16 | ;; 17 | *) 18 | echo $"Usage: $0 {NORMAL|RECOVERY}" 19 | exit 1 20 | esac 21 | 22 | RAMDISK_PATH=${_SD_ROOT}/${NEW_RAMDISK} 23 | 24 | if [ ! -e $RAMDISK_PATH -a "$NEW_RAMDISK" != "NONE" ]; then 25 | echo "Could not find ramdisk file $RAMDISK_PATH" 26 | exit 1 27 | fi 28 | 29 | # Set the ramdisk boot 30 | fw_setenv ${_UBOOT_VAR_RAMDISK} $NEW_RAMDISK 31 | 32 | # Clear any custom bitstream/devicetree settings to ensure a normal boot 33 | _mw_setboot_default 34 | 35 | # Backup the network settings 36 | _mw_backup_network 37 | 38 | # Sync 39 | sync 40 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/_mw_restore_network: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copy the network scripts from the boot device 4 | # 5 | 6 | source /etc/bootvars.conf 7 | 8 | if [ "$1" == "" ]; then 9 | echo "Usage: $0 {BACKUP_DIR}" 10 | exit 1 11 | else 12 | BACKUP_DIR=$1 13 | fi 14 | 15 | SD_KEYDIR=${BACKUP_DIR}/sshkeys 16 | 17 | echo "Restoring network configuration..." 18 | 19 | 20 | for i in $(seq 1 $_NETWORK_FILES_NELEM); do 21 | file=$(get_elem $i $_NETWORK_SRC_FILES) 22 | 23 | if [ -f ${BACKUP_DIR}/${file} ]; then 24 | cp -f ${BACKUP_DIR}/${file} ${_SD_ROOT}/${file} 25 | fi 26 | done 27 | 28 | cp -r $SD_KEYDIR ${_SD_ROOT} 29 | 30 | sync 31 | 32 | 33 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/_mw_setboot_default: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | source /etc/bootvars.conf 3 | 4 | # syntax: mw_setboot [fw_set_xxx args] 5 | mw_setboot ${_SYS_DEFAULT_BITSTREAM_FILE} ${_SYS_DEFAULT_DEVICETREE_FILE} "" "" "" 6 | 7 | # Wipe the RD init directory 8 | rm -rf $_SYS_RD_INIT_DIR 9 | 10 | rc=$? 11 | exit $rc 12 | 13 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/bootvars.conf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Boot variables 3 | # This script is sourced from various uboot manipulation scripts 4 | 5 | _SD_ROOT=/mnt/emmc 6 | _RD_TGT_DIR=hdlcoder_rd 7 | 8 | _UBOOT_RD_TGT_DIR=$_RD_TGT_DIR 9 | _UBOOT_ROOT=$_SD_ROOT 10 | _UBOOT_SCR=uEnv.txt 11 | 12 | _UBOOT_VAR_DEVICETREE=devicetree_image 13 | _UBOOT_VAR_BITSTREAM=bitstream_image 14 | _UBOOT_VAR_RDNAME=hdlrdname 15 | 16 | _UBOOT_DO_SYNC=true 17 | 18 | _SYS_PERSISTENT_FILESYSTEM=false 19 | _SYS_RD_INIT_DIR=${_SD_ROOT}/${_RD_TGT_DIR} 20 | _SYS_RD_NAME_FILE=rdname.conf 21 | _SYS_DEFAULT_DEVICETREE_FILE=devicetree.dtb 22 | 23 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_env.config: -------------------------------------------------------------------------------- 1 | # Configuration file for fw_(printenv/setenv) utility. 2 | # Up to two entries are valid, in this case the redundant 3 | # environment sector is assumed present. 4 | # Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash. 5 | # Futhermore, if the Flash sector size is ommitted, this value is assumed to 6 | # be the same as the Environment size, which is valid for NOR and SPI-dataflash 7 | 8 | # File Example 9 | # Filename Offset Size Sector Size (= Size) 10 | /mnt/emmc/uboot.env 0x0000 0x80000 0x20000 11 | 12 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_getbitstream: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Set uboot to print the bistream used when booting 3 | # Syntax fw_getbitsteam 4 | 5 | source /etc/bootvars.conf 6 | 7 | fw_printenv -n $_UBOOT_VAR_BITSTREAM 8 | rc=$? 9 | exit $rc 10 | 11 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_getdevicetree: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Set uboot to print the devicetree used when booting 3 | # Syntax fw_getdevicetree 4 | 5 | source /etc/bootvars.conf 6 | 7 | fw_printenv -n $_UBOOT_VAR_DEVICETREE 8 | rc=$? 9 | exit $rc 10 | 11 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_getrdname: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Set uboot to print the RD name used when booting 3 | # Syntax fw_getrdname 4 | 5 | source /etc/bootvars.conf 6 | 7 | RDNAME=$(fw_printenv -n $_UBOOT_VAR_RDNAME 2>/dev/null) 8 | rc=$? 9 | echo $RDNAME 10 | exit $rc 11 | 12 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_setbitstream: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Set uboot to use a new bitstream when booting 3 | # Syntax fw_setbitsteam 4 | 5 | source /etc/bootvars.conf 6 | 7 | NEWBIT=$1 8 | shift 9 | 10 | _mw_setbootfile $_UBOOT_VAR_BITSTREAM $NEWBIT Bitstream "$@" 11 | rc=$? 12 | 13 | exit $rc 14 | 15 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_setdevicetree: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Set uboot to use a new devicetree when booting 3 | # Syntax fw_setdevicetree 4 | 5 | source /etc/bootvars.conf 6 | 7 | NEWDT=$1 8 | shift 9 | 10 | # Determine if anything was passed in 11 | if [ "$NEWDT" = "" ]; then 12 | # No arguement passed in, use $_SYS_DEFAULT_DEVICETREE_FILE 13 | echo "# No devicetree specified, using default ${_SYS_DEFAULT_DEVICETREE_FILE}" 14 | NEWDT=$_SYS_DEFAULT_DEVICETREE_FILE 15 | fi 16 | 17 | _mw_setbootfile "$_UBOOT_VAR_DEVICETREE" "$NEWDT" Devicetree "$@" 18 | rc=$? 19 | 20 | exit $rc 21 | 22 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/fw_setrdname: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Set uboot to store the RD name used when booting 3 | # Syntax fw_setrdname 4 | 5 | source /etc/bootvars.conf 6 | 7 | fw_setenv $_UBOOT_VAR_RDNAME $1 8 | 9 | rc=$? 10 | exit $rc 11 | 12 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/minized-mount.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Add any custom code to be run at startup here 4 | 5 | echo Running Minized Startup Script ... 6 | echo 7 | echo Mounting /dev/mmcblk1p1 on /mnt/emmc 8 | 9 | mkdir /mnt/emmc 10 | mount /dev/mmcblk1p1 /mnt/emmc 11 | 12 | echo 13 | echo Mounting /dev/sda1 on /mnt/usb 14 | 15 | mkdir /mnt/usb 16 | mount /dev/sda1 /mnt/usb 17 | 18 | echo MiniZed Boot Script DONE! 19 | 20 | echo 21 | echo "Running user script @ /mnt/emmc/init.sh" 22 | /mnt/emmc/init.sh 23 | 24 | echo 25 | echo MiniZed Startup Script DONE! 26 | echo 27 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/mwapi-symlinks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Create symbolic links for MathWorks APIs and U-Boot utils 4 | # SSH commands (non-login) only have PATH=/usr/bin:/bin 5 | 6 | cd /usr/bin 7 | 8 | # MathWorks API scripts 9 | ln -s /usr/sbin/_mw_setbootfile _mw_setbootfile 10 | ln -s /usr/sbin/mw_setboot mw_setboot 11 | ln -s /usr/sbin/fw_getbitstream fw_getbitstream 12 | ln -s /usr/sbin/fw_getdevicetree fw_getdevicetree 13 | ln -s /usr/sbin/fw_getrdname fw_getrdname 14 | ln -s /usr/sbin/fw_setbitstream fw_setbitstream 15 | ln -s /usr/sbin/fw_setdevicetree fw_setdevicetree 16 | ln -s /usr/sbin/fw_setrdname fw_setrdname 17 | 18 | # Linux U-Boot Utilities 19 | ln -s /sbin/fw_printenv fw_printenv 20 | ln -s /sbin/fw_setenv fw_setenv 21 | 22 | # Linux reboot command 23 | ln -s /sbin/reboot reboot 24 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/prmpt-color.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export PS1="\e[0;32m[\u@\h \e[m\W\e[0;32m]\\$\e[m " 3 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/minized-misc/files/wifi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #Disable wired Ethernet: 4 | ifdown eth0 5 | 6 | #Delete the wlan0 file if it already exists 7 | file="/var/run/wpa_supplicant/wlan0" 8 | rm -f $file 9 | 10 | #Connect to WiFi network specified in wpa_supplicant.conf file: 11 | wpa_supplicant -D nl80211 -i wlan0 -c /mnt/emmc/wpa_supplicant.conf -B 12 | sleep 3 13 | 14 | #Request IP address via DHCP: 15 | udhcpc -i wlan0 16 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/u-boot/files/user_2017-10-10-14-46-00.cfg: -------------------------------------------------------------------------------- 1 | # CONFIG_FIT_SIGNATURE is not set 2 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/u-boot/files/user_2018-01-11-14-21-00.cfg: -------------------------------------------------------------------------------- 1 | # CONFIG_FIT_SIGNATURE is not set 2 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append = " file://platform-top.h" 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 3 | SRC_URI += "file://user_2018-01-11-14-21-00.cfg" 4 | 5 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-core/images/petalinux-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-core/images/petalinux-user-image.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | 4 | # Minized specific customizations 5 | IMAGE_INSTALL_append = " minized-misc" 6 | 7 | # WiFi support 8 | IMAGE_INSTALL_append = " minized-firmware" 9 | IMAGE_INSTALL_append = " minized-firmware-wl" 10 | IMAGE_INSTALL_append = " iw" 11 | 12 | # API scripts for MathWorks support 13 | IMAGE_INSTALL_append = " mw-utils" 14 | 15 | # Boost C++ librares for MathWorks support 16 | IMAGE_INSTALL_append = " boost" 17 | 18 | # U-Boot Linux utils for MathWorks support 19 | IMAGE_INSTALL_append = " u-boot-fw-utils" 20 | 21 | # Standard C/C++ Libraries 22 | IMAGE_INSTALL_append = " glibc" 23 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-10-10-14-40-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_USBNET=y 2 | CONFIG_USB_NET_AX8817X=y 3 | CONFIG_USB_NET_AX88179_178A=y 4 | CONFIG_USB_NET_CDCETHER=y 5 | # CONFIG_USB_NET_CDC_EEM is not set 6 | CONFIG_USB_NET_CDC_NCM=y 7 | # CONFIG_USB_NET_HUAWEI_CDC_NCM is not set 8 | # CONFIG_USB_NET_CDC_MBIM is not set 9 | # CONFIG_USB_NET_DM9601 is not set 10 | # CONFIG_USB_NET_SR9700 is not set 11 | # CONFIG_USB_NET_SR9800 is not set 12 | # CONFIG_USB_NET_SMSC75XX is not set 13 | # CONFIG_USB_NET_SMSC95XX is not set 14 | # CONFIG_USB_NET_GL620A is not set 15 | CONFIG_USB_NET_NET1080=y 16 | # CONFIG_USB_NET_PLUSB is not set 17 | # CONFIG_USB_NET_MCS7830 is not set 18 | # CONFIG_USB_NET_RNDIS_HOST is not set 19 | CONFIG_USB_NET_CDC_SUBSET_ENABLE=y 20 | CONFIG_USB_NET_CDC_SUBSET=y 21 | # CONFIG_USB_ALI_M5632 is not set 22 | # CONFIG_USB_AN2720 is not set 23 | CONFIG_USB_BELKIN=y 24 | CONFIG_USB_ARMLINUX=y 25 | # CONFIG_USB_EPSON2888 is not set 26 | # CONFIG_USB_KC2190 is not set 27 | CONFIG_USB_NET_ZAURUS=y 28 | # CONFIG_USB_NET_CX82310_ETH is not set 29 | # CONFIG_USB_NET_KALMIA is not set 30 | # CONFIG_USB_NET_QMI_WWAN is not set 31 | # CONFIG_USB_NET_INT51X1 is not set 32 | # CONFIG_USB_SIERRA_NET is not set 33 | # CONFIG_USB_VL600 is not set 34 | # CONFIG_USB_NET_CH9200 is not set 35 | CONFIG_USB_ACM=y 36 | CONFIG_USB_F_ACM=m 37 | CONFIG_USB_U_SERIAL=m 38 | CONFIG_USB_U_ETHER=m 39 | CONFIG_USB_F_ECM=m 40 | CONFIG_USB_CDC_COMPOSITE=m 41 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-14-16-09-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_MATHWORKS_IP_CORE=y 2 | CONFIG_MWIPCORE=y 3 | CONFIG_MWIPCORE_DMA_STREAMING=y 4 | CONFIG_MWIPCORE_IIO_STREAMING=y 5 | CONFIG_MATHWORKS_GENERIC_OF=y 6 | CONFIG_MATHWORKS_GENERIC_PCI=y 7 | CONFIG_IIO_BUFFER_DMA=y 8 | CONFIG_IIO_BUFFER_DMAENGINE=y 9 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-14-16-40-00.cfg: -------------------------------------------------------------------------------- 1 | # CONFIG_MATHWORKS_IP_CORE is not set 2 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-15-09-18-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_MATHWORKS_IP_CORE=y 2 | CONFIG_MWIPCORE=y 3 | CONFIG_MWIPCORE_DMA_STREAMING=y 4 | CONFIG_MWIPCORE_IIO_STREAMING=y 5 | CONFIG_MATHWORKS_GENERIC_OF=y 6 | CONFIG_MATHWORKS_GENERIC_PCI=y 7 | CONFIG_IIO_BUFFER_DMA=y 8 | CONFIG_IIO_BUFFER_DMAENGINE=y 9 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-15-11-44-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_UIO_PDRV_GENIRQ=m 2 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-16-12-45-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_CHIPIDEA=m 2 | CONFIG_USB_CHIPIDEA_OF=m 3 | CONFIG_USB_CHIPIDEA_PCI=m 4 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-16-13-42-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_CHIPIDEA=y 2 | CONFIG_USB_CHIPIDEA_OF=y 3 | CONFIG_USB_CHIPIDEA_PCI=y 4 | # CONFIG_USB_CHIPIDEA_UDC is not set 5 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-16-16-28-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_CHIPIDEA_UDC=y 2 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-11-30-15-04-00.cfg: -------------------------------------------------------------------------------- 1 | # CONFIG_MWIPCORE is not set 2 | # CONFIG_MATHWORKS_GENERIC_PCI is not set 3 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-12-01-09-41-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_MWIPCORE=y 2 | # CONFIG_MWIPCORE_DMA_STREAMING is not set 3 | # CONFIG_MWIPCORE_IIO_STREAMING is not set 4 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-12-04-15-49-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_CHIPIDEA=m 2 | CONFIG_USB_CHIPIDEA_OF=m 3 | CONFIG_USB_CHIPIDEA_PCI=m 4 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-12-04-16-40-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_CHIPIDEA=y 2 | CONFIG_USB_CHIPIDEA_OF=y 3 | CONFIG_USB_CHIPIDEA_PCI=y 4 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2017-12-05-15-44-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_MWIPCORE_DMA_STREAMING=y 2 | CONFIG_MWIPCORE_IIO_STREAMING=y 3 | CONFIG_IIO_BUFFER_DMA=y 4 | CONFIG_IIO_BUFFER_DMAENGINE=y 5 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2018-01-11-14-47-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_ACM=y 2 | CONFIG_USB_F_ACM=m 3 | CONFIG_USB_U_SERIAL=m 4 | CONFIG_USB_U_ETHER=m 5 | CONFIG_USB_F_ECM=m 6 | CONFIG_USB_CDC_COMPOSITE=m 7 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2018-01-11-14-52-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_USB_RTL8152=y 2 | CONFIG_USB_USBNET=y 3 | CONFIG_USB_NET_AX8817X=y 4 | CONFIG_USB_NET_AX88179_178A=y 5 | CONFIG_USB_NET_CDCETHER=y 6 | # CONFIG_USB_NET_CDC_EEM is not set 7 | CONFIG_USB_NET_CDC_NCM=y 8 | # CONFIG_USB_NET_HUAWEI_CDC_NCM is not set 9 | # CONFIG_USB_NET_CDC_MBIM is not set 10 | # CONFIG_USB_NET_DM9601 is not set 11 | # CONFIG_USB_NET_SR9700 is not set 12 | # CONFIG_USB_NET_SR9800 is not set 13 | # CONFIG_USB_NET_SMSC75XX is not set 14 | # CONFIG_USB_NET_SMSC95XX is not set 15 | # CONFIG_USB_NET_GL620A is not set 16 | CONFIG_USB_NET_NET1080=y 17 | # CONFIG_USB_NET_PLUSB is not set 18 | # CONFIG_USB_NET_MCS7830 is not set 19 | # CONFIG_USB_NET_RNDIS_HOST is not set 20 | CONFIG_USB_NET_CDC_SUBSET_ENABLE=y 21 | CONFIG_USB_NET_CDC_SUBSET=y 22 | # CONFIG_USB_ALI_M5632 is not set 23 | # CONFIG_USB_AN2720 is not set 24 | CONFIG_USB_BELKIN=y 25 | CONFIG_USB_ARMLINUX=y 26 | # CONFIG_USB_EPSON2888 is not set 27 | # CONFIG_USB_KC2190 is not set 28 | CONFIG_USB_NET_ZAURUS=y 29 | # CONFIG_USB_NET_CX82310_ETH is not set 30 | # CONFIG_USB_NET_KALMIA is not set 31 | # CONFIG_USB_NET_QMI_WWAN is not set 32 | # CONFIG_USB_NET_INT51X1 is not set 33 | # CONFIG_USB_SIERRA_NET is not set 34 | # CONFIG_USB_VL600 is not set 35 | # CONFIG_USB_NET_CH9200 is not set 36 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/user_2018-01-11-15-39-00.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_CFG80211=y 2 | # CONFIG_NL80211_TESTMODE is not set 3 | # CONFIG_CFG80211_DEVELOPER_WARNINGS is not set 4 | # CONFIG_CFG80211_CERTIFICATION_ONUS is not set 5 | CONFIG_CFG80211_DEFAULT_PS=y 6 | # CONFIG_CFG80211_INTERNAL_REGDB is not set 7 | CONFIG_CFG80211_CRDA_SUPPORT=y 8 | # CONFIG_CFG80211_WEXT is not set 9 | # CONFIG_MAC80211 is not set 10 | # CONFIG_WLAN_VENDOR_ADMTEK is not set 11 | # CONFIG_WLAN_VENDOR_ATH is not set 12 | # CONFIG_WLAN_VENDOR_ATMEL is not set 13 | CONFIG_BRCMUTIL=y 14 | CONFIG_BRCMFMAC=y 15 | CONFIG_BRCMFMAC_PROTO_BCDC=y 16 | CONFIG_BRCMFMAC_SDIO=y 17 | # CONFIG_BRCMFMAC_USB is not set 18 | # CONFIG_BRCMFMAC_PCIE is not set 19 | # CONFIG_BRCM_TRACING is not set 20 | # CONFIG_BRCMDBG is not set 21 | # CONFIG_WLAN_VENDOR_CISCO is not set 22 | # CONFIG_WLAN_VENDOR_INTEL is not set 23 | # CONFIG_WLAN_VENDOR_INTERSIL is not set 24 | # CONFIG_WLAN_VENDOR_MARVELL is not set 25 | # CONFIG_WLAN_VENDOR_MEDIATEK is not set 26 | # CONFIG_WLAN_VENDOR_RALINK is not set 27 | # CONFIG_WLAN_VENDOR_REALTEK is not set 28 | # CONFIG_WLAN_VENDOR_RSI is not set 29 | # CONFIG_WLAN_VENDOR_ST is not set 30 | # CONFIG_WLAN_VENDOR_TI is not set 31 | # CONFIG_WLAN_VENDOR_ZYDAS is not set 32 | # CONFIG_USB_NET_RNDIS_WLAN is not set 33 | -------------------------------------------------------------------------------- /configs/minized-mw/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI += "file://user_2018-01-11-14-47-00.cfg \ 2 | file://user_2018-01-11-14-52-00.cfg \ 3 | file://user_2018-01-11-15-39-00.cfg \ 4 | " 5 | 6 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 7 | 8 | -------------------------------------------------------------------------------- /configs/project/config.MZ7010_FMCCC.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -90,7 +90,7 @@ 4 | # partition 2 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xAE0000 9 | 10 | # 11 | # partition 3 12 | @@ -200,7 +200,7 @@ 13 | # 14 | # Firmware Version Configuration 15 | # 16 | -CONFIG_SUBSYSTEM_HOSTNAME="mz7010_fmccc_2018_2" 17 | +CONFIG_SUBSYSTEM_HOSTNAME="mz7010-fmccc-2018-2" 18 | CONFIG_SUBSYSTEM_PRODUCT="mz7010_fmccc_2018_2" 19 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 20 | 21 | -------------------------------------------------------------------------------- /configs/project/config.MZ7020_FMCCC.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -90,7 +90,7 @@ 4 | # partition 2 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xAE0000 9 | 10 | # 11 | # partition 3 12 | @@ -200,7 +200,7 @@ 13 | # 14 | # Firmware Version Configuration 15 | # 16 | -CONFIG_SUBSYSTEM_HOSTNAME="mz7020_fmccc_2018_2" 17 | +CONFIG_SUBSYSTEM_HOSTNAME="mz7020-fmccc-2018-2" 18 | CONFIG_SUBSYSTEM_PRODUCT="mz7020_fmccc_2018_2" 19 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 20 | 21 | -------------------------------------------------------------------------------- /configs/project/config.PZ7010_FMC2.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7010_fmc2_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7010-fmc2-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7010_fmc2_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7010_FMC2_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7010_fmc2_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7010-fmc2-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7010_fmc2_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7015_FMC2.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7015_fmc2_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7015-fmc2-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7015_fmc2_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7015_FMC2_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7015_fmc2_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7015-fmc2-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7015_fmc2_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7020_FMC2.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7020_fmc2_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7020-fmc2-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7020_fmc2_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7020_FMC2_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7020_fmc2_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7020-fmc2-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7020_fmc2_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7030_FMC2.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7030_fmc2_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7030-fmc2-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7030_fmc2_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.PZ7030_FMC2_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -78,7 +78,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x500000 8 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -90,7 +90,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0xA80000 17 | +CONFIG_SUBSYSTEM_FLASH_PS7_QSPI_0_BANKLESS_PART2_SIZE=0x9A0000 18 | 19 | # 20 | # partition 3 21 | @@ -202,7 +202,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="pz7030_fmc2_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="pz7030-fmc2-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="pz7030_fmc2_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.UZ3EG_IOCC.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -83,7 +83,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -95,7 +95,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -217,7 +217,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz3eg_iocc_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz3eg-iocc-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz3eg_iocc_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.UZ3EG_PCIEC.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -82,7 +82,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -94,7 +94,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -214,7 +214,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz3eg_pciec_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz3eg-pciec-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz3eg_pciec_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.UZ3EG_PCIEC_CCD.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -82,7 +82,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -94,7 +94,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -214,7 +214,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz3eg_pciec_ccd_2017_4" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz3eg-pciec-ccd-2017-4" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz3eg_pciec_ccd_2017_4" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.UZ7EV_EVCC.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -83,7 +83,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -95,7 +95,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -216,7 +216,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz7ev_evcc_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz7ev-evcc-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz7ev_evcc_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.emmc_boot.patch: -------------------------------------------------------------------------------- 1 | --- config 2016-03-15 09:01:14.610035406 -0700 2 | +++ config 2016-03-15 12:01:42.172920860 -0700 3 | @@ -107,8 +107,8 @@ 4 | # 5 | # SD/SDIO Settings 6 | # 7 | -CONFIG_SUBSYSTEM_PRIMARY_SD_PS7_SD_0_SELECT=y 8 | -# CONFIG_SUBSYSTEM_PRIMARY_SD_PS7_SD_1_SELECT is not set 9 | +# CONFIG_SUBSYSTEM_PRIMARY_SD_PS7_SD_0_SELECT is not set 10 | +CONFIG_SUBSYSTEM_PRIMARY_SD_PS7_SD_1_SELECT=y 11 | # CONFIG_SUBSYSTEM_PRIMARY_SD_MANUAL_SELECT is not set 12 | CONFIG_SUBSYSTEM_SD_PS7_SD_0_SELECT=y 13 | CONFIG_SUBSYSTEM_SD_PS7_SD_1_SELECT=y 14 | @@ -123,9 +123,10 @@ 15 | # 16 | # boot image settings 17 | # 18 | -# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_FLASH_SELECT is not set 19 | -CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_SD_SELECT=y 20 | +CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_FLASH_SELECT=y 21 | +# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_SD_SELECT is not set 22 | # CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_MANUAL_SELECT is not set 23 | +CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_PART_NAME="boot" 24 | CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_IMAGE_NAME="BOOT.BIN" 25 | 26 | # 27 | 28 | -------------------------------------------------------------------------------- /configs/project/config.fmc_network1_factest.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -82,7 +82,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -94,7 +94,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -214,7 +214,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="fmc_network1_factest_2017_4" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="fmc-network1-factest-2017-4" 27 | CONFIG_SUBSYSTEM_PRODUCT="fmc_network1_factest_2017_4" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.sd_ext4_boot.patch: -------------------------------------------------------------------------------- 1 | --- config 2018-08-14 16:08:16.603032999 -0400 2 | +++ config 2018-07-27 16:17:49.834076910 -0400 3 | @@ -166,19 +159,20 @@ 4 | # 5 | CONFIG_SUBSYSTEM_UBOOT_CONFIG_PETALINUX=y 6 | # CONFIG_SUBSYSTEM_UBOOT_CONFIG_OTHER is not set 7 | -CONFIG_SUBSYSTEM_UBOOT_CONFIG_TARGET="xilinx_zynqmp_zcu102_rev1_0_defconfig" 8 | +CONFIG_SUBSYSTEM_UBOOT_CONFIG_TARGET="xilinx_zynqmp_zcu100_revC_defconfig" 9 | CONFIG_SUBSYSTEM_NETBOOT_OFFSET=0x10000000 10 | CONFIG_SUBSYSTEM_U__BOOT_TFTPSERVER_IP="AUTO" 11 | 12 | # 13 | # Image Packaging Configuration 14 | # 15 | -CONFIG_SUBSYSTEM_ROOTFS_INITRAMFS=y 16 | +# CONFIG_SUBSYSTEM_ROOTFS_INITRAMFS is not set 17 | # CONFIG_SUBSYSTEM_ROOTFS_INITRD is not set 18 | # CONFIG_SUBSYSTEM_ROOTFS_JFFS2 is not set 19 | # CONFIG_SUBSYSTEM_ROOTFS_NFS is not set 20 | -# CONFIG_SUBSYSTEM_ROOTFS_SD is not set 21 | +CONFIG_SUBSYSTEM_ROOTFS_SD=y 22 | # CONFIG_SUBSYSTEM_ROOTFS_OTHER is not set 23 | +CONFIG_SUBSYSTEM_SDROOT_DEV="/dev/mmcblk0p2" 24 | CONFIG_SUBSYSTEM_UIMAGE_NAME="image.ub" 25 | CONFIG_SUBSYSTEM_DTB_PADDING_SIZE=0x1000 26 | CONFIG_SUBSYSTEM_COPY_TO_TFTPBOOT=y 27 | @@ -233,4 +227,4 @@ 28 | # User Layers 29 | # 30 | CONFIG_USER_LAYER_0="" 31 | -CONFIG_SUBSYSTEM_BOOTARGS_GENERATED="earlycon clk_ignore_unused" 32 | +CONFIG_SUBSYSTEM_BOOTARGS_GENERATED="earlycon clk_ignore_unused root=/dev/mmcblk0p2 rw rootwait" 33 | -------------------------------------------------------------------------------- /configs/project/config.uz3eg_iocc_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -83,7 +83,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -95,7 +95,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -216,7 +216,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz3eg_iocc_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz3eg-iocc-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz3eg_iocc_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.uz3eg_pciec_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -83,7 +83,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -95,7 +95,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -216,7 +216,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz3eg_pciec_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz3eg-pciec-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz3eg_pciec_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.uz7ev_evcc_factest.patch: -------------------------------------------------------------------------------- 1 | --- config 2018-01-22 16:54:31.777983036 -0500 2 | +++ config 2018-01-22 16:58:19.011543036 -0500 3 | @@ -84,7 +84,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x640000 9 | 10 | # 11 | # partition 1 12 | @@ -96,7 +96,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1980000 18 | 19 | # 20 | # partition 3 21 | @@ -217,7 +217,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz7ev_evcc_factest_2017_3" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz7ev-evcc-factest-2017-3" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz7ev_evcc_factest_2017_3" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | @@ -249,7 +249,7 @@ 31 | # Default sstate feeds ${PETALINUX}/components/yocto always added 32 | # 33 | CONFIG_YOCTO_LOCAL_SSTATE_FEEDS_URL="" 34 | -# CONFIG_YOCTO_ENABLE_DEBUG_TWEAKS is not set 35 | +CONFIG_YOCTO_ENABLE_DEBUG_TWEAKS=y 36 | CONFIG_YOCTO_NETWORK_SSTATE_FEEDS=y 37 | 38 | # 39 | 40 | -------------------------------------------------------------------------------- /configs/project/config.uz7ev_evcc_sd_oob.patch: -------------------------------------------------------------------------------- 1 | --- config 2017-08-24 23:59:26.041014000 -0700 2 | +++ config 2017-08-25 06:36:55.470838250 -0700 3 | @@ -83,7 +83,7 @@ 4 | # partition 0 5 | # 6 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot" 7 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x100000 8 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x1360000 9 | 10 | # 11 | # partition 1 12 | @@ -95,7 +95,7 @@ 13 | # partition 2 14 | # 15 | CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel" 16 | -CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1600000 17 | +CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x1700000 18 | 19 | # 20 | # partition 3 21 | @@ -216,7 +216,7 @@ 22 | # 23 | # Firmware Version Configuration 24 | # 25 | -CONFIG_SUBSYSTEM_HOSTNAME="uz7ev_evcc_sd_oob_2018_2" 26 | +CONFIG_SUBSYSTEM_HOSTNAME="uz7ev-evcc-sd-oob-2018-2" 27 | CONFIG_SUBSYSTEM_PRODUCT="uz7ev_evcc_sd_oob_2018_2" 28 | CONFIG_SUBSYSTEM_FW_VERSION="1.00" 29 | 30 | -------------------------------------------------------------------------------- /configs/project/config.uz_emmc_boot.patch: -------------------------------------------------------------------------------- 1 | --- config 2016-03-15 09:01:14.610035406 -0700 2 | +++ config 2016-03-15 12:01:42.172920860 -0700 3 | @@ -125,9 +125,10 @@ 4 | # 5 | # boot image settings 6 | # 7 | -# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_FLASH_SELECT is not set 8 | -CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_SD_SELECT=y 9 | +CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_FLASH_SELECT=y 10 | +# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_SD_SELECT is not set 11 | # CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_MANUAL_SELECT is not set 12 | +CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_PART_NAME="boot" 13 | CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_IMAGE_NAME="BOOT.BIN" 14 | 15 | # 16 | 17 | -------------------------------------------------------------------------------- /configs/rootfs/bbappend.mz_fmccc: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " iperf3" 4 | -------------------------------------------------------------------------------- /configs/rootfs/bbappend.pz_fmc2: -------------------------------------------------------------------------------- 1 | IMAGE_INSTALL_append = " peekpoke" 2 | IMAGE_INSTALL_append = " gpio-demo" 3 | IMAGE_INSTALL_append = " iperf3" 4 | -------------------------------------------------------------------------------- /configs/u-boot/bsp.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_NET=y 2 | CONFIG_NET_TFTP_VARS=y 3 | CONFIG_NET_RANDOM_ETHADDR=y 4 | CONFIG_CMD_NET=y 5 | CONFIG_CMD_PING=y 6 | CONFIG_CMD_DHCP=y 7 | CONFIG_CMD_TFTPPUT=y 8 | CONFIG_CMD_NFS=y 9 | CONFIG_BOOTDELAY=2 10 | -------------------------------------------------------------------------------- /configs/u-boot/u-boot-xlnx_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_append = " file://platform-top.h" 2 | SRC_URI += "file://bsp.cfg" 3 | 4 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 5 | --------------------------------------------------------------------------------