Fixed a simple bug in burn_mtd, related to the new 2.4.0 release MTD code

This commit is contained in:
Ronald G. Minnich 2001-01-12 05:29:44 +00:00
parent c3b0e127ed
commit 88595061aa

View file

@ -2,8 +2,9 @@
# arg1 is the linuxbios.strip to use. default is linuxbios.strip
# arg2 is the stripped, gzipp'ed kernel. Default is vmlinux.bin.gz
v=`uname -r`
rmmod doc2001
rmmod docprobe
rmmod doc2001
rmmod docecc
if [ $1x = "x" ]; then
linuxbios=linuxbios.strip
@ -19,6 +20,7 @@ fi
flash_on
insmod /lib/modules/${v}/kernel/drivers/mtd/docecc.o
insmod /lib/modules/${v}/kernel/drivers/mtd/doc2001.o
insmod /lib/modules/${v}/kernel/drivers/mtd/docprobe.o
@ -31,5 +33,6 @@ dd conv=notrunc if=docipl of=/dev/mtd0 seek=1
dd conv=notrunc if=linuxbios.block of=/dev/mtd0 seek=2
dd conv=notrunc if=vmlinux.bin.gz.block of=/dev/mtd0 seek=128
rmmod doc2001
rmmod docprobe
rmmod doc2001
rmmod docecc