关于加载photon的问题,谢谢了!

中文QNX 讨论: 欢迎大家灌水,讨论有关QNX 问题。
回复
jiyq2003
Senior Member
帖子: 50
注册时间: 周四 8月 09, 2007 6:57 pm

关于加载photon的问题,谢谢了!

帖子 jiyq2003 » 周四 11月 29, 2007 6:35 pm

加载photon后sloginfo的显示如下:
Jan 01 00:07:57 1 8 0 phfont_init
Jan 01 00:07:57 1 8 0 phfontXX started OK - EOK
Jan 01 00:07:57 1 8 0 MainLoop
Jan 01 00:07:57 5 8 0 Plugin gri-photon.so opened successfully
Jan 01 00:07:57 5 8 0 Opened photon connection:

/dev目录有信息
-rw-rw-rw- 1 0 0 0 Jan 01 00:20 phfont
-rw-rw-rw- 1 0 0 0 Jan 01 00:20 phfont32
-rw-rw-rw- 1 0 0 0 Jan 01 00:20 phfont64
nrw-rw-rw- 1 0 0 0 Jan 01 00:20 photon

lcd没有任何的显示
当设置LD_DEBUG=1时有关于一些库加载的问题,信息如下:
load_object: attempt load of libgri.so.2
load_elf32: loaded lib at addr 105c000(text) 1067934(data)
dlopen("phfont.so",3586)
load_object: attempt load of phfont.so
load_elf32: loaded lib at addr 1069000(text) 109da54(data)
dlsym(11d270,_btext)=NULL //************
# Library loaded; type 'add-sym phfont.so 0' in gdb to load symbols
load_object: attempt load of libblkcache.so.1
load_elf32: loaded lib at addr 10a2000(text) 10a57d4(data)
load_object: attempt load of libFF-T2K-cache.so.1
load_elf32: loaded lib at addr 10a6000(text) 10a8340(data)
load_object: attempt load of libFF-T2K-fm.so.1
load_elf32: loaded lib at addr 10a9000(text) 10ac6ec(data)
load_object: attempt load of libFF-T2K.so.1
load_elf32: loaded lib at addr 10ad000(text) 10e74f0(data)
dlsym(11d270,PHFONT_INTERNAL_API)=109dc08
dlopen("gri-photon.so",3586)
load_object: attempt load of gri-photon.so
load_elf32: loaded lib at addr 10ea000(text) 10f154c(data)
dlsym(143880,_btext)=NULL //************
load_object: attempt load of libphrender.so.2
load_elf32: loaded lib at addr 10f2000(text) 111f570(data)
dlsym(143880,gri_get_funcs)=10ec830
dlopen("devg-ep9315.so",0)
load_object: attempt load of devg-ep9315.so
load_elf32: loaded lib at addr 1121000(text) 11245e4(data)
dlsym(1438c8,_btext)=NULL //*************
load_object: attempt load of libffb.so.2
load_elf32: loaded lib at addr 1125000(text) 112fc28(data)
load_object: attempt load of libdisputil.so.2
load_elf32: loaded lib at addr 1130000(text) 1135454(data)
dlsym(1438c8,devg_get_modefuncs)=1123490
dlsym(1438c8,devg_get_memfuncs)=1122688
dlsym(1438c8,devg_get_miscfuncs)=11227ac
dlsym(1438c8,devg_get_corefuncs)=112205c
dlsym(1438c8,devg_get_contextfuncs)=1122050
dlsym(1438c8,devg_get_vidfuncs)=NULL
dlsym(1438c8,devg_get_vcapfuncs)=NULL
我标注的好像时加载未成功,但是明明加了哪几个文件的,都存放在/lib/dll里面的,我想应该是phfont没有加载成功

我的涉及到photon的bld为:

PATH=:/proc/boot:/bin:/usr/bin:/opt/bin:/sbin:/usr/sbin:/usr/photon/bin
LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib
DL_DEBUG=1

slogger &
setconf _CS_LIBPATH /proc/boot:/lib:/lib/dll
Photon &
waitfor /dev/photon

phfontFA -d /usr/photon/font_repository &
waitfor /dev/phfont

io-graphics -dldevg-ep9315.so -g640,480,16 -amode=/usr/photon/config/ep9315.conf

}

/lib/dll/gri-photon.so=${QNX_TARGET}/armle/lib/dll/gri-photon.so
/lib/dll/devg-ep9315.so=devg-ep9315.so
libphrender.so.2
libgri.so.2
libdisputil.so
libffb.so.2

/lib/dll/phfont.so=${QNX_TARGET}/armle/lib/dll/phfont.so
/usr/photon/config/ep9315.conf=${QNX_TARGET}/armle/usr/photon/config/ep9315.conf
/usr/photon/palette/default.pal=${QNX_TARGET}/usr/photon/palette/default.pal
libFF-T2K.so
libFF-T2K-cache.so
libblkcache.so
libFF-T2K-fm.so.1

[data=copy]

Photon
io-graphics
phfontFA
/usr/photon/font_repository=${QNX_TARGET}/usr/photon/font_repository


ps:我的qnx为6.2.1
先谢谢大家了!大家给一个我调试的方向吧!

回复