请问下buildfile与startup之间的联系

各位大侠,在ARM上嵌入QNX系统时,buildfile文件与startup之间的联系是什么?生的的系统.bin文件是不是包含了startup与buildfile文件

buildfile是生成image的脚本文件。它指明生成的image里有些什么。
image是系统的启动文件。编译完后,里面应该包括startup(初始化硬件等等)二进制文件,内核(QNX操作系统,从startup取得硬件信息,如内存大小等)二进制文件,和一些系统文件和其它文件。

bin是什么文件?

2.QNX system builder project
使用BSP中的build文件建立system builder project, 编译出ifs(binary)。
Build文件在附件中:pq2fads.build

3.combine IPL+OS image

FFC00000: 4K for config word

FFC01000: boot image (max 3MB - 4k)

fff00000: IPL (1MB)

请按照以下步骤生成IPL+OS image:
#remove old image
rm flash_img

Create a binary file with the config word (see the ADS board manual for #detailson the reset configuration word)

ntoppc-objcopy --input-target=elf32-powerpc --output-target=binary config.o config.bin

Pad it to 4k

mkrec -s4k -ffull -r config.bin > flash_img
rm config.bin

Append the boot image to the flash image; the boot image is specified #as and argument to the script

mkrec –s3068k -ffull -r pq2fads.ifs >> flash_img

Generate a binary image of the IPL code

ntoppc-objcopy --input-format=elf32-powerpc --output-format=binary -R.data ipl-pq2fads ipl-pq2fads.bin

Now, expand the IPL to 1MB, and append it

mkrec -s1M -ffull -r ipl-pq2fads.bin >> flash_img

4.烧写flash

现在这个bin文件就是嵌入到S3C2440的QNX系统文件,里面是不是已经包含您所说的,startup(硬件配置)、内核等二进制?