Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Super Contributor
elvisjohndowson
Posts: 147
Registered: ‎12-30-2008
0

Building toolchain using yocto for running linux on Xilinx ML-507

Hi,

     I'm trying to build linux using yocto for the ML-507 board.

 

I've added the meta-xilinx layer, and modified my build/conf/local.conf file as follows:

# Set the target machine details
MACHINE ?= "virtex5"
# Set Xilinx Platform Studio hardware project path
XILINX_BSP_PATH ?= "/project/xilinx-ml507"
# Set target board
XILINX_BOARD ?= "ml507"

and when I try to build the meta-toolchain

$ cd /tool/yocto/poky
$ source oe-init-build-env build
$ bitbake meta-toolchain

I get the following errors:

ERROR: Execution of event handler 'check_sanity_eventhandler' failed
Traceback (most recent call last):
  File "/tool/yocto/poky/bitbake/lib/bb/utils.py", line 397, in better_eval(source=<code object <module> at 0x344b6b0, file "MACHINE_ARCH", line 1>, locals={'d': <bb.data_smart.DataSmart object at 0x1450050>}):
     def better_eval(source, locals):
    >    return eval(source, _context, locals)
     
  File "MACHINE_ARCH", line 1, in <module>
  File "/tool/yocto/poky/bitbake/lib/bb/data_smart.py", line 282, in DataSmart.getVar(var='TUNE_PKGARCH', expand=True, noweakdefault=False):
             if expand and value:
    >            return self.expand(value, var)
             return value
  File "/tool/yocto/poky/bitbake/lib/bb/data_smart.py", line 151, in DataSmart.expand(s='${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}', varname='TUNE_PKGARCH'):
         def expand(self, s, varname = None):
    >        return self.expandWithRefs(s, varname).value
     
  File "/tool/yocto/poky/bitbake/lib/bb/data_smart.py", line 141, in DataSmart.expandWithRefs(s='${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)}', varname='TUNE_PKGARCH'):
                 except Exception as exc:
    >                raise ExpansionError(varname, s, exc)
     
ExpansionError: Failure expanding variable TUNE_PKGARCH, expression was ${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)} which triggered exception SyntaxError: EOL while scanning string literal (TUNE_PKGARCH, line 1)

ERROR: Failure expanding variable TUNE_PKGARCH, expression was ${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "${PPCPKGARCH}", d)} which triggered exception SyntaxError: EOL while scanning string literal (TUNE_PKGARCH, line 1)
ERROR: Command execution failed: Exited with 1

Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

Has support for the PowerPC440 processor been removed from newer gcc-versions (e.g. gcc-4.4.x or gcc-4.5.x)?

Best regards,

Elvis Dowson
Regular Contributor
balister
Posts: 68
Registered: ‎05-07-2012
0

Re: Building toolchain using yocto for running linux on Xilinx ML-507

Yocto/OE-Core questions will get more attention on the oe-core list.

 

Where I see you already have an answer :)

 

Philip