gong mingyu
|
there is no back light and lcd clock output
|
gong mingyu
07/20/2009 9:49 PM
post34140
|
there is no back light and lcd clock output
I start io-display, and then execute egl-gear-lite,the console print information as follows:
Starting Graphics driver...
# ./egl-gears-lite
gf_dev_attach(): No error
the back power is detceted on the board, and I use display.conf to config the lcd,there is no waring and error. but
there is no back light and lcd clock output signal, why? thanks.
|
|
|
Michael Van Reenen
|
RE: there is no back light and lcd clock output
|
Michael Van Reenen
07/21/2009 12:13 PM
post34218
|
RE: there is no back light and lcd clock output
What platform are you trying to run on? Can you post the contents
of your display.conf? After trying to run the application below
are there any messages in sloginfo?
Thanks
-----Original Message-----
From: gong mingyu [mailto:community-noreply@qnx.com]
Sent: July 20, 2009 9:49 PM
To: advanced-graphics
Subject: there is no back light and lcd clock output
I start io-display, and then execute egl-gear-lite,the console print
information as follows:
Starting Graphics driver...
# ./egl-gears-lite
gf_dev_attach(): No error
the back power is detceted on the board, and I use display.conf to
config the lcd,there is no waring and error. but there is no back light
and lcd clock output signal, why? thanks.
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34140
|
|
|
gong mingyu
|
Re: RE: there is no back light and lcd clock output
|
gong mingyu
07/21/2009 9:31 PM
post34279
|
Re: RE: there is no back light and lcd clock output
imx31, display.conf as follow,
device {
drivername=imx31
vid=0
did=0
deviceindex=0
modeopts=/etc/system/config/imx31.conf
display {
xres=640
yres=480
refresh=60
pixel_format=rgb565
}
}
......
and imx31.conf as below:
xres=640,yres=480,irq=42,refresh=60,hsw=5,hss=50,hew=50,vsw=2,vss=10,vew=10,dmask=0,cidle=0,csel=0,vpol=0,epol=1,dpol=0,
cpol=0,hpol=0,sdc=1,sharp1=0,sharp2=0,ofmt=18,bright=255,clkdwn=0x8,clkper=0x90
in my *.bsh:
display_msg Starting Graphics driver...
io-display -v -d vid=0,did=0
waitfor /dev/io-display 10
........
sloginfo as follow
......
Jan 01 00:00:32 6 8 0 devg-imx31: config file specified, using config
parameters
Jan 01 00:00:32 6 8 0 devg-mx31: enable LCD power sucess
Jan 01 00:00:32 6 8 0 imx31_mode_init: imx31_mode_init ok!
#
above is added by myself, that is to say, the initialization of lcd mode is suceessful, there is no enable SDC and DI
code in the initial funcition,
while I add enable SDC and DI code, the back light and clk is output, but the graphic is not as I configure,
maybe I add another config parameters code ,the right graphics will display.
the config parameters code is at other funciton(for example, imx31_set_mode function), but the egl-gears-lite does not
execute that function.
2009-07-22
mygong
发件人: Michael Van Reenen
发送时间: 2009-07-22 00:05:48
收件人: advanced-graphics
抄送:
主题: RE: there is no back light and lcd clock output
What platform are you trying to run on? Can you post the contents
of your display.conf? After trying to run the application below
are there any messages in sloginfo?
Thanks
-----Original Message-----
From: gong mingyu [mailto:community-noreply@qnx.com]
Sent: July 20, 2009 9:49 PM
To: advanced-graphics
Subject: there is no back light and lcd clock output
I start io-display, and then execute egl-gear-lite,the console print
information as follows:
Starting Graphics driver...
# ./egl-gears-lite
gf_dev_attach(): No error
the back power is detceted on the board, and I use display.conf to
config the lcd,there is no waring and error. but there is no back light
and lcd clock output signal, why? thanks.
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34140
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34218
|
|
|
Michael Van Reenen
|
RE: RE: there is no back light and lcd clock output
|
Michael Van Reenen
07/24/2009 9:52 AM
post34511
|
RE: RE: there is no back light and lcd clock output
Is this an iMX31 reference platform or your own custom board?
For the reference boards we've supported we also had to pass an option to startup when using graphics to ensure the pin
multiplexing is setup to enable the LCD lines - I believe this should be shown in the build file for the boot image.
The initialization of the SDC and DI is mostly done in mode.c (set_mode() entry point) and also enabled in layer.c
(layer_update_end())
-----Original Message-----
From: gong mingyu [mailto:community-noreply@qnx.com]
Sent: July 21, 2009 9:32 PM
To: advanced-graphics
Subject: Re: RE: there is no back light and lcd clock output
imx31, display.conf as follow,
device {
drivername=imx31
vid=0
did=0
deviceindex=0
modeopts=/etc/system/config/imx31.conf
display {
xres=640
yres=480
refresh=60
pixel_format=rgb565
}
}
......
and imx31.conf as below:
xres=640,yres=480,irq=42,refresh=60,hsw=5,hss=50,hew=50,vsw=2,vss=10,vew=10,dmask=0,cidle=0,csel=0,vpol=0,epol=1,dpol=0,
cpol=0,hpol=0,sdc=1,sharp1=0,sharp2=0,ofmt=18,bright=255,clkdwn=0x8,clkper=0x90
in my *.bsh:
display_msg Starting Graphics driver...
io-display -v -d vid=0,did=0
waitfor /dev/io-display 10
........
sloginfo as follow
......
Jan 01 00:00:32 6 8 0 devg-imx31: config file specified, using config
parameters
Jan 01 00:00:32 6 8 0 devg-mx31: enable LCD power sucess
Jan 01 00:00:32 6 8 0 imx31_mode_init: imx31_mode_init ok!
#
above is added by myself, that is to say, the initialization of lcd mode is suceessful, there is no enable SDC and DI
code in the initial funcition,
while I add enable SDC and DI code, the back light and clk is output, but the graphic is not as I configure,
maybe I add another config parameters code ,the right graphics will display.
the config parameters code is at other funciton(for example, imx31_set_mode function), but the egl-gears-lite does not
execute that function.
2009-07-22
mygong
发件人: Michael Van Reenen
发送时间: 2009-07-22 00:05:48
收件人: advanced-graphics
抄送:
主题: RE: there is no back light and lcd clock output
What platform are you trying to run on? Can you post the contents
of your display.conf? After trying to run the application below
are there any messages in sloginfo?
Thanks
-----Original Message-----
From: gong mingyu [mailto:community-noreply@qnx.com]
Sent: July 20, 2009 9:49 PM
To: advanced-graphics
Subject: there is no back light and lcd clock output
I start io-display, and then execute egl-gear-lite,the console print
information as follows:
Starting Graphics driver...
# ./egl-gears-lite
gf_dev_attach(): No error
the back power is detceted on the board, and I use display.conf to
config the lcd,there is no waring and error. but there is no back light
and lcd clock output signal, why? thanks.
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34140
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34218
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34279
|
|
|
gong mingyu
|
Re: RE: RE: there is no back light and lcd clock output
|
gong mingyu
07/26/2009 8:55 PM
post34589
|
Re: RE: RE: there is no back light and lcd clock output
this is my own board, I had enabled LCD in *.bsh file;
I have changed another application to test LCD, then that is ok!
thanks
2009-07-27
mygong
发件人: Michael Van Reenen
发送时间: 2009-07-24 21:45:01
收件人: advanced-graphics
抄送:
主题: RE: RE: there is no back light and lcd clock output
Is this an iMX31 reference platform or your own custom board?
For the reference boards we've supported we also had to pass an option to startup when using graphics to ensure the pin
multiplexing is setup to enable the LCD lines - I believe this should be shown in the build file for the boot image.
The initialization of the SDC and DI is mostly done in mode.c (set_mode() entry point) and also enabled in layer.c
(layer_update_end())
-----Original Message-----
From: gong mingyu [mailto:community-noreply@qnx.com]
Sent: July 21, 2009 9:32 PM
To: advanced-graphics
Subject: Re: RE: there is no back light and lcd clock output
imx31, display.conf as follow,
device {
drivername=imx31
vid=0
did=0
deviceindex=0
modeopts=/etc/system/config/imx31.conf
display {
xres=640
yres=480
refresh=60
pixel_format=rgb565
}
}
......
and imx31.conf as below:
xres=640,yres=480,irq=42,refresh=60,hsw=5,hss=50,hew=50,vsw=2,vss=10,vew=10,dmask=0,cidle=0,csel=0,vpol=0,epol=1,dpol=0,
cpol=0,hpol=0,sdc=1,sharp1=0,sharp2=0,ofmt=18,bright=255,clkdwn=0x8,clkper=0x90
in my *.bsh:
display_msg Starting Graphics driver...
io-display -v -d vid=0,did=0
waitfor /dev/io-display 10
........
sloginfo as follow
......
Jan 01 00:00:32 6 8 0 devg-imx31: config file specified, using config
parameters
Jan 01 00:00:32 6 8 0 devg-mx31: enable LCD power sucess
Jan 01 00:00:32 6 8 0 imx31_mode_init: imx31_mode_init ok!
#
above is added by myself, that is to say, the initialization of lcd mode is suceessful, there is no enable SDC and DI
code in the initial funcition,
while I add enable SDC and DI code, the back light and clk is output, but the graphic is not as I configure,
maybe I add another config parameters code ,the right graphics will display.
the config parameters code is at other funciton(for example, imx31_set_mode function), but the egl-gears-lite does not
execute that function.
2009-07-22
mygong
发件人: Michael Van Reenen
发送时间: 2009-07-22 00:05:48
收件人: advanced-graphics
抄送:
主题: RE: there is no back light and lcd clock output
What platform are you trying to run on? Can you post the contents
of your display.conf? After trying to run the application below
are there any messages in sloginfo?
Thanks
-----Original Message-----
From: gong mingyu [mailto:community-noreply@qnx.com]
Sent: July 20, 2009 9:49 PM
To: advanced-graphics
Subject: there is no back light and lcd clock output
I start io-display, and then execute egl-gear-lite,the console print
information as follows:
Starting Graphics driver...
# ./egl-gears-lite
gf_dev_attach(): No error
the back power is detceted on the board, and I use display.conf to
config the lcd,there is no waring and error. but there is no back light
and lcd clock output signal, why? thanks.
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34140
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34218
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34279
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post34511
|
|
|
|