Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Buildfile for Photon on iMx53
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kishore s  
View profile  
 More options Jul 13 2011, 8:46 am
Newsgroups: comp.os.qnx
From: kishore s <kishore9...@gmail.com>
Date: Wed, 13 Jul 2011 05:46:01 -0700 (PDT)
Local: Wed, Jul 13 2011 8:46 am
Subject: Buildfile for Photon on iMx53
Hi,

I have a problem with the buildfile when trying to bring up the Photon
on iMx53.

Am able to get the command line but when i try to load the Photon GUI
i end up getting the below error.
unable to attach to font server, pf_attach(): No such file or
directory.

Has anyone face the same issue.

Can anyone tell me what is font loading.

I could not attach the buildfile here, so i am pasting the same below.
########################################################################### #########
#
# Neutrino trunk on the Freescale i.MX53 EVK Board, based on ARM
Cortex A8 Platform
#
########################################################################### #########
#
# On-board devices:
# ----------------
#
# i.MX53 UART1
#               devc-sermx1 -e -F -S -c21657600 0x53fbc000,31
#
# device:   10/100Mbps Fast Ethernet Controller (FEC)
#               io-pkt-v4-hc -d mx53 verbose=10 -p tcpip
#
# device:   i.MX53 I2C
#           i2c-mx35 --u0,0
#           i2c-mx35 --u1,1
#
# device:   i.MX53 eSDHC controller
#           devb-mmcsd-mx53 mmcsd ioport=0x50004000,irq=1
#           devb-mmcsd-mx53 mmcsd ioport=0x50020000,irq=3
#
# device:   i.MX53 USB Host
#               io-usb -d ehci-mx31 ioport=0x53F80300,irq=14
#
# device:   i.MX53 CSPI
#           spi-master -d mx35 base=0x63FC0000,irq=38,waitstate=2,loopback=1
#
# device:   i.MX53 Enhanced SPI
#           spi-master -d mx51ecspi
base=0x50010000,irq=36,waitstate=2,loopback=1
#
# device:   watchdog Timer
#      wdtkick
#
# device:   i.MX53 Synchronous Display Controller
#       io-display -dvid=0,did=0
#
# device:   i.MX53 audio Controller
#       io-audio -d mx-mx53evk
ssibase=0x50014000,tevt=25,tchn=3,revt=24,rchn=4,rate=48000,mixer=i2cdev=1: adr0cs=0:mclk=27000000
#
# device:   i.MX53 spi dataflash
#       fs-etfs-imx53 -m /fs/etfs
#
# device:   i.MX53 nand flash
#       fs-etfs-mx53evk -m /nand
#
# device:   i.MX53 SDMA
#
########################################################################### #

[image=0x70800000]
[virtual=armle-v7,raw +compress] .bootstrap = {
        startup-mx53evk -d1 -v
#       PATH=/proc/boot procnto-v6 -v
PATH=/proc/boot:/usr/bin:/usr/photon/bin LD_LIBRARY_PATH=/proc/boot:/
usr/lib:/lib:/lib/dll PHOTON_PATH=/usr/photon PHOTON=/dev/photon
PHFONT=/dev/phfont procnto-v6 -v

}

