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.

RTOS/PROCESSOR-SDK-AM57X: can not build example-applications/big-data-ipc-demo

Part Number: PROCESSOR-SDK-AM57X

Tool/software: TI-RTOS

kevin@ubuntu:/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00$ 
kevin@ubuntu:/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00$ make all
#
# Making host_bios/simple_buffer_example...
make -C host_bios/simple_buffer_example all
make[1]: Entering directory '/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00/host_bios/simple_buffer_example'

make[1]: Leaving directory '/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00/host_bios/simple_buffer_example'
kevin@ubuntu:/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00$ make host_linux

# Making host_linux/simple_buffer_example...
make -C host_linux/simple_buffer_example all
make[1]: Entering directory '/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00/host_linux/simple_buffer_example'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00/host_linux/simple_buffer_example'
kevin@ubuntu:/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00$ make host_bios
#
# Making host_bios/simple_buffer_example...
make -C host_bios/simple_buffer_example all
make[1]: Entering directory '/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00/host_bios/simple_buffer_example'

make[1]: Leaving directory '/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00/host_bios/simple_buffer_example'
kevin@ubuntu:/opt/ti-processor-sdk-linux-am57xx-evm-05.00.00.15/example-applications/big-data-ipc-demo-linux-01.01.00.00$

  • Shihao, thanks for your post, our response may be delayed due the holidays.
  • Which Processor SDK RTOS SDK version is this?

    You should install both Processor SDK RTOS & CCS in your home directory: ~/ti, as the installer suggests, NOT in /opt/ti. You may encounter access rights issues when your sdk is in /opt. Also you should run the pdksetupenv.sh before building anything in the Processor SDK RTOS.

    Best Regards,
    Yordan
  • Hi Yordan,

    I reinstalled the processor sdk and ccs in my home directory ~/ti, and then enter into source setup.sh.

    drwxrwxr-x  9 kevin kevin      4096 Jan  6 00:41 ./
    drwxrwxr-x 34 kevin kevin      4096 Jan  5 23:57 ../
    drwxr-xr-x  2 kevin kevin      4096 Jan  5 23:55 bin/
    drwxr-xr-x  6 kevin kevin      4096 Oct  6 05:09 board-support/
    drwxr-xr-x  3 kevin kevin      4096 Oct  6 05:16 docs/
    drwxr-xr-x 23 kevin kevin      4096 Oct  6 05:13 example-applications/
    drwxr-xr-x  2 kevin kevin      4096 Oct  6 05:24 filesystem/
    -rw-rw-r--  1 kevin kevin        86 Jan  6 00:02 .gdbinit
    drwxrwxr-x  3 kevin kevin      4096 Jan  5 23:55 linux-devkit/
    -rwxr-xr-x  1 kevin kevin 680945991 Oct  6 05:27 linux-devkit.sh*
    -rwxr-xr-x  1 kevin kevin     47586 Oct  6 01:31 Makefile*
    -rwxr-xr-x  1 kevin kevin      1487 Jan  6 00:02 Rules.make*
    -rwxr-xr-x  1 kevin kevin      4188 Oct  6 01:31 setup.sh*
    -rw-rw-r--  1 kevin kevin        74 Jan  6 00:02 .targetfs
    drwxr-xr-x 21 kevin kevin      4096 Oct  6 04:24 targetNFS/
    -rw-rw-r--  1 kevin kevin        10 Jan  6 00:41 .tftproot
    kevin@ubuntu:~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11$ source setup.sh

    The result is ok.  then I make in this directory, the result is also ok.

    after all those operations above, I enter into directory:

    :~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00$

    kevin@ubuntu:~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00$ ll
    total 24
    drwxr-xr-x  4 kevin kevin 4096 Jan  5 23:56 ./
    drwxr-xr-x 23 kevin kevin 4096 Oct  6 05:13 ../
    drwxr-xr-x  3 kevin kevin 4096 Oct  5 23:06 host_bios/
    drwxr-xr-x  3 kevin kevin 4096 Oct  5 23:06 host_linux/
    -rwxr-xr-x  1 kevin kevin 2967 Jan  5 23:56 makefile*
    -rw-r--r--  1 kevin kevin 1746 Jan  5 23:56 readme.txt
    kevin@ubuntu:~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00$ make help
    make all        # build all examples
    make host_bios  # build all host bios examples
    make host_linux  # build all host linux examples
    make clean      # clean all examples (does not delete them)
    make       # clean all examples (does not delete them)

    kevin@ubuntu:~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00$ make host_bios
    #
    # Making host_bios/simple_buffer_example...
    make -C host_bios/simple_buffer_example all
    make[1]: Entering directory '/home/kevin/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00/host_bios/simple_buffer_example'

    make[1]: Leaving directory '/home/kevin/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00/host_bios/simple_buffer_example'
    kevin@ubuntu:~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00$ make
    #
    # Making host_bios/simple_buffer_example...
    make -C host_bios/simple_buffer_example all
    make[1]: Entering directory '/home/kevin/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00/host_bios/simple_buffer_example'

    make[1]: Leaving directory '/home/kevin/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00/host_bios/simple_buffer_example'
    kevin@ubuntu:~/ti/ti-processor-sdk-linux-rt-am57xx-evm-05.01.00.11/example-applications/big-data-ipc-demo-linux-01.02.00.00$

    I cannot build this example. why?

    thank you in advance,

  • I can build it now. thank you yordan.

  • Take the time to study the readme.txt file in big-data-ipc-demo-linux-01.02.00.00/ folder . You will find out that in order to build this example you also need the processor SDK RTOS installed. You also need to set a bunch of environment variables:

    Build procedure: host_bios
    ===========================
    The examples are integrated into the top level make of the SDK for ease of use.

    But in case of building this example separately:

    The following commandline can be used to build the example
    with the appropriate paths set from the top directory.

    PLATFORM=<platform_name> \
    XDC_INSTALL_DIR="<xdc_install_dir>" \
    BIOS_INSTALL_DIR="<bios_install_dir>" \
    IPC_INSTALL_DIR="<ipc_install_dir>" \
    PDK_INSTALL_DIR="<pdk_install_dir>" \
    env gnu.targets.arm.A15F="<A15_tools_dir>" \
    env ti.targets.elf.C66="<c66_tools_dir>"\
    BOARD_NAME=<board_name> \
    make host_bios

    or
    The corresponding example products.mak can be updated with the paths
    for the various components and the individual examples can be built
    separately.

    Best Regards,
    Yordan