This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linux-c6x: disable flow control for UART

Hello, All!

I have a schematic problem on my custom board with 6678, and I can't use serial console, after linux was booted. In IBL stage i can see uart output and while linux is booting, too. Here is linux boot log:

Linux version 2.6.34-evmc6678.el-dev-embedded-20141028 (embedded@kva) (gcc vers4
Designed for the EVMC6678 board, Texas Instruments.
c6x: End of EVMC6678 specific initialization
CPU0: C66x rev 0x0, 1.2 volts, 1000MHz
Initializing kernel
c6x: Initialize memory
_bss_start = 0x0
_bss_end = 0x800e0d6
c6x: memory_start: 0x80594000
c6x: memory_end : 0xc0000000
c6x: memory_size : 0x3fa6c000
c6x: Initialize command line
DMA memory start: 0x8f000000
DMA memory size: 0x1000000
Coherent memory (DMA) region start=0x8f000000 end=0x90000000 (size=0x1000000)
disabling caching for 0x8f000000 to 0x8fffffff
c6x: Initialize bootmap allocator
c6x: Free usable memory
no initrd specified
c6x: Initializing paging
c6x: End of C6x arch dep initialization
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60960
Kernel command line: console=ttyS0,115200 earlyprintk nfsrootdebug \
root=/dev/nfs nfsroot=192.168.0.101:/home/embedded/targetfs-fm408c,v3,tcp rw \
ip=dhcp eth0:on \
mem=512M@0x80000000
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory available: 237788k/240048k RAM, 0k/0k ROM (941k kernel code, 484k data)
SLUB: Genslabs=7, HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:292
Console: colour dummy device 80x25
Calibrating delay loop... 999.42 BogoMIPS (lpj=1998848)
Mount-cache hash table entries: 512
C64x: 9 gpio irqs
board_setup_spi() - SUCCESS
NET: Registered protocol family 16
SGMII init complete
bio: create slab <bio-0> at 0
keystone_qmss keystone_qmss.0: firmware: using built-in firmware keystone/qmss_w
TI KeyStone QMSS driver v1.1
KeyStone RapidIO driver v1.1
RIO: register sRIO controller for hostid 0
RIO: port 0 not ready
RIO: port 1 not ready
RIO: port 2 not ready
RIO: port 3 not ready
keystone-pcie: Invoking PCI BIOS ...
keystone-pcie: Setting up Host Controller...
keystone-pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
Switching to clocksource TSC64
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 464
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
ttyS0: autoconf (0x0000, 0x02540000): iir=3 iir1=6 iir2=6 type=16550A
serial8250.0: ttyS0 at MMIO 0x2540000 (irq = 276) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
at24 1-0050: 131072 byte 24c1024 EEPROM (writable)
m25p80 spi0.0: n25q128 (16384 Kbytes)
Creating 2 MTD partitions on "spi_flash":
0x000000000000-0x000000a00000 : "kernel"
0x000000a00000-0x000001000000 : "filesystem"
spi_davinci spi_davinci.0: Controller at 0x20bf0000
keystone_netcp keystone_netcp.0: created a CPSW ALE engine
keystone_netcp keystone_netcp.0: firmware: using built-in firmware keystone/pa_w
keystone_netcp keystone_netcp.0: firmware: using built-in firmware keystone/pa_w
keystone_netcp keystone_netcp.0: firmware: using built-in firmware keystone/pa_w
keystone_netcp keystone_netcp.0: firmware: using built-in firmware keystone/pa_w
keystone_netcp keystone_netcp.0: firmware: using built-in firmware keystone/pa_w
keystone_netcp keystone_netcp.0: firmware: using built-in firmware keystone/pa_w
eth0: TI KeyStone NetCP Driver v1.4 on SGMII1
i2c /dev entries driver
pktgen 2.72: Packet Generator for packet performance testing.
TCP cubic registered
NET: Registered protocol family 17
net eth0: initialized CPSW ALE revision 1.3
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.0.1, my address is 192.168.0.53
IP-Config: Complete:
device=eth0, addr=192.168.0.53, mask=255.255.255.0, gw=192.168.0.1,
host=192.168.0.53, domain=, nis-domain=(none),
bootserver=192.168.0.1, rootserver=192.168.0.101, rootpath=

And here console is disabled because RTS signal became is low. I discover UART register in CCS and found that Modem Control Register (MCR) have a value 0xB. But I can't find any place there this register setting up in linux kernel.

Please, tell me how I can disable of setting MCR register, or place there I can rewrite new value?

dmesg get this additional info:

uart_open(0) called
Looking up port of RPC 100003/3 on 192.168.0.101
Looking up port of RPC 100005/3 on 192.168.0.101
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing unused kernel memory: 172K freed
uart_open(0) called

Thank you.