Problems with r/w on mtdblock0

Ian Relativity at HumanHeuristic.com
Tue Dec 5 22:07:36 EST 2000


> The above should be considered as a mtdblock bug IMHO.
As long as its not my own doofusness ... but I can't see how ...


> It shouldn't matter.  The driver will actually write 8k if that's the erase
> size regardless of the size of your access.
Yeah ... that's what I reckon too ... but Ollie's part of (if not all of) the DoC
writing team ... so I try not to doubt it (the software's) ability :)
 
> >  >  you are playing with the IPL stuff, WRITE TO /dev/mtd0.
> Hmmm....  What's IPL?
Initial program loader ... there's a bunch of us @ linuxBIOS taking these things
and sticking them into the Motherboard's BIOS socket, then booting linux off of
it.  Unfortunately, I'm the only guy *not* doing that at night .. because mines 
broken :-(   


> No it's not, unless you actually reboot before dd return to the shell
> prompt.
Yeah .. that's what I would've thought .. (after yesterday's thread).

 
> ... and that you shouldn't.
> 
> I just don't have any hardware with DiskOnChip or NAND flash to test and fix
> the problem... therefore I'm not aware of the difference with NOR flash as
> far as the block interface is concerned.
> 
> Any hints someone?
If you want me to try things and send you results, I'm cool with that.  I'd *rather* be 
writing to the block device (at least you should be able to "sync" it).

 

--
http://HumanHeuristic.com/
"Bringing people together in a world full of computers"



To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list