Skip to contentSkip to conversation

Trouble indetifying FLASH part

DISCUSSION Ho-Kuo Chan 1 participant 1 message May 16, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,
I suppose I should mention that I am using kernel 2.4.19-pre3.

Quoted 2 lines

It looks like what you have should work. What messages do you get when you boot?

Here is the outpt, note that lines that start with HKC are debugging
printk's I have put in:

physmap flash device: 4000000 at 8000000
HKC: output of ioremap: Map Priv 1 = 0xc2003000
HKC: Calling cfi_probe_chip with bus width 2, interleave 1 and device_type 16
HKC: cfi_send_gen_cmd: Addr = 0x0
HKC: cfi_send_gen_cmd: Cmd_addr = 0x0, CFIDEV_INTERLEAVE = 0x1, type = 0x2
HKC: cfi_send_gen_cmd: Val = 0xf0
HKC: cfi_send_gen_cmd: Addr = 0xaa
HKC: cfi_send_gen_cmd: Cmd_addr = 0x55, CFIDEV_INTERLEAVE = 0x1, type = 0x2
HKC: cfi_send_gen_cmd: Val = 0x98
CFI Query Failed for driver
HKC: Calling cfi_probe_chip with bus width 2, interleave 2 and device_type 8
HKC: cfi_send_gen_cmd: Addr = 0x0
HKC: cfi_send_gen_cmd: Cmd_addr = 0x0, CFIDEV_INTERLEAVE = 0x2, type = 0x1
HKC: cfi_send_gen_cmd: Val = 0xf0f0
HKC: cfi_send_gen_cmd: Addr = 0xaa
Cmd_addr = 0x55, CFIDEV_INTERLEAVE = 0x2, type = 0x1
HKC: cfi_send_gen_cmd: Val = 0x9898
CFI Query Failed for driver
Calling cfi_probe_chip with bus width 2, interleave 2 and device_type 16
HKC: cfi_send_gen_cmd: Addr = 0x0
HKC: cfi_send_gen_cmd: Cmd_addr = 0x0, CFIDEV_INTERLEAVE = 0x2, type = 0x2
HKC: cfi_send_gen_cmd: Val = 0xf0f0
HKC: cfi_send_gen_cmd: Addr = 0x154
HKC: cfi_send_gen_cmd: Cmd_addr = 0x55, CFIDEV_INTERLEAVE = 0x2, type = 0x2
HKC: cfi_send_gen_cmd: Val = 0x9898
CFI Query Failed for driver
CFI: Found no Physically mapped flash device at location zero