{"id":19297887,"url":"https://github.com/analogdevicesinc/m2k-fw","last_synced_at":"2025-04-07T12:09:15.468Z","repository":{"id":41502793,"uuid":"80631908","full_name":"analogdevicesinc/m2k-fw","owner":"analogdevicesinc","description":"M2k firmware for the ADALM-2000 Active Learning Module","archived":false,"fork":false,"pushed_at":"2024-10-11T11:14:13.000Z","size":188,"stargazers_count":57,"open_issues_count":0,"forks_count":28,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-31T11:03:05.994Z","etag":null,"topics":["active-learning-module","adalm-2000","fpga","hdl","iio","linux","logic-analyzer","m2k","network-analyzer","oscilloscope","signal-generation","spectrum-analyzer"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/analogdevicesinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-01T15:12:25.000Z","updated_at":"2024-12-27T12:27:45.000Z","dependencies_parsed_at":"2023-10-11T15:09:38.672Z","dependency_job_id":"e940389d-ed57-4b03-8b82-6f99e8f78312","html_url":"https://github.com/analogdevicesinc/m2k-fw","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analogdevicesinc%2Fm2k-fw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analogdevicesinc%2Fm2k-fw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analogdevicesinc%2Fm2k-fw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analogdevicesinc%2Fm2k-fw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/analogdevicesinc","download_url":"https://codeload.github.com/analogdevicesinc/m2k-fw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-learning-module","adalm-2000","fpga","hdl","iio","linux","logic-analyzer","m2k","network-analyzer","oscilloscope","signal-generation","spectrum-analyzer"],"created_at":"2024-11-09T23:06:23.220Z","updated_at":"2025-04-07T12:09:15.438Z","avatar_url":"https://github.com/analogdevicesinc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# M2k-fw\nM2k Firmware for the [ADALM-2000](https://wiki.analog.com/university/tools/m2k \"ADALM-2000 Wiki Page\") Active Learning Module\n\nLatest binary Release : [![GitHub Release](https://img.shields.io/github/release/analogdevicesinc/m2k-fw.svg)](https://github.com/analogdevicesinc/m2k-fw/releases/latest)  [![Github Releases](https://img.shields.io/github/downloads/analogdevicesinc/m2k-fw/total.svg)](https://github.com/analogdevicesinc/m2k-fw/releases/latest)\n\nFirmware License : [![Many Licenses](https://img.shields.io/badge/license-LGPL2+-blue.svg)](https://github.com/analogdevicesinc/m2k-fw/blob/master/LICENSE.md)  [![Many License](https://img.shields.io/badge/license-GPL2+-blue.svg)](https://github.com/analogdevicesinc/m2k-fw/blob/master/LICENSE.md)  [![Many License](https://img.shields.io/badge/license-BSD-blue.svg)](https://github.com/analogdevicesinc/m2k-fw/blob/master/LICENSE.md)  [![Many License](https://img.shields.io/badge/license-apache-blue.svg)](https://github.com/analogdevicesinc/m2k-fw/blob/master/LICENSE.md) and many others.\n\n* Build Instructions\n```bash\n sudo apt-get install git build-essential fakeroot libncurses5-dev libssl-dev ccache\n sudo apt-get install dfu-util u-boot-tools device-tree-compiler libssl1.0-dev mtools\n sudo apt-get install bc python cpio zip unzip rsync file wget\n git clone --recursive https://github.com/analogdevicesinc/m2k-fw.git\n cd m2k-fw\n export VIVADO_SETTINGS=/opt/Xilinx/Vivado/2022.2/settings64.sh\n make\n\n```\nDue to incompatibility between the AMD/Xilinx GCC toolchain supplied with Vivado/Vitis and Buildroot.\nThis project switched to Buildroot external Toolchain: Linaro GCC 7.3-2018.05 7.3.1\n\nhttps://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/arm-linux-gnueabihf/\n\nThis toolchain is used to build: Buildroot, Linux and u-boot\n\n * Updating your local repository \n ```bash \n      git pull --recurse-submodules\n  ```\n \n* Build Artifacts\n ```bash\n      michael@HAL9000:~/devel/m2k-fw$ ls -AGhl build\n      total 536M\n      -rw-rw-r-- 1 michael   69 Mär  1 09:30 boot.bif\n      -rw-rw-r-- 1 michael 443K Mär  1 09:30 boot.bin\n      -rw-rw-r-- 1 michael 443K Mär  1 09:30 boot.dfu\n      -rw-rw-r-- 1 michael 572K Mär  1 09:31 boot.frm\n      -rw-rw-r-- 1 michael 471M Mär  1 09:31 legal-info-v0.30.tar.gz\n      -rw-rw-r-- 1 michael 560K Mär  1 09:28 LICENSE.html\n      -rw-rw-r-- 1 michael 9,7M Mär  1 09:30 m2k.dfu\n      -rw-rw-r-- 1 michael 9,7M Mär  1 09:30 m2k.frm\n      -rw-rw-r-- 1 michael   33 Mär  1 09:30 m2k.frm.md5\n      -rw-rw-r-- 1 michael  19M Mär  1 09:31 m2k-fw-v0.30.zip\n      -rw-rw-r-- 1 michael 9,7M Mär  1 09:30 m2k.itb\n      -rw-rw-r-- 1 michael 504K Mär  1 09:31 m2k-jtag-bootstrap-v0.30.zip\n      -rw-r--r-- 1 michael 897K Mär  1 09:30 mtd2.dfu\n      -rw-rw-r-- 1 michael 442K Mär  1 09:29 ps7_init.c\n      -rw-rw-r-- 1 michael 443K Mär  1 09:29 ps7_init_gpl.c\n      -rw-rw-r-- 1 michael 4,2K Mär  1 09:29 ps7_init_gpl.h\n      -rw-rw-r-- 1 michael 3,6K Mär  1 09:29 ps7_init.h\n      -rw-rw-r-- 1 michael 2,4M Mär  1 09:29 ps7_init.html\n      -rw-rw-r-- 1 michael  31K Mär  1 09:29 ps7_init.tcl\n      -rw-r--r-- 1 michael 4,8M Mär  1 09:28 rootfs.cpio.gz\n      drwxrwxr-x 6 michael 4,0K Mär  1 09:29 sdk\n      -rw-rw-r-- 1 michael 949K Mär  1 09:29 system_top.bit\n      -rw-rw-r-- 1 michael 645K Mär  1 09:29 system_top.xsa\n      -rwxrwxr-x 1 michael 761K Mär  1 09:31 u-boot.elf\n      -rw-rw---- 1 michael 128K Mär  1 09:31 uboot-env.bin\n      -rw-rw---- 1 michael 129K Mär  1 09:31 uboot-env.dfu\n      -rw-rw-r-- 1 michael 7,0K Mär  1 09:31 uboot-env.txt\n      -rwxrwxr-x 1 michael 3,9M Mär  1 09:27 zImage\n      -rw-rw-r-- 1 michael  17K Mär  1 09:28 zynq-m2k-reva.dtb\n      -rw-rw-r-- 1 michael  17K Mär  1 09:29 zynq-m2k-revb.dtb\n      -rw-rw-r-- 1 michael  17K Mär  1 09:29 zynq-m2k-revc.dtb\n      -rw-rw-r-- 1 michael  17K Mär  1 09:29 zynq-m2k-revd.dtb\n      -rw-rw-r-- 1 michael  17K Mär  1 09:29 zynq-m2k-reve.dtb\n      -rw-rw-r-- 1 michael  17K Mär  1 09:29 zynq-m2k-revf.dtb\n ```\n \n * Main targets\n \n     | File  | Comment |\n     | ------------- | ------------- | \n     | m2k.frm | Main PlutoSDR firmware file used with the USB Mass Storage Device |\n     | m2k.dfu | Main PlutoSDR firmware file used in DFU mode |\n     | boot.frm  | First and Second Stage Bootloader (u-boot + fsbl + uEnv) used with the USB Mass Storage Device |\n     | boot.dfu  | First and Second Stage Bootloader (u-boot + fsbl) used in DFU mode |\n     | uboot-env.dfu  | u-boot default environment used in DFU mode |\n     | m2k-fw-vX.XX.zip  | ZIP archive containg all of the files above |\n     | m2k-jtag-bootstrap-vX.XX.zip  | ZIP archive containg u-boot and Vivao TCL used for JATG bootstrapping |\n \n  * Other intermediate targets\n\n     | File  | Comment |\n     | ------------- | ------------- |\n     | boot.bif | Boot Image Format file used to generate the Boot Image |\n     | boot.bin | Final Boot Image |\n     | m2k.frm.md5 | md5sum of the m2k.frm file |\n     | m2k.itb | u-boot Flattened Image Tree |\n     | rootfs.cpio.gz | The Root Filesystem archive |\n     | sdk | Vivado/XSDK Build folder including  the FSBL |\n     | system_top.bit | FPGA Bitstream (from HDF) |\n     | system_top.hdf | FPGA Hardware Description  File exported by Vivado |\n     | u-boot.elf | u-boot ELF Binary |\n     | uboot-env.bin | u-boot default environment in binary format created form uboot-env.txt |\n     | uboot-env.txt | u-boot default environment in human readable text format |\n     | zImage | Compressed Linux Kernel Image |\n     | zynq-m2k-reva.dtb | Device Tree Blob for Rev.A |\n     | zynq-m2k-revb.dtb | Device Tree Blob for Rev.B|  \n     | zynq-m2k-revc.dtb | Device Tree Blob for Rev.C|  \n\n \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalogdevicesinc%2Fm2k-fw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanalogdevicesinc%2Fm2k-fw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalogdevicesinc%2Fm2k-fw/lists"}