On 01/04/2019 14:15, Joachim Rahn wrote:
trying to be a bit more detailed...

On 01.04.19 09:45, Joachim Rahn wrote:
[...snip...]
Looking into the the produced binary hello_world.ralf one can see, that there 
is still the ELF magic at the
beginning of the binary file so it seems to me something goes wrong during 
link/load.

[...snip...]

building the examples for mvme2100 with rtems5 works without any error message
but when I look into a produced binary (i.e. hello_world.ralf) it looks like

This is probably just a copy of the ELF file. You probably have to perform the steps in bsps/powerpc/motorola_powerpc/config/mvme2100.cfg by hand:

define bsp-post-link
    $(default-bsp-post-link)
     $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
     gzip -vf9 rtems
     $(LD) -o $(basename $@)$(DOWNEXT) \
        $(PROJECT_RELEASE)/lib/bootloader.o \
        --just-symbols=$(basename $@)$(EXEEXT) \
        --no-warn-mismatch \
         -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
         -Map $(basename $@).map && chmod 755 $@
     rm -f rtems.gz
endef

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to