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.

AM5749: Arago build with X11

Part Number: AM5749

Hi,

We developed and produced board based on IDDK5749 design, but added SATA and 2GB RAM without ECC. All hardware work very fine. But we need launch (we ready to recompile for this platform) our technological x11 based software. As i know X11 support not provided for current PSDK, but recipes contain all x11 stuff.

I`m tried to make image based on processor sdk v4 x11 branch.

Follow all instructions, similar to build for PSDK5 and PSDK6 (succesfully compiled on my ubuntu 16.04)

The only X11 supported Processor SDK version is processor-sdk-04.01.00.06-x11-config.txt.

You can build it on your host machine in this way.

$ 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
$ sudo dpkg-reconfigure dash
Select "No" when prompted.

$ wget releases.linaro.org/.../gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
$ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.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-04.01.00.06-x11-config.txt

then i`m download sources snaphot:

$mkdir downloads
$ cd downloads
$ # Assuming src file downloaded to $HOME/Downloads
$ tar xvf $HOME/Downloads/<target-board>-linux-sdk-arago-src-##.##.##.##.tar.xz
$ <target-board>-linux-sdk-arago-src-##.##.##.##/get_build_sources.sh <target-board>-linux-sdk-arago-src-##.##.##.##/source_pkg_list.txt

then i try to build:

cd ../
$ cd build

$ . conf/setenv

$ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH

MACHINE=am57xx-evm ARAGO_RT_ENABLE=1 bitbake arago-base-tisdk-image

there are error with external-linaro-toolchain:

ls: cannot access '/home/rock/tisdk4/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago36/image/lib/libanl.so.*': No such file or directory
WARNING: /home/rock/tisdk4/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago36/temp/run.do_install.28188:1 exit 2 from 'l=$(ls $f.*)'
ERROR: Function failed: do_install (log file is located at /home/rock/tisdk4/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago36/temp/log.do_install.28188)

I`m checked that in image folder exist libanl-2.23.so.

Main question: how i can receive working image for my board without wayland, but with x11 server. 

I`m try to compile xwayland on PSDK603, but receive to many errors.

Please provide some instructions.

  • Hi Ivan,

    We dropped support for X11 starting with the Processor SDK v5.

    Regarding your build error - are you trying to compile this with a very old SDK version - I'm guessing that the host tool dependencies and the versions are different for this one. Unfortunately supporting questions on v4 of the SDK on the latest Host dependencies is going to be challenging. Unfortunately, there is not much that we can offer for X11.

    Regards

    Karthik

  • i`m solved problem with compiler error for PSDK4-x11 config

    just use

    export PATH=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/bin:$PATH

    But recipes and features structure is very complicated for PSDK. Main problem is gl (it not supported in PSDK). Many x11 receipts uses by default gl instead of egl. But unclear how to force using of egl for x11 assembly.

  • Hi Ivan,

    It is here that things get to a point where you will need to modify libraries related to GL for X11 support and unfortunately we dropped supporting X11 anymore.

    Regards

    Karthik