Skip to contentSkip to conversation

Patching only NAND specific stuff possible?

DISCUSSION Marcus Mikolaiczyk 2 participants 3 messages May 11, 2005 – May 12, 2005 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

So again me with my SAMSUNG NAND.
Is it a possibility to patch only the NAND related stuff driver/mtd/nand/*
include/linux/mtd/nand*
??*
to support new NAND features...
Considering the four Layers (jffs2,mtd,nand,hardware-drivers) it should be possible onloy to 'update' the nand and hardware-drivers stuff. Any objections to this?

A secondary short question, if you don't mind.
Where takes the 'addressing' of the NAND takes place (write Col,Row to ALE)?

On the Samsung K9F2G08... there are 5 Cycles for the address resolution nescessary. And two for the command. Example Read page.. Command=0x00
Address=Col_addr(BIT 0-7)
Address=Col_addr(BIT 8-11)
Address=Row_addr(BIT 0-7)
Address=Row_addr(BIT 8-15)
Address=Row_addr(BIT 16)
CLE=0x30
Then read Data...
I saw some NAND chips which only have 4 Address Cycles.

Kind Regards Marcus

#1 lore raw
Quoted 3 lines · Marcus Mikolaiczyk

Considering the four Layers (jffs2,mtd,nand,hardware-drivers) it should be possible onloy to 'update' the nand and hardware-drivers stuff. Any objections to this?

No, as long as you do not ask questions, why it doesnt work. :) The current nand driver needs the current mtd layer and JFFS2 from the last century will not work with those.

Quoted 2 lines

A secondary short question, if you don't mind.
Where takes the 'addressing' of the NAND takes place (write Col,Row to ALE)?

nand_command(_lp) depending on the device type.

Quoted 2 lines

On the Samsung K9F2G08... there are 5 Cycles for the address resolution I saw some NAND chips which only have 4 Address Cycles.

Thats handled by the nand driver depending on the chip size.

tglx

#2 lore raw
Quoted 8 lines
Quoted 3 lines

Considering the four Layers (jffs2,mtd,nand,hardware-drivers) it should be possible onloy to 'update' the nand and hardware-drivers stuff. Any objections to this?

No, as long as you do not ask questions, why it doesnt work. :) The current nand driver needs the current mtd layer and JFFS2 from the last century will not work with those.

Thanks for this info. The NAND is a large page one with some extented commands for large page devices. I have an older driver on the system so the way is to upgrade this one to an appropriate one supporting the large page nand with it's commands.

Marcus