Im trying to disconnect ttyATH0 uart of log kernel on a dragino2 device.
I'm working with openwrt image builder
After trying several configurations and modifying some files of the image builder I have realized that changing the next line, it behaves exactly as I want:
I search for dragino device and:
CONSOLE := ttyATH0,115200
And change by
CONSOLE := /dev/null.
I can check this in /proc/cmdline once it is compiled and flashed.
I wonder if there is a "clean" way to do that instead of modifiyng source code.