beautypg.com

6 basic environment variable settings, 1 setup build environment, 2 network variables – Artesyn COMX-P40x0 ENP2 Installation and Use (August 2014) User Manual

Page 87: 1 setup build environment 7.6.2 network variables

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95B)

87

7.6

Basic Environment Variable Settings

7.6.1

Setup Build Environment

If Freescale SDK1.0 is used as build tool, and the host linux is 32 bit, modify the Makefile
and set the environment variant PPC_TOOL_PATH as below:
SDK_INSTALL_PATH ?= /unixopt/sdk1.0/QorIQ-DPAA-SDK-20110609-

systembuilder

PPC_TOOL_PATH ?= $(SDK_INSTALL_PATH)/freescale-

2010.09/bin:$(SDK_INSTALL_

PATH)/build_p4080ds_release/sysroots/i686-linux/usr/bin

7.6.2

Network Variables

This table lists example network u-boot environment variables to establish a network
connection. By default, the factory sets up 10 MAC addresses in the ID EEPROM and u-boot will
establish corresponding "ethXaddr" variables automatically.

u-boot/

U-Boot source code.

Table 7-2 BSP Source Code Package Layout

File/Directory Name

Description

The build tool is not verified with SDK1.0 at 64bit Linux host.

Network Variables

setenv ipaddr

192.168.0.91

setenv netmask

255.255.255.0

setenv gatewayip

192.168.0.1

setenv serverip

192.168.0.100