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.

Compiler/PROCESSOR-SDK-AM57X: Building SDK components issue

Part Number: PROCESSOR-SDK-AM57X

Tool/software: TI C/C++ Compiler

Hi There,

I have recently tried rebuilding some of the Processor SDK Components from source following the steps in the following article:

http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK

The build complete successfully using the following command:

MACHINE=am57xx-evm bitbake php

Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am57xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2016.10"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:3678d672c9c47a646897286281d4260ac4ace960"
meta-arago-distro
meta-arago-extras = "HEAD:76381bbc10b93ffc6c014154814872b170b93796"
meta-qt5 = "HEAD:2b1871f0d139dc3caaa779a32a1931409c245a36"
meta-networking
meta-ruby
meta-python
meta-oe
meta-gnome = "HEAD:851a064b53dca3b14dd33eaaaca9573b1a36bf0e"
meta-ti = "HEAD:d8aa76970a0ba48762c631dfd79dbed49222373b"
meta-linaro-toolchain
meta-optee = "HEAD:9b616ce6d4293387d254f36800389b2910895420"
meta = "HEAD:28da89a20b70f2bf0c85da6e8af5d94a3b7d76c9"

NOTE: Preparing RunQueue
WARNING: /home/mark/tisdk/sources/meta-openembedded/meta-oe/recipes-devtools/php/php_5.6.23.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: php-5.6.23-r0.arago1 do_package: QA Issue: php: Files/directories were installed but not shipped in any package:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/php-fpm.service
/etc/php-fpm.conf
/etc/apache2
/etc/init.d
/etc/apache2/conf.d
/etc/apache2/conf.d/php-fpm.conf
/etc/init.d/php-fpm
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
php: 10 installed and not shipped files. [installed-vs-shipped]
WARNING: php-5.6.23-r0.arago1 do_package_qa: QA Issue: php-cgi rdepends on libcurl, but it isn't a build dependency, missing curl in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: php-5.6.23-r0.arago1 do_package_qa: QA Issue: php-cli rdepends on libcurl, but it isn't a build dependency, missing curl in DEPENDS or PACKAGECONFIG? [build-deps]
NOTE: Tasks Summary: Attempted 933 tasks of which 893 didn't need to be rerun and all succeeded.

Summary: There were 5 WARNING messages shown.

However when trying to install the ipk package files on the target, I get the following errors:

root@am57xx-evm:/installation-pkgs# opkg install --force-reinstall php-cgi_5.6.23-r0.arago1_armv7ahf-neon.ipk
Not selecting php-cgi 5.6.23 due to incompatible architecture.
Package php-cgi (5.6.18-r0.arago1.15) installed in root is up to date.

root@am57xx-evm:/installation-pkgs# opkg print-architecture
arch all 1
arch any 6
arch noarch 11
arch armv5hf-vfp 16
arch armv5thf-vfp 21
arch armv5ehf-vfp 26
arch armv5tehf-vfp 31
arch armv6hf-vfp 36
arch armv6thf-vfp 41
arch armv7vehf-vfp 46
arch armv7vet2hf-vfp 51
arch armv7vehf-neon 56
arch armv7vet2hf-neon 61
arch cortexa15hf-vfp 66
arch cortexa15hf-neon 71
arch cortexa15t2hf-vfp 76
arch cortexa15t2hf-neon 81
arch am57xx_evm 86

It appears the default TUNE_FEATURES for this build targets an unsupported architecture: armv7a, but I am not familiar with how to modify this and would have expected the architecture to work right out of the box since the build command is targeting the am57xx-evm machine/target directly.

Any help here in getting this build to work on the target board would be much appreciated.

Thanks,

Mark