aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/config-4.14
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-11-05 17:41:00 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-11-06 11:49:27 +0100
commit74738c4b8057cbc155c3c67a1b372b1eec2e7ecc (patch)
treef737c17526d4d40af185c264e9e0a7a19853fd55 /target/linux/imx6/config-4.14
parent5ac34818f9c3ad46febc260f8ae348e05b9c8f00 (diff)
downloadupstream-74738c4b8057cbc155c3c67a1b372b1eec2e7ecc.tar.gz
upstream-74738c4b8057cbc155c3c67a1b372b1eec2e7ecc.tar.bz2
upstream-74738c4b8057cbc155c3c67a1b372b1eec2e7ecc.zip
imx6: fix DMA transaction errors
Following errors were seen in the past on imx6 when using serial: [ 22.617622] imx-uart 2020000.serial: DMA transaction error. [ 22.623228] imx-uart 2020000.serial: DMA transaction error. [ 22.628826] imx-uart 2020000.serial: DMA transaction error. [ 22.648951] imx-uart 2020000.serial: DMA transaction error. [ 22.654558] imx-uart 2020000.serial: DMA transaction error. [ 22.660156] imx-uart 2020000.serial: DMA transaction error. Which is the reason why DMA for the serial ports got disabled in commits: efb362cd93b0 ("imx6: disable dma on uart") 3b4241071dd4 ("imx6: disable UART dma") As indicated on mailinglist discussion, the cause seems to be the usage of very old SDMA firmware which is present in the soc: [ 0.624302] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2 [ 0.624318] imx-sdma 20ec000.sdma: Falling back to user helper [ 64.531607] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware This patch adds the new firmware binary. (2196 bytes) It is required to embed the binary into the kernel image, as it gets loaded very early in the boot process where the rootfs is not available yet: [ 0.622966] imx-sdma 20ec000.sdma: loaded firmware 3.3 Extended testing shows that the DMA errors are not seen anymore when using this newer firmware version. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/imx6/config-4.14')
-rw-r--r--target/linux/imx6/config-4.142
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/imx6/config-4.14 b/target/linux/imx6/config-4.14
index fe975e63fe..2b87e0d545 100644
--- a/target/linux/imx6/config-4.14
+++ b/target/linux/imx6/config-4.14
@@ -185,6 +185,8 @@ CONFIG_F2FS_FS=y
# CONFIG_F2FS_FS_SECURITY is not set
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_STAT_FS=y
+CONFIG_EXTRA_FIRMWARE="imx/sdma/sdma-imx6q.bin"
+CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_FEC=y
CONFIG_FIXED_PHY=y
CONFIG_FIX_EARLYCON_MEM=y