#2505 closed defect (fixed)

beagle sdcard.sh has hard-coded rtems arm-rtems4.11-objcopy

Reported by: Ben Gras Owned by: Ben Gras
Priority: normal Milestone: 4.11.1
Component: unspecified Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:

Description (last modified by Ben Gras)

(This is the script that generates an SD card image ready to boot RTEMS.)

switching to the rtems 4.12 toolchain requires this:

+++ b/c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh
@@ -59,7 +59,7 @@ $PREFIX/bin/newfs_msdos -r 1 -m 0xf8 -c 4 -F16  -h 64 -u 32 -S 512 -s $FATSIZE -
 # Prepare the executable.
 base=`basename $executable`
-$PREFIX/bin/arm-rtems4.11-objcopy $executable -O binary $TMPDIR/$base.bin
+$PREFIX/bin/arm-rtems4.12-objcopy $executable -O binary $TMPDIR/$base.bin
 gzip -9 $TMPDIR/$base.bin
 $PREFIX/bin/mkimage -A arm -O rtems -T kernel -a 0x80000000 -e 0x80000000 -n RTEMS -d $TMPDIR/$base.bin.gz $TMPDIR/$ap
 echo "setenv bootdelay 5

Of course I'm open to a cleaner fix.

Change History (3)

comment:1 Changed on 12/27/15 at 03:23:22 by Ben Gras

Description: modified (diff)

comment:2 Changed on 12/27/15 at 03:23:33 by Ben Gras

Owner: set to Ben Gras
Status: newassigned

comment:3 Changed on 12/28/15 at 16:29:40 by Ben Gras <beng@…>

Resolution: fixed
Status: assignedclosed

In 127e08bbfe5bc5005a99514f65600598d4186956/rtems:

beagle sdcard.sh: objcopy 4.12

Fixes #2505.

Note: See TracTickets for help on using tickets.