Installing ARM cross compiler
-
- Posts: 5
- Joined: Fri Nov 07, 2014 11:47 pm
Installing ARM cross compiler
Hi,
I am running a Debian 64 bit virtual machine on a MAC power book. I am trying to go through the tutorial/example of Modifying the Red Pitaya Tools.
In preparation from a root terminal window I try to execute: sudo apt-get install gcc-arm-linux-gnueabi
and get the following response:
root@AvionEx:/etc/apt# sudo apt-get install gcc-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-arm-linux-gnueabi
What do I need to do to get the ARM cross compiler installed?
Regards,
Ray
I am running a Debian 64 bit virtual machine on a MAC power book. I am trying to go through the tutorial/example of Modifying the Red Pitaya Tools.
In preparation from a root terminal window I try to execute: sudo apt-get install gcc-arm-linux-gnueabi
and get the following response:
root@AvionEx:/etc/apt# sudo apt-get install gcc-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-arm-linux-gnueabi
What do I need to do to get the ARM cross compiler installed?
Regards,
Ray
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Installing ARM cross compiler
Hi Ray,
Apparently, you need to point Debian's apt to the right repository. See this page for instructions on how to install the cross-toolchain.
Good luck
(Disclaimer: since I am using the Xilinx SDK and do not want to mess up my working environment, I have not tried to follow the instructions myself.)
Apparently, you need to point Debian's apt to the right repository. See this page for instructions on how to install the cross-toolchain.
Good luck
(Disclaimer: since I am using the Xilinx SDK and do not want to mess up my working environment, I have not tried to follow the instructions myself.)
-
- Posts: 5
- Joined: Fri Nov 07, 2014 11:47 pm
Re: Installing ARM cross compiler
Nils,
Thanks for the suggestion. I'll give it a whirl.
Ray
Thanks for the suggestion. I'll give it a whirl.
Ray
-
- Posts: 5
- Joined: Fri Nov 07, 2014 11:47 pm
Re: Installing ARM cross compiler
I am still not able to install the cross compiler for the Arm9 that is part of the RedPitaya. I am running a virtual 64 bit Debian machine on a MAC Powerbook that is running a 64 bit Intel processor.
Following the instructions in the Developer Guide, the first issue I find is as follows:
root@AvionEx:/home/ray# sudo apt-get install libc6-dev-armel-crosssolves
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libc6-dev-armel-crosssolves
Also:
root@AvionEx:/etc/apt# sudo apt-get install gcc-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-arm-linux-gnueabi
Looking in /etc/apt/sources.list I see the following:
#
# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official i386 NETINST Binary-1 20140712-13:01]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official i386 NETINST Binary-1 20140712-13:01]/ wheezy main
deb http://debian.lcs.mit.edu/debian/ wheezy main
deb-src http://debian.lcs.mit.edu/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://debian.lcs.mit.edu/debian/ wheezy-updates main
deb-src http://debian.lcs.mit.edu/debian/ wheezy-updates main
deb http://emdebian.org/debian/ stable main
Do I need to edit this file so that I look at a different sever for the files I need? If so, can someone please explicitly give me the right methodology? I am new to this sort of process and detailed help would be appreciated.
Thanks,
Ray
Following the instructions in the Developer Guide, the first issue I find is as follows:
root@AvionEx:/home/ray# sudo apt-get install libc6-dev-armel-crosssolves
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libc6-dev-armel-crosssolves
Also:
root@AvionEx:/etc/apt# sudo apt-get install gcc-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-arm-linux-gnueabi
Looking in /etc/apt/sources.list I see the following:
#
# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official i386 NETINST Binary-1 20140712-13:01]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.6.0 _Wheezy_ - Official i386 NETINST Binary-1 20140712-13:01]/ wheezy main
deb http://debian.lcs.mit.edu/debian/ wheezy main
deb-src http://debian.lcs.mit.edu/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://debian.lcs.mit.edu/debian/ wheezy-updates main
deb-src http://debian.lcs.mit.edu/debian/ wheezy-updates main
deb http://emdebian.org/debian/ stable main
Do I need to edit this file so that I look at a different sever for the files I need? If so, can someone please explicitly give me the right methodology? I am new to this sort of process and detailed help would be appreciated.
Thanks,
Ray
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Installing ARM cross compiler
Hi Ray
In the meantime I've tried a couple of things without success, so the only useful hint I can give is to install the Xilinx SDK.
It's a big download (6.5GB for Vivado 2013.3 incl. SDK, and you need to register with Xilinx to get it), but it is known to work on Debian wheezy 64bit - I'm using it myself in that environment.
Be careful to get the 2013.3 version, because starting with 2014.1 you can't license the SDK when it is running in a VM.
edit: Of course, there is also the option to set up another VM with ubuntu and install the linaro toolchain there.
In the meantime I've tried a couple of things without success, so the only useful hint I can give is to install the Xilinx SDK.
It's a big download (6.5GB for Vivado 2013.3 incl. SDK, and you need to register with Xilinx to get it), but it is known to work on Debian wheezy 64bit - I'm using it myself in that environment.
Be careful to get the 2013.3 version, because starting with 2014.1 you can't license the SDK when it is running in a VM.
edit: Of course, there is also the option to set up another VM with ubuntu and install the linaro toolchain there.
-
- Posts: 5
- Joined: Fri Nov 07, 2014 11:47 pm
Re: Installing ARM cross compiler
Thanks Nils. As your email came in I was just in the process of downloading Umbutu! I will try that first. At some point Vivado will follow as I also need to load a VHDL core onto the Zync.
Ray
Ray
-
- Posts: 5
- Joined: Fri Nov 07, 2014 11:47 pm
Re: Installing ARM cross compiler
So I found the simple solution:
Instead of using what is found in the Developer Guide: sudo apt-get install libc6-dev-armel-crosssolves
This works: sudo apt-get install libc6-dev-armel-cross
Then additional help can be found here: https://www.olimex.com/forum/index.php?topic=496.0
and especially from here: https://wiki.debian.org/EmdebianToolcha ... e_binaries
Ray
Instead of using what is found in the Developer Guide: sudo apt-get install libc6-dev-armel-crosssolves
This works: sudo apt-get install libc6-dev-armel-cross
Then additional help can be found here: https://www.olimex.com/forum/index.php?topic=496.0
and especially from here: https://wiki.debian.org/EmdebianToolcha ... e_binaries
Ray
-
- Posts: 17
- Joined: Thu Jan 15, 2015 9:34 pm
Re: Installing ARM cross compiler
I also had trouble finding packages, when trying to install the cross-compiler libraries on Debian.
I found the commands in the first paragraph here useful:
https://waitfordebug.wordpress.com/2015 ... on-debian/
I found the commands in the first paragraph here useful:
https://waitfordebug.wordpress.com/2015 ... on-debian/
-
- Posts: 1
- Joined: Thu Apr 07, 2016 10:27 am
Re: Installing ARM cross compiler
I am running a virtual 64 bit Debian machine on a MAC Powerbook that is running a 64 bit Intel processor.???
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Installing ARM cross compiler
And what is your question ?
You can find a description how to set up the tools for building in the README, and in this topic you can find some additional details.
These instructions are for Ubuntu 14.04 but they should also work with Debian. If your distro has a gcc of major version 5, the infos in this post might help.
You can find a description how to set up the tools for building in the README, and in this topic you can find some additional details.
These instructions are for Ubuntu 14.04 but they should also work with Debian. If your distro has a gcc of major version 5, the infos in this post might help.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 126 guests