Skip to content

udmabuf(User space mappable DMA Buffer) kernel module debian package

Notifications You must be signed in to change notification settings

ikwzm/udmabuf-kmod-dpkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

udmabuf kernel module debian package

Overview

Introduction

This is a repository for making udmabuf kernel module debian package.

Udmabuf is a Linux device driver that allocates contiguous memory blocks in the kernel space as DMA buffers and makes them available from the user space.

For details of udmabuf, please refer to following URL.

Build Debian Package

Download repository

shell$ git clone --recursive --depth=1 -b v1.4.7 git://github.com/ikwzm/udmabuf-kmod-dpkg
shell$ cd udmabuf-kmod-dpkg

Cross Compile

Parameters

Parameter Name Description Default Value
kernel_release Kernel Release Name $(shell uname -r)
arch Architecture Name $(shell uname -m | sed -e s/arm.*/arm/ -e s/aarch64.*/arm64/)
deb_arch Debian Architecture Name $(shell dpkg --print-architecture)
kernel_src_dir Kernel Source Directory /lib/modules/$(kernel_release)/build
shell$ sudo debian/rules arch=arm deb_arch=armhf kernel_release=4.14.34-armv7-fpga kernel_src_dir=/usr/src/linux-4.14.34-armv7-fpga binary
    :
    :
    :
shell$ file ../udmabuf-4.14.34-armv7-fpga_1.4.7-1_armhf.deb
../udmabuf-4.14.34-armv7-fpga_1.4.7-1_armhf.deb: Debian binary package (format 2.0)

Self Compile

shell$ sudo debian/rules binary
    :
    :
    :
shell$ file ../udmabuf-4.14.34-armv7-fpga_1.4.7-1_armhf.deb
../udmabuf-4.14.34-armv7-fpga_1.4.7-1_armhf.deb: Debian binary package (format 2.0)

About

udmabuf(User space mappable DMA Buffer) kernel module debian package

Resources

Stars

Watchers

Forks

Packages

No packages published