openwrtv4/target/linux
Koen Vandeputte 74738c4b80 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:

efb362cd93 ("imx6: disable dma on uart")
3b4241071d ("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>
2018-11-06 11:49:27 +01:00
..
adm5120 kernel: bump 3.18 to 3.18.123 2018-09-26 15:54:18 +02:00
adm8668 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
apm821xx kernel: bump 4.14 to 4.14.78 2018-10-22 15:28:31 +02:00
ar7 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
ar71xx ar71xx: disable some tiny targets with kernel 4.14 2018-11-05 16:00:06 +01:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
at91 kernel: enable memory compaction 2018-10-09 14:29:55 +02:00
ath25 kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
ath79 kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
au1000 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
bcm53xx kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
brcm47xx treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
brcm63xx kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
brcm2708 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
cns3xxx kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
gemini gemini: Fix up image generation 2018-10-20 16:13:39 +02:00
generic kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
imx6 imx6: fix DMA transaction errors 2018-11-06 11:49:27 +01:00
ipq40xx kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
ipq806x kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
ixp4xx treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
kirkwood treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
lantiq kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
layerscape kernel: bump 4.9 to 4.9.135 2018-10-22 15:28:31 +02:00
malta treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
mcs814x kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
mediatek kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
mpc85xx mpc85xx: workaround 4.14 cross compile issue 2018-10-20 16:24:29 +02:00
mvebu kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
mxs kernel: bump 4.14 to 4.14.75 2018-10-10 14:45:11 +02:00
octeon octeon: remove linux 4.9 support 2018-09-29 18:09:45 +02:00
octeontx kernel: enable memory compaction 2018-10-09 14:29:55 +02:00
omap kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
omap24xx omap24xx: remove referece to not existing kmod-usb-musb-tusb6010 2018-01-15 13:13:34 +01:00
orion treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
oxnas kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
pistachio kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
ppc40x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ppc44x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ramips kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
rb532 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
samsung kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
sunxi kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
uml treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
x86 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
xburst kernel: bump 3.18 to 3.18.119 2018-08-20 13:03:23 +02:00
zynq kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
Makefile