From 63cbdd19c8ed1a4a9fc73f5998e9ac2f50f96bb4 Mon Sep 17 00:00:00 2001 From: xiangfu Date: Thu, 14 May 2009 17:12:48 +0000 Subject: [PATCH] add a reflash shell --- flash-tool/reflash.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 flash-tool/reflash.sh diff --git a/flash-tool/reflash.sh b/flash-tool/reflash.sh new file mode 100755 index 0000000..1342afe --- /dev/null +++ b/flash-tool/reflash.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +sudo ./inflash -c "boot" +sudo ./inflash -c "nprog 0 u-boot-nand.bin 0 0 -n" +# sudo ./inflash -c "nprog 2048 uImage 0 0 -n" +