How can I build usdpaa-aps ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I build usdpaa-aps ?

Jump to solution
1,209 Views
omer_er
Contributor I

Hello,

I've cloned usdpaa-aps project from git address: git://git.freescale.com/ppc/sdk/usdpaa/usdpaa-apps.git. I run "make" but there were some errors. When I look at the standalone-env file I see some environment variables needs to be set. Which project files do I need ? I already have SDK 2.0 and I've tried to pass its PATH as an SDK_ROOT path, but it didn't work either. In standalone environment file there is a line says:

# SDK_ROOT points to the root of where you cloned SDK super-git.

What is SDK super-git ? I need to change some code in this applications and build it as my own custom application to run on T4240RDB.

Any help will be appreciated.

Thanks.

Labels (1)
Tags (1)
0 Kudos
1 Solution
959 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello ömer faruk er,

Please refer to the following

$source /opt/fsl-qoriq/2.0/environment-setup-ppce6500-fsl-linux

$ export SDK_ROOT=~/QorIQ-SDK-V2.0-20160527-yocto

In file standalone-env, please modify p4080ds as t4240rdb.

$source standalone-env

$ make CC="powerpc-fsl-linux-gcc  -m32 -mhard-float -mcpu=e6500 --sysroot=/home/yiping.wang/QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/sysroots/t2080rdb"

Thanks,

Yiping

View solution in original post

0 Kudos
5 Replies
960 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello ömer faruk er,

Please refer to the following

$source /opt/fsl-qoriq/2.0/environment-setup-ppce6500-fsl-linux

$ export SDK_ROOT=~/QorIQ-SDK-V2.0-20160527-yocto

In file standalone-env, please modify p4080ds as t4240rdb.

$source standalone-env

$ make CC="powerpc-fsl-linux-gcc  -m32 -mhard-float -mcpu=e6500 --sysroot=/home/yiping.wang/QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/sysroots/t2080rdb"

Thanks,

Yiping

0 Kudos
959 Views
omer_er
Contributor I

Thanks for your reply. I am trying to build yocto environment on a offline computer, building yocto on offline computer is so complicated. Is there any way to build usdpaa-apps without yocto ?

Thanks.

0 Kudos
959 Views
yipingwang
NXP TechSupport
NXP TechSupport

You also need to build and install the following dependent packages in "sysroot" environment, if you don't use SDK 2.0 build environment, it would be complex.

DEPENDS = "libxml2 libedit ncurses readline fmc usdpaa dpa-offload libnl"

You could install both source and cache ISOs QorIQ-SDK-V2.0-SOURCE-20160527-yocto.iso and QorIQ-SDK-V2.0-PPCE6500-CACHE-20160527-yocto.iso, no need the online networking to set up SDK 2.0 build environment.

Thanks,

Yiping

0 Kudos
959 Views
omer_er
Contributor I

Thanks for your answers. I can build usdpaa-apps now. But I have another question for usdpaa-apps. I've changed ppac.h file like SDK document said:

#undef PPAC_ORDER_RESTORATION
to;
#define PPAC_ORDER_RESTORATION

for order restoration.

I'am testing ipsecfwd_app on 2 T4240RDB and 2 windows host PC. I send TCP packets from 1 computer to other over T4240RDBs. When I open wireshark on windows PCs I see out of order TCP packets. What I don't understand is order restoration whether restore the packets or should I do some additional changes on the ipsecfwd-app code ?

Thanks.

0 Kudos
959 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please create a new thread for your new question.

0 Kudos