EasyManua.ls Logo

NXP Semiconductors Layerscape LS1028A BSP - 4.2 Device Drivers

NXP Semiconductors Layerscape LS1028A BSP
136 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
For 32-bit ARM:
$ cp arch/arm/boot/Image.gz ${path-to-flexbuild}/build/linux/kernel/arm/
$ cp arch/arm/boot/dts/ls*.dtb ${path-to-flexbuild}/build/linux/kernel/arm/
$ make modules_install INSTALL_MOD_PATH=${path-to-flexbuild}/build/linux/kernel/arm/
Regenerate the boot partition and rootfs (for commands below: ${ARCH} = arm32 | arm64)
$ flex-builder -i mkbootpartition -a ${ARCH}
$ flex-builder -i merge-component -a ${ARCH}
$ flex-builder -i compressrfs -a ${ARCH}
Use flex-installer to deploy the updated boot partition and rootfs to the device following the LS1028A BSP Quick Start on page
12.
Update the target filesystem directly
This can be more convenient if you are compiling the kernel on the target device locally or you can easily update the filesystem
of target device remotely (e.g. using scp, tftp, or etc.).
Copy your Image file to /boot folder on the target using cp if compiled locally; Use any available remote update approach if
compiled remotely.
Copy dtb files to /boot folder on the target using cp if compiled locally; Use any available remote update approach to do the
same if compiled remotely.
Update kernel modules. (Note: kernel modules are required to be updated when you updated the kernel image).
If you compiled the kernel on the target device locally. Use the command below:
$ make modules_install
If you compiled the kernel remotely. Do the following:
Install the modules into a temporary folder (e.g. /tmp/lsdk/).
$ make modules_install INSTALL_MOD_PATH=/tmp/lsdk/
Transfer the lib/ directory from the temporary location above to the target device using any file transfer approach
and put it in the / path of the filesystem.
4.2
Device Drivers
4.2.1 CAAM Direct Memory Access (DMA)
Description
The CAAM DMA module implements a DMA driver that uses the CAAM DMA controller to provide both SG and MEMCPY DMA
capability to be used by the platform. It is based on the CAAM JR interface that must be enabled in the kernel config as a
prerequisite for the CAAM DMA driver.
The driver is based on the DMA engine framework and it is located under the DMA Engine support category in the kernel config
menu.
Kernel Configure Options
Tree Overview
Device Drivers
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
NXP Semiconductors
41

Table of Contents

Related product manuals