[rtems-docs commit] user: Document boot image generation
Sebastian Huber
sebh at rtems.org
Mon May 27 08:38:07 UTC 2019
Module: rtems-docs
Branch: master
Commit: a00052a341010ac7cf688e6366d7a3a96b48926f
Changeset: http://git.rtems.org/rtems-docs/commit/?id=a00052a341010ac7cf688e6366d7a3a96b48926f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon May 27 10:37:20 2019 +0200
user: Document boot image generation
Update #3727.
---
user/bsps/bsps-powerpc.rst | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/user/bsps/bsps-powerpc.rst b/user/bsps/bsps-powerpc.rst
index 623f23b..80edfae 100644
--- a/user/bsps/bsps-powerpc.rst
+++ b/user/bsps/bsps-powerpc.rst
@@ -28,7 +28,18 @@ TODO.
motorola_powerpc
================
-TODO.
+Boot Image Generation
+---------------------
+
+The application executable file (ELF file) must be converted to a boot
+image. Use the following commands:
+
+.. code-block:: none
+
+ powerpc-rtems5-objcopy -O binary -R .comment -S ticker.exe rtems
+ gzip -9 -f rtems
+ powerpc-rtems5-ld -o ticker.boot bootloader.o --just-symbols=ticker.exe -b binary rtems.gz -T ppcboot.lds -no-warn-mismatch
+ powerpc-rtems5-objcopy -O binary ticker.boot ticker.bin
mpc55xxevb
==========
More information about the vc
mailing list