From: Jonas RydowDate: 2014-08-18 21:18CC: meta-freescaleSubject: Re: Re: [meta-freescale] consultion about Yocto Project 3.10.17-1.0.0_GA kernelSorry I haven't got the faintest idea. Did you start the project as described here: https://github.com/Freescale/fsl-community-bsp-platform ?
I did and I did not see any errors when I ran bitbake linux-imx -c menuconfig a few weeks ago.RegardsJonasOn Mon, Aug 18, 2014 at 11:09 AM, lianjf@ava.com.cn <lianjf@ava.com.cn> wrote: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 jianfei5F, No.15, Ke Hui 2nd Street, Ke Hui Development Centre Science Avenue, Science City, Luo Gang District Guangzhou, China 510663TEL: 15989094327Email: lianjf@ava.com.cnFrom: Jonas RydowDate: 2014-08-18 16:27Subject: Re: [meta-freescale] consultion about Yocto Project 3.10.17-1.0.0_GA kernelthen there is information in the yocto manual on how to compile the kernel:
http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#configuring-the-kerneland especially here where to find the downloaded source
http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#finding-the-kernel-source-code
JonasOn Mon, Aug 18, 2014 at 8:23 AM, lianjf@ava.com.cn <lianjf@ava.com.cn> wrote:
Hi ,Can anyone tell me how to get the source code kernel of Yocto Project 3.10.17-1.0.0_GA,in which i can make menuconfig and compile the kernel.Any help would be appreciated.
Best Regards------------------Lian jianfei5F, No.15, Ke Hui 2nd Street, Ke Hui Development Centre Science Avenue, Science City, Luo Gang District Guangzhou, China 510663TEL: 15989094327Email: lianjf@ava.com.cn
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale