Feb 24, 2010 #1 I impet14 Junior Member level 3 Joined Jul 11, 2009 Messages 25 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location Thailand Activity points 1,504 how to create ttyS4 on at91?
Feb 24, 2010 #2 microlost Member level 1 Joined Feb 10, 2010 Messages 38 Helped 5 Reputation 10 Reaction score 2 Trophy points 1,288 Location Matrix Bus Activity points 1,543 hello, open this file /linux-2.6.17/arch/arm/mach-at91****/board-dk.c modify these data: static struct at91_uart_config __initdata dk_uart_config = { .console_tty = 0, //ttyS0 .nr_tty = 5, .tty_map = { 4, 1, 0, 2, 3 } //ttyS* }; Remind yourself that the first port in the list is to debug "DBGU = ttyS4" regards.
hello, open this file /linux-2.6.17/arch/arm/mach-at91****/board-dk.c modify these data: static struct at91_uart_config __initdata dk_uart_config = { .console_tty = 0, //ttyS0 .nr_tty = 5, .tty_map = { 4, 1, 0, 2, 3 } //ttyS* }; Remind yourself that the first port in the list is to debug "DBGU = ttyS4" regards.