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