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.

AM3352: Method for adding package on PC.

Part Number: AM3352

Please let me ask a method for adding package on PC.

There are some filesystem image such as "tisdk-base-image-am335x-evm.tar.xz" in "ti-processor-sdk-linux-am335x-evm-07.03.00.005-Linux-x86-Install.bin".

Though developer may be able to add some packages by opkg command on the target board, are there any methods for adding package on the PC ( without using target board ) ?

For example, if I want to install gdb into tisdk-base-image-am335x-evm.tar.xz, can I copy gdb command and dynamic libraries which are linked from gdb in tisdk-default-image-am335x-evm.tar.xz to tisdk-base-image-am335x-evm.tar.xz ? Is this method appropriate ?

  • Hello,

    I would recommend using Yocto/OE to modify what is being built into the images. This would be the best way to make sure things work well and the way the SDK is build from the beginning.

    You can see how the SDK is built from Yocto here:

    https://software-dl.ti.com/processor-sdk-linux/esd/docs/07_03_00_005/linux/Overview_Building_the_SDK.html

    And, you might find this series training useful:

    https://training.ti.com/customizing-yocto-based-linux-distribution-production

  • Thank you for reply.
    I understood that building SDK is the best way.

    On the other hand, I got some error during building SDK.
    My trouble is not only this error, but also bad network condition probably because of telework. So please let you know if I got more detailed information.

    Moreover, I'd like to use a method other than building SDK if possible in order to prevent from SDK build error, because I suppose that other member of our team might meet SDK build error in telework.

    Please let me additional question.
    Can I use opkg command on the target board ?
    If yes, I will be able to use tisdk-base-image-am335x-evm.tar.xz and opkg command, then create new filesystem image from this root directory tree on the target board.

    I'd like to tell you that I mistakenly clicked "Report as abusive" button because I'm not familiar with e2e web page. I tried to cancel this button, it seem that I was not able to cancel .

  • Can I use opkg command on the target board ?

    Yes, you can build IPKs on the host, copy them to the target rootfs and install them using opkg.

    You could then copy the filesystem and use it, theoretically. However, it would probably be easier to have your co-workers install the ipks on their target boards.

    You can use Yocto to build IPKs without building a complete filesystem.

  • When I tried to use opkg command on the TMDSSK3358 which filesystem is tisdk-base-image-am335x-evm.tar.xz, I got error message as shown in the attached file below.

    root@am335x-evm:~# opkg update
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/all/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/any/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/noarch/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5hf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5thf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5ehf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5tehf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv6hf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv6thf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7ahf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7at2hf-vfp/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7ahf-neon/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7at2hf-neon/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Downloading gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/am335x_evm/Packages.gz.
    wget: bad address 'gtbuild.dal.englab.ti.com'
    Collected errors:
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/all/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/any/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/noarch/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5hf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5thf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5ehf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv5tehf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv6hf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv6thf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7ahf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7at2hf-vfp/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7ahf-neon/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/armv7at2hf-neon/Packages.gz, wget returned 1.
     * opkg_download_backend: Failed to download gtbuild.dal.englab.ti.com/arago-src-mirror/pkg_feeds/07.03.00.005//linux/am335x_evm/Packages.gz, wget returned 1.
    root@am335x-evm:~#
    root@am335x-evm:~# opkg install gdb
    Collected errors:
     * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'gdb'.
    root@am335x-evm:~#
    root@am335x-evm:~#

    Firstly, I want to install gdb.
    Could you please how to fix this error message ?

  • Could you give me something reply by today in your time zone ?
    If no reply, I have to wait until next Tuesday (in my time zone JST).

  • Hello,

    I'm sorry, we do not currently host a package repository, so you can't simply download packages built for ARM on the target. You have to either build them on the target or the Host (cross-compile) and transfer them to the target where they can be installed. That's why I said to build the IPKs on the host using Yocto and transfer them to the targets where they can be installed.

  • Thank you for reply.
    I'll build SDK instead of opkg command.