From 88595061aa77843d9eb5218d56852f956b99a276 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 12 Jan 2001 05:29:44 +0000 Subject: [PATCH] Fixed a simple bug in burn_mtd, related to the new 2.4.0 release MTD code --- util/mtd/burn_mtd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/util/mtd/burn_mtd b/util/mtd/burn_mtd index 03ea7bc2d9..fd794ab335 100755 --- a/util/mtd/burn_mtd +++ b/util/mtd/burn_mtd @@ -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