Coder Social home page Coder Social logo

xilinx / pynq-zu Goto Github PK

View Code? Open in Web Editor NEW
15.0 9.0 13.0 23.99 MB

PYNQ-ZU, XUP UltraScale+ MPSoC academic board

Home Page: https://xilinx.github.io/PYNQ-ZU/

License: Other

Python 0.72% Tcl 2.54% Shell 0.05% Makefile 0.02% Jupyter Notebook 96.18% C 0.48% BitBake 0.01%
fpga pynq pynq-zu xup

pynq-zu's Introduction

Build PYNQ SD Image for Pynq-ZU

Prerequisites

Required tools:

  • Ubuntu 18.04/20.04 LTS 64-bit host PC
  • Passwordless SUDO privilege for the building user
  • Roughly 35GB of free space (build process only, not accounting for Xilinx tools)
  • At least 8GB of RAM (more is better)
  • Xilinx PetaLinux 2022.1 and Vivado 2022.1

Retrieve the Pynq-ZU board git into a NEW directory.

git clone https://github.com/Xilinx/PYNQ-ZU.git <LOCAL_PYNQ-ZU_REPO>

Build SD Image

PYNQ is a submodule and it points to the corresponding branch.

Configure and install build tools, this will take some effort and will be an iterative process. Install on your own any missing tools.

Inside the <LOCAL_PYNQ-ZU_REPO>/ execute

cd pynq/sdbuild
make checkenv

In the root directory (<LOCAL_PYNQ-ZU_REPO>/) run make.

make 2>&1 | tee build.log

Once the build has completed, if successful a SD card image will be available under the directory <LOCAL_PYNQ-ZU_REPO>/sdbuild/output/Pynq-ZU-3.0.0.img.

Use Etcher or Win32DiskImager to write this image to an SD card.


Copyright© 2022 Advanced Micro Devices

pynq-zu's People

Contributors

cathalmccabe avatar mariodruiz avatar peterogden avatar schelleg avatar skalade avatar zacarhay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pynq-zu's Issues

conflicting python packages

Hello,

I was trying to reproduce the PYNQ-ZU image.
Unfortunately, I got an error in the building phase that seems related to python packages versions.
Here is the log:

`ERROR: Cannot install -r requirements.txt (line 28), -r requirements.txt (line 4) and plotly==4.5.2 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested plotly==4.5.2
dash 0.21.1 depends on plotly
plotly-express 0.3.1 depends on plotly<4.0.0a0 and >=3.10.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
`

How can I fix this?
Is it related to the installing machine?

Thank you a lot

Fix WiFi driver. `linux4wilc/driver` build is failing with petalinux 2022.1

github.com/linux4wilc/driver driver build is failing with petaLinux 2022.1

| make -C sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-source M=sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc modules
| make[1]: Entering directory 'sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-source'
| make[2]: Entering directory 'sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-build-artifacts'
|   CC [M]  sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_wfi_cfgoperations.o
|   CC [M]  sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_netdev.o
|   CC [M]  sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_mon.o
|   CC [M]  sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_hif.o
| sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_netdev.c: In function 'wilc_txq_task':
| sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_netdev.c:462:36: warning: unused variable 'ndev' [-Wunused-variable]
|   462 |                 struct net_device *ndev = vif->ndev;
|       |                                    ^~~~
| At top level:
| sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_netdev.c:28:12: warning: 'debug_thread' defined but not used [-Wunused-function]
|    28 | static int debug_thread(void *arg)
|       |            ^~~~~~~~~~~~
| sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_wfi_cfgoperations.c:2342:10: error: 'const struct cfg80211_ops' has no member named 'mgmt_frame_register'
|  2342 |         .mgmt_frame_register = wilc_mgmt_frame_register,
|       |          ^~~~~~~~~~~~~~~~~~~
| sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_wfi_cfgoperations.c:2342:32: error: initialization of 'int (*)(struct wiphy *, struct wireless_dev *, u64)' {aka 'int (*)(struct wiphy *, struct wireless_dev *, long long unsigned int)'} from incompatible pointer type 'void (*)(struct wiphy *, struct wireless_dev *, u16,  bool)' {aka 'void (*)(struct wiphy *, struct wireless_dev *, short unsigned int,  _Bool)'} [-Werror=incompatible-pointer-types]
|  2342 |         .mgmt_frame_register = wilc_mgmt_frame_register,
|       |                                ^~~~~~~~~~~~~~~~~~~~~~~~
| sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_wfi_cfgoperations.c:2342:32: note: (near initialization for 'wilc_cfg80211_ops.mgmt_tx_cancel_wait')
| cc1: some warnings being treated as errors
| make[3]: *** [sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-source/scripts/Makefile.build:277: sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc/wilc_wfi_cfgoperations.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory 'sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-build-artifacts'
| make[1]: Leaving directory 'sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-source'
| make[2]: *** [sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work-shared/zynqmp-generic/kernel-source/Makefile:1868: /opt/mruiznog/PYNQ-ZU/pynq/sdbuild/build/Pynq-ZU/petalinux_project/build/tmp/work/zynqmp_generic-xilinx-linux/wilc/15.3.1-r0/git/wilc] Error 2
| make[1]: *** [Makefile:219: __sub-make] Error 2
| make: *** [Makefile:18: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
NOTE: recipe wilc-15.3.1-r0: task do_compile: Failed
ERROR: Task (sdbuild/build/Pynq-ZU/petalinux_project/project-spec/meta-user/recipes-modules/wilc/wilc_15.3.1.bb:do_compile) failed with exit code '1'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.