[yocto] trouble building bsp for arm

Dallas Clement dallas.a.clement at gmail.com
Tue Jun 19 07:37:17 PDT 2012


Hi all,  Please bear with me as I am a newb to both yocto and building
bsp's.   I was able to run bitbake core-image-minimal for x86-64, just fine and
run it in qemu.

Then I got gutsy and tried to build a bsp for ARM.  Didn't go so well.
 I must be missing something.

dallasc ~/development/yocto/poky-denzil-7.0] scripts/yocto-bsp create
marvell-armada-xp-mv78260 qemu
Which qemu architecture would you like to use? [default: i386]
       1) i386    (32-bit)
       2) x86_64  (64-bit)
       3) ARM     (32-bit)
       4) PowerPC (32-bit)
       5) MIPS    (32-bit)
3
Would you like to use the default (3.2) kernel? (y/n) [default: y]
Do you need a new machine branch for this BSP (the alternative is to
re-use an existing branch)? [y/n] [default: y]
Getting branches from remote repo None...
Traceback (most recent call last):
 File "scripts/yocto-bsp", line 137, in <module>
   ret = main()
 File "scripts/yocto-bsp", line 132, in main
   invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands)
 File "/development/dallasc/yocto/poky-denzil-7.0/scripts/lib/bsp/help.py",
line 73, in invoke_subcommand
   subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
 File "scripts/yocto-bsp", line 76, in yocto_bsp_create_subcommand
   yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir,
options.codedump, options.properties_file)
 File "/development/dallasc/yocto/poky-denzil-7.0/scripts/lib/bsp/engine.py",
line 1243, in yocto_bsp_create
   run_program_lines(program_lines, codedump)
SyntaxError: function specified for 'gen' property returned nothing :
input type:"choicelist" name:"new_kbranch"
gen:"bsp.kernel.all_branches" prio:"20" msg:"Please choose a machine
branch to base this BSP on:" default:"standard/default"

Can anyone recommend what I should do to get past this?

Thanks,

Dallas



More information about the yocto mailing list