Am29LV065D PROBLEM

somshekar kadam kadamsom at yahoo.co.in
Tue Oct 2 06:18:54 EDT 2001


 hi all
     I am using Am29LV065D flash chip of 8mb on my 
 board processor sc2200 national semiconductor
 
  what i have done is i have partitioned my chip into
2
 linux is able to detect the chip and creates two
partitions but but  when in query mode
it says chip erase not supported
i have put down the boting text
when i try to erase the flash
it says timed out mtd erasure failure

it is checking time_after(jiffes,timeo)
is getting failed
so i am getting this message
regarding my erase program i have put below the boot
text
when i try to dd my  jjfs.image
it says input output error 0 bytes in and out

and one more imp thing is that 
block erase time out i s given in micro seconds
when queried the chip 
but data sheet say it is in millisecond

any idea please reply me
thanks in advance



BOOT.TXT


sirq.
eth0: PCnet/FAST III 79C973 at 0x1000, ff ff ff ff ff
ff
pcnet32: pcnet32_private lp=c18c8000
lp_dma_addr=0x18c8000, probed IRQ 11.
pcnet32.c:v1.25kf 26.9.1999 tsbogend at alpha.franken.de
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 3M
in inter module get
[drm] Initialized tdfx 1.0.0 20000928 on minor 63
in inter module get
[drm:radeon_init] *ERROR* Cannot initialize agpgart
module.
in inter module register
in inter module register
in inter module register
physmap flash device: 800000 at ff000000
in do map probe
in inter module get
in inter module get request
in cfi probe 1
in cfi cfi probe 2
in cfi probe new chip 3
Physically mapped flash: Found a CFI device at 0x0 in
8 bit mode
detected the chip back in cfi cfi  probe 4
Primary Vendor Command Set: 0002 (AMD/Fujitsu
Standard)
Primary Algorithm Table at 0040
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum: 2.7 V
Vcc Maximum: 3.6 V
No Vpp line
Typical byte/word write timeout: 16 µs
Maximum byte/word write timeout: 512 µs
Full buffer write not supported
Typical block erase timeout: 1024 µs
Maximum block erase timeout: 16384 µs
Chip erase not supported
Device size: 0x800000 bytes (8 Mb)
Flash Device Interface description: 0x0000
  - x8-only asynchronous interface
Max. bytes in buffer write: 0x1
Number of Erase Block Regions: 1
  Erase Region #0: BlockSize 0x10000 bytes, 128 blocks

in inter module get
in inter module get request
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
probing done
mtd: Giving out device 0 to ulcc raw partition
mtd: Giving out device 1 to jffs filesystem
usb.c: registered new driver hub
usb.c: registered new driver hid
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind
2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
devfs: v0.102 (20000622) Richard Gooch
(rgooch at atnf.csiro.au)
devfs: boot_options: 0x2
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 196k freed
INIT: version 2.78 booting
bash# /bin/mkfs.jffs -d /usr/ jffs.image
Too many arguments
bash#
bash#
bash# /bin/mkfs.jffs -d /usr/ > jffs.image
Constructing JFFS filesystem...
usr
    Makefile
    Makefile.c
    Makefilemtdflash
    SerialOut.c
    cdef.h
    lynx.c
    lynxser.c
    lynxser1.c
    mkfs.jffs2.c
bash# dd if=jffs.image of=/dev/mtd1MTD_open
in mtd open mtdchar







     AFTER ERASE PROGRAM IS RUN
       ERROR>TXT

----------------------------------
bash# /bin/erasxMTD_open
in mtd open mtdchar
 <6>MTD_ioctl
in memgetinfo   in mtdchar
MTD_ioctl
in  memerase  in mtdchar
erase : 0x0 0x20000 0x0 0x800000

131072 erase size
4194304 mewaiting for erase to complete timed
out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x20000 0x20000 0x0 0x800000
minfo.size
Erwaiting for erase to complete timed out.asing 128
Kibyte<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x40000 0x20000 0x0 0x800000
 @ 0 --  0 % comwaiting for erase to complete timed
out.plete. MTD Erase<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x60000 0x20000 0x0 0x800000
 failure
Erawaiting for erase to complete timed
out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x80000 0x20000 0x0 0x800000
sing 128 Kibyte @ 20000 --  3 % waiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0xa0000 0x20000 0x0 0x800000
complete. MTD Erase failure
waiting for erase to complete timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0xc0000 0x20000 0x0 0x800000
Erasing 128 Kibyte @ 40000 --  6waiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0xe0000 0x20000 0x0 0x800000
waiting for erase to complete timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x100000 0x20000 0x0 0x800000

Erasing 128 Kibyte @ 60000 --waiting for erase to
complete timed out.<6>MTD_ioct
l
in  memerase  in mtdchar
erase : 0x120000 0x20000 0x0 0x800000
  9 % complete. MTD Erase failurwaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x140000 0x20000 0x0 0x800000
e
Erasing 128 Kibyte @ 80000waiting for erase to
complete timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x160000 0x20000 0x0 0x800000
 -- 12 % complete. MTD Erase faiwaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x180000 0x20000 0x0 0x800000
lure
Erasing 128 Kibyte @ a0waiting for erase to complete
timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x1a0000 0x20000 0x0 0x800000
000 -- 15 % complete. MTD Erase waiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x1c0000 0x20000 0x0 0x800000
failure
Erasing 128 Kibyte @waiting for erase to complete
timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x1e0000 0x20000 0x0 0x800000
 c0000 -- 18 % complete. MTD Erawaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x200000 0x20000 0x0 0x800000
se failure
Erasing 128 Kibytwaiting for erase to complete timed
out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x220000 0x20000 0x0 0x800000
e @ e0000 -- 21 % complete. MTD waiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x240000 0x20000 0x0 0x800000
Erase failure
Erasing 128 Kiwaiting for erase to complete timed
out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x260000 0x20000 0x0 0x800000
byte @ 100000 -- 25 % complete. waiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x280000 0x20000 0x0 0x800000
MTD Erase failure
Erasing 12waiting for erase to complete timed
out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x2a0000 0x20000 0x0 0x800000
8 Kibyte @ 120000 -- 28 % complewaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x2c0000 0x20000 0x0 0x800000
te. MTD Erase failure
Erasinwaiting for erase to complete timed
out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x2e0000 0x20000 0x0 0x800000
g 128 Kibyte @ 140000 -- 31 % cowaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x300000 0x20000 0x0 0x800000
mplete. MTD Erase failure
Erwaiting for erase to complete timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x320000 0x20000 0x0 0x800000
asing 128 Kibyte @ 160000 -- 34 waiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x340000 0x20000 0x0 0x800000
% complete. MTD Erase failure
waiting for erase to complete timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x360000 0x20000 0x0 0x800000
Erasing 128 Kibyte @ 180000 --waiting for erase to
complete timed out.<6>MTD_ioc
tl
in  memerase  in mtdchar
erase : 0x380000 0x20000 0x0 0x800000
 37 % complete. MTD Erase failurwaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x3a0000 0x20000 0x0 0x800000
e
Erasing 128 Kibyte @ 1a000waiting for erase to
complete timed out.<6>MTD_ioctl
in  memerase  in mtdchar
erase : 0x3c0000 0x20000 0x0 0x800000
0 -- 40 % complete. MTD Erase fawaiting for erase to
complete timed out.<6>MTD_i
octl
in  memerase  in mtdchar
erase : 0x3e0000 0x20000 0x0 0x800000
ilure
Erasing 128 Kibyte @ 1waiting for erase to complete
timed out.in mtd close in mt
dchar
MTD_close
sync
sync end
c0000 -- 43 % complete. MTD Erase failure
Erasing 128 Kibyte @ 1e0000 -- 46 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 200000 -- 50 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 220000 -- 53 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 240000 -- 56 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 260000 -- 59 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 280000 -- 62 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 2a0000 -- 65 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 2c0000 -- 68 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 2e0000 -- 71 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 300000 -- 75 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 320000 -- 78 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 340000 -- 81 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 360000 -- 84 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 380000 -- 87 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 3a0000 -- 90 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 3c0000 -- 93 % complete. MTD
Erase failure
Erasing 128 Kibyte @ 3e0000 -- 96 % complete. MTD
Erase failure
 bash#
bash#


____________________________________________________________
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit http://in.groups.yahoo.com




More information about the linux-mtd-cvs mailing list