Build – ADLINK aTCA-N700 User Manual

Page 19

Advertising
background image

aTCA-N700 SW Users Guide

13

Basic RFS file name should be

fsl-image-core-aTCA-N700-

20121213061548.rootfs.tar.gz

# mv fsl-rfs-core.gz fsl-image-core-aTCA-N700-20121213061548.rootfs.tar.gz

ls
contrib files
scriptsVERSION
ipmitool-1.8.11 sdk-xgs-robo-5.11.0
linux-qoriq-sdk-3.0.48-r5 target
Makefile U-Boot-2011.09
naboma README
fsl-image-core-aTCA-N700-20121213061548.rootfs.tar.gz



3.2.2.2. Build


Environment variables described below should be configured. ${QORIQ_SDK} and
${QORIQ_BSP} should be configured properly as your build environment.



export QORIQ_SDK=/home/yglim/work/QorIQ-SDK-V1.3-20121114-yocto
export QORIQ_BSP=/home/yglim/work/QorIQ-SDK-V1.3.aTCA-N700

export
QORIQ_SYSROOT=${QORIQ_SDK}/build_p2041rdb_release/tmp/sysroots/p2041rdb
export
QORIQ_TOOLCHAIN_INCLUDE=${QORIQ_SDK}/build_p2041rdb_release/tmp/sysroots/x
86_64-linux/usr/lib/ppce500mc-fsl-linux/gcc/powerpc-fsl-
linux/4.6.2/include
export QORIQ_BSP_WORK_BASE=${QORIQ_BSP}

export PATH=${QORIQ_SDK}/build_p2041rdb_release/tmp/sysroots/x86_64-
linux/usr/bin/ppce500mc-fsl-
linux:${QORIQ_SDK}/scripts:${QORIQ_SDK}/bitbake/bin/:${PATH}

export CROSS_COMPILE=powerpc-fsl-linux-
export ARCH=powerpc
export CPP="${CROSS_COMPILE}gcc -E --sysroot=$QORIQ_SYSROOT"
export LD="${CROSS_COMPILE}ld --sysroot=$QORIQ_SYSROOT"
export AR="${CROSS_COMPILE}ar"
export RANLIB="${CROSS_COMPILE}ranlib"
export CCLD="${CROSS_COMPILE}gcc -mcpu=e500mc -maix-struct-return --
sysroot=$QORIQ_SYSROOT"
export F77="${CROSS_COMPILE}g77 -mcpu=e500mc -maix-struct-return --
sysroot=$QORIQ_SYSROOT"
export CC="${CROSS_COMPILE}gcc -mcpu=e500mc -maix-struct-return --
sysroot=$QORIQ_SYSROOT"
export TOOLCHAIN_OPTIONS="--sysroot=$QORIQ_SYSROOT"
export CXX="${CROSS_COMPILE}g++ -mcpu=e500mc -maix-struct-return --
sysroot=$QORIQ_SYSROOT"

Advertising