aboutsummaryrefslogtreecommitdiff
path: root/ich9macchange
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-10 13:39:39 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-10 13:39:39 +0000
commit7a6932c71747ea9bbf37d26805cce2f159d66570 (patch)
treed0ed7094234a678931989ed3eb568fa203e3e021 /ich9macchange
parent7b35d96e2b33a144d9d3e301372cf9cb4fda1b28 (diff)
downloadlibrebootfr-7a6932c71747ea9bbf37d26805cce2f159d66570.tar.gz
librebootfr-7a6932c71747ea9bbf37d26805cce2f159d66570.zip
ich9macchange: Add R400
Diffstat (limited to 'ich9macchange')
-rwxr-xr-xich9macchange13
1 files changed, 8 insertions, 5 deletions
diff --git a/ich9macchange b/ich9macchange
index b3544484..683fb627 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