how to make a rtems kernel image to flash it on the target!

Gedare Bloom gedare at rtems.org
Thu Dec 10 14:20:10 UTC 2015


you should find the samples in below ~/development/rtems/leon3 also,
and should work for flashing. as Nick said, RTEMS builds a single
monolithic binary for you to use, e.g. hello.exe. try `find -name
hello.exe ~/development/rtems/leon3` for example. Then, to build your
own application linked against RTEMS there are other approaches you
might like to look at the git.rtems.org/examples-v2.git

On Wed, Dec 9, 2015 at 9:07 PM, Gavin Gu <jackgurong at gmail.com> 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 work*/
> $ mkdir b-leon3                                /*where is the build tree*/
> $ 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 \
> --prefix=$HOME/development/rtems/leon3
>
> $ make
>
> $ make install
>
> finally,I find ticker.exe or hello.exe under build tree and run it, it
> works. but, under install directory(development/rtems/leon3/) just have some
> rtems library and headers. Is there any procedure to  make a kernel image to
> flash it on the target?
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users



More information about the users mailing list