Is it possible to disable all console output during the booting ? I would like to connect the serial port to a device, but the boot information confuses that device.
I have already set the console to null in the bootargs environment, but I still get some info from uboot itself.
Thank you, this won’t silence uboot itself however. I see in various uboot docs that there is a silent variable, but I’m not sure if the uboot variant GLI is using honors this option.
Because, first you have to debug your uboot code. While you are doing this, if you silent your UART, you don’t know what it will happen when uboot met problem. But of course you can do this in your own risk.
I really don’t mind u-boot to barf on the uart if something is wrong, in that case nothing will work anyway so the confusion on my peripheral is not really of any impact. The silent option for u-boot will only generate output when you send something on the uart first during booting as far as I can understand, and that would be just fine for my purpose.
Thanks for the link, i’ll check whether this version of u-boot honors the silent option.
One thing comes to my mind is that, if you connect some devices to the UART and it output some info during uboot booting, uboot could just stop. Because in uboot console, if you press any key, uboot will stop.
I am not using GLI, but I have same problem with openwrt and I could not silence the the boot messages printed by kernel, I tried bootargs, early printk and other options but still it prints kernel messages. kernel.printk= 0 4 7 1 in /etc/sysctl.conf makes some later messages silenced by not the early ones.
I am using pepe2k uboot. My main problem is where the kernel messages is printed on the console, I want to make it disable, messages like " [ 0.000000] Linux version x.x.x".
I tried following options for that but no result, and still it prints on the console:
disabling early printk in ar71xx/configxxx
changing CONFIG_CMDLINE="rootfstype=squashfs,jffs2 noinitrd console=null" in ar71xx/configxxx