LSDK 18.09 for LS2088A

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

LSDK 18.09 for LS2088A

3,179 Views
pradeep_t
Contributor III

Hi ,

We are using LSDK 18.09 for LS2088A processor, we are facing issue while compilation in Ubuntu 18.04 its using JDK 11 but in 11 some of functions are absolute.below is error 

/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:37: error: package javax.xml.bind does not exist
import javax.xml.bind.DatatypeConverter;
^
/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:123: error: cannot find symbol
System.out.println("Mask hex: " + DatatypeConverter.printHexBinary(reply.mask));
^
symbol: variable DatatypeConverter
location: class L2AclExample
/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:135: error: cannot find symbol
System.out.println("Match hex: " + DatatypeConverter.printHexBinary(detail.match));
^
symbol: variable DatatypeConverter
location: class L2AclExample
3 errors
1 warning
Makefile:1265: recipe for target 'jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h' failed
make[6]: *** [jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h] Error 1
make[6]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp/vpp-api/java'
Makefile:7933: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'
Makefile:4037: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp'
Makefile:686: recipe for target 'vpp-build' failed
make[3]: *** [vpp-build] Error 2
make[3]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root'
/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-data/platforms.mk:20: recipe for target 'install-deb' failed
make[2]: *** [install-deb] Error 1
make[2]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps/vpp/build-root'
Makefile:105: recipe for target 'vpp' failed
make[1]: *** [vpp] Error 2
make[1]: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809/packages/apps'
Makefile:24: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/pradi/project_vvdn/wsyu/test/flexbuild_lsdk1809'

Labels (1)
Tags (1)
0 Kudos
14 Replies

2,429 Views
651080691
Contributor II

We get the same error when build lsdk18.09 with ls1046ardb.

1) Build enviroment

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

# uname -a
Linux xxx-pc2 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

2) Build steps

tar -xvf flexbuild_lsdk1809.tgz
cd ./flexbuild_lsdk1809
source setup.env
flex-builder -m ls1046ardb -a arm64

3) Build error

1 warning
warning: [options] 未与 -source 8 一起设置引导类路径
./flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:37: 错误: 程序包javax.xml.bind不存在
import javax.xml.bind.DatatypeConverter;
^
./flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:123: 错误: 找不到符号
System.out.println("Mask hex: " + DatatypeConverter.printHexBinary(reply.mask));
^
符号: 变量 DatatypeConverter
位置: 类 L2AclExample
./flexbuild_lsdk1809/packages/apps/vpp/build-data/../src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/L2AclExample.java:135: 错误: 找不到符号
System.out.println("Match hex: " + DatatypeConverter.printHexBinary(detail.match));
^
符号: 变量 DatatypeConverter
位置: 类 L2AclExample
3 个错误
1 个warning
Makefile:1265: recipe for target 'jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h' failed
make[6]: *** [jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h] Error 1
make[6]: leave directory “./flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp/vpp-api/java”
Makefile:7933: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: leave directory “./flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp”
Makefile:4037: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: leave directory “./flexbuild_lsdk1809/packages/apps/vpp/build-root/build-dpaa-aarch64/vpp”
Makefile:686: recipe for target 'vpp-build' failed
make[3]: *** [vpp-build] Error 2
make[3]: leave directory “./flexbuild_lsdk1809/packages/apps/vpp/build-root”
./flexbuild_lsdk1809/packages/apps/vpp/build-data/platforms.mk:20: recipe for target 'install-deb' failed
make[2]: *** [install-deb] Error 1
make[2]: leave directory “./flexbuild_lsdk1809/packages/apps/vpp/build-root”
Makefile:105: recipe for target 'vpp' failed
make[1]: *** [vpp] Error 2
make[1]: leave directory “./flexbuild_lsdk1809/packages/apps”
Makefile:24: recipe for target 'apps' failed
make: *** [apps] Error 2
make: leave directory “./flexbuild_lsdk1809”

0 Kudos

2,429 Views
Pavel
NXP Employee
NXP Employee

Try to install also LSDK packages for ARM32.

Use the following command sequence:

 

$ sudo apt-get install git

$ tar xvzf flexbuild_lsdk1809.tgz

$ cd flexbuild

$ source setup.env

 

// ARM64

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/app_components_arm64.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/bootpartition_arm64_lts_4.14.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/arm64-modules-4.14.67.tgz       

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/bootpartition_arm64_lts_4.9.tgz 

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/arm64-modules-4.9.124.tgz

 

flex-builder -i mkrfs -a arm64

 

tar xvzf app_components_arm64.tgz -C build/apps

sudo tar xvzf arm64-modules-4.14.67.tgz -C build/rfs/rootfs_ubuntu_bionic_arm64/lib/modules

flex-builder -i compressrfs -a arm64

sudo tar xvzf arm64-modules-4.9.124.tgz -C build/rfs/rootfs_ubuntu_bionic_arm64/lib/modules

 

flex-builder -c linux -a arm64

 

flex-builder -i merge-component -a arm64

 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

// ARM32

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/app_components_arm32.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/bootpartition_arm32_lts_4.14.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/arm32-modules-4.14.67.tgz

flex-builder -i mkrfs -a arm32

tar xvzf app_components_arm32.tgz -C build/apps

