Hi Kim, Yes, i checked to my knowledge that i am doing all these steps and also checked the bit positions.
I will send you the code excerpts. The code was written for 2.4 kernel and 8555E(downloaded from freescale) and i ported it to 8248/kernel 2.6. thanks for your help -vikas > On Sun, 31 Jul 2005 20:48:16 -0400 (EDT) > "Vikas Aggarwal" <va824363 at albany.edu> wrote: > >> Tried it as u said . No luck :( >> But something more i noted now in CPSR(channel pointer status >> register=0x2040) that before ISR invoked it has 0x0:0x7. >> >> After ISR invoked it has 0x7:0x2007 . The 7 in low bits means >> channel_error and 2 is at "reserved" bits as per documentation, don't >> know >> what that means. >> >> I also tried kmalloc with GFP_DMA, for the memory where i create the >> Descriptor. >> Please keep giving ideas for debugging this as this is what driving me >> right now. >> regards >> -vikas > > > So you reset the master, then the channel, allocate the RNG descriptor, > allocate the random data buffer, fill the descriptor with values for an > RNG request the size of your buffer (filling with the physical address of > your random data buffer), and submit the descriptor's physical address to > the FR.. > > btw, I'm finding it hard to help without seeing sec register transaction > data, descriptor data, virtual and physical addresses, etc. > > Kim >