Если требуется изменить параметры инициализации портов (например включить режим RS485) - смотрим в arch/arm/mach‑at91rm9200/devices.c. Там находится код инициализации уартов.
2. В файле arch/arm/mach‑at91rm9200/board‑dk.c надо поправить строчку описания машины.
Иначе на EVM9200 не запустится и будет орать о неверном коде платформы: поменять:
> Error: unrecognized/unsupported machine ID (r1 = 0x000000fb).
>
> Available machine support:
>
> ID (hex) NAME
> 00000106 Atmel AT91RM9200-DK
> 000002c1 Atmel AT91RM9200-EK
this kind of error message happens if the machine ID which is set
in U-Boot doesn't match the kernel's ID(s). Unfortunately a
standard U-Boot sets the machine ID on AT91RM9200DK boards not to
MACH_TYPE_AT91RM9200DK but to the generic MACH_TYPE_AT91RM9200.
You can either this in board/at91rm9200dk/at91rm9200dk.c; I would
recommend to obtain a new machine ID and create your own U-Boot
board type, using board/at91rm9200dk as a template. The list of
machine IDs can be found in include/asm-arm/mach-types.h.
The Linux kernel has to be changed accordingly to the above machine
ID. There you can find the information in
arch/arm/tools/mach-types
arch/arm/boot/compressed/head-at91rm9200.S
arch/arm/mach-at91rm9200/board-dk.c
3. Если хочется использовать две Dataflash на плате - то первую вешаем на CS0 (с нее будет идти загрузка). Вторую вешаем на CS3. Для поддержки второй флэшки надо включить поддержку "Dataflash Card" в ядре.