element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Problem with u-boot (Lab 1.2 Speedway-course)
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 328 subscribers
  • Views 443 views
  • Users 0 members are here
Related

Problem with u-boot (Lab 1.2 Speedway-course)

Former Member
Former Member over 12 years ago

Hi,

i am trying the Implementing Linux on Zynq Speedway course too, but have many Problems even because I have no experience with Linux.

First I was not able to download the u-boot-xlnx folder with the command
"$ git clone git://git.xilinx.com/u-boot-xlnx.git" but I got the following error:
-----------------------------------------------------
[training@localhost ~]$ git clone git://git.xilinx.com/u-boot-xlnx.git
Initialized empty Git repository in /home/training/u-boot-xlnx/.git/
git.xilinx.com[0: 149.199.60.191]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
-----------------------------------------------------

I think this is because of my proxy-server and/or my Firewall, i have read a lot about this problem in many forums but was not able to fix it.
Because of that i downloaded the files manually from http://git.xilinx.com/ and copied them into a u-boot-xlnx folder in my personal directory (I hope that was not already wrong)

So if I try the command "$ git checkout -b xilinx-14.2-build1-trd  xilinx-14.2-build1-trd" I get the error:
"fatal: Not a git repository (or any of the parent directories): .git"
------------------------------------------------------
and if I try the command "$ make zynq_zed_config" I get the error:
"make: *** No rule to make target `zynq_zed_config'.  Stop."
------------------------------------------------------
If i ignore that a few steps later I have the same Problems described here:
http://www.zedboard.org/content/unable-apply-32mb-ramdisk-patch-u-boot

Can anybody help me to fix this please?
Thank you
Tobi

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 12 years ago

    Hi

    If you don't use git to clone from the repository you won't be in a git repository (hence the error message "Not a git repository"), so you won't have the ability to checkout branches.  You could try using ssh directly to clone the repository (git uses ssh, but ir might help):

    git clone ssh://git.xilinx.com/u-boot-xlnx.git

    The error with the patch is caused by your version of the files don't match the files the patch expects.  This is because you are on the latest version, not the xilinx-14.2-build1-trd tag.  If you can correctly clone the repository then you should be able to checkout the xilinx-14.2-build1-trd tag, and this issue should clear up.

    Matthew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    Thank you for your help Matthew.

    When I try the "git clone ssh://git.xilinx.com/u-boot-xlnx.git" command I get the following message:
    ------------------------------------------------------
    [training@localhost ~]$ git clone ssh://git.xilinx.com/u-boot-xlnx.git
    Initialized empty Git repository in /home/training/u-boot-xlnx/.git/
    ssh: connect to host git.xilinx.com port 22: Connection refused
    fatal: The remote end hung up unexpectedly
    ------------------------------------------------------
    I use the VMware Player on my Computer at the University, so maybe I just should trying this downloads at home where I have direct access to the internet without a proxy and firewall problems.
    Or do you have another idea?

    Thank you
    Tobi

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    Hi

    OK, so you are connecting to the repository but the firewall / proxy settings are interfering.  A quick google search found this link:

    https://help.github.com/articles/using-ssh-over-the-https-port

    It looks like you can tell ssh to go through the https port, thus bypassing the firewall.  Just use vim to edit the ~/.ssh/config file, you'll need to add something like this:

    Host xilinx.com
      Hostname git.xilinx.com
      Port 443

    I'm not sure if that's properly correct, try changing git.xilinx.com to ssh.xilinx.com if it doesn't.

    The next problem may be that the proxy ruins things for you, and if that's the case you should contact admin to see if they would help.  If not, doing it at home is your best bet.

    Matthew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    Hi,

    unfortunately editting the .ssh/config file doesn't work, even the "$ ssh -T -p 443 git@ssh.github.com" test at the link you postet doesn't show me the wanted message.
    Once again I get such an error:
    ---------------
    ssh: connect to host ssh.github.com port 443: Connection refused
    ---------------
    I will try all this things later at home again but thank you very much for your help.
    Tobias

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago

    Hi Tobi,

    I ran into the exact same problem that you ran into and I was able to solve it through Matthew's github link related to ssh.

    First step is to check if ssh service is turned ON on your vmware session.

    Then you can create an RSA public-private key pair for yourself, using this help page: https://help.github.com/articles/generating-ssh-keys

    Create a github account on github webpage and add your public key into your SSH keys (settings page on your github account.

    After this, you should be able to test that ssh is working and you are authenticated on github to pull from git repos.

    Then your git clone of Xilinx u-boot should work. It worked for me after I followed those steps.

    cheers,
    Sundar


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago

    Hi,

    I followed all they above mentioned.
    Without succes.

    Changed the host.allow in /ect by adding the line:
    ALL: ALL: ALLOW

    In wiki.freeswitch.org/wiki/Git_Tips some basic tests are shown and some of them started working at my system.

    Don't know if all ssh and editing host.allow files had something to do with it, but the command:

    git clone https://github.com/Xilinx/u-boot-xlnx.git

    did it then finaly for me.

    Rgds,
    Technicolor

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube