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/AM6548: AM6548 Yocto build

Part Number: AM6548

Tool/software: Linux

Hi

I have problem to do Yocto build for new AM6548 EVM.

I did next steps:

./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-05.01.00.11-config.txt

cd build

. conf/setenv

MACHINE=am65xx-evm bitbake arago-core-tisdk-image

Toolchain is installed on:

/opt/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu

ERROR is:

NOTE: Installing complementary packages ...
NOTE: Running ['oe-pkgdata-util', '-p', '/home/tisdk/build/arago-tmp-external-linaro-toolchain/pkgdata/am65xx-evm', 'glob', '/tmp/installed-pkgsstsaobwh', '']
NOTE: Running intercept scripts:
NOTE: > Executing update_gio_module_cache intercept ...
NOTE: Executing write_package_manifest ...
DEBUG: Executing python function write_package_manifest
DEBUG: Python function write_package_manifest finished
NOTE: Executing license_create_manifest ...
DEBUG: Executing python function license_create_manifest
DEBUG: Python function license_create_manifest finished
NOTE: Executing make_bootfiles_symlinks_relative ...
DEBUG: Executing shell function make_bootfiles_symlinks_relative
/home/tisdk/build/arago-tmp-external-linaro-toolchain/work/am65xx_evm-linux/arago-base-tisdk-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.104585: 116: /home/tisdk/build/arago-tmp-external-linaro-toolchain/work/am65xx_evm-linux/arago-base-tisdk-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.104585: Bad substitution
WARNING: exit code 2 from a shell command.
DEBUG: Python function do_rootfs finished
ERROR: Function failed: make_bootfiles_symlinks_relative (log file is located at /home/tisdk/build/arago-tmp-external-linaro-toolchain/work/am65xx_evm-linux/arago-base-tisdk-image/1.0-r0/temp/log.do_rootfs.104585)

  • Hello Milan,

    You can build the Processor SDK for AM6548 EVM in this way.

    $ sudo dpkg-reconfigure dash
    (Select "No" when prompted)

    Close the current terminal where you have executed dpkg-reconfigure dash command and open a new one.

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

    $ wget https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-linux-gnueabihf/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz
    $ wget https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/aarch64-linux-gnu/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz

    $ tar -Jxvf gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME
    $ tar -Jxvf gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz -C $HOME

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-05.01.00.11-config.txt
    $ cd build
    $ . conf/setenv
    $ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
    $ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
    $ MACHINE=am65xx-evm bitbake tisdk-rootfs-image
    or
    $ MACHINE=am65xx-evm bitbake arago-core-tisdk-image

    Note: The build will take 202GB space on your HDD and require 40GB RAM/SWAP size.

    Best regards,
    Kemal

  • Hello Milan,

    What is the status here? Have you successfully completed the building?

    Best regards,
    Kemal
  • Yes it is Ok... Thanks This was solution

    $ sudo dpkg-reconfigure dash
    (Select "No" when prompted)