[poky] Help me to create poky image for beagleboard

Darren Hart dvhart at linux.intel.com
Mon Apr 4 19:06:30 PDT 2011



On 03/25/2011 06:51 AM, Sparsh Wid hope wrote:
> Hi all,
>
> I'm trying to build a POKY image for beagleboard and getting error.
>
> I followed the steps as:
>
> a. Downloaded the source as wget -c
> http://git.pokylinux.org/cgit/cgit.cgi/poky/snapshot/poky-laverne-4.0.1.tar.bz2
> <http://git.pokylinux.org/cgit/cgit.cgi/poky/snapshot/poky-laverne-4.0.1.tar.bz2>
> and then untar it.
> b. I modified the file laverne-4.0.1/meta/conf/local.conf.sample as
>
> MACHINE ?= "beagleboard"
> and tried to build as
>
> source poky-init-build-env
> bitbake poky-image-minimal-live

The live image is mostly an x86'ism, and therefor depends on syslinux 
(which doesn't work for ARM). For Beagleboard, just build 
poky-image-minimal. For instructions on how to install it, see the 
latest README.hardware.

--
Darren

>
> then i got message on my terminal as:
>
> NOTE: Handling BitBake files: \ (0845/0845) [100 %]
> Parsing of 845 .bb files complete (798 cached, 47 parsed). 977 targets,
> 55 skipped, 0 masked, 0 errors.
>
> OE Build Configuration:
> BB_VERSION = "1.11.0"
> METADATA_BRANCH = "<unknown>"
> METADATA_REVISION = "<unknown>"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "beagleboard"
> DISTRO = "poky"
> DISTRO_VERSION = "0.9"
> TARGET_FPU = "soft"
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'syslinux'
> ERROR: Required build target 'poky-image-minimal-live' has no buildable
> providers.
> Missing or unbuildable dependency chain was: ['poky-image-minimal-live',
> 'syslinux']
> Command execution failed: Traceback (most recent call last):
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py",
> line 88, in runAsyncCommand
> commandmethod(self.cmds_async, self, options)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py",
> line 184, in buildTargets
> command.cooker.buildTargets(pkgs_to_build, task)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/cooker.py",
> line 758, in buildTargets
> taskdata.add_unresolved(localdata, self.status)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
> line 535, in add_unresolved
> self.remove_buildtarget(targetid)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
> line 497, in remove_buildtarget
> self.fail_fnid(self.tasks_fnid[taskid], missing_list)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
> line 472, in fail_fnid
> self.remove_buildtarget(target, missing_list)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
> line 502, in remove_buildtarget
> raise bb.providers.NoProvider(target)
> NoProvider: poky-image-minimal-live
> _____________________________________________________________________________
>
> I noticed the dependancy of syslinux and open the file
> laverne-4.0.1/meta/recipes-devtools/syslinux/syslinux_3.86.bb
> and notice that COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
> so I thought that it is X86 compatible so I downloaded
> "recipes_images_beagleboard-demo-image.bb" from
> http://gitorious.org/angstrom/openembedded/blobs/org.openembedded.dev/recipes/images/beagleboard-demo-image.bb
> and added in laverne-4.0.1/meta/recipes-core/images and then i tried to
> build as bitbake recipes_images_beagleboard-demo-image
> and got error as :
>
> NOTE: Handling BitBake files: \ (0845/0845) [100 %]
> Parsing of 845 .bb files complete (797 cached, 48 parsed). 977 targets,
> 55 skipped, 0 masked, 0 errors.
>
> OE Build Configuration:
> BB_VERSION = "1.11.0"
> METADATA_BRANCH = "<unknown>"
> METADATA_REVISION = "<unknown>"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "beagleboard"
> DISTRO = "poky"
> DISTRO_VERSION = "0.9"
> TARGET_FPU = "soft"
>
> ERROR: Nothing PROVIDES 'recipes_images_beagleboard-demo-image'
> Command execution failed: Traceback (most recent call last):
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py",
> line 88, in runAsyncCommand
> commandmethod(self.cmds_async, self, options)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/command.py",
> line 184, in buildTargets
> command.cooker.buildTargets(pkgs_to_build, task)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/cooker.py",
> line 756, in buildTargets
> taskdata.add_provider(localdata, self.status, k)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
> line 354, in add_provider
> self.add_provider_internal(cfgData, dataCache, item)
> File
> "/home/surya/Surya/pro/POKY/laverne-4.0.1/scripts/..//bitbake/lib/bb/taskdata.py",
> line 374, in add_provider_internal
> raise bb.providers.NoProvider(item)
> NoProvider: recipes_images_beagleboard-demo-image
>
> please help me to solve the error.
>
> Thanks in advenced
> Sparsh
>
>
>
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the poky mailing list