[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [microblaze-uclinux] Re: Re: [uClinux-dev] Regarding the xmbserial
Hi john,
I restored the TTY_FLIPBUF_SIZE to 512 bytes and commented out #define ACKNOWLEDGE_AFTER,then compiled the image and ran it...I was not sure about the extent to which I should increase the size of the text file..I used 3 sizes and here are the results :
file size(of text dumped on prompt) result observed
5 kb no problems
12 kb no problems
20 kb no problems
where :
"no problems" -> the entire text is printed pretty fast
on the console and sometimes inferred as commands(bad command errors..no such command etc)...and after printing the entire text...it returns the prompt..and i am able to continue with the interactive shell session without any problem...
if it helps...before returning to the prompt again...the last line printed was :
......................end of text file..........
sh 362 : child 524 died
[524]
/bin>
/bin>
I am not sure whether 5/12/20 kb is big enough..if not..then you can accept this as an intermediate result..and also let me know how large is "large text"?..thanks...
besides one more thing that I observed here is the serial console was very fast too in responding to my commands..no sluggishness as was observed before commenting that line in microblaze_intc.c..
how is this action of commenting out that line related to the TTY_FLIPBUF_SIZE(if at all)?..both seem to be achieving the same result...of improved speed(servicing all interrupts in good time)...
thanks for any clarification
Cheers
V.Anand
(www.tenet.res.in)
Hi Anand,
>
>anand_12 wrote:
>
>> thanks for your prompt clarification again..yeah!!..a better thing would be to fix the bug itself rather than
>> find workarounds...:-)..
>
>Can you try something - in
>linux/arch/microblaze/kernel/microblaze_intc.c, comment out or remove
>the line
>
>#define ACKNOWLEDGE_AFTER
>
>Do a rebuild, and try to crash the serial driver with a large text
>paste. Make sure you revert the earlier change you made in the linux
>header.
>
>Thanks,
>
>John
>_______________________________________________
>uClinux-dev mailing list
>uClinux-dev@uclinux.org
>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>This message was resent by uclinux-dev@uclinux.org
>
****************************************
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/