MTD concat layer

Jonas Holmberg jonas.holmberg at axis.com
Thu Feb 14 06:14:25 EST 2002


>> You could hack up a map driver that appears to have the two CFI chips 
>> contiguously, and then the probe code would find them both and make a 
>> single MTD device from them -  but there was a reason why he wasn't
doing 
>> this. Perhaps the 'BIOS' bit is in fact the beginning of the second
chip, 
>> not actually a separate chip at all? I don't remember.
>
>No, the BIOS is in the middle of the chip's addressing space. All this
>_could_ conceivably be solved with a hacked-up map driver, but then
>again,
>one might as well do the partitioning stuff in a hacked-up map driver.
>The
>idea was to have this functionality available in a generic form, so it
>it is accessible as a service from the MTD core layer.

I started to work on a different solution; probe functions that could be called several times with the same map. This would also make it possible to mix CFI and JEDEC chips. And you could mix chips of different geometry. I did , however, caught a nasty cold and haven't been working on it for a week now. If you are interested in this solution I will continue working on it when I get well, otherwise I'll use your solution.

/Jonas




More information about the linux-mtd mailing list