beautypg.com

4 linux, Environment on windows, Ktt20/pitx software guide – Kontron KTT20-pITX User Manual

Page 35

background image

KTD-S0045-D

Page 31

U-Boot Compilation


KTT20/pITX Software Guide

#ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f (void)
{

int uart_ids = 0;

// bit mask of which UART ids to enable


#ifdef CONFIG_TEGRA2_ENABLE_UARTA

uart_ids |= UARTA;

#endif
#ifdef CONFIG_TEGRA2_ENABLE_UARTB

uart_ids |= UARTB;

#endif
#ifdef CONFIG_TEGRA2_ENABLE_UARTC

uart_ids |= UARTC;

#endif

...........


Add some entries to 'include/configs/harmony.h. For example:

#define CONFIG_TEGRA2_ENABLE_UARTA
#define CONFIG_TEGRA2_ENABLE_UARTB
#define CONFIG_TEGRA2_ENABLE_UARTC
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTC_BASE
#define CONFIG_SYS_NS16550_COM2 NV_PA_APB_UARTA_BASE
#define CONFIG_SYS_NS16550_COM3 NV_PA_APB_UARTB_BASE

8.4

Linux

®

Environment on Windows

®

If you want to implement a Linux

®

environment on a Windows

®

operating system the ORACLE

®

VirtualBox

®

is a good solution. For further information see

https://www.virtualbox.org/

VirtualBox

®

supports all USB interfaces from the host and configures the guest operating system with a

virtual USB controller. Likely there are some exceptions, for example the access to the

Client Port Driver

(CPD)

.


This manual is related to the following products: