Hi,At 2013-05-06 16:18:59,"Stefan Kalkowski" <[email protected]> 
wrote:
>Hi,
>
>On 05/02/2013 03:38 PM, longjks wrote:
>> hi,
>> How can  I want to use console line on serial line.
>> When I debugging, it is not convenient without command line on serial line.
>
>if you want to use the serial line as terminal interface, and not for
>logging purposes, or to interact with the kernel debugger only, there
>exist two possibilities.
>
>The first most convenient one is to enable a second UART interface of
>the Pandaboard (via its expansion connectors), and use the Genode's UART
>driver for the Pandaboard, which provides a UART session. A UART session
>in Genode is derived from the terminal session type, therefore you can
>directly connect e.g. the l4android process to use that UART driver as
>its terminal.
>
>If you don't want or aren't able to use a second UART interface, another
>approach would be to use the Fiasco.OC specific UART driver that simply
>connects to the Fiasco.OC kernel debugger. It can be found under:
>'os/src/drivers/uart/kdb'.
>
>The drawback of the latter approach is, that your terminal sessions
>might get polluted by logging messages of Genode's core process, and the
>Fiasco.OC kernel.
>
>Another component that might be of interest for you is the terminal
>multiplexer. In combination with the terminal multiplexer service
>('gems/src/server/terminal_mux') you can use one and the same terminal
>session (e.g.: a UART line) in combination with several terminal
>clients. An run script example that combines the terminal multiplexer,
>and the UART kdb driver can be found in 'gems/run/terminal_mux.run'.
>
>Regards
>Stefan
like Stefan said, I have used the seconde method using  the Fiasco.OC specific 
UART driver under 'os/src/drivers/uart/kdb'.
I added this to my run script:
<start name="uart_drv">
                <binary name="kdb_uart_drv"/>
                        <resource name="RAM" quantum="1M"/>
                        <provides>
                                <service name="Uart"/>
                                <service name="Terminal"/>
                        </provides>
                        <config>
                                <policy label="terminal_mux" uart="1" 
detect_size="yes"/>
                                <policy label="noux" uart="1" 
detect_size="yes"/>
                        </config>
                        <route> <any-service> <parent/> </any-service> </route>
                </start>
then, I can use console line on seria line.
However, there are some problem in my console line. You can see the problem 
pictures in attachment.
One is that When I enter one character, it will write this character twice. For 
example,
if I enter one 'a' in the console line, it will appear 'aa' in the screen. but 
the fiasco kernel get the right one 'a'. 
The other problem is that when i enter another path using the command 'cd ', 
the path can not appear int the front of console line. You can not know what 
path you are.
thanks.





>> 
>> 
>> 
>> -------- Forwarding messages --------
>> From: longjks <[email protected]>
>> Date: 2013-04-17 19:06:21
>> To: "Genode OS Framework Mailing List" <[email protected]>
>> Subject: How to get l4android log on android_term?
>> hi,
>> last mail, Stefan said
>> 
>>>You can get the whole log by removing the log_term, and use core's LOG
>>>service for all children instead. Then all logs will appear on serial
>>>line. We've put the log_term in place in some run-scripts only for
>>>demonstration purposes, when there is no serial line available. For
>>>debugging it's often more convenient to use only the serial line.
>> 
>> By removing the log_term in l4android, I can see the log appear on serial 
>> line.
>> 
>> How can I make  the log on android_term appear on serial line?  
>> 
>> When I debugging, it is not convenient to use android_term.
>> 
>> thanks.
>> 
>> longjks
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
>> Get 100% visibility into your production application - at no cost.
>> Code-level diagnostics for performance bottlenecks with <2% overhead
>> Download for free and get started troubleshooting in minutes.
>> http://p.sf.net/sfu/appdyn_d2d_ap1
>> 
>> 
>> 
>> _______________________________________________
>> Genode-main mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>> 
>
>-- 
>Stefan Kalkowski
>Genode Labs
>
>http://www.genode-labs.com/ ยท http://genode.org/
>
>------------------------------------------------------------------------------
>Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
>Get 100% visibility into your production application - at no cost.
>Code-level diagnostics for performance bottlenecks with <2% overhead
>Download for free and get started troubleshooting in minutes.
>http://p.sf.net/sfu/appdyn_d2d_ap1
>_______________________________________________
>Genode-main mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/genode-main

<<attachment: problem1.jpg>>

<<attachment: problem2.jpg>>

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to