Hi, Travaglia
1. Our our java code and eclipse code is in TCF upstream community already (both Agent C code and java code part). Yet the community code is slightly different with our poky-TCF. TCF upstream disable login process, yet our local poky-TCF have login authentication. So if we use poky TCF, we must use poky TCF agent as well as Poky TCF java plugin. 2. Make sure the login in Prompt (PS1) is what? For example, my ubuntu 10.04 is "$", Qemu is "#". Make sure the prompt in the TCF connection Properties is correct. For qemu, it should be the default one "#" . For poky-agent, login.Required is "true" Pwd.Required is "false". If TCF upstream, Login.Required = "false", Pwd.Required = "false" We will try to modify this settings, trying to detect the prompt in later versions. And also, login service might be provided by TCF framework sooner or later in upstream. Thanks a lot for your info! criping From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Zhang, Jessica Sent: Friday, April 01, 2011 4:30 AM To: Murilo Travaglia; yocto@yoctoproject.org Subject: Re: [yocto] Remote Debugging with Yocto Project Plugin Hi Travaglia, Based on our conversation on the IRC channel, it seems the TCF agent and your customized Linux distro may have some mismatch issue. Did you follow the steps in the readme file to build out your tcf agent and started in the qemu instance? The readme I'm mentioning here is do a git clone of git.pokylinux.org/eclipse-poky, under tcf there's the readme provided detailed steps of patching and build out the tcf agent and started it on the remote target. Also, can you provide us the agent log file that may provide some further information for us to further debug the issue? Thanks, Jessica ________________________________ From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Murilo Travaglia Sent: Thursday, March 31, 2011 8:35 AM To: yocto@yoctoproject.org Subject: [yocto] Remote Debugging with Yocto Project Plugin Hi all, Hi I'm new in Yocto Project and I intent to study TCF Agent and port ir to diferents platforms. The first thing I'm doing is to simulate how does the Yocto Project works, especially the TCF Agent with the Eclipse Debug Framework. First at all I installed the Yocto Plugin in my eclipse, installed a toolchain (586), download a toolchain to 586, download a pre-built linux kernel and a filesystem (sato). So I'm able to run QEMU and use the features, remote file explorer, remote debug and use yocto tools. The second step I'm trying to do is to use the features of Yocto in my custom Linux. So I built a 586_linux and I'm running it in QEMU. I got the source code of eclipse_poky and TCF, aplied the patches of Yocto Project in TCF code and built (localy in my machine, because is the same architecture) the org.eclipse.tm.tcf.terminals.agent agent. Then I put the binary of the agent in my linux running in QEMU and started it. In Eclipse if the Yocto plugin installed I'm able to use Remote File System Explorer, I can see my home files, etc, can execute some yocto tools, but when I try to the debug an aplication in my remote target, I can't do it. I can see that the binary file is copied to the target (I also can execute it manually), but eclipse stay trying to debug (maybe trying to find the file) and then after a time a got an error. I also tryed to put the tcf-agent binary provided in the yocto-image-sato-qemux86-0.9.rootfs and I have the same behavior. Does anybody know why I'm having this issue? Why I can debug in remote target using the linux provided by poky-qemu and can't do this in my custom-linux? Thanks in advance! Best regards, -- Murilo Marques Travaglia Phi Innovations
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto