Skip to content

lucaceresoli/zynqmp-pmufw-builder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

zynqmp-pmufw-builder

This is a simple script to build a PMU firmware for the Xilinx ZynqMP System-on-Chip.

It design goals are to:

  • be simple to use: just type a few commands to have a PMU firmware ready
  • be easy to understand and modify to your needs
  • have minimal dependencies: only crosstool-NG and the PMU firmware source code are needed

Usage

  1. Get the source code:

    git clone --recurse-submodules https://github.com/lucaceresoli/zynqmp-pmufw-builder.git
    cd zynqmp-pmufw-builder
    
  2. Generate a suitable microblaze toolchain (this is normally needed only once):

    ./build.sh toolchain
    

    At the end a toolchain will be available in ~/x-tools/microblazeel-xilinx-elf/.

  3. Build it:

    ./build.sh pmufw-build
    

    The PMU firmware will be called pmufw.bin in the current directory. Custom compiler flags can be passed in the CFLAGS environment variable, E.G.:

    CFLAGS="-DENABLE_EM" ./build.sh pmufw-build
    

Enjoy!

About

A simple script to build a PMU firmware for Xilinx ZynqMP

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages