Hi
i recently successfully built the ti processor SDK 03.02.00.05 for AM3354.
but turns out that the QT5 built by default do not have a sqlite plugin driver.
so i tried to create the .bbappend file to add sqlite compilation. but strange things occurred.
the steps i used to built the sdk was:
i followed the instruction on
processors.wiki.ti.com/index.php
and i'm trying to build the processor sdk for am3354 based on ti arago. the version i want to build is 03.02.00.05.
here is the steps i took: (i logged in as root)
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
dpkg-reconfigure dash
wget releases.linaro.org/.../gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
tar -Jxvf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME
download CCS6.1.3.00034_linux.tar.gz to ~/Downloads(default location)
$cd ~
$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-03.02.00.05-config.txt
visit
software-dl.ti.com/.../index_FDS.html
download am335x-evm-linux-sdk-arago-src-03.02.00.05.tar.xz
$cd ~/tisdk
$mkdir downloads
$cp $HOME/Downloads/CCS6.1.3.00034_linux.tar.gz downloads/
$touch downloads/CCS6.1.3.00034_linux.tar.gz.done
$cd downloads
$tar xvfJ ~/Downloads/am335x-evm-linux-sdk-arago-src-03.02.00.05.tar.xz
$am335x-evm-linux-sdk-arago-src-03.02.00.05/get_build_sources.sh am335x-evm-linux-sdk-arago-src-03.02.00.05/source_pkg_list.txt
$cd ../build
$ echo 'PACKAGECONFIG_append = " accessibility"' >> conf/local.conf
$ . conf/setenv
$ export PATH=$HOME/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
$ touch conf/sanity.conf
$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
then i created a file in /root/tisdk/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bbappend
in this file.write:
PACKAGECONFIG_append = " sql-sqlite"
then again.
i run the command
$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
then i can see qt5-base has done the do_configure part and went into do_compile.
in the middle of do_compile.
the terminal shell i'm using all of a sudden closed automatically.
i tried on 2 different computers and the phenomenon is the same.
the terminal is all of sudden closed by itself.
then when i re-opened the terminal.
and
run the command
$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
the terminal shows the following strange error message:
root@yandong-VirtualBox:~/tisdk/build# MACHINE=am335x-evm bitbake arago-core-tisdk-image
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/root/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 258, in CookerDataBuilder.parseBaseConfiguration():
try:
> self.parseConfigurationFiles(self.prefiles, self.postfiles)
except SyntaxError:
File "/root/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 330, in CookerDataBuilder.parseConfigurationFiles(prefiles=[], postfiles=[]):
if data.getVar("BB_WORKERCONTEXT", False) is None:
> bb.fetch.fetcher_init(data)
bb.codeparser.parser_cache_init(data)
File "/root/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 509, in fetcher_init(d=<bb.data_smart.DataSmart object at 0x7f0be8b93350>):
pass
> revs.clear()
else:
File "/root/tisdk/sources/bitbake/lib/bb/persist_data.py", line 147, in SQLTable.clear():
def clear(self):
> self._execute("DELETE FROM %s;" % self.table)
File "/root/tisdk/sources/bitbake/lib/bb/persist_data.py", line 66, in SQLTable._execute(*query=('DELETE FROM BB_URI_HEADREVS;',)):
try:
> return self.cursor.execute(*query)
except sqlite3.OperationalError as exc:
OperationalError: attempt to write a readonly database
i'm really confused here.
1.anyone can tell me what i should do if i want to add the sqlite support for QT5? did i do wrong?
2.why is this strange phenomenon that i'm seeing...
thanks everyone.
best regards
semiyd