xilinx_axidma

(★ 555)

A zero-copy Linux driver and a userspace interface library for Xilinx's AXI DMA and VDMA IP blocks. These serve as bridges for communication between the processing system and FPGA programmable logic fabric, through one of the DMA ports on the Zynq processing system. Distributed under the MIT License.

  • .gitignore
  • .travis.yml
  • config_template.mk
  • libaxidma.dox
  • LICENSE
  • Makefile
  • README.md

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/bperez77/xilinx_axidma

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd xilinx_axidma

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Make

보통 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make help

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm KBUILD_DIR=</path/to/kernel/tree> driver

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm examples

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm library

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

make library_docs

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation