beautypg.com

2 setup build environment, 3 build bsp image – Artesyn COMX-P4080-2G-ENP2 Installation and Use (August 2014) User Manual

Page 61

background image

BSP

COMX-P4080-2G-ENP2 Installation and Use (6806800P63B)

61

7.2.2

Setup Build Environment

1. 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.3

Build BSP Image

Output Directory

By default, the output directory for building BSP images is /local/tmp/.You need to create this
directory and provide full privileges for all users to access. Use the following commands to
create directory and provide privileges:

linux/

linux/ directory contains Linux kernel, rootfs and rootfs building
scripts.

Makefile

Top makefile for building/cleaning all of BSP images for BSP
release. It calls Makefiles and scripts located in sub-directories to
perform the operations.

Makefile-p4080ds

Top makefile for building/cleaning all of BSP images for P4080DS
BSP release. It calls Makefiles and scripts located in sub-
directories to perform the operations.

misc/

misc/ contains FMAN uCode and RCW

u-boot/

U-Boot source code.

Table 7-1 BSP Source Code Package Layout (continued)

File/Directory Name

Description

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