Changes between Version 2 and Version 3 of Boards/Zynq - Zedboard


Ignore:
Timestamp:
Feb 8, 2017, 10:34:32 AM (3 years ago)
Author:
Chris Johns
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Boards/Zynq - Zedboard

    v2 v3  
    130130
    131131TDB
     132
     133{{{
     134$ cat ~/bin/rtems-zynq-mkimg
     135#! /bin/sh
     136
     137OBJCOPY_FOR_TARGET=arm-rtems4.12-objcopy
     138OBJCOPY="$OBJCOPY_FOR_TARGET"
     139
     140EXE_NAME=$1
     141
     142START_ADDR=0x00104000
     143ENTRY_ADDR=0x00104000
     144
     145${OBJCOPY} -R -S --strip-debug -O binary "$EXE_NAME" "$EXE_NAME.bin" || exit 1
     146cat "$EXE_NAME.bin" | gzip -9 >"$EXE_NAME.gz"
     147mkimage \
     148  -A arm -O rtems -T kernel -a $START_ADDR -e $ENTRY_ADDR -n "RTEMS" \
     149  -d "$EXE_NAME.gz" "$EXE_NAME.img"
     150}}}