Question on configuring for a MIPS processor
Joel Coltoff
joel at wmi.com
Tue Oct 17 13:36:17 EDT 2006
Hi,
First let me apologize if this is in the archive. I've checked
a bit and didn't see it. I'm a bit surprised that it isn't.
We are running, for the moment, a bit of a hack. We are using
a 2.4.18 kernel that has been updated to support a subset of
the intel 28F256P30 strataflash. It seems to be working. In
the meantime, work goes on doing a board support package for
2.6.17.
The problem we are facing is that our flash runs from
0x1f000000 - 0x21000000. Since we are running on a MIPS we've
got boot code at 0x1fc000000 which sort of gets in the way. There's
other stuff that fills memory up to 0x20000000. I've got no problem
having /dev/mtdb0 use the space from the start of flash up to
0x1fc00000. What I'd like to be able to do is use the rest of
the flash. I'm reasonable certain it would be foolish to treat the
memory as 2 devices. Should I use fdisk to create my flash drives?
Is there another way to handle this?
If I do use fdisk what make sense for heads/sectors/cylinders?
In theory, fdisk seems like the best way to go. What I mean
by that is do I want my sector size to be 128K. I really don't
know how the code works when only part of a sector gets updated.
Thanks for your help,
- Joel
More information about the linux-mtd
mailing list