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.

AM5728: QSQLITE driver installation

Part Number: AM5728

Hi expert,

We want to install the QSQLITE driver on AM5728 EVM, any solution ?

BR,

  • Hello Faiez,

    Here in this post I've already posted a solution to install the QSQLITE driver on AM335 EVM.

    For AM5728 EVM the commands will be:

    $ 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 https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabihf/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.02.00.09-config.txt
    $ cd build
    $ echo 'PACKAGECONFIG_append = " sql-sqlite"' >> conf/local.conf
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am57xx-evm bitbake qtbase

    cp -r <tisdk>/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtbase/5.7.1+gitAUTOINC+a55f36211e-r0.arago12.tisdk4/image/usr/ <Processor SDK>/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/

    Then transfer to your board and install the ipks from <tisdk>/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/qtbase/5.7.1+gitAUTOINC+a55f36211e-r0.arago12.tisdk4/deploy-ipks/armv7ahf-neon/ with opkg to be able to find the QSQLITE on your target.

    Alternatively building the complete "tisdk-rootfs-image" and reflashing the board will be the best.

    Best regards,
    Kemal

  • Hello,

    .ipks could not install:

    opkg install qtbase-dev_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk
    opkg install qtbase-examples_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk
    opkg install qtbase-mkspecs_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk
    opkg install qtbase-plugins_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk

    And the errors was:

    Not downgrading package qtbase-dev on root from 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.0 to 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.

    Not downgrading package qtbase-examples on root from 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.0 to 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.

    Not downgrading package qtbase-mkspecs on root from 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.0 to 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.

    Not downgrading package qtbase-plugins on root from 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.0 to 5.7.1+git0+a55f36211e-r0.arago12.tisdk4.

    BR,

  • opkg install --force-reinstall --force-depends --force-downgrade qtbase-dev_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk
    opkg install --force-reinstall --force-depends --force-downgrade qtbase-examples_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk
    opkg install --force-reinstall --force-depends --force-downgrade qtbase-mkspecs_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk
    opkg install --force-reinstall --force-depends --force-downgrade qtbase-plugins_5.7.1+git0+a55f36211e-r0.arago12.tisdk4_armv7ahf-neon.ipk