When I compiled tsntool with flex builder on ubuntu20.04, Found an error unable to access "https://source.codeaurora.org/external/qoriq/qoriq-components/tsntool.git/", I read another post that source.codeaurora.org is out of service, so is there any way to compile tsntool now?
hingw@ubuntu:~/ls1028/flexbuild_lsdk2108$ flex-builder -c tsntool
COMPONENT: tsntool
make: Entering directory '/home/hingw/ls1028/flexbuild_lsdk2108'
make[1]: Entering directory '/home/hingw/ls1028/flexbuild_lsdk2108/packages/apps'
Building tsntool ...
Cloning into '/home/hingw/ls1028/flexbuild_lsdk2108/components/apps/networking/tsntool'...
fatal: unable to access 'https://source.codeaurora.org/external/qoriq/qoriq-components/tsntool.git/': Could not resolve host: source.codeaurora.org
make[1]: *** [/home/hingw/ls1028/flexbuild_lsdk2108/packages/apps/networking/tsntool.mk:11: tsntool] Error 128
make[1]: Leaving directory '/home/hingw/ls1028/flexbuild_lsdk2108/packages/apps'
make: *** [Makefile:25: tsntool] Error 2
make: Leaving directory '/home/hingw/ls1028/flexbuild_lsdk2108'
In addition, I see the tsntool source package on github, the compiler instructions to specify a kernal source path, this path should be filled with what?
1. Libraries requirement
Libraries libnl-3.0, libtermcap, libreadline libcjson are needed.
2. How to compile the tsntool:
2.1 Setup cross compile environment
2.2 Compile binary:
> source source_arm64.sh <dir_to_kernel_source>
> make
The tsntool and libtsn.so will be generated.
Hi @HingWong
LSDK source has been moved from from Code Aurora to GitHub. Please download latest lsdk from below link and build your image.
Thanks
Khushbu
Thanks for your reply! When I click this link, it does not take me to the download page, but to my profile page. It seems like I have no permission to download this LSDK, do I need to apply for NDK?
Hi @HingWong
Please go to below link and click on Download. Login with your credential and you will be able to download LSDK 21.
Thanks
Khushbu
Thanks for your reply!
The problem is with LSDK 2108, please refer to the log I sent earlier. When using
flex-builder -c tsntool
to build tsntool, it still tries to clone the code from source.codeaurora.org. Is the URL in the compilation script not updated?
thanks!
Hi @HingWong
In flexbuild_lsdk2108/configs/sdk.yml file
replace “source.codeaurora.org/external/qoriq/qoriq-components”
with “github.com/nxp-qoriq”
for example for tsntool
https://source.codeaurora.org/external/qoriq/qoriq-components/tsntool.git
would become
https://github.com/nxp-qoriq/tsntool.git
Thanks
Khushbu
Hi @khushbur
Thanks for your support, the problem has been resolved after replacing the URL.