[+script] .script = {
# Initialise the console
    procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2

    devc-sermx1 -e -F -S -c21657600 0x53fbc000,31

    reopen
    display_msg Welcome to QNX Neutrino 6.5.0 on the i.MX53 EVK (ARM
Cortex-A8 core) Board

    slogger &

    # Start some common servers
    pipe &

#######################################################################
    display_msg Starting on-board ethernet with TCP/IP stack...
    io-pkt-v4 -d mx53 mac=00049FCC9AB5,verbose
    waitfor /dev/socket
    if_up -p en0
    # ifconfig en0 1.2.3.4
    display_msg Getting network address with DHCP...
    dhcp.client
    if_up -r 15 en0
    # display_msg calling init
    ifconfig en0
    # display_msg End of calling init

#######################################################################
    ## REMOTE_DEBUG (gdb or Momentics)
    ##  - refer to the help documentation for the gdb, qconn and the
IDE
    ##    for more information on remote debugging
    ##  - the commands shown require that NETWORK is enabled too

#######################################################################
    #devc-pty
    # waitfor /dev/ptyp0 4
    # waitfor /dev/socket 4
    # qconn port=8000

#######################################################################
    ## I2C driver

#######################################################################
     display_msg Starting I2C1 driver (/dev/i2c0)...
     i2c-mx35 --u0,0
     display_msg Starting I2C2 driver (/dev/i2c1)...
     i2c-mx35 --u1,1

#######################################################################
    ## CAN driver

#######################################################################
    display_msg Starting CAN driver...
    dev-can-mx35 can0

#######################################################################
    ## SD memory card driver

#######################################################################
    display_msg Starting SD1 memory card driver...
    devb-mmcsd-mx53 mmcsd ioport=0x50004000,irq=1 verbose=5
    display_msg Starting SD3 memory card driver...
    devb-mmcsd-mx53 mmcsd ioport=0x50020000,irq=3

###########################################################################
    ## WatchDog utility

###########################################################################
     display_msg Starting watchdog
     wdtkick

#######################################################################
    ## CSPI driver

#######################################################################
     display_msg Starting SPI driver for CSPI (dev/spi0)...
     spi-master -d mx35 base=0x63FC0000,irq=38,waitstate=2,loopback=1

#######################################################################
    ## ECSPI  driver

#######################################################################
     display_msg Starting Enhanced SPI driver for ECSPI1(dev/spi1) ...
     spi-master -u1 -d mx51ecspi
base=0x50010000,irq=36,waitstate=0,clock=54000000,burst,gpiocsbase=0x53f8c0 00,gpiocs1=19
     display_msg Starting Enhanced SPI driver for ECSPI2(dev/spi2) ...
     spi-master -u2 -d mx51ecspi
base=0x63FAC000,irq=37,waitstate=2,loopback=1

########################################################################### ##########################################
    ## SPI DATAFLASH driver
    ## first time use "fs-etfs-imx53 -e". This erases the NAND flash
    ## later on use "fs-etfs-imx53 -m /fs/etfs" . Start the driver
with auto-mount

########################################################################### ##########################################
    # display_msg Starting etfs driver...
    # fs-etfs-imx53 -e
    # fs-etfs-imx53 -m /fs/etfs

########################################################################### ##########################################
    ## ETFS NAND driver
    ## first time use "fs-etfs-mx53evk -e". This erases the NAND flash
    ## later on use "fs-etfs-mx53evk -m /nand" . Start the driver with
auto-mount

########################################################################### ##########################################
    # display_msg Starting etfs nand driver...
    # fs-etfs-mx53evk -e
    # fs-etfs-mx53evk -m /nand

#######################################################################
    ## AUDIO driver
    ##  - It required running PMIC power management support utility
first
    ##  - must run "       i2c-mx35 --u1,1" first

#######################################################################
     display_msg Starting SSI Audio driver for SGTL5000...
     io-audio -d mx-mx53evk
ssibase=0x50014000,tevt=25,tchn=3,revt=24,rchn=4,rate=48000,mixer=i2cdev=1: adr0cs=0:mclk=27000000
     waitfor /dev/snd 4
     mix_ctl group "Mic In" capture=on

    ##################################################################
    ## USB HOST (HS) controller driver

#######################################################################
     display_msg Starting USB Host driver...
     io-usb -d ehci-mx31 ioport=0x53F80300,irq=14
     waitfor /dev/io-usb/io-usb 4
         # devb-umass &

#######################################################################
    ## GRAPHICS driver
    ##  - startup-mx53evk -d1 for LCD Dispaly

#######################################################################
     display_msg Starting Graphics driver...
     io-display -dvid=0,did=0
     waitfor /dev/io-display 10

    # Photon
        display_msg "Starting Photon"
    Photon
    waitfor /dev/photon
    io-graphics &
        pwm &

    # Start the main shell
    SYSNAME=nto
    TERM=qansi
    PATH=/proc/boot:/usr/bin:/usr/photon/bin
    LD_LIBRARY_PATH=/proc/boot:/usr/lib:/lib:/lib/dll
    PHOTON_PATH=/usr/photon
    PHOTON=/dev/photon
#    PHFONT=/dev/phfont
        ABLPATH=/usr/photon/translations
        HOME=/

#    PATH=:/proc/boot:/bin:/usr/bin:/opt/bin
#    LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib

    [+session] ksh &

}

# Redirect console messages
[type=link] /bin/sh=/proc/boot/ksh
[type=link] /dev/console=/dev/ser1
[type=link] /tmp=/dev/shmem

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

# Shared libraries
libc.so
libm.so.2
libc.so.3

###########################################################################
## uncomment for legacy binary support (Momentics 6.3.2 and earlier)
###########################################################################
#libc.so.2

###########################################################################
## uncomment for NETWORK driver (tiny stack)
###########################################################################
libsocket.so
devnp-mx53.so

