M2k Firmware for the ADALM-2000 Active Learning Module
- Build Instructions
git clone --recursive https://github.com/analogdevicesinc/m2k-fw.git
cd m2k-fw
export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
export PATH=$PATH:/opt/Xilinx/SDK/2017.4/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin
export VIVADO_SETTINGS=/opt/Xilinx/Vivado/2017.4/settings64.sh
make
- Updating your local repository
git pull --recurse-submodules
- Build Artifacts
michael@HAL9000:~/devel/m2k-fw$ ls -AGhl build
-rw-rw-r-- 1 michael 69 Mai 8 11:36 boot.bif
-rw-rw-r-- 1 michael 446K Mai 8 11:36 boot.bin
-rw-rw-r-- 1 michael 446K Mai 8 11:36 boot.dfu
-rw-rw-r-- 1 michael 575K Mai 8 11:36 boot.frm
-rw-rw-r-- 1 michael 181M Mai 8 11:36 legal-info-v0.20.tar.gz
-rw-rw-r-- 1 michael 461K Mai 8 11:35 LICENSE.html
-rw-rw-r-- 1 michael 9,0M Mai 8 11:36 m2k.dfu
-rw-rw-r-- 1 michael 9,0M Mai 8 11:36 m2k.frm
-rw-rw-r-- 1 michael 33 Mai 8 11:36 m2k.frm.md5
-rw-rw-r-- 1 michael 17M Mai 8 11:36 m2k-fw-v0.20.zip
-rw-rw-r-- 1 michael 9,0M Mai 8 11:36 m2k.itb
-rw-rw-r-- 1 michael 497K Mai 8 11:36 m2k-jtag-bootstrap-v0.20.zip
-rw-r--r-- 1 michael 897K Mai 8 11:36 mtd2.dfu
-rw-r--r-- 1 michael 4,7M Mai 8 11:35 rootfs.cpio.gz
drwxrwxr-x 6 michael 4,0K Mai 8 11:36 sdk
-rw-rw-r-- 1 michael 950K Mai 8 11:36 system_top.bit
-rw-rw-r-- 1 michael 414K Mai 8 11:35 system_top.hdf
-rwxrwxr-x 1 michael 409K Mai 8 11:36 u-boot.elf
-rw-rw---- 1 michael 128K Mai 8 11:36 uboot-env.bin
-rw-rw---- 1 michael 129K Mai 8 11:36 uboot-env.dfu
-rw-rw-r-- 1 michael 4,7K Mai 8 11:36 uboot-env.txt
-rwxrwxr-x 1 michael 3,4M Mai 8 11:33 zImage
-rw-rw-r-- 1 michael 15K Mai 8 11:35 zynq-m2k-reva.dtb
-rw-rw-r-- 1 michael 15K Mai 8 11:35 zynq-m2k-revb.dtb
-rw-rw-r-- 1 michael 15K Mai 8 11:35 zynq-m2k-revc.dtb
-
Main targets
File Comment m2k.frm Main PlutoSDR firmware file used with the USB Mass Storage Device m2k.dfu Main PlutoSDR firmware file used in DFU mode boot.frm First and Second Stage Bootloader (u-boot + fsbl + uEnv) used with the USB Mass Storage Device boot.dfu First and Second Stage Bootloader (u-boot + fsbl) used in DFU mode uboot-env.dfu u-boot default environment used in DFU mode m2k-fw-vX.XX.zip ZIP archive containg all of the files above m2k-jtag-bootstrap-vX.XX.zip ZIP archive containg u-boot and Vivao TCL used for JATG bootstrapping -
Other intermediate targets
File Comment boot.bif Boot Image Format file used to generate the Boot Image boot.bin Final Boot Image m2k.frm.md5 md5sum of the m2k.frm file m2k.itb u-boot Flattened Image Tree rootfs.cpio.gz The Root Filesystem archive sdk Vivado/XSDK Build folder including the FSBL system_top.bit FPGA Bitstream (from HDF) system_top.hdf FPGA Hardware Description File exported by Vivado u-boot.elf u-boot ELF Binary uboot-env.bin u-boot default environment in binary format created form uboot-env.txt uboot-env.txt u-boot default environment in human readable text format zImage Compressed Linux Kernel Image zynq-m2k-reva.dtb Device Tree Blob for Rev.A zynq-m2k-revb.dtb Device Tree Blob for Rev.B zynq-m2k-revc.dtb Device Tree Blob for Rev.C