(재전송) /dev/mtd0 qeustions
I got latest MTD source code(2001-07-11 version)
and set Kernel options.
when the kernel booted, I found all correct messages from kernel. but, when I tyepd MAKEDEV, and then
mkfs.jffs -d /home/jffs -o /tmp/jffs.image
and
cp /tmp/jffs.image /dev/mtd0
the result message is
cp: /dev/mtd0 Read-only file system. <----Here.
so, I can't proceed next step!!
Could anyone explain this problem??
Any comments will help me.. thanks.
Quoted 7 lines · [email protected] writes:
mkfs.jffs -d
/home/jffs-o/tmp/jffs.image
andcp
/tmp/jffs.image/dev/mtd0
the result message iscp:
/dev/mtd0Read-only file system. <----Here.
what filesystem do you use for root filesystem? if you use romfs, then mount /dev as ramfs and make node.
Quoted 1 line
so, I can't proceed next step!!
Signature · 2 lines
Joh, Yong-iL E-mail: [email protected] [email protected]
Quoted 5 lines · [email protected] said:
cp:
/dev/mtd0Read-only file system. <----Here.
so, I can't proceed next step!!
Could anyone explain this problem??
Any comments will help me.. thanks.
Are the sectors protected?
--
dwmw2
Re: (ÀçÀü¼Û) /dev/mtd0 qeustions
In reply to [email protected]Hi kingseft!
Quoted 12 lines
I got latest MTD source code(2001-07-11 version)
and set Kernel options.when the kernel booted, I found all correct messages from kernel. but, when I tyepd MAKEDEV, and then
mkfs.jffs -d
/home/jffs-o/tmp/jffs.image
andcp
/tmp/jffs.image/dev/mtd0
the result message is
Quoted 6 lines
cp:
/dev/mtd0Read-only file system. <----Here.so, I can't proceed next step!!
Could anyone explain this problem??
Any comments will help me.. thanks.
btw, if you want to copy to a raw partition (as you did above), you'll have to erase that partition first.
Signature · 15 lines
Regards Abraham Your supervisor is thinking about you. __________________________________________________________ Abraham vd Merwe - 2d3D, Inc. Device Driver Development, Outsourcing, Embedded Systems Cell: +27 82 565 4451 Snailmail: Tel: +27 21 761 7549 Block C, Antree Park Fax: +27 21 761 7648 Doncaster Road Email: [email protected] Kenilworth, 7700 Http: http://www.2d3d.com South Africa
Re: (ÀçÀü¼Û) /dev/mtd0 qeustions
Quoted 2 lines · [email protected] said:
btw, if you want to copy to a raw partition (as you did above),
you'll have to erase that partition first.
Or use the mtdblock device instead, which does erase it for you.
--
dwmw2