Porting qnx6.4 on Fujitsu jade Arm9 board graphics problem

Hi all,

  While i was trying to port Qnx6.4 on Fujitsu Jade arm paltform i was facing problem while booting qnx with graphics.

Here i am providing the console log captured from it:

CPU0: Dcache: 512x32 WB

CPU0: Icache: 512x32
CPU0: 41069265: arm926 rev 5 333MHz
elf_map: 1M va=fe000000 pa=40100000 sz=00100000
elf_map: 1M va=fe000000 pa=40100000 sz=00100000
Header size=0x0000009c, Total Size=0x000005a0, #Cpu=1, Type=4
Section:system_private offset:0x000001f0 size:0x00000068
Section:qtime offset:0x00000148 size:0x00000060
Section:callout offset:0x000000a0 size:0x00000048
Section:cpuinfo offset:0x000001a8 size:0x00000020
Section:cacheattr offset:0x00000560 size:0x00000040
Section:meminfo offset:0x000005a0 size:0x00000000
Section:asinfo offset:0x000003a0 size:0x00000140
Section:hwinfo offset:0x00000318 size:0x00000088
Section:typed_strings offset:0x00000258 size:0x00000038
Section:strings offset:0x00000290 size:0x00000088
Section:intrinfo offset:0x000004e0 size:0x00000080
Section:smp offset:0x000005a0 size:0x00000000
Section:pminfo offset:0x000005a0 size:0x00000000
Section:mdriver offset:0x000005a0 size:0x00000000
Section:boxinfo offset:0x000001c8 size:0x00000028
Section:cpu offset:0x00000128 size:0x00000020

System page at phys:40010000 user:fc404000 kern:fc404000
Starting next program at vfe03c838
cpu_startnext: cpu0 → fe03c838
Welcome to QNX Neutrino 6.4.0 on the Fujitsu JADE (JADE) Board
Unable to start “slogger” (2)
Unable to start “pipe” (2)
Starting on-board ethernet with TCP/IP stack…
devn-smc9118: 16 bit bus detected
devn-smc9118: Allocate 4096 bytes for TX FIFO
SMC9218I
Vendor … 0x10b8
Device … 0x118a
Revision … 0x0
I/O port base … 0x2000000
Interrupt … 0xa
MAC address … 662200 021605
Starting flash driver…
Starting Display driver…
Unable to start “egl-gears-lite” (2)
Unable to start “ksh” (2)

Can anyone help me on this please.

Thanks & regards

I am running 6.4 on a jade platform here so it should work. Can you post how you are starting the graphics portion, how you run io-display? Maybe the contents of your build file and the filesystem relevant pieces?

Brian

hi brian,

Here i providing the build script i am using:

###########################################################################

START OF BUILD SCRIPT

###########################################################################

