Getting started with meta-ti (beaglebone)
All,
I am trying to build for beaglebone but facing some errors on master branch. Maybe I am missing some configuration for the builds, can you please help me out
I cloned, poky, meta-openembedded and meta-ti master branch
source oe-init-build-env beaglebone
Added BBMASK = "meta-ti/recipes-misc" in local.conf
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
ERROR: Unable to parse /workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb
Traceback (most recent call last):
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py", line 151, in SignatureGeneratorOEBasicHash.finalise(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb', d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>, variant=None):
try:
> taskdeps = self._build_data(fn, d)
except:
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py", line 104, in SignatureGeneratorOEBasicHash._build_data(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb', d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
Quoted 1 line
tasklist, gendeps, lookupcache =
bb.data.generate_dependencies(d)
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/data.py", line 438, in generate_dependencies(d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
if dep not in deps:
> deps[dep], values[dep] =build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
newdeps |= deps[dep]
....
....
='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc'):
code = compile(check_indent(str(node)), filename, "exec",
> ast.PyCF_ONLY_AST)
File
"/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc", line 51
os.chmod(binfile, 0755)
^SyntaxError: invalid token
Any help is appreciated.
Thanks
Manju
Quoted 11 lines · Manjukumar Harthikote Matha
All,
I am trying to build for beaglebone but facing some errors on master branch. Maybe I am missing some configuration for the builds, can you please help me out
I cloned, poky, meta-openembedded and meta-ti master branch
source oe-init-build-env beaglebone
Added BBMASK = "meta-ti/recipes-misc" in local.conf
What's this ^^^ for?
Quoted 3 lines
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
Are those Python3 related errors?
Quoted 48 lines
ERROR: Unable to parse /workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb
Traceback (most recent call last):
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
line 151, in SignatureGeneratorOEBasicHash.finalise(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb', d=<bb.data_smart.DataSmart object at0x7fd9cd6f1b38>, variant=None):
try:
> taskdeps =self._build_data(fn, d)
except:
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
line 104, in SignatureGeneratorOEBasicHash._build_data(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb', d=<bb.data_smart.DataSmart object at0x7fd9cd6f1b38>):Quoted 1 line
tasklist, gendeps, lookupcache =
bb.data.generate_dependencies(d)File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/data.py", line 438, ingenerate_dependencies(d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
if dep not in deps:
> deps[dep], values[dep] =build_dependencies(dep, keys, shelldeps, varflagsexcl, d)newdeps |= deps[dep]....
....
='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc'):
code = compile(check_indent(str(node)), filename, "exec",
> ast.PyCF_ONLY_AST)File "/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc",
line 51os.chmod(binfile, 0755) ^SyntaxError: invalid token
Any help is appreciated.
Thanks
ManjuSignature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 13 lines · Denys Dmytriyenko
Quoted 11 lines · Manjukumar Harthikote Matha
All,
I am trying to build for beaglebone but facing some errors on master branch. Maybe I am missing some configuration for the builds, can you please help me out
I cloned, poky, meta-openembedded and meta-ti master branch
source oe-init-build-env beaglebone
Added BBMASK = "meta-ti/recipes-misc" in local.conf
Quoted 47 lines
What's this ^^^ for?
Quoted 3 lines
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
Are those Python3 related errors?
Quoted 37 lines
ERROR: Unable to parse /workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb
Traceback (most recent call last):
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
line 151, in SignatureGeneratorOEBasicHash.finalise(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb', d=<bb.data_smart.DataSmart object at0x7fd9cd6f1b38>, variant=None):
try:
> taskdeps =self._build_data(fn, d)
except:
File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/siggen.py",
line 104, in SignatureGeneratorOEBasicHash._build_data(fn='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/ti-cgt6x_6.1.20.bb', d=<bb.data_smart.DataSmart object at0x7fd9cd6f1b38>):Quoted 1 line
tasklist, gendeps, lookupcache =
bb.data.generate_dependencies(d)File
"/workspaces/manjukum/meta-ti-build/poky/bitbake/lib/bb/data.py", line 438, ingenerate_dependencies(d=<bb.data_smart.DataSmart object at 0x7fd9cd6f1b38>):
if dep not in deps:
> deps[dep], values[dep] =build_dependencies(dep, keys, shelldeps, varflagsexcl, d)newdeps |= deps[dep]....
....
='/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc'):
code = compile(check_indent(str(node)), filename, "exec",
> ast.PyCF_ONLY_AST)File "/workspaces/manjukum/meta-ti-build/poky/meta-ti/recipes-ti/devtools/../includes/../includes/ti-unpack.inc",
line 51os.chmod(binfile, 0755) ^SyntaxError: invalid token
In python3 this needs to be 0o755
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
All,
Quoted 6 lines · Gary Thomas
Quoted 5 lines · Denys Dmytriyenko
Quoted 3 lines · Manjukumar Harthikote Matha
All,
I am trying to build for beaglebone but facing some errors on master
<..>
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Added BBMASK = "meta-ti/recipes-misc" in local.conf
What's this ^^^ for?
This is not required, I copied it from a wiki page (getting started on meta-ti)
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
Are those Python3 related errors?
<...>>>
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
line 51
os.chmod(binfile, 0755) ^SyntaxError: invalid token
In python3 this needs to be 0o755
Yes this works and fails on a tar extraction command. Another Python3 error, will look into it. For now, I just deleted the extraction block to surpass the error.
Thanks
Manju
Quoted 8 lines · Manjukumar Harthikote Matha
All,
Quoted 5 lines · Gary Thomas
Quoted 4 lines · Denys Dmytriyenko
Quoted 2 lines · Manjukumar Harthikote Matha
All,
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
I am trying to build for beaglebone but facing some errors on master
<..>
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
Added BBMASK = "meta-ti/recipes-misc" in local.conf
What's this ^^^ for?
This is not required, I copied it from a wiki page (getting started on meta-ti)
I don't know what that wiki is or how old it is, but there's no recipes-misc in meta-ti... It's not a good idea to collect random outdated tidbits on the Internet and try to get it all working...
Quoted 12 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
Are those Python3 related errors?
<...>>>
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
line 51
os.chmod(binfile, 0755)^SyntaxError: invalid token
Quoted 5 lines
Quoted 1 line
In python3 this needs to be 0o755
Yes this works and fails on a tar extraction command. Another Python3 error, will look into it. For now, I just deleted the extraction block to surpass the error.
Yeah, that was my other question - why master? There's currently Python3 migration going on upstream and meta-ti is slightly behind on this. I'd recommend using krogoth stable release to get your stuff working. You should only be playing with latest master code, especially with several additional layers, only if you really know what you are doing...
Signature · 1 line
Denys
Quoted 13 lines · Denys Dmytriyenko
Quoted 12 lines · Manjukumar Harthikote Matha
All,
Quoted 6 lines · Gary Thomas
Quoted 5 lines · Denys Dmytriyenko
Quoted 3 lines · Manjukumar Harthikote Matha
All,
I am trying to build for beaglebone but facing some errors on master
<..>
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Added BBMASK = "meta-ti/recipes-misc" in local.conf
Quoted 9 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
What's this ^^^ for?
This is not required, I copied it from a wiki page (getting started on meta-ti)
I don't know what that wiki is or how old it is, but there's no recipes-misc in meta-ti... It's not a good idea to collect random outdated tidbits on the Internet and try to get it all working...
Agreed :)
Quoted 19 lines
Quoted 13 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
MACHINE=beaglebone bitbake core-image-minimal
Gives me an error
Are those Python3 related errors?
<...>>>
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
line 51
os.chmod(binfile, 0755)^SyntaxError: invalid token
Quoted 5 lines
Quoted 1 line
In python3 this needs to be 0o755
Yes this works and fails on a tar extraction command. Another Python3 error, will look into it. For now, I just deleted the extraction block to surpass the error.
Quoted 6 lines
Yeah, that was my other question - why master? There's currently Python3 migration going on upstream and meta-ti is slightly behind on this. I'd recommend using krogoth stable release to get your stuff working. You should only be playing with latest master code, especially with several additional layers, only if you really know what you are doing...
I was working on a patch to OE-CORE for u-boot. I got a pushback stating beaglebone was not working on master. So I started on master, however I did verify my patch on Krogoth as well(both works and build u-boot using outoftree source code). Didn't realize beaglebone also existed in meta-yocto-bsp, now i have verified in all the possible combinations for beaglebone :)
Thanks for all the help, much appreciated
Thanks
Manju