I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
A fix to mtd driver

New MessageA fix to mtd driver (modified 0 times) Vit_sfba
Profile | Email
I have a fix for mtd driver, that allows to erase and reflash bootrom partitions on the fly. If interested, take it from http://www.luban.org/Webpal

Enjoy. Reports welcome as always.

Vit.

12-09-2002 09:30:16

New MessageRE:A fix to mtd driver (modified 0 times) n1gp
Profile
Vit,

What do I need to do to utilize your mtd driver? I have tried
your image, I did a:

cd /dev
mknod mtd0 c 90 0
mknod mtd1 c 90 1
mknod mtd2 c 90 2
mknod mtd3 c 90 3
mknod mtdblock0 b 31 0
mknod mtdblock1 b 31 1
mknod mtdblock2 b 31 2
mknod mtdblock3 b 31 3
chmod 600 mtd*

but when I try to do an erase /dev/mtd3 I get
a File open error.

I know I must be missing a very important step...???

02-18-2003 23:33:15

New MessageRE:A fix to mtd driver (modified 0 times) scratchy
Profile
It looks like your minor numbers for /dev/mtd[1-3] are not quite right. Here's what I have. This works for me with the kernel image I posted a few days ago:

crw-r--r-- 1 root root 90, 0 Jan 15 11:15 /dev/mtd0
crw-r--r-- 1 root root 90, 2 Jan 15 11:15 /dev/mtd1
crw-r--r-- 1 root root 90, 4 Jan 15 11:15 /dev/mtd2
crw-r--r-- 1 root root 90, 6 Jan 15 11:15 /dev/mtd3

brw-r--r-- 1 root root 31, 0 Jan 15 11:15 /dev/mtdblock0
brw-r--r-- 1 root root 31, 1 Jan 15 11:15 /dev/mtdblock1
brw-r--r-- 1 root root 31, 2 Jan 15 11:15 /dev/mtdblock2
brw-r--r-- 1 root root 31, 3 Jan 15 11:15 /dev/mtdblock3

02-19-2003 00:07:08

New MessageRE:A fix to mtd driver (modified 0 times) n1gp
Profile
Scratchy, Tnx a mill! That was the problem.

I'm having a ball with this webpal, and learning tons as I progress.
I thank you and others here mucho for the pointers and support.

Coming from newbeedom, I'm not sure how I would have known about the
mknod of 0,2,4,6 -vs- 0,1,2,3 would appreciate any comments on that
so I can tuck it away in the cranium void...

Rick

02-19-2003 20:38:36

New MessageRE:A fix to mtd driver (modified 0 times) scratchy
Profile
I built the erase utilities by downloading the latest mtd-snapshot source. I then looked in the script mtd/util/MAKEDEV to learn how mknod should be run. That's the only reason I know about the 0,2,4,6 numbering.
02-22-2003 11:23:21

New MessageRE:A fix to mtd driver (modified 0 times) Vit_sfba
Profile | Email
Hi,

Sorry for not answering that in time, I've been abroad for 2 months, did not read the stuff here...

Scratchy, thanks alot for your help! :)))

Vit.

03-07-2003 10:12:36

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3