Add some handly Linux test stuff
[yaffs2.git] / linux-tests / initnandsim
diff --git a/linux-tests/initnandsim b/linux-tests/initnandsim
new file mode 100755 (executable)
index 0000000..4bb41df
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+modprobe mtd
+modprobe mtdblock
+modprobe nandsim first_id_byte=0x20 second_id_byte=0xa2 third_id_byte=00 fourth_id_byte=0x15
+cat /proc/mtd
+