Skip to contentSkip to conversation

What happened to 64-bit support?

DISCUSSION Allen Curtis 3 participants 6 messages Jul 26, 2002 – Jul 31, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I have had a chance to continue working on my Read-Only problem and have discovered that the flash is getting mounted as if it was ROM. Our system is configured with 4-16bit Strata flash devices and should be using the CFI interface. It appears that the flash is being recognized as CFI compliant bus fails the buswidth test.

Using the latest CVS code I recompiled with DEBUG, genprobe...() reports that it does not support buswidth of 8. jedec_probe...() did not work. It did appear to work with the ROM mapped to RAM option but this also the reason that it is always mounted Read-Only.

I retrieved linux-2_4-branch from CVS, it appears that this does not have 64-bit bus support either. Looking at cfi_probe(), the case statement does not support buswidth of 8.

Where can I find the 64-bit patches?

#1 lore raw

Sorry, I missed this mail so my reply to your latest mail probably wasn't too helpful.

Quoted 4 lines · [email protected] said:

Using the latest CVS code I recompiled with DEBUG, genprobe...() reports that it does not support buswidth of 8. jedec_probe...() did not work. It did appear to work with the ROM mapped to RAM option but this also the reason that it is always mounted Read-Only.

Did you actually enable 64-bit support? It's not on by default because it slows things down.

CONFIG_MTD_ADV_OPTIONS=y, CONFIG_MTD_CFI_GEOMETRY=y, CONFIG_MTD_CFI_B8=y, CONFIG_MTD_CFI_I4=y.

--
dwmw2

#2 lore raw
Quoted 5 lines

Did you actually enable 64-bit support? It's not on by default because it slows things down.

CONFIG_MTD_ADV_OPTIONS=y, CONFIG_MTD_CFI_GEOMETRY=y, CONFIG_MTD_CFI_B8=y, CONFIG_MTD_CFI_I4=y.

In theory yes. if CONFIG_MTD_CFI_B8 translates to 64-bits in config (which I believe it does, then yes) As I mentioned, the problem appears to be in the probe routines not liking an octet of 8.

#3 lore raw
Quoted 3 lines · [email protected] said:

In theory yes. if CONFIG_MTD_CFI_B8 translates to 64-bits in config
(which I believe it does, then yes) As I mentioned, the problem appears to be in the probe routines not liking an octet of 8.

What exactly happens?

--
dwmw2

#4 lore raw
Quoted 5 lines
Quoted 3 lines

In theory yes. if CONFIG_MTD_CFI_B8 translates to 64-bits in config
(which I believe it does, then yes) As I mentioned, the problem appears to be in the probe routines not liking an octet of 8.

What exactly happens?

cfi_probe() terminates with an unsupported buswidth. The devices do get mounted as ROM but then they are read-only.

Sequence:
cfi - unsupported buswidth
jedec - fails
ROM - mapped but read-only

#5 lore raw
Quoted 1 line · [email protected] said:

cfi_probe() terminates with an unsupported buswidth.

Looking at the cfi_probe code I can't tell what you mean by 'terminates with an unsupported buswidth'.

--
dwmw2