[image=0x40100000]
[+compress]
#For UBOOT ROM monitor, use raw
[virtual=armle,raw] .bootstrap = {

#For QNX IPL/sendnto, use binary
#[virtual=armle,binary] .bootstrap = {
# A command-line option is required to startup to enable some modules.
# -x num : Groupe 2 multiplex I/O configuration. Value can range from 0-4 (default=3)
# -y num : Groupe 4 multiplex I/O configuration. Value can range from 0-1 (default=1)

startup-jade -vv
# For audio driver, use the option "-x0".	
  startup-jade -vv -x0

PATH=:/proc/boot procnto -vv

}
[+script] .script = {
procmgr_symlink …/…/proc/boot/libc.so.3 /usr/lib/ldqnx.so.2

display_msg Welcome to QNX Neutrino 6.4.0 on the Fujitsu JADE (JADE) Board

#######################################################################
## SERIAL driver
#######################################################################
devc-ser8250 -e -F -S -b115200 -c41500000 0xfffe1000^2,24 &
waitfor /dev/ser1 4
reopen /dev/ser1

slogger &
pipe &

#######################################################################
## NETWORK driver 
#######################################################################
display_msg Starting on-board ethernet with TCP/IP stack...
io-pkt-v4 -dsmc9118 ioport=0x02000000,irq=10,mac=662200021605,verbose -ptcpip &

#######################################################################
## 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
#######################################################################
devc-pty &
 waitfor /dev/ptyp0 4
 waitfor /dev/socket 4
 qconn port=8000

#######################################################################
## FLASH driver
#######################################################################
display_msg Starting flash driver...
devf-generic -s0x10000000,32M

#######################################################################
## I2C driver
#######################################################################
 display_msg Starting I2C driver...
i2c-mb8x
# Open I2C device 0 for audio module
 display_msg Starting I2C driver with audio enable...
 i2c-mb8x -p 0xfff57000 -i 44
 waitfor /dev/i2c0 4

#######################################################################
## AUDIO driver
#######################################################################
 display_msg Starting audio driver with cs4245 codec
 io-audio -d jade
    
#######################################################################
## SPI driver
#######################################################################
display_msg Starting SPI driver...
spi-mb8x -k

#######################################################################
## USB driver
#######################################################################
display_msg Starting USB driver...
io-usb -dohci ioport=0xfff81000,irq=53 &
io-usb -dehci ioport=0xfff80000,irq=52 -dohci ioport=0xfff81000,irq=53 &

#######################################################################
## Display driver
#######################################################################
display_msg Starting Display driver...
io-display -dvid=0,did=0

waitfor /dev/io-display
egl-gears-lite &

#######################################################################
## These env variables are inherited by all the programs which follow
#######################################################################
SYSNAME=nto
TERM=qansi
PATH=:/bin:/proc/boot
LD_LIBRARY_PATH=:/proc/boot

[+session] ksh &
}

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

libc.so

###########################################################################

uncomment for legacy binary support (Momentics 6.3.2 and earlier)

###########################################################################
libc.so.2

###########################################################################

uncomment for AUDIO driver

###########################################################################
libasound.so
deva-mixer-ac97.so
deva-util-restore.so
deva-ctrl-jade.so

###########################################################################

uncomment for NETWORK driver (full stack)

###########################################################################
devn-smc9118.so
libsocket.so
devnp-shim.so

###########################################################################

uncomment for USB driver

###########################################################################
libusbdi.so
devu-ohci.so
devu-ehci.so

###########################################################################

uncomment for DISPLAY driver

###########################################################################
libm.so
libGLES_CL.so.1
devg-jade.so
libffb.so

libgf.so.1
libdisputil.so

[data=c]
devc-ser8250

###########################################################################

uncomment for USB driver

###########################################################################
io-usb
usb

###########################################################################

uncomment for NETWORK driver (tiny stack)

###########################################################################
io-pkt-v4
ping
fs-nfs2
ftp
ifconfig
nicinfo

###########################################################################

uncomment for REMOTE_DEBUG (gdb or Momentics)

###########################################################################
devc-pty
qconn
/usr/bin/pdebug=pdebug

###########################################################################

uncomment for FLASH driver

###########################################################################
devf-generic
flashctl

###########################################################################

uncomment for I2C driver

###########################################################################
i2c-mb8x

###########################################################################

uncomment for SPI driver

###########################################################################
spi-mb8x

###########################################################################

uncomment for AUDIO driver

###########################################################################
io-audio
wave
waverec
mix_ctl

###########################################################################

uncomment for DISPLAY driver

###########################################################################
io-display

/etc/system/config/display.conf={
device {
drivername=jade
vid=0
did=0
deviceindex=0
modeopts=/etc/system/config/jade.conf
display {
xres=640
yres=480
refresh=60
pixel_format=argb1555
}
}
}

/etc/system/config/jade.conf=jade.conf

##########################################################################

uncomment for GF binaries

###########################################################################
[prefix=/bin]
egl-gears-lite
vsync

###########################################################################

general commands

###########################################################################
mount
ls
ksh
pipe
pidin
uname
slogger
sloginfo
slay
sleep
ifconfig
cp

###########################################################################

END OF BUILD SCRIPT

###########################################################################

thanks & regards

I don’t see anything that jumps out at me but I will compare it to our setup.

Brian