buildfile

板子不一样,MEMORY的初始化也不一样,恐怕不能通邮.
IPL可以单独烧,用objcopy -Obinary ipl-dbpxa250dp ipl-bin, ipl-bin就可以
直接烧到FLASH上,应该只用几K.
有了IPL以后就可以用串口来下载boot image,虽然慢点,省了烧FLASH的麻烦.
这是标准的DBPXA250DP的BUILD文件,不知你有没有.
上面有启动网络和液晶驱动的例子.

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

QNX Neutrino 6.3 on the Intel DBPXA250DP board.

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

SUPPORTED DEVICES:

SERIAL1: PXA250 FFUART (/dev/ser1)

SERIAL2: PXA250 BTUART (/dev/ser2)

NETWORK: SMC91C96 ethernet

FLASH: Intel 28F128 StrataFlash (2x128Mbit)

GRAPHICS: PXA250 LCD controller

INPUT: SA1111 PS/2 keyboard and mouse

AUDIO: PXA250 AC97 audio

- For detailed instructions on the default example configuration for

these devices see the “CONFIGURING ON-BOARD SUPPORTED HARDWARE”

section below the build script section, or refer to the BSP docs.

- Tip: Each sub-section which relates to a particular device is marked

with its tag (ex. SERIAL1). You can use the search features of

your editor to quickly find and add or remove support for

these devices.

- For details on how build files work, please refer to the help

documentation for “mkifs” in the QNX Neutrino Utilities Reference.

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

NOTES:

- The serial console is via the FFUART at 115200 baud, 8N1.

- Switch S13 must be set to the dot-position for

ethernet/SA1111 interrupts.

- Switch S1 must be set to the dot-position for the

CS4299 audio codec.

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

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

START OF BUILD SCRIPT

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

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

To boot using XIP, use the following commands:

- XIP only supports binary uncompressed images, do not use +compress

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

[image=0xa0200000]

[ram=0x1000]

[virtual=armle,binary] .bootstrap = {

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

If not using XIP, use the following 2 lines:

###########################################################################
[image=0xa0200000]

[virtual=armle,binary +compress] .bootstrap = {

###########################################################################
startup-dbpxa250dp -v
#######################################################################

PATH set here is the safe path for executables.

LD_LIBRARY_PATH set here is the safe path for libraries.

i.e. These are the paths searched by setuid/setgid binaries.

(confstr(_CS_PATH…) and confstr(_CS_LIBPATH…))

#######################################################################
PATH=:/proc/boot:/bin:/usr/bin LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll procnto -v
}
[+script] .script = {
procmgr_symlink …/…/proc/boot/libc.so.2 /usr/lib/ldqnx.so.2

display_msg Welcome to QNX Neutrino 6.3 on the Intel DBPXA250DP board

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

SERIAL1 and SERIAL2 drivers

- this board uses FFUART as /dev/ser1, BTUART as /dev/ser2

- by default, the driver will initialize both UARTs

#######################################################################
devc-serpxa250 -e
waitfor /dev/ser1
reopen /dev/ser1

slogger
pipe

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

NETWORK driver

- substitute your IP address for 1.2.3.4

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

display_msg Starting on-board ethernet with large TCP/IP stack…

io-net -dsmc9000 ioport=0x0c000000,irq=35,variant=dbpxa250dp -ptcpip

waitfor /dev/io-net/en0 4

ifconfig en0 1.2.3.4

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

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

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

FLASH driver

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

display_msg Starting flash driver…

devf-dbpxa250dp

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

AUDIO driver

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

display_msg Starting audio driver…

io-audio -dpxa250

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

GRAPHICS driver

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

display_msg Starting graphics driver…

io-graphics -dpxa250 xres=640,yres=480,bitpp=8,mode_opts=/usr/photon/config/pxa250.conf,photon -pphoton

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

INPUT driver

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

display_msg Starting input driver…

devi-sa1111 kbd kmi -p0x10000a00 -i86 ps2 kmi -m -p0x10000c00 -i83

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

These env variables are inherited by all the programs which follow

#######################################################################
SYSNAME=nto
TERM=qansi
HOME=/
PATH=:/proc/boot:/bin:/usr/bin:/opt/bin
LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib

[+session] fesh &
}

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

libc.so

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

uncomment for NETWORK driver

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

devn-smc9000.so

libsocket.so

npm-tcpip.so

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

uncomment for AUDIO driver

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

deva-ctrl-pxa250.so

deva-mixer-ac97.so

libasound.so

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

uncomment for GRAPHICS driver

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

/usr/photon/config/pxa250.conf=${QNX_TARGET}/armle/usr/photon/config/pxa250.conf

devg-pxa250.so

libdisputil.so

libffb.so

[data=c]
devc-serpxa250

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

uncomment for NETWORK driver

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

io-net

ifconfig

nicinfo

netstat

ping

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

uncomment for REMOTE_DEBUG (gdb or Momentics)

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

devc-pty

qconn

/usr/bin/pdebug=pdebug

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

uncomment for FLASH driver

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

devf-dbpxa250dp

flashctl

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

uncomment for AUDIO driver

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

io-audio

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

uncomment for GRAPHICS driver

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

io-graphics

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

uncomment for INPUT driver

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

devi-sa1111

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

general commands

###########################################################################
ls
fesh
pipe
pidin
uname
slogger
sloginfo
slay

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

END OF BUILD SCRIPT

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