Hi I Cross compiled pengutronix for Mini2440 board sometimes ago . the project and it's documentation are amazing. thanks a lot to the team for the nice work.
Now I need to develop some C++ app for that mini2440 so I used the Oselas toolchain and target sysroot that created on my PC in OS creation time to cross compile my code on eclipse and it worked fine. Eclipse has a remote system explorer and some other plugins that help you to setup an environment for automatically deploy the binary to target, run it under gdbserver and remote debug the application on board. it uses a *multiplexed* ssh session ( for deployment over sftp, run gdpserver or get the list of target processes with shell commands over ssh, and etc. ). the environment I have created works fine with an at91sam9260 based board running a custom angstrom Linux I have compiled using openembedded project. but this setup almost always fail for my mini2440( it works rarely ) after deployment of binary. the binary always load to target successfully but then when eclipse should execute some commands (e.g. chmod +x /path/to/binary) the commands would not execute on 2440. so gdbserver would not run on target and gdb timeouts on PC because of failure to connect to gdbserver. the ssh sessions will remain after this, so it can't because of ssh disconnection. this is not the failure of commands in execution their job, simply they don't start to execute. when I do manually things that eclipse does for start remote debug (below commands) over an ssh connection they work fine. chmod +x /path/to/binary gdbserver :2345 /path/to/binary has any one any idea about it? any help will be appreciated Thanks Nima Rahimi
