Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

How to setup SFTP client for k2e-evm

Part Number: 66AK2E05

Tool/software: TI C/C++ Compiler

   Hi everyone,

I'm trying to setup sftp client for my TI board. I installed Dropbear firstly, I've noticed that doesn't support sftp. Then I tried to setup Openssh, I cross-compiled it and copy 'sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan' to my arago filesystem. 

   Where am I making a mistake and how can I figure it out?

  • Hi,

    Which Processor SDK Linux version is this?

    Best Regards,
    Yordan

  • Thanks for your reply

    I'm using ti-processor-sdk-linux-rt-k2e-evm-06.00.00.07 version

  • Okay, I think this is not included in the RT Linux filesystem, it has some missing packets. Can you try the filesystem from the non RT linux: tisdk-server-extra-rootfs-image-k2hk-evm.tar.xz or tisdk-server-rootfs-image-k2hk-evm.tar.xz.

    Also can you first try the workaround from this e2e:
     

    Best Regards,
    Yordan

  • Hi Yordan,

    Thank you for your helps. I solved the problem.

    Here is the solution:

    Build zlib
    >>cd zlib-1.2.5
    >>AR=arm-linux-gnueabihf-ar CC=arm-linux-gnueabihf-gcc RANLIB=arm-linux-gnueabihf-ranlib ./configure --prefix=&home/zlibArm
    >>make
    >>make install

    Build openssl

    >>cd openssl-1.0.1g/
    >>export cross=arm-linux-gnueabihf-
    >>./Configure dist --prefix=&home/OpenSSL/OpenSSL_CC
    >>make CC="${cross}gcc" AR="${cross}ar r" RANLIB="${cross}ranlib"
    >>make install

    Build Openssh

    >>./configure --prefix=&home/OpenSSH/OpenSSH_CC --host=arm-linux --with-libs --with-zlib=&home/zlibArm --with-ssl-dir=&home/OpenSSL/OpenSSL_CC --disable-etc-default-login CC=arm-linux-gnueabihf-gcc AR=arm-linux-gnueabihf-ar
    >>make