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.
shell$ git clone --recursive --depth=1 -b v1.4.7 git://github.com/ikwzm/udmabuf-kmod-dpkg
shell$ cd udmabuf-kmod-dpkg
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)
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)