Photon

Hello,

I have a question about getting photon up and running. I have a
Total5200 system. What library and binary files do I need to
accomplish that? I tried those recommended in the BSP build file, but
I still get the following errors (form sloginfo):

26 09:06:38 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
26 09:06:38 2 8 0 Unable to open font DLL


Any help will be appreciated.

Thanks

“ramyssysix” <wsaleem@fma.fujitsu-dot-com.no-spam.invalid> wrote in message
news:djudr6$8r6$1@inn.qnx.com

Hello,

I have a question about getting photon up and running. I have a
Total5200 system. What library and binary files do I need to
accomplish that? I tried those recommended in the BSP build file, but
I still get the following errors (form sloginfo):

26 09:06:38 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
26 09:06:38 2 8 0 Unable to open font DLL

I’m working on this on a pxa270 as well. It’s not well documented.

The crtc-settings error can be ignored. That’s pretty much just for a pc.

I copied over all the dll’s, fonts and config files from my desktop to the
target and photon came up. It will have to be trimmed down to fit on the
final target. I still haven’t been able to get phditto/phindows working on
the target.

“Ken Schumm” <kwschumm@qsolv.com> wrote in message
news:djuk59$cur$1@inn.qnx.com
[…]

I copied over all the dll’s, fonts and config files from my desktop to the
target and photon came up.

Clarification, I copied all the photon dlls for the pxa270 processor to the
target, not the x86 dlls from the pc.

There’s an appendix in the Photon Programmer’s Guide on embedding photon.

http://www.qnx.com/developers/docs/6.3.0SP1/photon/prog_guide/embed.html

Ken Schumm wrote:

“Ken Schumm” <> kwschumm@qsolv.com> > wrote in message
news:djuk59$cur$> 1@inn.qnx.com> …
[…]


I copied over all the dll’s, fonts and config files from my desktop to the
target and photon came up.


Clarification, I copied all the photon dlls for the pxa270 processor to the
target, not the x86 dlls from the pc.


cburgess@qnx.com

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:djulv2$5u7$1@inn.qnx.com

There’s an appendix in the Photon Programmer’s Guide on embedding photon.

http://www.qnx.com/developers/docs/6.3.0SP1/photon/prog_guide/embed.html

That document gives a good overview but it doesn’t answer some key questions
when someone is actually trying to get it working.

For example, how to configure fonts for the embeded target on a windows
hosted system (answer - you can’t).

Or, that the crtc-settings error in the system error log should be ignored.

Or, exactly what is required to use phditto or phindows on your target.
Still don’t have that working.

I encountered many problems and questions following that guide. I should
have documented them for you guys and provided feedback, sorry.

Thanks Ken. I’ve forwarded this comment to the appropriate people! :v)

Ken Schumm wrote:

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:djulv2$5u7$> 1@inn.qnx.com> …

There’s an appendix in the Photon Programmer’s Guide on embedding photon.

http://www.qnx.com/developers/docs/6.3.0SP1/photon/prog_guide/embed.html


That document gives a good overview but it doesn’t answer some key questions
when someone is actually trying to get it working.

For example, how to configure fonts for the embeded target on a windows
hosted system (answer - you can’t).

Or, that the crtc-settings error in the system error log should be ignored.

Or, exactly what is required to use phditto or phindows on your target.
Still don’t have that working.

I encountered many problems and questions following that guide. I should
have documented them for you guys and provided feedback, sorry.


cburgess@qnx.com

I’ve done a complete Photon build file for the Lite5200 with Coral-P, for
QNX 6.3 SP1. It gives a good hint on what is actually needed.

Cheers,


Malte

“ramyssysix” <wsaleem@fma.fujitsu-dot-com.no-spam.invalid> schrieb im
Newsbeitrag news:djudr6$8r6$1@inn.qnx.com

Hello,

I have a question about getting photon up and running. I have a
Total5200 system. What library and binary files do I need to
accomplish that? I tried those recommended in the BSP build file, but
I still get the following errors (form sloginfo):

26 09:06:38 3 8 0 Unable to open
“/etc/system/config/crtc-settings”
26 09:06:38 2 8 0 Unable to open font DLL


Any help will be appreciated.

Thanks

