This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BeagleBone and Code Composer -- ERROR concerning remote system explorer

So I am attempting at testing some low level code in Beagle, but I can't get CCSv5.1 to connect. I can ssh into Beagle via a host terminal, and CCS will connect, but then kill. Throwing this error:

Failed to connect SFTP subsystem: Remote host may not have sftp-server installed: java.io.IOException: Pipe Closed


The details merely say "Pipe closed".

So I went to Beagle, and checked the opkg list, and it said openssh-sftp was installed and the newest version. So I'm rather at a loss as to what to do. Any help would be swell.

V/R,

C/1st Lt. Blatchley

  • Hi,

    I was able to use the Remote System Explorer and connect to my BeagleBone (check the screen attached) by precisely following the instructions at:

    http://processors.wiki.ti.com/index.php/How_to_setup_Remote_System_Explorer_plug-in

    I have a BeagleBone Rev A3 and I am using the SD Card that contains the Arago SDK (I didn't test the Angstrom SD card) and I have it connected via Ethernet (I am not using the Ethernet over USB).

    I am not sure if having the sftp installed alone is sufficient to make it work - it probably needs to be running as well. You can check by issuing the command ps from the board's prompt and checking if the sftp-server module is running (check the output of my board at the end of this post).

    I couldn't yet find where the sftp is initialized, but it should be somewhere under /etc (maybe init.d, or maybe the SSH init script 'dropbear' under rc5.d). You may also want to ask this in the device forum, so you may get a more educated answer there (although I use embedded Linux, I am by no means a super-expert on it).

    I will try to investigate this a bit more and if I find anything useful I will report back.

    Hope this helps,

    Rafael

    BeagleBone said:

    root@am335x-evm:~# ps

      PID USER       VSZ STAT COMMAND
        1 root      1628 S    init [5]
        2 root         0 SW   [kthreadd]
        3 root         0 SW   [ksoftirqd/0]
        5 root         0 SW   [kworker/u:0]
        6 root         0 SW   [rcu_kthread]
        7 root         0 SW<  [khelper]
        8 root         0 SW<  [netns]
        9 root         0 SW   [kworker/u:1]
       41 root         0 SW   [irq/72-serial i]
       43 root         0 SW   [irq/73-serial i]
       45 root         0 SW   [irq/74-serial i]
       47 root         0 SW   [irq/44-serial i]
       49 root         0 SW   [irq/45-serial i]
       51 root         0 SW   [irq/46-serial i]
      213 root         0 SW   [sync_supers]
      215 root         0 SW   [bdi-default]
      217 root         0 SW<  [kblockd]
      225 root         0 SW<  [omap2_mcspi]
      236 root         0 SW   [khubd]
      345 root         0 SW<  [musb-hdrc.0]
      348 root         0 SW<  [musb-hdrc.1]
      350 root         0 SW<  [rpciod]
      352 root         0 SW   [kworker/0:1]
      360 root         0 SW   [kswapd0]
      361 root         0 SW   [fsnotify_mark]
      362 root         0 SW<  [nfsiod]
      363 root         0 SW<  [crypto]
      480 root         0 SW<  [kpsmoused]
      532 root         0 SW   [mmcqd/0]
      534 root         0 SW   [kworker/0:2]
      575 root      2004 S <  /sbin/udevd -d
     1394 root         0 SW   [kjournald]
     1403 root         0 SW   [kjournald]
     1550 messageb  3400 S    /usr/bin/dbus-daemon --system
     1554 haldaemo 12892 S    /usr/sbin/hald
     1555 root      3200 S    hald-runner
     1567 root      3288 S    /usr/libexec/hald-addon-generic-backlight
     1585 root         0 SW   [flush-179:0]
     1590 root      2136 S    /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host
     1595 root      2668 S    /usr/sbin/telnetd
     1602 root      2200 S    /usr/sbin/netserver
     1607 root      2732 S    /sbin/syslogd -n -C64 -m 20
     1609 root      2668 S    /sbin/klogd -n
     1616 root      2596 S    /usr/sbin/thttpd -d /srv/www -u root -c /cgi-bin/*
     1631 root      2348 S    /usr/sbin/lighttpd -f /etc/lighttpd.conf
     1650 root         0 SW   [flush-0:14]
     1681 root      2548 S    login -- root
     1682 root      1876 S    /sbin/getty 38400 tty1
     1684 root      2992 S    -sh
     1689 root      2456 S    /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host
     1690 root      2668 S    sh -c /usr/libexec/sftp-server
     1691 root      1968 S    /usr/libexec/sftp-server
     1693 root      2992 R    ps
    root@am335x-evm:~#