beautypg.com

5 bsp source code package, 1 de-compose source code package, Table 7-2 – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual

Page 96: Bsp source code package layout

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95C)

96

7. Execute the cd /unixopt/sdk1.0/QorIQ-DPAA-SDK-20110609-

systembuilder

command.

8. Create a PDK project for P4080DS using the following command:

./scripts/create-config.py --config-file=fsl-p4080ds/sample-

create-config.ini

9. Setup cross-compile environment using the source

build_p4080ds_release/bitbake.rc

command.

10. Build Freescale P4080DS BSP images for building test using the bitbake devel-image

command.

7.5

BSP Source Code Package

7.5.1

De-Compose Source Code Package

Copy the COMX-P4080-2G-ENP2 released BSP source code package
COMX_P4080_SRC_.tar.gz

to the build host and un-compress it in

current directory:

tar xzvf COMX_P4080_SRC_.tar.gz

There will be a newly-created folder named P4080 which contains SCP-P4080-2G-ENP2 source
code.

Table 7-2 BSP Source Code Package Layout

File/Directory Name

Description

build.sh

Top script for building all of BSP images for BSP release. It calls Makefile
to perform the operations.

clean.sh

Top script for cleaning all of BSP images and temporary objects for BSP
release. It calls Makefile to perform the operations.

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.