[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Re: help 310
From:       "Ming Zhang" <mingz () ele ! uri ! edu>
Date:       2002-07-29 14:36:02
[Download RAW message or body]

Hello, Paul Chiang,

I check the maunal and I am confused about what you said.

"<2> IOP310_MUxxHPR, IOP310_MUxxTPR are not filled into correct value",

would you like to show me in detail?


======= At 2002-07-24, 09:05:00 you wrote: =======

>I use 2.4.18 rmk6 for 80310 + 80300BP , and 29160 is only available on
>Primary J4 slot!!!
>
>about MU, if you read the "Manual of 80312", you will find some of bugs of
>the code...
>I haven't fixed all of them!
>A. Message
> <1> bug on lots of treating list
>            ex: (1)msg_desc = MSG_ENTRY(&mu->msg_desc.free_stack.next);
>didnot work.
>                 (2)list_paul=&mu->msg_desc.free_stack;
>                    msg_desc = MSG_ENTRY(list_paul->next);   is fine
>                    and many codes for list didnot work....
>                    etc.....
>  <2> bug on clear Interrup
>                //*(IOP310_MUIISR) &= ~mask;  didnot clear int
>                *(IOP310_MUIISR) &= mask;
>B. Doorbell
>            It is fine
>C.  Circular Queue
>            <1>confused for the number of queue entries or bytes-size
>            I suggess
>                #define QUEUE_16K 0x04000                // for BytesSize
>                #define ENTRY_4K (QUEUE_16K>>2)   // for queue entries
>(sizeof(u32) per entries)
>            <2> IOP310_MUxxHPR, IOP310_MUxxTPR are not filled into correct
>value
>            etc......
>
>ps. Anybody knows in the manual of "Intel 80312 I/O companion chip" at Page
>6-11
>        "when the queue is not empty or full(head=tail, but the head pointer
>was last written by software), the data is returned. "
>      I really donot know "the head pointer was last written by software"
>        therefore, I can pass the same number of entries for
>mu_cq_inbound_init().
>        However, fewer number of entries will cause lost of message....??!?
>Best Regards
>------------
>Paul Chiang ???
>ICP Electronics Inc.  (IEI)
>Software Engineer
>Email: paulchiang@iei.com.tw
>----- Original Message -----
>???: "Ming Zhang" <mingz@ele.uri.edu>
>???: <paulchiang@iei.com.tw>
>????: 2002?7?23? ?? 09:50
>??: help
>
>
>> Dear Paul
>>
>> I read your post from that mailing list and know that you can use adaptec
>29160 card on that iq80310 board. I also try it with linux 2.4.16 rmk6 while
>i always get panic when write large size file or mkfs on it. can you tell me
>how you achieve that?
>>
>> another question is that you already test that message unit and you
>already find some errors in it. i am now do the similar work and i just find
>some errors in message register part and i still not finish test circular
>queue. (other three are done). so i wonder if you can tell me where is the
>bugs you find. and give me u test code let me learn from it if possible?
>>
>>
>> thanks so much.
>>
>>
>> Best regards.
>>
>>
>> Ming Zhang
>> ------------------------------
>> Member of IEEE, ACM
>> mingz@ele.uri.edu
>> http://www.ele.uri.edu/~mingz
>> 1(401)874-4859
>>
>> Department of Electrical and Computer Engineering
>> University of Rhode Island
>>
>> 4 East Alumni Ave. Kingston, RI, 02881
>>
>>
>>
>>
>>
>
>
>.

= = = = = = = = = = = = = = = = = = = =
			

Best regards.				 


Ming Zhang
------------------------------
Member of IEEE, ACM
mingz@ele.uri.edu
http://www.ele.uri.edu/~mingz
1(401)874-4859

Department of Electrical and Computer Engineering
University of Rhode Island

4 East Alumni Ave. Kingston, RI, 02881





-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic