Forum Discussion
Altera_Forum
Honored Contributor
16 years agoUnable to open "/dev/ser0"
I have a sopc design that contains a jtag uart and an avalon uart, while porting a debug console to the platform, it needs to directly talk to the hardware rather than to the tty, otherwise input suc...
Altera_Forum
Honored Contributor
16 years agoThere is a special setting for the system console. The UART (either serial uart or jtag uart) that is selected as the system console is initialized at the beginning of the kernel init, and uses a special mode of the driver. Once a component has been opened that way, it can't be opened again through the /dev/ path and can only be used through the stdin/stdout descriptors.
I don't have an eCos installation right here, but if I remember correctly you can change the component used for the system console somewhere in the NiosII parameters in the eCos configuration.