Hello,

I am trying to create a new bsp layer for a customized board.

After running the commands: Yocto-bsp create  ctp arm,

I am seeing the following errors:

evk1206@evk1206-VirtualBox:~/Projects/Yocto/build-ctp$ yocto-bsp create custom 
arm
Checking basic git connectivity...
Done.

Would you like to use the default (4.8) kernel? (y/n) [default: y] y
Do you need a new machine branch for this BSP (the alternative is to re-use an 
existing branch)? [y/n] [default: y] y
Getting branches from remote repo 
git://git.yoctoproject.org/linux-yocto-4.8.git...
Traceback (most recent call last):
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/yocto-bsp", line 
158, in <module>
    ret = main()
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/yocto-bsp", line 
154, in main
    return args.func(args)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/yocto-bsp", line 67, 
in do_create_bsp
    yocto_bsp_create(args.bspname, args.karch, scripts_path, bsp_output_dir, 
args.codedump, args.properties_file)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 1617, in yocto_bsp_create
    yocto_common_create(machine, arch, scripts_path, bsp_output_dir, codedump, 
properties_file, properties)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 1584, in yocto_common_create
    run_program_lines(program_lines, codedump)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 1365, in run_program_lines
    exec(buf)
  File "<string>", line 82, in <module>
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 656, in invoke_deferred_choices
    choices = input_line.gen_choices(context, checklist)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 460, in gen_choices
    choicepairs = self.gen_choices_list(context, checklist)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 428, in gen_choices_list
    choices = self.exec_listgen_fn(context)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 380, in exec_listgen_fn
    self.lineno, self.line)
  File "/home/evk1206/Projects/Yocto-CTP-2019/poky/scripts/lib/bsp/engine.py", 
line 71, in parse_error
    raise SyntaxError("%s: %s" % (msg, line))
  File "<string>", line None
SyntaxError: function specified for 'gen' property returned nothing : input 
type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" 
branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base 
this BSP on:" default:"standard/base"

Couly anyone let me know how to fix the issue.

I tried using both the master and 
morty-16.0.1<http://git.yoctoproject.org/cgit/cgit.cgi/poky/tag/?id=morty-16.0.1>
  branches of poky.


Mit freundlichen Grüßen / Best regards
Vinothkumar Eswaran


-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to