how to create ttyS4 on at91?

Status
Not open for further replies.
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.
 

    impet14

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…