[LEDE-DEV] [PATCH] imx6: disable dma on uart

Bas Mevissen bas at befive.nl
Fri Mar 9 11:54:48 PST 2018


On 02/22/2018 12:20 PM, Koen Vandeputte wrote:
> When this target got updated to 4.14, this patch got removed to
> re-evaluate if it was still needed.
> 
> Extensive testing now shows this issue is still present.
> Let's re-add the patch to fix it for now.
> 
> As the uart bus is very low bandwidth .. performance impact is negligible.
> 
> Boot log:
> 
> [   22.513051] imx-uart 2020000.serial: DMA transaction error.
> [   22.522721] imx-uart 2020000.serial: DMA transaction error.
> 

An alternative solution is to add the following to the uart's device
tree definition:

	dma-names = "", "";

e.g.

&uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart1>;
	dma-names = "", "";
	status = "okay";
};

Regards,

Bas.






More information about the Lede-dev mailing list