Altera_Forum
Honored Contributor
20 years agouClinux stdout
I posted a while back about booting the Nios uClinux system without a console, which is achieved by disabling JTAG in the kernel config. However, in testing this, I've noticed strange problems that occur when running without a console (that don't appear when a console is used). It seems at certain points that the system reboots itself. I can only assume that this has something to do with stdout getting clogged (via printk/f calls used during debugging). Is there a way to 'turn off' stdout, or otherwise mitigate these problems without globally removing all calls to printf/k?
Basically, I want my print statements there for debugging, but I don't want them to jam anything up when running in production. Any advice? Thanks, Ryan Quantapoint