sudo tar xvzf arm32-modules-4.14.67.tgz -C build/rfs/rootfs_ubuntu_bionic_arm32/lib/modules

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/bootpartition_arm32_lts_4.9.tgz

wget http://www.nxp.com/lgfiles/sdk/lsdk1809/arm32-modules-4.9.124.tgz

sudo tar xvzf arm32-modules-4.9.124.tgz -C build/rfs/rootfs_ubuntu_bionic_arm32/lib/modules

 

flex-builder -c linux -a arm32

 

flex-builder -i merge-component -a arm32

 

flex-builder -m ls2088ardb -a arm64 


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:

This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------

0 Kudos

2,429 Views
pradeep_t
Contributor III

Hi Pavel,

we are following below procedure for compilation of lsdk 18.09 in this we are getting VPP package error (vpp/jvpp/core/examples/L2AclExample.java:37: error: package javax.xml.bind does not exist) in Ubuntu 18.04

# source setup.env

# flex-builder -m ls2088ardb -a arm64 

0 Kudos

2,429 Views
Pavel
NXP Employee
NXP Employee

We did not meet VPP problem using LSDK under Ubuntu 18.04.


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:

This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------

0 Kudos

2,429 Views
pradeep_t
Contributor III

HI Pavel,

What is the use of VPP in LSDK 18.09, can we comment and use the images, will it degrade any performance in DPDK 

0 Kudos

2,429 Views
pradeep_t
Contributor III

Hi Pavel,

Same steps we followed for lsdk 18.09 but still we are getting error in vpp packages, if we comment vpp in Makefile we are able to compile.

0 Kudos

2,429 Views
Pavel
NXP Employee
NXP Employee

I have tested this BSP using Ubuntu 18.04 under new Virtual machine.

The following commands were used for LSDK 1806 installing and building:

tar xvzf flexbuild_lsdk1806.tgz

 

source setup.env

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1806/app_components_arm64.tgz

 

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1806/bootpartition_arm64_lts_4.14.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1806/arm64-modules-4.14.47.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1806/bootpartition_arm64_lts_4.9.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1806/arm64-modules-4.9.105.tgz

 

flex-builder -i mkrfs -a arm64

 

tar xvzf app_components_arm64.tgz -C build/apps

 

tar xvzf app_components_arm64.tgz -C build/apps

 

sudo tar xvzf arm64-modules-4.9.105.tgz -C build/rfs/rootfs_ubuntu_bionic_arm64/lib/modules

 

flex-builder -c linux -a arm64

 

flex-builder -i merge-component -a arm64

 

flex-builder -i compressrfs -a arm64


Have a great day,
Pavel Chubakov

0 Kudos

2,430 Views
pradeep_t
Contributor III

Hi Pavel,

Tried installing LSDK 18.06 again but issue remains same.

Are you facing the same issue with Ubuntu 18.04 and LSDK 18.06 

0 Kudos

2,430 Views
Pavel
NXP Employee
NXP Employee

Try to install LSDK again on your Ubuntu.


Have a great day,
Pavel Chubakov

0 Kudos

2,433 Views
pradeep_t
Contributor III

HI Pavel,

Before 2-3 day we are able to compile LSDK 18.09 in same System but after some update in Ubuntu we are facing the issue, even if we do it from scratch again it showing the same error 

0 Kudos

2,433 Views
pradeep_t
Contributor III

Hi Pavel,

Thank you for support, is this same for LSDK 18.09 also

0 Kudos

2,433 Views
Pavel
NXP Employee
NXP Employee

It looks like that LSDK 1903 is not fully installed.

Use the following command sequence for LSDK installing:

 

$ source setup.env

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1903/app_components_LS_arm64.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1903/bootpartition_LS_arm64_lts_4.19.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1903/lib_modules_LS_arm64_4.19.26.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1903/bootpartition_LS_arm64_lts_4.14.tgz

 

wget http://www.nxp.com/lgfiles/sdk/lsdk1903/lib_modules_LS_arm64_4.14.104.tgz

 

  1. Generate NXP LSDK userland, untar the prebuilt components tarball, and merge them into target userland.
  • Generate LSDK Ubuntu-based arm64 userland.

$ flex-builder -i mkrfs -a arm64

  • Extract app components.

$ tar xvzf app_components_LS_arm64.tgz -C build/apps

  • Extract kernel modules (e.g., cryptodev).

$ sudo tar xvzf lib_modules_LS_arm64_4.14.104.tgz -C build/rfs/rootfs_lsdk_19.03_LS_arm64/lib/modules

$ sudo tar xvzf lib_modules_LS_arm64_4.19.26.tgz -C build/rfs/rootfs_lsdk_19.03_LS_arm64/lib/modules

 

flex-builder -m ls2088ardb -a arm64


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:

This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------

0 Kudos

2,433 Views
Pavel
NXP Employee
NXP Employee

Are there errors if LSDK 1903 is used? See the following page:

https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-too...

 

LSDK documentation does not have examples for JDK compilation.

What command sequence is used for JDK compilation?


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

2,433 Views
pradeep_t
Contributor III

Hi Pavel,

We are not compiling JDK, we are compiling LSDK 18.09 using below commands

source setup.env

flex-builder -m ls2088ardb -a arm64

Our requirement to use LSDK 18.09, since some boot sequence is updated in LSDK 19.03

0 Kudos