[RTEMS Project] #2505: beagle sdcard.sh has hard-coded rtems arm-rtems4.11-objcopy
RTEMS trac
trac at rtems.org
Sun Dec 27 03:23:22 UTC 2015
#2505: beagle sdcard.sh has hard-coded rtems arm-rtems4.11-objcopy
---------------------+---------------------
Reporter: beng | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 4.11.1
Component: General | Version: 4.10
Severity: normal | Resolution:
Keywords: |
---------------------+---------------------
Description changed by beng:
Old description:
> (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.
New description:
(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.
--
--
Ticket URL: <http://devel.rtems.org/ticket/2505#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list