#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:

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 Dec 27, 2015 at 3:23:22 AM by Ben Gras

Description: modified (diff)

comment:2 Changed on Dec 27, 2015 at 3:23:33 AM by Ben Gras

Owner: set to Ben Gras
Status: newassigned

comment:3 Changed on Dec 28, 2015 at 4:29:40 PM 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.