###########################################################################
## uncomment for SPI
###########################################################################
spi-mx35.so
spi-mx51ecspi.so

###########################################################################
## uncomment for USB HOST driver
###########################################################################
devu-ehci-mx31.so
libusbdi.so
devu-ohci.so
devh-usb.so
libhiddi.so
fs-ext2.so
libgf.so.1

###########################################################################
## uncomment for BLOCK driver
## substitute cam-xxx.so and fs-xxx.so with the cam drivers and
filesystems
## required
###########################################################################
libcam.so
io-blk.so
cam-disk.so
cam-cdrom.so
fs-qnx4.so
fs-dos.so

###########################################################################
## AUDIO driver
###########################################################################
deva-ctrl-mx-mx53evk.so
deva-util-restore.so
libasound.so
libasound.so.2

###########################################################################
## SDMA
###########################################################################
libdma-sdma-imx53.so

# Executables
[data=c]
devc-sermx1

# Photon
/usr/photon/bin/Photon=Photon
/usr/photon/bin/io-graphics=io-graphics
/usr/photon/bin/pwm=pwm
# /usr/photon/bin/pterm=pterm

/usr/lib/libphrender.so.2=libphrender.so.2
/usr/lib/libphexlib.so.3=libphexlib.so.3
/usr/lib/libAp.so.3=libAp.so.3
/usr/lib/libph.so.3=libph.so.3
/usr/lib/libimg.so.1=libimg.so.1
/lib/libfont.so.1=libfont.so.1

###########################################################################
## uncomment for NETWORK driver
###########################################################################
io-pkt-v4
nicinfo
ping
ftp
fs-nfs2
ifconfig
dhcp.client
if_up

###########################################################################
## uncomment for CAN driver
###########################################################################
#dev-can-mx35
#canctl

###########################################################################
## uncomment for REMOTE_DEBUG
###########################################################################
 devc-pty
 qconn
 /usr/bin/pdebug=pdebug

###########################################################################
## uncomment for Block driver
###########################################################################
devb-mmcsd-mx53

###########################################################################
## I2C driver
###########################################################################
i2c-mx35

###########################################################################
## AUDIO driver
###########################################################################
io-audio
wave
waverec
mix_ctl

###########################################################################
## uncomment for GRAPHICS driver
###########################################################################
 devg-imx51.so
 devg-soft3d.so
 libGLES_CM.so.1
 libgf.so.1
 libffb.so.2

###########################################################################
## uncomment for Image Loading
###########################################################################
 img_codec_bmp.so
 img_codec_gif.so
 img_codec_jpg.so
 img_codec_png.so
 img_codec_sgi.so
 img_codec_tga.so

###########################################################################
## uncomment for Font loading
###########################################################################
# libFF-T2K.so.2

###########################################################################
## uncomment for SPI
###########################################################################
spi-master

###########################################################################
## uncomment for SPI DATAFLASH
###########################################################################
fs-etfs-imx53
etfsctl

###########################################################################
## uncomment for ETFS NAND
###########################################################################
fs-etfs-mx53evk

###########################################################################
## uncomment for USB HOST driver
###########################################################################
io-usb
usb
# devb-umass &

###########################################################################
## uncomment for WatchDog utility
###########################################################################
wdtkick

###########################################################################
## uncomment for GRAPHICS driver
###########################################################################
 io-display

 /etc/system/config/display.conf={
 device \{
         drivername=imx51
         vid=0
         did=0
         modeopts=/etc/system/config/imx53.conf
         display \{
                 xres=800
                 yres=480
                 refresh=60
                 pixel_format=argb8888
         \}
 \}
 }

 /etc/system/config/imx53.conf=imx53.conf
 /etc/system/config/img.conf=${QNX_TARGET}/etc/system/config/img.conf
# /proc/boot/client_app.bmp=D:\KSCOPE\New_Folder\ide-4.7-
workspace1\bsp-freescale-imx53-evk-src\client_app.bmp

###########################################################################
## uncomment for GF binaries
###########################################################################
egl-gears
vsync
# font-cache
# tt2001m_.ttf
# client_app.bmp

###########################################################################
## general commands
###########################################################################
lshwi
cp
ls
cat
ksh
pipe
pidin
uname
slogger
sloginfo
slay
mount
umount
use
shutdown
devb-umass
chmod
mkdir
df
ln
vi
fdisk
dumpifs
grep
photon

###########################################################################
## END OF BUILD SCRIPT
###########################################################################

Regards
Kishore.S


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »