All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eswaran Vinothkumar (BEG/PJ-IOT-EL)" <Vinothkumar.Eswaran@de.bosch.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Not able to create a new BSP layer using yocto-bsp script
Date: Tue, 7 Mar 2017 09:15:55 +0000	[thread overview]
Message-ID: <febded3bd8db4f5097d3bd0fe26c88b0@FE-MBX1014.de.bosch.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2935 bytes --]

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



[-- Attachment #2: Type: text/html, Size: 10884 bytes --]

             reply	other threads:[~2017-03-07  9:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07  9:15 Eswaran Vinothkumar (BEG/PJ-IOT-EL) [this message]
2017-03-07 17:46 ` Not able to create a new BSP layer using yocto-bsp script Leonardo Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=febded3bd8db4f5097d3bd0fe26c88b0@FE-MBX1014.de.bosch.com \
    --to=vinothkumar.eswaran@de.bosch.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.