+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Junior Member level 1
    Points: 572, Level: 5

    Join Date
    Jul 2017
    Posts
    19
    Helped
    0 / 0
    Points
    572
    Level
    5

    Running .elf file on ubuntu platform, Zynq Board

    Hi all,

    i am a newbie when it comes to embedded world.

    I somehow managed to download a prebuilt image on the zynq snickerdoodle development board. It boots up in ubuntu 16.

    I have generated a hello world program that prints Hello world from dolly on the console. I have chosen the platform as linux in the project properties.

    How do i transfer this .elf file on the sd card? is it placed with the other contents of the image that is already present on the sd card? I used win 10 PC to transfer the image files to my sd card and develop the .elf file?

    How do i run the .elf file?
    Do i have to make any changes in the linux image?

    Click image for larger version. 

Name:	Capture.PNG 
Views:	4 
Size:	9.7 KB 
ID:	156546Click image for larger version. 

Name:	Capture1.PNG 
Views:	4 
Size:	14.7 KB 
ID:	156547
    I have provided the tera term screenshot and the sd card contents....

    Please help me!!

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 4
    Points: 1,460, Level: 8
    FlyingDutch's Avatar
    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    190
    Helped
    28 / 28
    Points
    1,460
    Level
    8

    Re: Running .elf file on ubuntu platform, Zynq Board

    Hello,

    you can transfer file by using "WinScp "application (it uses ssh connection to the Zynq board - which you used with TeraTerm). Here is link to their website:

    https://winscp.net/eng/index.php

    After you open connection to the board (Zynq) then you will be able to change target directory (you have to choose: /home/snick directory), and copy elf file to this directory.
    Then run a program like you have been trying earlier, by using Linux shell.

    Good Luck
    and Regards



    •   AltAdvertisement

        
       

  3. #3
    Junior Member level 1
    Points: 572, Level: 5

    Join Date
    Jul 2017
    Posts
    19
    Helped
    0 / 0
    Points
    572
    Level
    5

    Re: Running .elf file on ubuntu platform, Zynq Board

    Thank you for replying...
    I am not sure how to connect to the snickerdoodle via the SCP software.. What do I enter as the hostname and the port number?
    Click image for larger version. 

Name:	Capture34.PNG 
Views:	4 
Size:	7.5 KB 
ID:	156674Click image for larger version. 

Name:	Capture12.PNG 
Views:	4 
Size:	11.8 KB 
ID:	156675
    Please see the images and the connection I use in teraterm to connect to the snickerdoodle.



    •   AltAdvertisement

        
       

  4. #4
    Full Member level 4
    Points: 1,460, Level: 8
    FlyingDutch's Avatar
    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    190
    Helped
    28 / 28
    Points
    1,460
    Level
    8

    Re: Running .elf file on ubuntu platform, Zynq Board

    Hello,

    sorry for answering with big delay. In field "Host name" you should give the same IP addres as in "Tera-Term" window (it was: 192.168.43.206). After copy elf file it could be necessary to change permissions of this file. You can do it by command: chmod - for example chmod 755 elffile.

    Regards



  5. #5
    Junior Member level 1
    Points: 572, Level: 5

    Join Date
    Jul 2017
    Posts
    19
    Helped
    0 / 0
    Points
    572
    Level
    5

    Re: Running .elf file on ubuntu platform, Zynq Board

    Hi I am back after many days.
    I had not used the hostname for the connection. I had selected the USB port where the Board was connected. I am still facing problem connecting to the board.
    Quote Originally Posted by FlyingDutch View Post
    In field "Host name" you should give the same IP addres as in "Tera-Term" window (it was: 192.168.43.206).



--[[ ]]--