I was wondering if any could help me with a playback problem on my
BeagleBoard C4. I'm using the following command to play the Big Buck
Bunny video test but it locks up in what appear to be random points (re:
not the same place each time):
modprobe mailbox_mach
modprobe bridgedriver base_img=/lib/dsp/baseimage.dof
gst-launch playbin2
uri=file:///root/big_buck_bunny_480p_surround-fix.avi
The serial console is still active buy my HDMI monitor is frozen. I'm
using Matchbox so its a fullscreen video playback and I can't get back
to the window manager when the playback locks up. I'm using the X
driver from the SGX package though I believe the playback is not going
through X. Don't know if that part is relevant at this point.
I'm using kernel 3.2.30, no patches, with the following DSP bridgedriver
configs:
CONFIG_TIDSPBRIDGE=m
CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE=0x600000
# CONFIG_TIDSPBRIDGE_DEBUG is not set
CONFIG_TIDSPBRIDGE_RECOVERY=y
# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
CONFIG_TIDSPBRIDGE_WDT3=y
CONFIG_TIDSPBRIDGE_WDT_TIMEOUT=5
# CONFIG_TIDSPBRIDGE_NTFY_PWRERR is not set
# CONFIG_TIDSPBRIDGE_BACKTRACE is not set
I didn't see any related kernel patches in Robert's stable_kernel tree,
but I might have missed something.
Modules loaded:
# lsmod
bridgedriver 150260 0 - Live 0xbf106000 (C)
mailbox_mach 3761 0 - Live 0xbf102000
mailbox 3701 2 bridgedriver,mailbox_mach, Live 0xbf0fe000
pvrsrvkm 175518 3 - Live 0xbf0c5000 (O)
drm 190817 4 pvrsrvkm, Live 0xbf081000 (O)
arc4 1038 2 - Live 0xbf07d000
carl9170 68053 0 - Live 0xbf067000
ath 13103 1 carl9170, Live 0xbf060000
mac80211 173814 1 carl9170, Live 0xbf02c000
cfg80211 143725 3 carl9170,ath,mac80211, Live 0xbf000000
I have the DSP binaries from Buildroot 2012.05, which appear to be the
latest, along with the gst DSP plugin:
BR2_PACKAGE_GST_DSP=y
BR2_PACKAGE_TIDSP_BINARIES=y
BR2_PACKAGE_DSP_TOOLS=y
My kernel args:
# cat /proc/cmdline
console=ttyO2,115200n8 console=tty0,38400 vram=16M omapfb.debug=n
omapdss.debug=n mpurate=720 mem=128M omapdss.def_disp=dvi
omapfb.mode=dvi:1280x720MR-16@60 omapfb.vram=0:8m,1:4m,2:4m
root=/dev/mmcblk0p2 rootwait
I've seen Robert's kernel is at 3.2.30 though I'm not clear if the
TIDSPBRIDGE driver has been tested with this kernel. Maybe it's my
kernel args or, possibly, my toolchain. I roll my own with Crosstool-NG
using Linaro's 2012.04 4.6 gcc and glibc 2.13. I may try it with
CodeSourcery's toolchain if I can't figure something else out. I also
need to get gdb on the target and see if that tells me anything.
Anyway, if anyone has some suggestions on how to debug this I'd
appreciate the pointers. Thanks.