Skip to contentSkip to conversation

How to hardcode NOR Flash parameters (wrong CFI table) ?

DISCUSSION Mikhail Gruzdev 1 participant 1 message Feb 15, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello.

I have NOR flash chip(Spansion S29GL032N04) with wrong CFI table information (Erase Region 2 Information). My do_map_probe("cfi_probe", &nor_map) function call fails due to geometry mismatch.
So I decided to hardcode _all_ flash chip information without any probing at all.

Are there any examples? I don't want to miss something while digging into mtd sources. Doesn't it the preferable way for embedded systems?

Thanks!