Giter Club home page Giter Club logo

petalinux's Introduction

MathWorks® Zynq Petalinux Repository

MathWorks Petalinux build repository for generating Zynq SoC SD card images.

Current Supported Boards

  • ZCU111 Evaluation Kit - built with Petalinux 2018.3
  • ZCU216 Evaluation Kit - built with Petalinux 2020.2

General build instructions

  • Clone this repository and switch tags to the corresponding version. The release tags are labeled as mathworks_zynqrfsoc_R2x.y.z, where the "R2x" denotes the year of the MATLAB release and "y" denotes the 'a' or 'b' release. The "z" is used for updates to the image within a particular MATLAB release. For example, the tag "R22.1.0" is interperted as MATLAB R2022a where "R22" represents R2022 and "1.0" is for release 'a'. If there were updates to the image within the R2022a release, the versions would be "R22.1.1", "R22.1.2", etc. The MATLAB R2022b release would then start with the tag "R22.2.0".

$ git checkout mathworks_zynqrfsoc_R22.1.0

  • Setup the petalinux environment in your terminal (ie: $ source /local/petalinux/settings.sh).

    Ensure you are using /bin/bash before calling this. Note that the version of Petalinux will matter here. Please use a matching Petalinux version described in the above board list.

  • In the project directory, change directories to the board of interest then run the build command. As an example:

$ cd zcu111

$ petalinux-build

  • After the build has succeeded, to create the SD image, run the helper script below

$ mw_package_binaries.sh

  • A directory with the following files should appear

$ ls mw_zcu111_2020-12-29_01-27-32/

BOOT.BIN
system.bit
devicetree.dtb
Image
uramdisk.image.gz
  • Copy these files over to your SD card and boot the evaluation board

petalinux's People

Contributors

darenlee avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

petalinux's Issues

PetaLinux 2019.2 Source

Hello,

I am trying to modify the PetaLinux build to go with a hardware specification on the ZCU111 that was made with SoC Blockset in MATLAB R2020b. Based on this fact, I should be able to check out the corresponding git tag and import my hardware description into the PetaLinux project and build from there; however, this repository's PetaLinux version (2018.3) for R2020b does not match the version of Vivado used by SoC Blockset (2019.2). There was a large change in the format of the Xilinx hardware description files between Vivado versions 2019.1 and 2019.2 (migrating from an hdf to an xsa file), resulting in incompatibilities if I try to set the hardware description for my PetaLinux project to my xsa from Vivado 2019.2. Has there been an update to the Mathworks PetaLinux build repositories to migrate the ZCU111 build to PetaLinux 2019.2? If so, can this be added as a tag to this repository? Currently, the source code here is useless to me as it is incompatible with MathWorks's own SoC blockset tool.

Thanks!

HDL source available?

Hello,

I am working with Matlab HDL coder and a custom board, and I would like to use this project as a base to generate the petalinux project for my board.

Since I need to create a new hdf for my board, I would like to see the original HDL project used to create the included hdf file. I was looking for it in the Matlab help, but it seems that ZCU111 is still not supported there.

Is it possible to obtain the HDL project (or at least the block diagram tcl script) used here?

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.