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.

Linux/PROCESSOR-SDK-AM57X: .IPK files install issue

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software: Linux

My issue very closely mirrors the following post, but the solution there did not work for me:

https://e2e.ti.com/support/arm/sitara_arm/f/791/p/572042/2099047

I'm trying to install Python 3.x on the AM572x EVM.  To do so, I've followed all of the summary steps here:

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

...with the exception that I used tisdk-rootfs-image instead of arago-core-tisdk-image.

I then ran the following with the below results:

~/tisdk/build$ MACHINE=am57xx-evm bitbake python3

MACHINE=am57xx-evm bitbake python3
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 2941 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

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.12"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard"
TARGET_FPU        = "hard"
meta-processor-sdk = "HEAD:70283e8e915126b57e30cc7fcf5286a9435c3829"
meta-arago-distro
meta-arago-extras = "HEAD:c0e32cc7615f7483ae3a674221dd633205b28ee3"
meta-qt5          = "HEAD:2b1871f0d139dc3caaa779a32a1931409c245a36"
meta-networking   
meta-ruby         
meta-python       
meta-oe           
meta-gnome        = "HEAD:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-ti           = "HEAD:ed06c3bb58493a40b6fe584251a94f067fc9bdf7"
meta-linaro-toolchain
meta-optee        = "HEAD:2f51d38048599d9878f149d6d15539fb97603f8f"
meta              = "HEAD:ff8c8859434e56894accc5a63980c1b8904eb935"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 608 tasks of which 608 didn't need to be rerun and all succeeded.

Afterwards, I moved the resulting python3* .ipk files from arago-tmp-external-linaro-toolchain/deploy/ipk/armv7ahf-neon/ to a USB drive.  After mounting the drive on the AM572x EVM, I tried installing and got results as shown:

root@am57xx-evm:/media/usb_drive/python3_ipks# opkg install --offline-root . python3-core_3.5.1-r1.0_armv7ahf-neon.ipk
Not selecting python3-core 3.5.1 due to incompatible architecture.
Unknown package 'python3-core'.
Collected errors:
 * opkg_install: Cannot install package python3-core.

When I check the opkg architecture configuration:

root@am57xx-evm:/media/usb_drive/python3_ipks# 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 armv7ahf-vfp 46
arch armv7at2hf-vfp 51
arch armv7ahf-neon 56
arch armv7at2hf-neon 61
arch am57xx_evm 66

The target is running off of an SD card created using the TI Processor SDK 03.03.00.04 create-sdcard.sh's default image.

Why am I not able to install these packages?  Thanks!

-David

  • The software team have been notified. They will respond here.
  • Hi,

    Can you check the bellow announcement and see if there are any other dependencies, that you didn't take care of?
    lists.yoctoproject.org/.../032823.html

    Best Regards,
    Yordan
  • Thanks for the quick response.  I don't see anything that I need to take care of there.  (But then, I don't really recognize any dependencies shown on that announcement at all, so maybe I'm missing something.)

  • Here's a bit more info:

    I have the same problem when trying to install .ipk files using the "man-pages" recipe built the same way.

    Here's example output from using "opkg info":

    root@am57xx-evm:/media/usb_drive/python3_ipks# opkg info python3-core_3.5.1-r1.0_a
    rmv7ahf-neon.ipk
    Package: python3-core
    Version: 3.5.1-r1.0
    Depends: python3-math, python3-codecs, libz1 (>= 1.2.8), python3-re, libpython3.5m
    1.0 (>= 3.5.1), python3-reprlib, python3-io, python3-lang, libc6 (>= 2.21)
    Recommends: python3-readline
    Provides: python3
    Status: unknown ok not-installed
    Section: devel/python
    Architecture: armv7ahf-neon
    Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
    Source: www.python.org/.../Python-3.5.1.tar.xz file://python-c
    onfig.patch file://000-cross-compile.patch file://020-dont-compile-python-files.pa
    tch file://030-fixup-include-dirs.patch file://070-dont-clean-ipkg-install.patch f
    ile://080-distutils-dont_adjust_files.patch file://110-enable-zlib.patch file://13
    0-readline-setup.patch file://150-fix-setupterm.patch file://0001-h2py-Fix-issue-1
    3032-where-it-fails-with-UnicodeDeco.patch file://tweak-MULTIARCH-for-powerpc-linu
    x-gnuspe.patch file://sitecustomize.py file://03-fix-tkinter-detection.patch file:
    //avoid_warning_about_tkinter.patch file://cgi_py.patch file://host_include_contam
    ination.patch file://python-3.3-multilib.patch file://shutil-follow-symlink-fix.pa
    tch file://sysroot-include-headers.patch file://unixccompiler.patch file://avoid-n
    cursesw-include-path.patch file://python3-use-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD
    .patch file://python3-setup.py-no-host-headers-libs.patch file://sysconfig.py-add-
    _PYTHON_PROJECT_SRC.patch file://setup.py-check-cross_compiling-when-get-FLAGS.pat
    ch file://setup.py-find-libraries-in-staging-dirs.patch file://use_packed_importli
    b.patch file://configure.ac-fix-LIBPL.patch file://CVE-2016-1000110.patch
    Description: Python interpreter and core modules
     The Python Programming Language.

    Here's the install command with the verbosity turned up:

    root@am57xx-evm:/media/usb_drive/python3_ipks# opkg install --offline-root . --ver
    bosity=4 python3-core_3.5.1-r1.0_armv7ahf-neon.ipk                              
    pkg_hash_load_feeds:
    pkg_hash_load_status_files:
    opkg_install_cmd: python3-core_3.5.1-r1.0_armv7ahf-neon.ipk
    opkg_prepare_file_for_install: Package python3-core provided by file 'python3-core
    _3.5.1-r1.0_armv7ahf-neon.ipk'.
    pkg_vec_insert_merge: Adding new pkg=python3-core version=3.5.1 arch=armv7ahf-neon
    .
    pkg_info_preinstall_check: Updating file owner list.
    pkg_hash_fetch_best_installation_candidate: Best installation candidate for python
    3-core:
    pkg_hash_fetch_best_installation_candidate: Adding python3-core to providers.
    pkg_hash_fetch_best_installation_candidate: python3-core arch=armv7ahf-neon arch_p
    riority=0 version=3.5.1.
    Not selecting python3-core 3.5.1 due to incompatible architecture.
    Unknown package 'python3-core'.
    opkg_configure_packages: Offline root mode: not configuring unpacked packages.
    write_status_files_if_changed: Nothing to be done.
    hash_table: pkg-hash, 12288 bytes
            n_buckets=1024, n_elements=12, n_collisions=0
            max_bucket_len=0, n_used_buckets=12, ave_bucket_len=1.00
            n_hits=2, n_misses=14
    hash_table: file-hash, 12288 bytes
            n_buckets=1024, n_elements=0, n_collisions=0
            max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
            n_hits=0, n_misses=0
    hash_table: obs-file-hash, 768 bytes
            n_buckets=64, n_elements=0, n_collisions=0
            max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
            n_hits=0, n_misses=0
    Collected errors:
     * opkg_install: Cannot install package python3-core.