[aadk-commits] qwell: uClinux/trunk r319 -
/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/...
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Wed Apr 4 10:36:43 MST 2007
Author: qwell
Date: Wed Apr 4 12:36:43 2007
New Revision: 319
URL: http://svn.digium.com/view/aadk?view=rev&rev=319
Log:
Fix a couple of typos and change the default filename in bootloaderupdate script.
Modified:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/bootloaderupdate
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/bootloaderupdate
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/bootloaderupdate?view=diff&rev=319&r1=318&r2=319
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/bootloaderupdate (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/scripts/bootloaderupdate Wed Apr 4 12:36:43 2007
@@ -1,6 +1,6 @@
#!/bin/sh
PID=$$
-# Script for reflashing uCLinux image to SPI FLASH
+# Script for reflashing u-boot image to SPI FLASH
if [ "$1" = "" ]; then
echo "Usage: bootloaderupdate <imageURL>"
echo " OR bootloaderupdate tftp <hostname> [<filename>]"
@@ -11,7 +11,7 @@
if [ "$1" = "tftp" ]; then
HOST=$2
if [ "$3" = "" ]; then
- FILENAME=uImage
+ FILENAME=app.ldr
else
FILENAME=$3
fi
@@ -34,9 +34,9 @@
fi
FILESIZE=`ls -l /tmp/image-${PID}.bin | cut -c 30-42 | xargs basename`
-echo "Downloaded bootloadere /tmp/image-${PID} is size ${FILESIZE}"
+echo "Downloaded bootloader /tmp/image-${PID} is size ${FILESIZE}"
-echo "Save Previous Environment"
+echo "Saving Previous Environment"
nvram dump /tmp/env-${PID}.txt
echo "Writing bootloader to FLASH... DO NOT REBOOT!!!"
dd bs=65536 if=/tmp/image-${PID}.bin of=/dev/mtd1 conv=sync 2>/dev/null
More information about the aadk-commits
mailing list