Hi Tom, The first thing I tried is building a minimal distro with "bitbake core-image-minimal". That completed successfully and I was able to execute it with qemu.
Then I tried to build a bsp for ARM, which failed with errors shown earlier. I just tried now for x86_64. It failed too with the same errors. I am using the latest poky tarball - poky-denzil-7.0.tar.bz2 Thanks, Dallas On Tue, Jun 19, 2012 at 10:03 AM, Tom Zanussi <[email protected]> wrote: > On Tue, 2012-06-19 at 09:37 -0500, Dallas Clement wrote: >> 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. >> > > Hi, > > So if I read the above correctly, you were able to create a new x86-64 > bsp using yocto-bsp and build and boot the minimal image? > > If so, then the below should also work - at the point you are in the > creation script, there's nothing arm-specific yet. > > If not, did you source oe-init-build-env first? Or do you have some > kind of network problem? > > I can't think of anything else - I just tried the same thing here and it > worked fine. Let me also try the same thing but using the denzil > tarball (using git denzil branch), which is what I assume your using? > > Thanks, > > Tom > >> 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 >> _______________________________________________ >> yocto mailing list >> [email protected] >> https://lists.yoctoproject.org/listinfo/yocto > > _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