begin 666 Lite5200_photon_63.build
M#0I;:6UA9V4],’@R,# P,%T-“EMV:7)T=6%L/7!P8V)E+’-R96,@V-O;7!R
M97-S72 N8F]O=’-T<F%P(#T@>PT
"7-T87)T=7 M;6=T-3(P,” -“B @(”!0
M051(/2]P<F]C+V)O;W0@3$1?3$E"4D%265]0051(/2]P<F]C+V)O;W0@<’)O
M8VYT;RTV,# -“GT-”@T6RMS8W)I<‘1=(“YS8W)I<'0@/2![#0H)(R!0<F]G
M<F%M<R!R97%U:7)E('1H92!R=6YT:6UE(&QI;FME<B H;&1Q;G@N<V\I('1O
M(&)E(&%T(&$@9FEX960@;&]C871I;VX-”@EP<F]C;6=R7W-Y;6QI;FL@+BXO
M+BXO<’)O8R]B;V]T+VQI8F,N<V\N,B O=7-R+VQI8B]L9’%N>“YS;RXR#0H-
M”@ED:7-P;&%Y7VUS9R!796QC;VUE('1O($YE=71R:6YO(&]N('1H92!,:71E
M-3(P,"!";V%R9 T
#0H)<VQO9V=E<@T*#0H@(" @(R,@4$-)(&1R:79E<@T*
M(" @(" @<&-I+6UG=#4R,# -"@EW86ET9F]R("]D978O<&-I(#0-"@D-“B @
M(” C(R!397)I86P@9’)I=F5R(&9O<B!-;W1O<F]L82!,:71E-3(P,"!%5D(@
M5F5R<VEO;B R+C @#0H@(" @("!D979C+7-E<G!S8R M8R Q,S(P,# P,# @
M+74@,2 M92 M1B M4R M8B Q,34R,# @,‘AF,# P,C P,"PV-2 F#0H)=V%I
M=&9O<B O9&5V+W-E<C$-“B @(” @(’)E;W!E;B O9&5V+W-E<C$-"@T*“2,@
M<&AO=&]N(&5N=B!V87(-“B @(” @(%!!5$@]+W!R;V,O8F]O=#HO8FEN.B]S
M8FEN.B]U<W(O8FEN+SHO=7-R+W-B:6XO.B]U<W(O<&AO=&]N+V)I;@T*(” @
M(" @3$1?3$E"4D%265]0051(/2]P<F]C+V)O;W0Z+VQI8CHO;&EB+V1L; T*
M"5!(3U1/3CTO9&5V+W!H;W1O;@T*“5!(3U1/3E]0051(/2]P<F]C+V)O;W0-
M”@E02$]43TXR7U!!5$@]+W!R;V,O8F]O= T*#0H)(R!4:&5S92!E;G8@=F%R
M:6%B;&5S(&EN:&5R:71E9"!B>2!A;&P@=&AE(’!R;V=R86US(’=H:6-H(&9O
M;&QO=PT*(" @(" @4UE33D%-13UN=&-“B @(” @(%1%4DT]<6YX#0H@(" @
M("!(3TU%/2]R;V]T#0H-"@EP:7!E#0H-“B @(” C(R!.971W;W)K(&1R:79E
M<@T*(" @(",C(%-E=‘5P($)E<W0@0V]M;2 H1$U!2!F;W(@;VXM8F]A<F0@
M971H97)N970@9’)I=F5R#0H@(" @#0H@(" @9&ES<&QA>5]M<V<@4W1A<G1I
M;F<@=7 @;VXM8F]A<F0@971H97)N970@=VET:"!,87)G92!S=&%C:R!A;F0@
M8V%C:&4-“B @(”!B97-T8V]M;34R,# -“B @(”!I;RUN970@+6,Q("UP=&-P
M:7 @8V%C:&4],2 M9&UP8S4R,# @;6%C/3 P,3$R,C,S-#0T- T
(" @(’=A
M:71F;W(@+V1E=B]I;RUN970O96XP(#0-“B @(”!I9F-O;F9I9R!E;C @,3DR
M+C$V.“XQ,“XR#0H-”@T*(” @("-D:7-P;&%Y7VUS9R!3=&%R=&EN9R!54T(@
M4W1A8VL@$](0TDI(&%N9"!-;W5S92!$<FEV97(-“B @(”!I;RUU<V(@+61O
M:&-I+6UG=#4R,# @:6]P;W)T/3!X9C P,#$P,# L:7)Q/3<P#0H@(" @=V%I
M=&9O<B O9&5V+VEO+75S8B]I;RUU<V(@- T
(" @(" @“61E=G4M;6]U<V4-
M”@T*(" @(",C($9L87-H(&1R:79E<@T*(R @(&1I<W!L87E?;7-G(%-T87)T
M:6YG($9L87-H(&1R:79E<@T*(R @(&1E=F8M;6=T-3(P," M<S!X9F8P,# P
M,# L,39-#0H-"@D-"@DC(’-T87)T(%!H;W1O;B!B:6YA<FEE<RX-"@T*“7-E
M=&-O;F8@7T-37TQ)0E!!5$@@+W!R;V,O8F]O=#HO;&EB.B]L:6(O9&QL#0H-
M”@ED:7-P;&%Y7VUS9R!3=&%R=&EN9R!0:&]T;VX-"@E0:&]T;VX@)@T*“7=A
M:71F;W(@+V1E=B]P:&]T;VX-”@EP:&9O;G0@+60@+W!R;V,O8F]O=" M6" F
M#0H)=V%I=&9O<B O9&5V+W!H9F]N= T*#0H)9&ES<&QA>5]M<V<@4W1A<G1I
M;F<@1W)A<&AI8W,@1’)I=F5R#0H-“B,)4W1A<G0@;V8@0V]R86PM4”!G<F%P
M:&EC<R!D<FEV97(-"@EI;RUG<F%P:&EC<R M9&QD979G+6-O<F%L+G-O(“UD
M,’@Q,&-F+#!X,C Q.2 M9S8T,’@T.#!X,34@+6%M;V1E/2]C;W)A;“YC;VYF
M(“8@#0H-“B,)<VQE97 @,0T*#0H)9&ES<&QA>5]M<V<@4W1A<G1I;F<@4&AO
M=&]N($EN<‘5T($1R:79E<B!W:71H(%530B!-;W5S90T*“7=A:71F;W(@+V1E
M=B]U<V)M;W5S93 -”@ED979I+6AI<G5N(&US;V9T(&9D(“UD+V1E=B]U<V)M
M;W5S93 @#0H-@ED:7-P;&%Y7VUS9R!3=&%R=&EN9R!7:6YD;W<@36%N86=E
M<B!A;F0@17AA;7!L92!!<’!L:6-A=&EO;@T*“7!W;2 F#0H)<&AC86QC7W-M
M(“8-“B,)=F]Y86=E<B F#0H-”@T*(R!M;W5N=”!A<’!L:6-A=&EO;B!D:7)E
M8W1O<GD-”@T*(V9S+6YF<S(@,3DR+C$V.“XU,2XQ-#,Z+W1M<” O;&%P=&]P
M#0H-”@T*“61E=F,M<'1Y#0H)=V%I=&9O<B O9&5V+W!T>7 P(#0-@EQ8V]N
M;@T*“0T*“2,-”@DC(%-T87)T(‘1H92!M86EN(’-H96QL#0H)(PT*“5LK<V5S
M<VEO;ET@<V@@)@T*?0T*#0HC#0HC(%)E9&ER96-T(&-O;G-O;&4@;65S<V%G
M97,-“B,-“EMT>7!E/6QI;FM=(”]D978O8V]N<V]L93TO9&5V+W-E<C$-“EMT
M>7!E/6QI;FM=(”]U<W(O;&EB+VQD<6YX+G-O+C(]+W!R;V,O8F]O=”]L:6)C
M+G-O#0I;='EP93UL:6YK72 O=&UP/2]D978O<VAM96T-”@T6W1Y<&4];&EN
M:UT@+W!R;V,O8F]O="]F;VYT7W)E<&]S:71O<GD]+W!R;V,O8F]O= T
#0ID
M979G+6-O<F%L+G-O#0HO8V]R86PN8V]N9CTD>U%.6%]405)‘151]+W!P8V)E
M+W5S<B]P:&]T;VXO8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&QO=VEN9R!U<V5R(&EN9F@86YD(’=M(&-O;F9I9W5R871I;VX@9FEL
M97,@87)E(&YE961E9”!T;R!U<V4@<’=M+@T*(R!M;W-T(&]F('1H92!R97-T
M(&]F('1H92!F:6QE(&%R92!I;BUL:6YE(&-O;F9I9W5R871I;VX@<W1U9F8-
M”@T*+V5T8R]G<F]U<#U[#0IR;V]T.G@Z,#IR;V]T#0I]#0H-“B]E=&,O<WES
M=&5M+W1R87 O8V%L:6(N;&]C86QH;W-T/7L-“GT-”@T*#0H-“B]E=&,O<&%S
M<W=D/7L-“G)O;W0Z.C Z,#I3=7!E<G5S97(Z+W)O;W0O8FEN+W-H#0I]#0H-
M"B]R;V]T+RYP:”]W;2]W;2YC9F<]>PT*(” @(” @(”!;=VT@8V]N9FEG70T*
M(” @(” @(”!F;W)E7V-O;&]R(#T@,'A$.$0X1#@-“B @(” @(” @86-T:79E
M7V-O;&]R(#T@,’@U0SA"1$8-“B @(” @(” @=&ET;&5?8V]L;W(@/2 P>#8U
M#0H@(” @(” @(&EN86-T:79E7V-O;&]R(#T@,'A”,4,Q1#D-“B @(” @(” @
M8F%S95]C;VQO<B ](#!X0D1"1$%!#0H@(” @(" @(&)O<F1E<E]A8W1I=F4@
M/2 P#0H@(" @(" @(’!L86-E;65N=" ](#0-“B @(” @(" @=&5X=%]A;&EG
M;B ](#(-“B @(” @(" @875T;U]R86ES92 ](# -“B @(” @(" @:V5Y8F]A
M<F0@/2 P#0H@(" @(" @(&9O8W5S7V-U<G-O<B ](#$-“B @(” @(" @8VQI
M8VM?9G)O;G0@/2 P#0H@(" @(" @(&1R86<@/2 Q#0I]#0H-“B]R;V]T+RYP
M:”]W;2]W;2YM96YU/7L-“B @(” @(" @/41E<VMT;W @365N=0T*(" @(" @
M("!497)M:6YA;" @(" @(" @5" @(" @("!P=&5R;0T*(" @(" @("!3:‘5T
M9&]W;B @(" @(" @=2 @(" @("!P:’-H=71D;W=N#0I]#0H-"@T*(R!T:&4@
M9F]L;&]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G0@/2!P<FEM87-A;G-B
M=’,-"CM4:71L949O;G0@/2!P<FEM87-A;G-B=’,-"CM(96QV971I8V$@/2!P
M<FEM87-A;G-B=’,-"CM697)D86YA(#T@<’)I;6%S86YS8G1S#0IM;VYO<W!A
M8V4@/2!P<FEM87-A;G-M;VYO8G1S#0IS86YS+7-E<FEF(#T@<’)I;6%S86YS
M8G1S#0H<V5R:68@/2!P<FEM87-A;G-B=’,-"CMW96(@/2!P<FEM87-A;G-B
M=’,-“CMA<FEA;”
T<PT*.W1E<FT@/2!P<FEM87-A;G-B
M=’,-"CMG96YE=F$@/2!P<FEM87-A;G-B=’,-"CMM;VYA8V@/2!P<FEM87-A
M;G-B=’,-"CMN>2 ](’!R:6UA<V%N<V)T<PT*.V-O=7)I97(@/2!P<FEM87-A
M;G-B=’,-“CMD=71C:” ](’!R:6UA<V%N<V)T<PT*.W-W:7-S(#T@<’)I;6%S
M86YS8G1S#0H[=&EM97,@/2!P<FEM87-A;G-B=’,-"CMW:6YG8F%T<R ](’!R
M:6UA<V%N<V)T<PT*.VAE;‘8@/2!P<FEM87-A;G-B=’,-"CMN8V5N(#T@<’)I
M;6%S86YS8G1S#0H=&EM92 T<PT*/R ](’!R:6UA<V%N
M<V)T<PT*?0T*#0IF;VYT='EP92 ]>PT6T5.1S%=#0HN<&AF#0I;14Y’,ET-
M"EM%3D<S70T
+G1T9@T6T5.1S1=#0I;4U!%0TE!3%T-“GT-”@T#0IS:#UK
1<V@-"B,@<V@]9F5S: T*#0H
end

Hello Thunderblade,

The build file you posted is notr readable. Can you post it again?

Regards

It’s readable here… how do you access the newsgroups? I will paste the
contents of the build file into this message.

[image=0x20000]
[virtual=ppcbe,srec +compress] .bootstrap = {
startup-mgt5200
PATH=/proc/boot LD_LIBRARY_PATH=/proc/boot procnto-600
}
[+script] .script = {

Programs require the runtime linker (ldqnx.so) to be at a fixed location

procmgr_symlink …/…/proc/boot/libc.so.2 /usr/lib/ldqnx.so.2
display_msg Welcome to Neutrino on the Lite5200 Board
slogger

PCI driver

pci-mgt5200
waitfor /dev/pci 4

Serial driver for Motorola Lite5200 EVB Version 2.0

devc-serpsc -c 132000000 -u 1 -e -F -S -b 115200 0xf0002000,65 &
waitfor /dev/ser1
reopen /dev/ser1

photon env var

PATH=/proc/boot:/bin:/sbin:/usr/bin/:/usr/sbin/:/usr/photon/bin
LD_LIBRARY_PATH=/proc/boot:/lib:/lib/dll
PHOTON=/dev/photon
PHOTON_PATH=/proc/boot
PHOTON2_PATH=/proc/boot

These env variables inherited by all the programs which follow

SYSNAME=nto
TERM=qnx
HOME=/root
pipe

Network driver

Setup Best Comm (DMA) for on-board ethernet driver

display_msg Starting up on-board ethernet with Large stack and cache
bestcomm5200
io-net -c1 -ptcpip cache=1 -dmpc5200 mac=001122334444
waitfor /dev/io-net/en0 4
ifconfig en0 192.168.10.2

#display_msg Starting USB Stack (OHCI) and Mouse Driver
io-usb -dohci-mgt5200 ioport=0xf0001000,irq=70
waitfor /dev/io-usb/io-usb 4
devu-mouse

Flash driver

display_msg Starting Flash driver

devf-mgt5200 -s0xff000000,16M

start Photon binaries.

setconf _CS_LIBPATH /proc/boot:/lib:/lib/dll
display_msg Starting Photon
Photon &
waitfor /dev/photon
phfont -d /proc/boot -X &
waitfor /dev/phfont
display_msg Starting Graphics Driver

Start of Coral-P graphics driver

io-graphics -dldevg-coral.so -d0x10cf,0x2019 -g640x480x15 -amode=/coral.conf
&

sleep 1

display_msg Starting Photon Input Driver with USB Mouse
waitfor /dev/usbmouse0
devi-hirun msoft fd -d/dev/usbmouse0
display_msg Starting Window Manager and Example Application
pwm &
phcalc_sm &

voyager &

mount application directory

#fs-nfs2 192.168.51.143:/tmp /laptop

devc-pty
waitfor /dev/ptyp0 4
qconn

Start the main shell

[+session] sh &
}

Redirect console messages

[type=link] /dev/console=/dev/ser1
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so
[type=link] /tmp=/dev/shmem
[type=link] /proc/boot/font_repository=/proc/boot
devg-coral.so
/coral.conf=${QNX_TARGET}/ppcbe/usr/photon/config/coral.conf
#devg-smi5xx.so
#/smi5xx.conf=${QNX_TARGET}/ppcbe/usr/photon/config/smi5xx.conf
libusbdi.so.2
libc.so
libm.so
libsocket.so
npm-tcpip.so=npm-tcpip-v4.so
libdma-bestcomm5200.so
devn-mpc5200.so
#include the photon libs
libAp.so
libph.so
libphexlib.so
libffb.so
libdisputil.so
libphrender.so
libgri.so
gri-photon.so
libPtWeb.so
/lib/dll/font=${QNX_TARGET}/ppcbe/lib/dll/font
/lib/dll/phfont.so=phfont.so
/lib/libblkcache.so=libblkcache.so
/lib/libFF-T2K-cache.so=libFF-T2K-cache.so
/lib/libFF-T2K-fm.so=libFF-T2K-fm.so
/lib/libFF-T2K.so=libFF-T2K.so
/lib/libfont.so=libfont.so
/lib/libfontharnessutils.so=libfontharnessutils.so
/lib/libfontutils.so=libfontutils.so

\

Executables

[data=c]
devc-serpsc
bestcomm5200
pci-mgt5200
io-usb
devu-ohci-mgt5200.so
devu-mouse
#devh-usb.so
devi-hirun
pipe
pidin
ls
ifconfig
uname
sleep
ls
io-net
pci
ping
cat
qconn
devc-pty

devf-mgt5200

flashctl

fs-nfs2
slogger
sloginfo
slay
getconf
setconf
#include photon binaries
Photon
io-graphics
phfont

make sure the phab stuff isn’t stripped by compress

[+raw perms=775] phcalc_sm
[+raw perms=775] pwm
#[+raw perms=775] voyager
#[+raw perms=775] vserver

#needs these files for keyboard & fonts
/proc/boot/keyboard/en_US_101.kbd =
${QNX_TARGET}/usr/photon/keyboard/en_US_101.kbd
${QNX_TARGET}/usr/photon/font_repository/phcursor.phf
${QNX_TARGET}/usr/photon/font_repository/tt2001m_.ttf
${QNX_TARGET}/usr/photon/font_repository/tt2003m_.ttf

\

the following user info and wm configuration files are needed to use pwm.

most of the rest of the file are in-line configuration stuff

/etc/group={
root:x:0:root
}
/etc/system/trap/calib.localhost={
}


/etc/passwd={
root::0:0:Superuser:/root/bin/sh
}
/root/.ph/wm/wm.cfg={
[wm config]
fore_color = 0xD8D8D8
active_color = 0x5C8BDF
title_color = 0x65
inactive_color = 0xB1C1D9
base_color = 0xBDBDAA
border_active = 0
placement = 4
text_align = 2
auto_raise = 0
keyboard = 0
focus_cursor = 1
click_front = 0
drag = 1
}
/root/.ph/wm/wm.menu={
=Desktop Menu
Terminal T pterm
Shutdown u phshutdown
}

the following font information is needed to incorporate fonts on the

target
fontdir={
;
phcursor,.phf,Photon Cursor,0,E900-E921,Np,32x32,3k
primasansbts,0@tt2001m_.ttf,PrimaSans BT,0,0020-F002,MIp,133x129,75k
primasansbtsb,0@tt2003m_.ttf,PrimaSans BT,0,B,0020-F002,MIp,143x130,70k
}
fontext={
;
+normal = primasansbts, primasansmonobts, phcursor
}
fontdesc={
[SANSERIF]
PrimaSans BT
PrimaSansMono BT
}
fontkey={
[FOUNDRY]
BT
MS
Condensed
[AFTERFOUNDRYKEYS]
Roman

[KEYS]
Plain
Regular
Bold
Italic
Oblique
-Roman
-Plain
-Regular
-Bold
-Italic
-Oblique
Normal
-Normal
regular
normal
}
fontmap={
;BalloonFont = primasansbts
FixedFont = primasansmonobts
;HeadingFont = primasansbts
;MenuFont = primasansbts
;MessageFont = primasansbts
;TextFont = primasansbts
;TitleFont = primasansbts
;Helvetica = primasansbts
;Verdana = primasansbts
monospace = primasansmonobts
sans-serif = primasansbts
;serif = primasansbts
;web = primasansbts
;arial = primasansbts
;term = primasansbts
;geneva = primasansbts
;monaco = primasansbts
;ny = primasansbts
;courier = primasansbts
;dutch = primasansbts
;swiss = primasansbts
;times = primasansbts
;wingbats = primasansbts
;helv = primasansbts
;ncen = primasansbts
;time = primasansbts
? = primasansbts
}
fonttype ={
[ENG1]
…phf
[ENG2]
[ENG3]
…ttf
[ENG4]
[SPECIAL]
}

sh=ksh

sh=fesh

Thanks Thunderblade. I can see it now. I access it using the regular
browser, through openqnx.com.

Currently, I am trying to run Photon on Total5200 instead. I noticed
that you have used inline files for fontdesc, fontdir etc. I am not
following that approach and keeping these files in
/usr/photon/font_repository instead. But for some reason, I always
get this error “FontDesc is Null” when I run a graphics application.
Can you or anyone suggest a solution?

Best Regards

I see that devf-mgt5200 is commented out, I am trying to find that
file. It is included with the bsp for 6.2.1 but I don’t see it in
the bsp for 6.3, any hints as to where I can find it? I am using the
lite5200, or ICE Cube as some people call it.

Thanks

For 6.3 BSPs, you require the “Flash Filesystem and Embedding TDK”.
This will give you the devf-mgt5200 binary, as well as the header files
and libraries required to compile the driver from source.

Please contact your Sales rep for more information on it.

Thanks,
-Jay.

glansberry wrote:

I see that devf-mgt5200 is commented out, I am trying to find that
file. It is included with the bsp for 6.2.1 but I don’t see it in
the bsp for 6.3, any hints as to where I can find it? I am using the
lite5200, or ICE Cube as some people call it.

Thanks