CTRL-C may not work when using a serial console. This is because, by default, the console is started using the device /dev/console, and any attempt to set the process group of this device will always fail. The easiest way to overcome this is to edit the file/etc/inittab:
Connect to the target through SSH, vi doesn´t work properly through a terminal emulator, and edit the file /etc/inittab
target# vi /etc/inittabFind the definition containing /sbin/getty console and comment it out (with an initial #). Then find the definitions containing /sbin/getty -L. If one of these includes the physical name of the console, for example ttyAS0, remove the comment character (#) from the beginning of the line and check that the baud rate and terminal type are correct. If not, add an appropriate line, for example:
FW0:2345:respawn:/sbin/getty ttyAS0Note: The physical name of the console is the name passed to the kernel with the console= parameter.