summaryrefslogtreecommitdiffstats
path: root/ich9macchange
diff options
context:
space:
mode:
Diffstat (limited to 'ich9macchange')
-rwxr-xr-xich9macchange13
1 files changed, 8 insertions, 5 deletions
diff --git a/ich9macchange b/ich9macchange
index b354448..683fb62 100755
--- a/ich9macchange
+++ b/ich9macchange
@@ -47,14 +47,17 @@ fi
$(echo $path) --macaddress $1
-for size in "8m" "4m"
+for board in "x200" "r400"
do
- cd bin/x200_"$size"b/
- for rom in $(ls)
+ for size in "8m" "4m"
do
- dd if=../../ich9fdgbe_"$size".bin of="$rom" bs=1 count=12k conv=notrunc
+ cd bin/"$board"_"$size"b/
+ for rom in $(ls)
+ do
+ dd if=../../ich9fdgbe_"$size".bin of="$rom" bs=1 count=12k conv=notrunc
+ done
+ cd ../../
done
- cd ../../
done
rm -f ich9fdgbe_4m.bin