I tried to build the latest omapfbplay with bitbake -b
omapfbplay_git.bb. It
complains "No display drivers enabled". Then I commented out
$(if $(findstring y,$(OMAPFB) $(XV)),$(error No display drivers
enabled)) in Makefile
O.K. I made it. But when I run it, it says display driver failed or
missing.
Here are my questions.
1. How do I build omapfbplay in OE or other environments?
2. omapfbplay seems to support command-line display driver option.
What
is the name of the display driver?
Why are you using -b ?
> I tried to build the latest omapfbplay with bitbake -b
> omapfbplay_git.bb.Why are you using -b ?
I tried bitbake omapfbplay as well days ago. I got the same issue.
Now I got the following errors with r18.
ERROR: function do_compile failed
ERROR: log data follows (/home/tang/Project/OE/build/tmp/work/armv7a-
angstrom-linux-gnueabi/
omapfbplay-0.0+r18+gitr26df4208b57ccb0f0ca101ae4ddb92c956a0ecc0-r18/
temp/log.do_compile.8109)
cp: cannot stat `/home/tang/Project/OE/build/tmp/staging/beagleboard-
angstrom-linux-gnueabi/kernel/arch/arm/plat-omap/include/mach/
omapfb.h': No such file or directory
cp: cannot stat `/home/tang/Project/OE/build/tmp/staging/beagleboard-
angstrom-linux-gnueabi/kernel/include/asm-arm/arch-omap/omapfb.h': No
such file or directory
NOTE: make -j 4 -e MAKEFLAGS= -e
make: *** No targets specified and no makefile found. Stop.
FATAL: oe_runmake failed
NOTE: Task failed: /home/tang/Project/OE/build/tmp/work/armv7a-
angstrom-linux-gnueabi/
omapfbplay-0.0+r18+gitr26df4208b57ccb0f0ca101ae4ddb92c956a0ecc0-r18/
temp/log.do_compile.8109
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/tang/Project/OE/openembedded/recipes/ffmpeg/
omapfbplay_git.bb do_compile failed
ERROR: Task 7 (/home/tang/Project/OE/openembedded/recipes/ffmpeg/
omapfbplay_git.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 619 tasks of which 619 didn't need to
be rerun and 1 failed.
ERROR: '/home/tang/Project/OE/openembedded/recipes/ffmpeg/
omapfbplay_git.bb' failed
I reproduced the problem by bitbaking omafbplay
NOTE: Running task 620 of 857 (ID: 7, /home/tang/Project/OE/
openembedded/recipes/ffmpeg/omapfbplay_git.bb, do_compile)
ERROR: function do_compile failed
ERROR: log data follows (/home/tang/Project/OE/build/tmp/work/armv7a-
angstrom-linux-gnueabi/
omapfbplay-0.0+r20+gitr190b44619bac188d86e8dcee74b0853e33fb7de0-r20/
temp/log.do_compile.7141)
cp: cannot stat `/home/tang/Project/OE/build/tmp/staging/beagleboard-
angstrom-linux-gnueabi/kernel/arch/arm/plat-omap/include/mach/
omapfb.h': No such file or directory
cp: cannot stat `/home/tang/Project/OE/build/tmp/staging/beagleboard-
angstrom-linux-gnueabi/kernel/include/asm-arm/arch-omap/omapfb.h': No
such file or directory
NOTE: make -j 4 -e MAKEFLAGS= -e
Makefile:3: *** No display drivers enabled. Stop.
FATAL: oe_runmake failed
NOTE: Task failed: /home/tang/Project/OE/build/tmp/work/armv7a-
angstrom-linux-gnueabi/
omapfbplay-0.0+r20+gitr190b44619bac188d86e8dcee74b0853e33fb7de0-r20/
temp/log.do_compile.7141
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/tang/Project/OE/openembedded/recipes/ffmpeg/
omapfbplay_git.bb do_compile failed
ERROR: Task 7 (/home/tang/Project/OE/openembedded/recipes/ffmpeg/
omapfbplay_git.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 619 tasks of which 100 didn't need to
be rerun and 1 failed.
ERROR: '/home/tang/Project/OE/openembedded/recipes/ffmpeg/
omapfbplay_git.bb' failed
Did you make any changes to the recipe?
Here are my changes in omafbplay_git.bb to build against kernel
2.6.32
diff --git a/recipes/ffmpeg/omapfbplay_git.bb b/recipes/ffmpeg/
omapfbplay_git.bb
index afc3b2a..5c13705 100644
--- a/recipes/ffmpeg/omapfbplay_git.bb
+++ b/recipes/ffmpeg/omapfbplay_git.bb
@@ -2,13 +2,12 @@ DESCRIPTION = "Simple ffmpeg-based player that uses
the omapfb overlays"
DEPENDS = "bzip2 lame ffmpeg virtual/kernel"
LICENSE = "MIT"
-PR = "r18"
+PR = "r20"
PV = "0.0+${PR}+gitr${SRCREV}"
-SRCREV = "26df4208b57ccb0f0ca101ae4ddb92c956a0ecc0"
-SRC_URI = "git://git.mansr.com/${PN};protocol=git \
- file://fbplay-static.diff;patch=1 "
+SRCREV = "190b44619bac188d86e8dcee74b0853e33fb7de0"
+SRC_URI = "git://git.mansr.com/${PN};protocol=git"
S = "${WORKDIR}/git"
some changes as well in defconfig
Here are my changes in omafbplay_git.bb to build against kernel
2.6.32
Then you want to have something like this:
regards,
Koen
same issue since no dependency between them, tried to bitbake
omapfbplay-cmem. It doesn't exist in git://git.mansr.com/.
Thank Koen, it works perfect now.
It seems new omapfbplay still uses system memory allocation other than
contiguous one.