Hi Mirko,
assuming you are using remote debugging..
the easiest way is to rebuild directfb from sources, with the
"./configure" option "--enable-debug", and then run your program as
"dfbg --dfb:debug -c ffffff". This will print out lots of debugging, and
should give you an indication after which command it crashes. If your
link doesn't cope with the traffic you can dump to a file with the extra
option "--dfb:log-file=filename.txt". I expect the problem to be in the
area of frame buffer ioctls, which is normally a pain to debug - think
kernel frame buffer driver.
hth
Niels
Mirko Vogt wrote:
Hey,
I wanna run DirectFB on the "Ben NanoNote" by qi-hardware
(http://www.qi-hardware.com/products/ben-nanonote/) so I packaged the
library for the embedded distribution OpenWrt which I'm running on the
Ben.
Unfortunately running the shipped tools (e.g. dfbg) cause the device to
freeze reproducible:
r...@openwrt:~# dfbg -c ffffff
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.2 |
~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2009-10-08 01:40)
(*) Direct/Thread: Started 'VT Switcher' (547) [CRITICAL OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'VT Flusher' (548) [DEFAULT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/FBDev: Found 'JZ4740 FB' (ID 0) with frame buffer at
0x00000000, 300k (MMIO 0x13050000, 64k)
(*) Direct/Thread: Started 'Keyboard Input' (549) [INPUT OTHER/OTHER
0/0] <2093056>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
Connection to 192.168.1.1 closed.
The display turns black and it does not react anymore at all (e.g. no
ICMP-responses, etc.)
I know that's not much information - how to get some more useful debug
info?
How to start debugging such issues?
Thanks a lot in advance!
Regards
mirko
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev