devg-pxa250 graphics driver newer than QNX 6.3.0 release

Hi,

Where can I find the devg-pxa250.so which is
able to run under QNX Neutrino 6.3.0 SP1/SP2
or even SP3 runtime ?

Regards,
Jacek

“Jacek Rudnicki” <jacek.rudnicki@quantum.com.pl> wrote in message
news:f0af9u$mec$1@inn.qnx.com

Hi,

Where can I find the devg-pxa250.so which is
able to run under QNX Neutrino 6.3.0 SP1/SP2
or even SP3 runtime ?

It’s part of the pxa270 bsp but if your board is custom like ours it may
well require modifications.

It’s part of the pxa270 bsp but if your board is custom like ours it may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf &
or

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics manager, no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295
io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3 abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id = 0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K 8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:

io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240, bitpp =
16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP. See the
online docs for each driver for additional command-line options and other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find devg-pxa250.so
adapted to SP2 runtime ?

Jacek

The note indicates the specifc version that the BSP was testing on at the
BSP was released. While not specifically tested to my knowledge, I expect
that the drivers in this BSP function the same under SP1, SP2 and SP3.
Have you observed a driver in this BSP that worked in SP1 that is now
failing in SP3?

\

  • Dave

Note that this discussion would be more relevantly posted to the BSP
newsgroup.

“Jacek Rudnicki” <jacek.rudnicki@quantum.com.pl> wrote in message
news:f0ide9$jth$1@inn.qnx.com

It’s part of the pxa270 bsp but if your board is custom like ours it may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf &
or

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics manager,
no errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295
io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3 abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id = 0

pidin -pio-graphics m

pid tid name prio STATE code data stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:

io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240, bitpp
= 16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP. See
the online docs for each driver for additional command-line options and
other details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find devg-pxa250.so
adapted to SP2 runtime ?

Jacek

We had to modify the driver for our board to support 8 bit grayscale on a
monochrome lcd but we’ve compiled and run the code on SP1,SP2 and SP3 and
never had a version compatibility problem. There was one problem with it
getting an out of memory problem but that might have been related to flash
corruption because reprogramming the flash cured that issue.


“Jacek Rudnicki” <jacek.rudnicki@quantum.com.pl> wrote in message
news:f0ide9$jth$1@inn.qnx.com

It’s part of the pxa270 bsp but if your board is custom like ours it may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf &
or

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics manager,
no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3 abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id = 0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:

io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240, bitpp

16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP. See
the
online docs for each driver for additional command-line options and other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find devg-pxa250.so
adapted to SP2 runtime ?

Jacek

How do you call io-graphics manager ?
Can you post all command-line options to the graphics driver ?

Jacek

U¿ytkownik “Ken Schumm” <kwschumm@qsolv.com> napisa³ w wiadomo¶ci
news:f0jqgn$bgl$1@inn.qnx.com

We had to modify the driver for our board to support 8 bit grayscale on a
monochrome lcd but we’ve compiled and run the code on SP1,SP2 and SP3 and
never had a version compatibility problem. There was one problem with it
getting an out of memory problem but that might have been related to flash
corruption because reprogramming the flash cured that issue.


“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0ide9$jth$> 1@inn.qnx.com> …
It’s part of the pxa270 bsp but if your board is custom like ours it
may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf &
or

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics manager,
no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3 abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id = 0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:

io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240,
bitpp

16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP. See
the
online docs for each driver for additional command-line options and other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find devg-pxa250.so
adapted to SP2 runtime ?

Jacek
\

Hello Dave,

There are two drivers:

  • devg-pxa250.so 10280 Apr 6 2004 (DBPXA250DP BSP)
  • devg-pxa250.so 10912 Feb 10 2005 (DBPXA270DP BSP).

Both of them works fine with QNX 6.3.0 runtime.
Both of them doesn’t work with QNX 6.3.0 SP1 runtime at all.

I suppose that devg-pxa250 wasn’t tested under SP1 and newer OS releases.

There are a lot of differences between both runtimes. For example
a size of the io-graphics manager is:

  • 103952 (6.3.0),
  • 122980 (6.3.0 SP1).

In a similar way the libgri.so.2 library is ~20 kb bigger in SP1.
Another thing, the io-graphics manager registers different
name (including id) in /dev/io-graphics directory:

  • under QNX 6.3.0:
    Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt0, id = 1

  • under QNX 6.3.0 SP1:
    Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id = 0

I start Photon in the same way under both runtimes.

Can you reproduce this issue in your office and finally confirm or reject my
suspicions ?

Regards,
Jacek

U¿ytkownik “D Nickerson” <dnickerson@qnx.com> napisa³ w wiadomo¶ci
news:f0ijhd$mtn$1@inn.qnx.com

The note indicates the specifc version that the BSP was testing on at the
BSP was released. While not specifically tested to my knowledge, I expect
that the drivers in this BSP function the same under SP1, SP2 and SP3.
Have you observed a driver in this BSP that worked in SP1 that is now
failing in SP3?

\

  • Dave

Note that this discussion would be more relevantly posted to the BSP
newsgroup.

“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0ide9$jth$> 1@inn.qnx.com> …
It’s part of the pxa270 bsp but if your board is custom like ours it may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf &
or

io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics manager,
no errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295
io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3 abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id = 0

pidin -pio-graphics m

pid tid name prio STATE code data stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:

io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240,
bitpp = 16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP. See
the online docs for each driver for additional command-line options and
other details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find devg-pxa250.so
adapted to SP2 runtime ?

Jacek
\

/usr/photon/bin/Photon
/usr/photon/bin/io-graphics -dpxa250
xres=480,yres=320,bitpp=8,palette=grey.pal,photon -pphoton -N -F"-I"

In our case the mode opts are hard coded in the modified devg-pxa250.so
driver and we have since discovered that the -N option does not work so we
will have to develop a workaround for that.

Ken

Jacek Rudnicki" <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0k9a3$iah$> 1@inn.qnx.com> …
How do you call io-graphics manager ?
Can you post all command-line options to the graphics driver ?

Jacek

U¿ytkownik “Ken Schumm” <> kwschumm@qsolv.com> > napisa³ w wiadomo¶ci
news:f0jqgn$bgl$> 1@inn.qnx.com> …
We had to modify the driver for our board to support 8 bit grayscale on
a
monochrome lcd but we’ve compiled and run the code on SP1,SP2 and SP3
and
never had a version compatibility problem. There was one problem with it
getting an out of memory problem but that might have been related to
flash
corruption because reprogramming the flash cured that issue.


“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0ide9$jth$> 1@inn.qnx.com> …
It’s part of the pxa270 bsp but if your board is custom like ours it
may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf &
or



io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics
manager,
no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295


io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3
abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id =
0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:



io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240,
bitpp

16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP.
See
the
online docs for each driver for additional command-line options and
other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find
devg-pxa250.so
adapted to SP2 runtime ?

Jacek


\

Hi Ken,

I call io-graphics driver in a similar way:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,mode_opts=/photon/config/pxa255.conf,photon -pphoton
-F"-I" &

But unfortunately under QNX 6.3.0 SP1 nothing shows up on the display.

Here is output from sloginfo command:

QNX 6.3.0
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/pxa250, id = 1

QNX 6.3.0 SP1
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/pxa2500, id = 0

Where does this additional ‘0’ (pxa2500) and id =0 come from ?

Have you ever tried to run devg-pxa250 provided by QNX as binary from
DBPXA250/270DP BSP under SP1 or newer runtime release ?

I don’t see any mistakes in my photon starting procedure.

Regards,
Jacek


U¿ytkownik “Ken Schumm” <kwschumm@qsolv.com> napisa³ w wiadomo¶ci
news:f0kt21$rgt$1@inn.qnx.com

/usr/photon/bin/Photon
/usr/photon/bin/io-graphics -dpxa250
xres=480,yres=320,bitpp=8,palette=grey.pal,photon -pphoton -N -F"-I"

In our case the mode opts are hard coded in the modified devg-pxa250.so
driver and we have since discovered that the -N option does not work so we
will have to develop a workaround for that.

Ken

Jacek Rudnicki" <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0k9a3$iah$> 1@inn.qnx.com> …
How do you call io-graphics manager ?
Can you post all command-line options to the graphics driver ?

Jacek

U¿ytkownik “Ken Schumm” <> kwschumm@qsolv.com> > napisa³ w wiadomo¶ci
news:f0jqgn$bgl$> 1@inn.qnx.com> …
We had to modify the driver for our board to support 8 bit grayscale on
a
monochrome lcd but we’ve compiled and run the code on SP1,SP2 and SP3
and
never had a version compatibility problem. There was one problem with
it
getting an out of memory problem but that might have been related to
flash
corruption because reprogramming the flash cured that issue.


“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0ide9$jth$> 1@inn.qnx.com> …
It’s part of the pxa270 bsp but if your board is custom like ours it
may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf
&
or



io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics
manager,
no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295


io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3
abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id =
0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:



io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240,
bitpp

16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP.
See
the
online docs for each driver for additional command-line options and
other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find
devg-pxa250.so
adapted to SP2 runtime ?

Jacek




\

The only time we may have run the binary release would have been ~18
months ago when we began work using the Intel PXA270 development platform.
If that was indeed the binary release it worked fine but I couldn’t tell you
which SP we were running (whatever was current at the time).

