[OpenWrt-Devel] [PATCH] mxs: disable unused serial drivers

Zoltan HERPAI wigyori at uid0.hu
Mon Mar 11 16:52:55 EDT 2019


Michael Heimpold wrote:
> This disables PL010 and 8250 serial support for this platform
> as both drivers are not used: the debug UART is PL011 and the
> application UARTs use a dedicated MXS specific driver.
>
> The kernel size reduction is neglectable, but it also removes
> the non-working (confusing) /dev/ttyS0 and /dev/ttyS1 devices
> in a running system (which generate errors when trying to use):
>
>   root at OpenWrt:~# echo "hello world" > /dev/ttyS0
>   ash: write error: I/O error
>   root at OpenWrt:~#
>
> Signed-off-by: Michael Heimpold <mhei at heimpold.de>
>   
Thanks Michael, I've checked this on an iMX233-Olinuxino-Maxi, patch was 
applied to master.

Thanks,
Zoltan H


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list