summaryrefslogtreecommitdiff
path: root/scripts/arm-magic.sh
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-12-23 10:28:37 +0000
committerRod Whitby <rod@whitby.id.au>2006-12-23 10:28:37 +0000
commit2dbaa28adbaec69c65a3107fdc5256bf56cce415 (patch)
tree85fe9fb88884aa87e04af3d5d37d0d2f3ddb64d5 /scripts/arm-magic.sh
parentf3ad40579216431d84c49c5e009f988c3e65d33f (diff)
downloadmtk-20170518-2dbaa28adbaec69c65a3107fdc5256bf56cce415.zip
mtk-20170518-2dbaa28adbaec69c65a3107fdc5256bf56cce415.tar.gz
mtk-20170518-2dbaa28adbaec69c65a3107fdc5256bf56cce415.tar.bz2
Fixed typo, it might work now :-)
SVN-Revision: 5894
Diffstat (limited to 'scripts/arm-magic.sh')
-rwxr-xr-xscripts/arm-magic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/arm-magic.sh b/scripts/arm-magic.sh
index 45b44be..6a83d08 100755
--- a/scripts/arm-magic.sh
+++ b/scripts/arm-magic.sh
@@ -31,7 +31,7 @@ do
printf "\xe3\xa0\x10\x$hexid" > $BIN_DIR/openwrt-$1-2.6-zImage
else
# we have a high machtypeid, we need a "mov" (e3a) and an "orr" (e38)
- printf "\xe3\xa0\x10\xx$(echo $hexid|cut -b "2 3")\xe3\x81\x1c\x$(echo $hexid|cut -b 1)" > $BIN_DIR/openwrt-$1-2.6-zImage
+ printf "\xe3\xa0\x10\x$(echo $hexid|cut -b "2 3")\xe3\x81\x1c\x$(echo $hexid|cut -b 1)" > $BIN_DIR/openwrt-$1-2.6-zImage
fi
# generate the image
cat $BIN_DIR/openwrt-ixp4xx-2.6-zImage >> $BIN_DIR/openwrt-$1-2.6-zImage