Der Linux Kernel > Kompilierung des Kernels > Änderungen am Kernel

Navigation:

 

Der Linux Kernel > Kompilierung des Kernels >



Änderungen am Kernel

Previous pageReturn to chapter overviewNext page

Bitte tauschen Sie im aktuellen Kernel den folgenden Code im Verzeichnis "arch/arm/mach-at91/board-sam9g20ek.c" aus.

 

static void __init ek_map_io(void)

{

 //oscill_version = pio_get_value(AT91C_PIN_PB(11));

 

 /* Initialize processor: 18.432 MHz crystal */

//        at91sam9260_initialize(18432000);

 

 /* Initialize processor: 20.000 MHz crystal */

 at91sam9260_initialize(20000000);

 

 /* DGBU on ttyS0. (Rx & Tx only) */

 at91_register_uart(0, 0, 0);

 

 /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */

 at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS

                    | ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD

                    | ATMEL_UART_RI);

 

 /* USART1 on ttyS2. (Rx, Tx, RTS, CTS) */

 at91_register_uart(AT91SAM9260_ID_US1, 2, ATMEL_UART_CTS | ATMEL_UART_RTS);

 

 /* set serial console to ttyS0 (ie, DBGU) */

 at91_set_serial_console(0);

}

 

Der Kernel sollte nun korrekt geladen werden und das Board wieder voll funktionstüchtig sein