“Jacek Rudnicki” <jacek.rudnicki@quantum.com.pl> wrote in message
news:f0n535$2k9$1@inn.qnx.com

Hi Ken,

I call io-graphics driver in a similar way:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,mode_opts=/photon/config/pxa255.conf,photon -pphot

on

-F"-I" &

But unfortunately under QNX 6.3.0 SP1 nothing shows up on the display.

Here is output from sloginfo command:

QNX 6.3.0
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/pxa250, id = 1

QNX 6.3.0 SP1
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/pxa2500, id = 0

Where does this additional ‘0’ (pxa2500) and id =0 come from ?

Have you ever tried to run devg-pxa250 provided by QNX as binary from
DBPXA250/270DP BSP under SP1 or newer runtime release ?

I don’t see any mistakes in my photon starting procedure.

Regards,
Jacek


U¿ytkownik “Ken Schumm” <> kwschumm@qsolv.com> > napisa³ w wiadomo¶ci
news:f0kt21$rgt$> 1@inn.qnx.com> …
/usr/photon/bin/Photon
/usr/photon/bin/io-graphics -dpxa250
xres=480,yres=320,bitpp=8,palette=grey.pal,photon -pphoton -N -F"-I"

In our case the mode opts are hard coded in the modified devg-pxa250.so
driver and we have since discovered that the -N option does not work so
we
will have to develop a workaround for that.

Ken

Jacek Rudnicki" <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0k9a3$iah$> 1@inn.qnx.com> …
How do you call io-graphics manager ?
Can you post all command-line options to the graphics driver ?

Jacek

U¿ytkownik “Ken Schumm” <> kwschumm@qsolv.com> > napisa³ w wiadomo¶ci
news:f0jqgn$bgl$> 1@inn.qnx.com> …
We had to modify the driver for our board to support 8 bit grayscale
on
a
monochrome lcd but we’ve compiled and run the code on SP1,SP2 and SP3
and
never had a version compatibility problem. There was one problem with
it
getting an out of memory problem but that might have been related to
flash
corruption because reprogramming the flash cured that issue.


“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0ide9$jth$> 1@inn.qnx.com> …
It’s part of the pxa270 bsp but if your board is custom like ours
it
may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf
&
or




io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics
manager,
no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21 0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295



io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3
abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00, id

0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:




io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres = 240,
bitpp

16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel DBPXA270DP.
See
the
online docs for each driver for additional command-line options and
other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find
devg-pxa250.so
adapted to SP2 runtime ?

Jacek






\

After io-graphics Patch installation (Patch ID 144) everything is ok.

Jacek

U¿ytkownik “Ken Schumm” <kwschumm@qsolv.com> napisa³ w wiadomo¶ci
news:f0nilg$929$1@inn.qnx.com

The only time we may have run the binary release would have been ~18
months ago when we began work using the Intel PXA270 development platform.
If that was indeed the binary release it worked fine but I couldn’t tell
you
which SP we were running (whatever was current at the time).

“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0n535$2k9$> 1@inn.qnx.com> …
Hi Ken,

I call io-graphics driver in a similar way:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,mode_opts=/photon/config/pxa255.conf,photon -pphot
on
-F"-I" &

But unfortunately under QNX 6.3.0 SP1 nothing shows up on the display.

Here is output from sloginfo command:

QNX 6.3.0
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/pxa250, id = 1

QNX 6.3.0 SP1
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/pxa2500, id =
0

Where does this additional ‘0’ (pxa2500) and id =0 come from ?

Have you ever tried to run devg-pxa250 provided by QNX as binary from
DBPXA250/270DP BSP under SP1 or newer runtime release ?

I don’t see any mistakes in my photon starting procedure.

Regards,
Jacek


U¿ytkownik “Ken Schumm” <> kwschumm@qsolv.com> > napisa³ w wiadomo¶ci
news:f0kt21$rgt$> 1@inn.qnx.com> …
/usr/photon/bin/Photon
/usr/photon/bin/io-graphics -dpxa250
xres=480,yres=320,bitpp=8,palette=grey.pal,photon -pphoton -N -F"-I"

In our case the mode opts are hard coded in the modified devg-pxa250.so
driver and we have since discovered that the -N option does not work so
we
will have to develop a workaround for that.

Ken

Jacek Rudnicki" <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0k9a3$iah$> 1@inn.qnx.com> …
How do you call io-graphics manager ?
Can you post all command-line options to the graphics driver ?

Jacek

U¿ytkownik “Ken Schumm” <> kwschumm@qsolv.com> > napisa³ w wiadomo¶ci
news:f0jqgn$bgl$> 1@inn.qnx.com> …
We had to modify the driver for our board to support 8 bit grayscale
on
a
monochrome lcd but we’ve compiled and run the code on SP1,SP2 and
SP3
and
never had a version compatibility problem. There was one problem
with
it
getting an out of memory problem but that might have been related to
flash
corruption because reprogramming the flash cured that issue.


