For example, LS2080AQDS board, should enable the below option:
<*> Dallas/Maxim DS3232
Change the RTC time in Linux Kernel
~ # ls /dev/rtc -l
lrwxrwxrwx 1 root root 4 Jan 11 17:55 /dev/rtc -> rtc0
~ # date
Sat Jan 1 00:01:38 UTC 2000
~ # hwclock
Sat Jan 1 00:01:41 2000 0.000000 seconds
~ # date 011115502011
Tue Jan 11 15:50:00 UTC 2011
~ # hwclock -w
~ # hwclock
Tue Jan 11 15:50:36 2011 0.000000 seconds
~ # date 011115502010
Mon Jan 11 15:50:00 UTC 2010
~ # hwclock -s
~ # date
Tue Jan 11 15:50:49 UTC 2011
~ #
NOTE: Before using the rtc driver, make sure the /dev/rtc node in your file system is
correct. Otherwise, you need to make correct node for /dev/rtc
4.2.7 Queue Direct Memory Access Controller (qDMA)
The qDMA controller transfers blocks of data between one source and one destination. The blocks of data transferred can be
represented in memory as contiguous or noncontiguous using scatter/gather table(s). Channel virtualization is supported through
enqueuing of DMA jobs to, or dequeuing DMA jobs from, different work queues.
QDMA can support Layerscape platform with DPAA1 or DPAA2.
QDMA for platform with DPAA1
Kernel Configure Options
Below are the configure options need to be set/unset while doing "make menuconfig" for kernel.
Kernel Configure Tree View Options
Description
Device Drivers --->
[*] DMA Engine support ---> --->
<*> Freescale qDMA engine support
Support the Freescale qDMA engine with command queue and
legacy mode.
Channel virtualization is supported through enqueuing of DMA
jobs to,
or dequeuing DMA jobs from, different work queues.
This module can be found on Freescale LS SoCs.
Identifier
Below are the configure identifiers which are used in kernel source code and default configuration files.
Linux kernel
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
58
NXP Semiconductors
Summary of Contents for Layerscape LS1028A BSP
Page 135: ......