Hi ,
Thanks for your reply.I follow the step of "there is information in the yocto manual on how to compile the kernel",the website is : http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#configuring-the-kernel,but i met a problem,when i run the command "bitbake linux-yocto -c menuconfig“,something goes wrong:
---------------------------------------------------------------------------------------------------------
fei@fei-virtual-machine:~/sources/poky/build$ bitbake linux-yocto -c menuconfig
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/fei/sources/poky/bitbake/lib/bb/cookerdata.py", line 227, in CookerDataBuilder.parseBaseConfiguration():
try:
> self.parseConfigurationFiles(self.prefiles, self.postfiles)
except SyntaxError:
File "/home/fei/sources/poky/bitbake/lib/bb/cookerdata.py", line 289, 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 "/home/fei/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 472, in fetcher_init(d=<bb.data_smart.DataSmart object at 0xb6c213ac>):
pass
> revs.clear()
else:
File "/home/fei/sources/poky/bitbake/lib/bb/persist_data.py", line 147, in SQLTable.clear():
def clear(self):
> self._execute("DELETE FROM %s;" % self.table)
File "/home/fei/sources/poky/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
-----------------------------------------------------------------------------------------------------------------
Any help would be appreciated.
Best Regards
------------------
Lian jianfei
5F, No.15, Ke Hui 2nd Street, Ke Hui Development Centre Science Avenue, Science City, Luo Gang District Guangzhou, China 510663
TEL: 15989094327
Email: lianjf@ava.com.cn