how to deny the kernel video output at boottime?


I’m using the tegra build R32.2.1
what I would like to do is provide a nice video image to the output screen. Now I don’t have a problem with that, I simply use gstreamer and the nvoverlaysink which works like a charm. However I still see in the background behind the video output coming from diverse sources that are writing stuff to the standard out. So how do I get rid of this?
My idea was to deny the kernal a video source for its standard out and this would in turn make sure no other program would write to the video anymore.
So first of all, is this a correct assumption and second how do I do this?
When I look at my dmesg I can see the following kernel command:
Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt usbcore.old_scheme_first=1 tegraid= maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.983055.1 bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4

So I imagine I need to change this line? specifically the part where it says video=tegrafb? However I don’t find this line anywhere so it is probably something that is generated during flashing. So this is where I’m stuck, can anyone help me here please?

It might be enough to remove the “console=tty0”. Note that the other console is the serial UART and won’t be an issue. Usually you would change this by altering the “chosen”->“bootargs” content of the device tree, and then flashing that tree. There may also be other methods.

thank you for your answer.
Where might i find this file? I thought I could find it by doing a recursive grep on console=tty0 in the Linux_for_Tegra directory but I got this list that are all in the sources of the kernel:
./sources/kernel/kernel-4.9/arch/xtensa/boot/dts/csp.dts: bootargs = “earlycon=cdns,0xfd000000,115200 console=tty0 console=ttyPS0,115200 root=/dev/ram0 rw earlyprintk xilinx_uartps.rx_trigger_level=32 loglevel=8 nohz=off ignore_loglevel”;
./sources/kernel/kernel-4.9/arch/arc/boot/dts/vdk_hs38_smp.dts: bootargs = “earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 video=640x480-24”;
./sources/kernel/kernel-4.9/arch/arc/boot/dts/nsimosci_hs.dts: /* bootargs = “console=tty0 consoleblank=0”; /
./sources/kernel/kernel-4.9/arch/arc/boot/dts/nsimosci_hs.dts: bootargs = “earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24”;
./sources/kernel/kernel-4.9/arch/arc/boot/dts/axs101.dts: bootargs = “earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0”;
./sources/kernel/kernel-4.9/arch/arc/boot/dts/vdk_hs38.dts: bootargs = “earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0”;
./sources/kernel/kernel-4.9/arch/arc/boot/dts/nsimosci_hs_idu.dts: bootargs = “earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblan=0 debug video=640x480-24”;
./sources/kernel/kernel-4.9/arch/arc/boot/dts/nsimosci.dts: /
bootargs = “console=tty0 consoleblank=0”; */
./sources/kernel/kernel-4.9/arch/arc/boot/dts/nsimosci.dts: bootargs = “earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24”;
./sources/kernel/kernel-4.9/arch/blackfin/configs/BF527-AD7160-EVAL_defconfig:CONFIG_CMDLINE=“bootargs=root=/dev/mtdblock0 rw clkin_hz=24000000 earlyprintk=serial,uart0,57600 console=tty0 console=ttyBF0,57600”
./sources/kernel/kernel-4.9/arch/arm/boot/dts/nspire-classic.dtsi: bootargs = “debug earlyprintk console=tty0 console=ttyS0,115200n8 root=/dev/ram0”;
./sources/kernel/kernel-4.9/arch/arm/boot/dts/nspire-cx.dts: bootargs = “debug earlyprintk console=tty0 console=ttyAMA0,115200n8 root=/dev/ram0”;

But I don’t know which one it is, even if I’m going at it the right way…

Ok I found the file and line, since I’m using a spaceley board from Connect Tech, I figured to take a look in the cti.conf.common file
In there I found the line:
CMDLINE_ADD=“console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0”;
in which I removed the console=tty0 part
I reflashed and voila: no more output to the screen!

thx for the support!