Cross-Compiling Specific Kernel Drivers with PetaLinux

We need to compile the u-dma-buf driver. This repository contains a Makefile.The Makefile has the following parameters: Parameter Name Description Default Value ARCH Architecture Name <span>$(shell uname -m | sed -e s/arm.*/arm/ -e s/aarch64.*/arm64/)</span> KERNEL_SRC Kernel Source Directory <span>/lib/modules/$(shell uname -r)/build</span> Cross Compile If you have a cross-compilation environment for the target system, you can … Read more

Explaining Assembly Language Technology: Retrieving and Formatting Readable Time in Kernel Drivers

Explaining Assembly Language Technology: Retrieving and Formatting Readable Time in Kernel Drivers

Core API for Time Retrieval and Conversion Key Data Structures ; TIME_FIELDS structure definition TIME_FIELDS STRUCT Year WORD ? ; Year (1601-30827) Month WORD ? ; Month (1-12) Day WORD ? ; Day (1-31) Hour WORD ? ; Hour (0-23) Minute WORD ? ; Minute (0-59) Second WORD ? ; Second (0-59) Milliseconds WORD ? … Read more