linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ameet Patil <ammubhai@gmail.com>
To: Raja Chidambaram <raja_chidambaram82@yahoo.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: System Ace Driver Hangs.
Date: Fri, 28 Jul 2006 12:10:56 +0100	[thread overview]
Message-ID: <44C9F0C0.3040102@gmail.com> (raw)
In-Reply-To: <20060728110356.90311.qmail@web53614.mail.yahoo.com>

Hi Raja,
    Did you update the xparameters_ml300.h or xparameters_ml403.h file 
with the right defines for your specific board? If not, then you need to 
update the file first. This first is automatically generated by the EDK 
toolset. However, you might also choose to do it manually if you know 
the right values. The driver would work with the right base-address.

cheers,
-Ameet

Raja Chidambaram wrote:
> 
>  Hi all,
> 
>    I got the system Ace driver compiled in to linux
> 2.6.12 but once the board boot's up , the console
> shows
>  
>    Data machine check in kernel mode.
> and continously runs the call trace.
> 
> when  i debugged the this problem on xsyace driver
> codebase the it hangs  at function in & calls call
> trace
>  
>       >adapter.c 
>  
>  -->   if (XSysAce_Initialize(&SysAce, cfg->DeviceId)
> != XST_SUCCESS)
> 
> when further debugged the function XSysAce_Initialize
> it call the funtion XSysAce_RegWrite16
>        
>          >xsyace.c
> 
>   -->#if (XPAR_XSYSACE_MEM_WIDTH == 16)
>     XSysAce_RegWrite16(InstancePtr->BaseAddress +
> XSA_BMR_OFFSET,XSA_BMR_16BIT_MASK);
> 
> in further debugging on the function
> XSysAce_RegWrite16
> shows
>        >xsysace_l.c
> 
>  --> #if (XPAR_XSYSACE_MEM_WIDTH == 16)
> void XSysAce_RegWrite16(u32 Address, u16 Data)
> {
>     u16 ConvertedData;
>                                                       
>                                                       
>                
>     /*
>      * The ACE registers are little-endian always.
> This code takes the incoming
>      * 16-bit and endian converts it, then writes it
> to the ACE register.
>      */
>     XIo_ToLittleEndian16(Data, &ConvertedData);
>     XIo_Out(Address, ConvertedData); /***** the
> execution 
> runs the call trace from this point ******/
> 
> }
> 
> 
> 
> I beleive their problem with  macro value in
>                > xparameters.h
> 
>    XPAR_SYSACE_COMPACTFLASH_BASEADDR 0x41800000
>  can some one please explain how to specify the 
> value for this macro mine is xccace-tq144i System ace
> or else is their any other problem to solve.please
> help me in this.thanks in advance.
>                           
>                                        with regards
>                                         k.raja 
> 
> 
> 
>    
>     
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

      reply	other threads:[~2006-07-28 11:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-28 11:03 RE:System Ace Driver Hangs Raja Chidambaram
2006-07-28 11:10 ` Ameet Patil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44C9F0C0.3040102@gmail.com \
    --to=ammubhai@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=raja_chidambaram82@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).