Skip to contentSkip to conversation

Help me to create poky image for beagleboard

DISCUSSION Sparsh Wid hope 2 participants 2 messages Mar 25, 2011 – Apr 5, 2011

lore
Share & tools
lore
#0 lore raw

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 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-envbitbake poky-image-minimal-live
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 dependenciesERROR: 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-imageand 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 advencedSparsh

#1 lore raw
Quoted 12 lines · Sparsh Wid hope

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

Quoted 5 lines

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

Quoted 118 lines

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
[email protected]
https://lists.yoctoproject.org/listinfo/poky

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel