Experimental Physics and
| |||||||||||||||||
|
On Thursday, December 12, 2002, at 02:44 AM, Edwin wrote: Dear all: I have finished building RTEMS boot images with EPICS 3.14 on Linux, Host and client are both pc386. While when I am trying to boot the IOC through BOOTP, my IOC stuck when loading the boot image "example.bt". I believe that the 'NBI' means 'non-bootable image'. From this error message I'm guessing that you copied the executable EPICS application (bin/RTEMS-pc386/example) to the TFTP server (....../bin/example.bt). The rom-o-matic network boot ROMS however require a short 16-biit startup section of code to be prepended to the EPICS application. Here's the script which I use to do this. I called it makeBootImage and run it as makeBootImage bin/RTEMS-pc386/example to produce example.bt which can be copied to the TFTP server. ================================================ #!/bin/sh set -ex case "$#" in 1) ;; *) echo "Usage: $0 file[.exe]" >&2 ; exit 1 ;; esac n=`basename "$1" .exe` code=2 trap 'rm -f /tmp/jnk$$.bin ; exit $code' 0 1 2 3 i386-rtems-objcopy --output-target=binary "$1" /tmp/jnk$$.bin /opt/rtems/i386-rtems/pc386/build-tools/bin2boot "$n.bt" 0x00097E00 /opt/rtems/i386-rtems/pc386/lib/start16.bin 0x00097C00 0 /tmp/jnk$$.bin 0x00100000 0 code=0 ==================================================== -- Eric Norum <[email protected]> Department of Electrical Engineering University of Saskatchewan Saskatoon, Canada. Phone: (306) 966-5394 FAX: (306) 966-5407
| ||||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |