how to make a rtems kernel image to flash it on the target!
nick.withers at anu.edu.au
Thu Dec 10 02:12:52 UTC 2015
On Thu, 2015-12-10 at 10:07 +0800, Gavin Gu wrote:
> I already make install on rtems, below is my script.
> $ cd $HOME/development/rtems/rtems /*where is rtems source tree*/
> $ ./bootstrap
> $ cd $HOME/development/rtems /*the base directory for all rtems
> $ mkdir b-leon3 /*where is the build
> $ mkdir leon3 /*where is rtems make
> install directory*/
> $ cd b-leon3
> $ ../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=leon3
> --enable-tests=samples --disable-posix \
> $ make
> $ make install
> finally,I find ticker.exe or hello.exe under build tree and run it,
> works. but, under install directory(development/rtems/leon3/) just
> some rtems library and headers. Is there any procedure to make a
> image to flash it on the target?
No, there isn't, because RTEMS doesn't work like that.
Your application links with the RTEMS libraries you've now built,
producing a single binary.
Does that make sense?
Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)
More information about the users