[MD-2811-032] DoCMilPlus32 missrecognized on pxa250.

Balint Cristian rezso at rdsor.ro
Thu Oct 14 03:27:43 EDT 2004


Hello  !

 I write in a last epuization of ideas,a call on list, because i hit a strange problem
and want to call a little bit advice from authors.

 I have a PDA with an PXA250 and an MD-2811-032 on it, but my chip is missrecognized
by the kernel:

"Flash chip found: Manufacturer ID: 98, Chip ID: A5 (Toshiba: NAND 2GiB 1,8V)"

 Uhmm 2GiB ??!? it is 32M.

 I have checked DoC registers it is 16 bit wired,it can be found in CS0 area at 0x00000000 of PXA.
 Also played with MRC0 regs to enable 32/16 bit of course driver worked, only if i used 8bit or 16 bit I/O  access mode in doc2000.h:

 32bit mmio for __arm__  < --- this not worked
 16bit mmio for __ppc__   < --- worked .
 readb/writeb else.            <---- worked.

 In 32bit [wich was original destinated for arm acording doc2000.h] it even dont recognise the chip ! 
The strangest part in all is that in 32 bit if i printf a little bit what happenning, the ChipID value for eg is 0xD3, value 
wich curiosly in reality is not at 0x00001000 is I expected to read from, this 0xD3 value is only present at 0x00000000  
[as i see via JTAG] !!
 Is it possible to read from another address in 32 bit mode of driver ??!?

 As specs, I used CVS version [a week old since now] of mtd with heandhealds org-2.6.8.1 kernel from an CVS tarball,
and i used old /mtd/drivers instead mtd/nand implementation because nand implementation said that not support this chip 
or something like this.


 Guys, any advice is welcome, please correct me if somewhere my suppositions are horrible,any idea is welcome
 i can send more printf more debugs give access to device, my C language skills are not the best but this really give headbang to me.

 As final words, i started adapt jtag-0.5.1 tool from openwince and combined with mtd-CVS drivers, it works at last fine
but recognise the chip as 2GiB Toshiba too :)) like linux kernel.
 Anyone wants to take a look in these lines of jtag ? 
Would be nice  to have a JTAG tool to handle these devices.


Thanks in advance,
~cristian

PS:
 excuse but english levels are poor too, it may sound in strange accords :)




More information about the linux-mtd mailing list