“Jacek Rudnicki” <> jacek.rudnicki@quantum.com.pl> > wrote in message
news:f0ide9$jth$> 1@inn.qnx.com> …
It’s part of the pxa270 bsp but if your board is custom like ours
it
may
well require modifications.

It sems that devg-pxa250 from the DBPXA270DP
bsp is able to run under QNX 6.3.0 SP1 only.

BSP release notes says:
“Target OS: QNXR NeutrinoR 6.3.0 SP1”

Can anybody confirm that ?

Ken, did you test this driver against SP2 release ?

I have tried to run it on the QNX 6.3.0 SP2, but
unfortunately no luck.

Here is how I start graphics driver:

io-graphics -dpxa250

xres=320,yres=240,bitpp=8,photon,mode_opts=/photon/config/pxa255.conf
&
or




io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

In both cases driver and all libraries are loaded by io-graphics
manager,
no
errors
in system logs:

pidin a

pid Arguments
1 proc/boot/procnto
2 devc-serpxa250 -e 0x40100000,22 0x40200000,21
0x40700000,20
3 pipe
4 slogger
4101 Photon
8198 phfont -d/photon/font_repository
12295



io-graphics -g320x240x8 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
16392 devi-tsc1 smartset fd -d/dev/ser3
abs -f/photon/config/calib.nec
16393 phcalc
16394 io-net -dsmc9000
ioport=0x08000300,irq=8,variant=dbpxa270dp -pttcpip if=en0:195.116.
20491 qconn
20492 sh
40973 pidin a

sloginfo

Time Sev Major Minor Args
Feb 01 00:00:01 1 8 0 phfont_init
Feb 01 00:00:01 1 8 0 phfontXX started OK
Feb 01 00:00:02 4 8 0 Legacy mode config file found.
Feb 01 00:00:02 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
Feb 01 00:00:02 1 8 0 phfont_init
Feb 01 00:00:02 1 8 0 phfontXX started OK
Feb 01 00:00:02 2 8 0 Unable to attach sleuth monitor
Feb 01 00:00:02 5 8 0 Attached /dev/io-graphics/crt00,
id

0

pidin -pio-graphics m

pid tid name prio STATE code data
stack
12295 1 on/bin/io-graphics 12r RECEIVE 116K 976K
8192(132K)*
12295 2 on/bin/io-graphics 12r REPLY 116K 976K
8192(132K)
ldqnx.so.2 @ 1000000 396K 16K
libgri.so.2 @ 1067000 60K 4096
libfont.so.1 @ 1077000 44K 4096
libm.so.2 @ 1083000 148K 8192
libdisputil.so.2 @ 10aa000 24K 4096
phfont.so @ 10b1000 132K 20K
tharnessutils.so.1 @ 10d7000 20K 4096
FCcore.so @ 10dd000 40K 8192
libblkcache.so.2 @ 10e9000 12K 4096
libFF-T2K-fm.so.1 @ 10ed000 12K 4096
bFF-T2K-cache.so.2 @ 10f1000 8192 4096
libFF-T2K.so.2 @ 10f4000 244K 12K
PHFcore.so @ 1134000 28K 4096
libfontutils.so.1 @ 113c000 4096 4096
ttfFFcore.so @ 113e000 40K 8192
devg-pxa250.so @ 114a000 12K 4096
libffb.so.2 @ 114e000 48K 4096
gri-photon.so @ 115b000 60K 8192
libphrender.so.2 @ 116c000 228K 8192
/dev/mem @ 1800000 (44000000) 4096
/dev/mem @ 1801000 (40e00000) 4096
/dev/mem @ 1802000 ( 0) 32K

but nothing shows up on the LCD display.

Also 16-bit color mode doesn’t work:




io-graphics -g320x240x16 -dldevg-pxa250.so -amode=/photon/config/pxa255.conf
&

2 8 0 Invalid video mode: dispno = 0,xres = 320, yres =
240,
bitpp

16, refresh = 60
1 8 0 Received terminate request, exiting - EOK
2 9 0 Error: unable to find a graphics region
2 9 0 Error: cannot connect to Photon device

So, DBPXA270DP description is not correct:

Summary of driver commands
The driver command lines below are specific to the Intel
DBPXA270DP.
See
the
online docs for each driver for additional command-line options and
other
details.

Graphics

Command:
io-graphics -dpxa250 xres=320,yres=240,
bitpp=16,photon,mode_opts=pxa250.conf,
hook=devg-rotate90.so -pphoton -F" -I", &Where can I find
devg-pxa250.so
adapted to SP2 runtime ?

Jacek








\