* Not able to create a new BSP layer using yocto-bsp script
@ 2017-03-07 9:15 Eswaran Vinothkumar (BEG/PJ-IOT-EL)
2017-03-07 17:46 ` Leonardo Sandoval
0 siblings, 1 reply; 2+ messages in thread
From: Eswaran Vinothkumar (BEG/PJ-IOT-EL) @ 2017-03-07 9:15 UTC (permalink / raw)
To: yocto
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Not able to create a new BSP layer using yocto-bsp script
2017-03-07 9:15 Not able to create a new BSP layer using yocto-bsp script Eswaran Vinothkumar (BEG/PJ-IOT-EL)
@ 2017-03-07 17:46 ` Leonardo Sandoval
0 siblings, 0 replies; 2+ messages in thread
From: Leonardo Sandoval @ 2017-03-07 17:46 UTC (permalink / raw)
To: Eswaran Vinothkumar (BEG/PJ-IOT-EL); +Cc: yocto
On Tue, 2017-03-07 at 09:15 +0000, Eswaran Vinothkumar (BEG/PJ-IOT-EL)
wrote:
>
> I tried using both the master andmorty-16.0.1 branches of poky.
>
Can you try the same yocto-bsp command from master? If you have the same
issue, please report it on bugzilla.yoctoproject.org
>
>
>
>
> Mit freundlichen Grüßen / Best regards
> Vinothkumar Eswaran
>
>
>
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-07 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-07 9:15 Not able to create a new BSP layer using yocto-bsp script Eswaran Vinothkumar (BEG/PJ-IOT-EL)
2017-03-07 17:46 ` Leonardo Sandoval
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.