Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Photon bring up on iMx53 platform: (4 Items)
   
Photon bring up on iMx53 platform  
Hi,

I am new to QNX,

Am trying to get the Photon desktop environment for the imx53 platform.

After a bit of debugging and changing the buildfile I was able to successfully load the 
Photon and io-graphics.

When I run the phcalc and solitaire it comes properly on the LCD screen, but when I run the 
pwm & command I get a blank blue screen.

I have attached the buildfile for the same,
can anyone tell me where am I doing wrong in getting the desktop environment.
Also I have attached the wm.cfg and wm,menu.

When I execute the pidin mem command  I get following msg. 

16402   1 proc/boot/ksh       10r SIGSUSPEND       256K  144K   16K(516K)*
            libc.so.3          @ 1000000             460K   16K
   16403   1 proc/boot/photon    24r RECEIVE           92K  104K   16K(516K)*
            libc.so.3          @ 1000000             460K   16K
   20500   1 on/bin/io-graphics  12r CONDVAR           72K 2864K   24K(516K)*
   20500   2 on/bin/io-graphics  10r RECEIVE           72K 2864K  8192(516K)
   20500   3 on/bin/io-graphics  12r REPLY             72K 2864K  8192(132K)
            libc.so.3          @ 1000000             460K   16K
            libgf.so.1         @78000000              96K  4096
            libfont.so.1       @78019000              28K  4096
            FCcore.so          @78021000              32K  8192
            libblkcache.so.2   @7802b000              12K  4096
            libphrender.so.2   @78030000             224K  8192
            phfont.so          @78070000              80K   16K
            PHFcore.so         @78088000              24K  8192
            libFF-T2K.so.3     @78090000             304K   16K
            ttfFFcore.so       @780e0000              32K  8192
            devg-imx51.so      @780ea000              40K  8192
            libph.so.3         @78100000             996K   32K
            libffb.so.2        @78210000             148K  8192
            libm.so.2          @78240000             148K  8192
            mem/Pf20500.11a310 @28000000 (       0)         64K
            em/ctl-0000,0000,0 @28010000 (       0)        4096
            face-0000,0000,0:0 @28100000 (       0)       1500K
   24597   1 usr/photon/bin/pwm  10r RECEIVE           60K  108K   24K(516K)*
            libc.so.3          @ 1000000             460K   16K
            libphexlib.so.3    @78000000             176K  8192
            libimg.so.1        @78030000              64K  4096
            libfont.so.1       @78041000              28K  4096
            libph.so.3         @78100000             996K   32K
   36886   1 proc/boot/pidin     10r REPLY             64K  392K   16K(516K)*
            libc.so.3          @ 1000000             460K   16K 


Thank you in advance.

Kishore.S

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Attachment: Text build.dat 24.89 KB Text wm.cfg 378 bytes Text wm.menu 117 bytes
Re: Photon bring up on iMx53 platform  
The [background] sections of wm.cfg expected an image that is not present in your build file. The background image is 
rendered by the bkgdmgr see http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_utilities/b/bkgdmgr.html
Re: Photon bring up on iMx53 platform  
Hi Misha Nefedov,

Thanks for the reply.

Am executing the bkgdmgr command before pwm command but still I end up 
getting the blank blue screen.
Also the path of the image given is proper.

The blank screen is the default screen when I run the pwm,
if it is the default screen then it should have displayed the taskbar menu.

Anything else need to be done for the menu.

Also am having problem with the keyboard and mouse.
Command executed for keyboard and mouse are:
io-hid -d usb /dev/io-usb/io-usb  - hid got installed

devi-hid -v kbd
Looking up kbd in module table
Resetting module kbd
Resetting module keyboard
Process home directory is
Try to open keyboard descriptor ( /etc/system/trap/.KEYBOARD)
Opening keyboard file: /usr/photon/keyboard/en_US_101.kbd
Switch to keyboard /usr/photon/keyboard/en_US_101.kbd
Input:#  starting Photon interface
ldd:FATAL: Unresolved symbol "__umodsi3" called from Executable

devi-hid -v mouse
Looking up mouse in module table

Process 28694 (devi-hid) terminated SIGBUS code=1 fltno=5 
ip=0101d190(libc.so.3@
_mmap2+0x98) mapaddr=0001d190. ref=00000002
Bus error

Thanks & Regards
Kishore.S




--------------------------------------------------
From: "Misha Nefedov" <community-noreply@qnx.com>
Sent: Monday, July 18, 2011 11:01 PM
To: "photon-graphics" <post87404@community.qnx.com>
Subject: Re: Photon bring up on iMx53 platform

> The [background] sections of wm.cfg expected an image that is not present 
> in your build file. The background image is rendered by the bkgdmgr see 
> http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_utilities/b/bkgdmgr.html
>
>
>
> _______________________________________________
>
> Photon microGUI
> http://community.qnx.com/sf/go/post87404
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Re: Photon bring up on iMx53 platform  
Base on the provided information I am unable to tell why you get a blue screen. 

You input problems appears to be caused by mismatched binary files -- i.e. armle vs amrle.v7. In fact 6.5.0 has no devi-
hid for armle.v7. I recommend talking to your Sales Rep. about acquiring a v7 devi-hid version.