This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IPC install problem

Other Parts Discussed in Thread: OMAPL138

Hello,

I am following the steps in the IPC Install Guide Linuxand have become stuck at the ipc-bios.mak step. The previous steps complete successfully, however the command to build ipc-nios fails. I've copied the error message and products.mak below.

[rpreston@local-pc ipc_3_22_00_05]$ make -f ipc-bios.mak all building ipc packages ... making all: Fri Jun 13 10:16:43 EDT 2014 ... ======== .interfaces [./packages/ti/grcm/] ======== making package.mak (because of package.bld) ... js: "/home/rpreston/ti/ipc_3_22_00_05/ipc-bios.bld", line 160: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'gnu.targets.arm' along the path: '/home/rpreston/ti/bios_6_37_00_20/packages;/home/rpreston/ti/xdctools_3_30_02_35_core_eng/packages;../..;'. Ensure that the package path is set correctly. gmake[1]: *** No rule to make target `package.mak', needed by `.interfaces'. Stop. gmake: *** [packages/ti/grcm/,.interfaces] Error 2 make: *** [all] Error 2

Products.mak :

#
#   Copyright (c) 2012-2014, Texas Instruments Incorporated
#
#   Redistribution and use in source and binary forms, with or without
#   modification, are permitted provided that the following conditions
#   are met:
#
#   *  Redistributions of source code must retain the above copyright
#      notice, this list of conditions and the following disclaimer.
#
#   *  Redistributions in binary form must reproduce the above copyright
#      notice, this list of conditions and the following disclaimer in the
#      documentation and/or other materials provided with the distribution.
#
#   *  Neither the name of Texas Instruments Incorporated nor the names of
#      its contributors may be used to endorse or promote products derived
#      from this software without specific prior written permission.
#
#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
#   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
#   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
#   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
#   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
#   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#   OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
#   EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#  ======== products.mak ========
#

# Note that these variables can be explicitly set here or on the command line.
# If you want to use variables in the environment, see the GNU make manual's
# -e option:  http://www.gnu.org/software/make/manual/make.html#Environment

# Optional: recommended to install all dependent components in one folder.
#
#DEPOT = _your_depot_folder_
DEPOT = /home/rpreston

# Platform to build for
#   Supported platforms (choose one):
#       OMAPL138, OMAP54XX, DRA7XX, 66AK2E, TCI6630, TCI6636, TCI6638
#
# Note, this is used for Linux, QNX and BIOS builds
#
PLATFORM = TCI6638

# Destination when installing the built binaries
#
# Note, this is used for Linux (if you use ipc-linux.mak to run the
# configure command), QNX and BIOS.
#
DESTDIR =


#################### IPC Linux ####################

# Set up required cross compiler path for IPC Linux configuration and build
#
TOOLCHAIN_LONGNAME = arm-linux-gnueabihf
#TOOLCHAIN_LONGNAME = arm-none-linux-gnueabi
#TOOLCHAIN_INSTALL_DIR = $(DEPOT)/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3
TOOLCHAIN_INSTALL_DIR = $(DEPOT)/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux
TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)-

# Path to Linux Kernel - needed to build the IPC user libraries
#
KERNEL_INSTALL_DIR = /var/lib/nfsdir/rpreston/usr/include

# Optional: Path to DRM Library
#
DRM_PREFIX = $(DEPOT)/ti/libdrm-2.4.42

# Optional: Path to TI Linux Utils product
#
CMEM_INSTALL_DIR = $(DEPOT)/arago-2013.12/sysroots/cortexa15hf-vfp-neon-3.8-oe-linux-gnueabi/usr/lib/


#################### IPC QNX ####################

# Path to QNX tools installation
#
QNX_INSTALL_DIR =


#################### IPC Bios ####################

# Path to required dependencies for IPC BIOS builds
#
XDC_INSTALL_DIR = $(DEPOT)/ti/xdctools_3_30_02_35_core_eng
BIOS_INSTALL_DIR = $(DEPOT)/ti/bios_6_37_00_20

# Do you want to build SMP-enabled libraries (if supported for your target)?
# Set to either 0 (disabled) or 1 (enabled)
#
BIOS_SMPENABLED=1

# Path to various cgtools
#
ti.targets.C28_large =
ti.targets.C28_float =

ti.targets.elf.C64P =
ti.targets.elf.C64P_big_endian =
ti.targets.elf.C64T =
ti.targets.elf.C66 =
ti.targets.elf.C66_big_endian =
ti.targets.elf.C674 =

ti.targets.arm.elf.Arm9 =
ti.targets.arm.elf.A8F =
ti.targets.arm.elf.A8Fnv =
ti.targets.arm.elf.M3 =
ti.targets.arm.elf.M4 =
ti.targets.arm.elf.M4F =

ti.targets.arp32.elf.ARP32 =
ti.targets.arp32.elf.ARP32_far =

gnu.targets.arm.A8F =
#gnu.targets.arm.A15F = $(DEPOT)/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_7-2013q3
gnu.targets.arm.A15F = $(DEPOT)/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux

  • Ralph Preston said:
    XDC_INSTALL_DIR = $(DEPOT)/ti/xdctools_3_30_02_35_core_eng

    Ralph,

    Is there a 'packages' subdirectory under your xdctools_3_30_02_35_core_eng directory?

    If so, is there the path gnu/targets/arm under the packages subdirectory?

    I get the sense that you don't have the right package installed for XDC.  I wonder about the 'core' in the version name, I'm not used to seeing that.  Please check that you're pointing to the right 'xdctools*' place.

    Regards,

    - Rob

     

  • Hi Rob,

    Thank you! The build is now progressing...hasn't completed yet, but the fact that it's taking as long as it is, is a good sign.

    My system has three xdctools_xxxx directories. I believe two of them were installed through eclipse updates, and one was installed by xdctools_setuplinux_xxx.bin. One of them ended with _core and the other _core_eng, neither had the gnu directory under packages. I changed XDC_INSTALL_DIR to the oldest version (the one installed by the installer) and changed my target to ti.targets.elf.C66, instead of gnu.targets.arm.A15F.

    The build just finished. I now have an assortment of .xe66 files. Now to figure out what to do with them...

    Ralph