Compiling atca-n700 s/w package - np, Patching, Build – ADLINK aTCA-N700 User Manual
Page 20

aTCA-N700 SW Users Guide
14
Run as described below to build LMP images. After build process, three target images
(LMP U-Boot, dtb, linux kernel uImage) will be located in the ${QORIQ_BSP}/target
directory. Ramdisk rootfilesystem file will be located in the ${QORIQ_BSP}.
#
make binpack
#
make rfs
#
ls ${QORIQ_BSP}/target/boot
aTCA-N700.dtb U-Boot.bin uImage
#
ls ${QORIQ_BSP}/rootfs.ext2.gz.uboot
3.2.3. Compiling aTCA-N700 S/W package - NP
3.2.3.1. Patching
Copy all source packages released by ADLINK to your NP build directory. (In this case:
/home/yglim/work/OCTEON-SDK-2.3.0), and untar them.
# tar xzf aTCA-N700_sw-package_v0.0.1.np-bsp.tgz
# tar xzf aTCA-N700_sw-package_v0.0.2.np-bsp.tgz
# for i in `ls octeon.*.patch`; do patch -p0 < $i; mv $i $i.done; done
3.2.3.2. Build
Environment variables described below should be configured. ${PATH} and
${OCTEON_ROOT} should be configured properly as your build environment.
source env-setup OCTEON_CN68XX_PASS2_1
export OCTEON_CPPFLAGS_GLOBAL_ADD="-
DUSE_RUNTIME_MODEL_CHECKS=1 -
DCVMX_ENABLE_PARAMETER_CHECKING=0 -
DCVMX_ENABLE_CSR_ADDRESS_CHECKING=0 -
DCVMX_ENABLE_POW_CHECKS=0"
export PATH=/home/yglim/work/OCTEON-SDK-
2.3.0/tools/bin:/home/yglim/work/OCTEON-SDK-2.3.0/host/bin:${PATH}
export OCTEON_MODEL=OCTEON_CN68XX_PASS2_1
export OCTEON_ROOT=/home/yglim/work/OCTEON-SDK-2.3.0
Build NP images as below. After build process, three target images (NP U-Boot, linux,
rootfilesystem image) will be located in the directories, as described below