+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Junior Member level 1
    Points: 517, Level: 4

    Join Date
    Jul 2017
    Posts
    17
    Helped
    0 / 0
    Points
    517
    Level
    4

    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:	3 
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 3
    Points: 1,189, Level: 7
    FlyingDutch's Avatar
    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    154
    Helped
    21 / 21
    Points
    1,189
    Level
    7

    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: 517, Level: 4

    Join Date
    Jul 2017
    Posts
    17
    Helped
    0 / 0
    Points
    517
    Level
    4

    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:	2 
Size:	7.5 KB 
ID:	156674Click image for larger version. 

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



--[[ ]]--