Comments (4)
Here we go. You go to the following website:
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
On this website you go down to and open "Downloads: 12.2.Rel1", because this is still the recommended toolchain for Circle. You look for the host/target combination, you want to use, for example:
- arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz (for x86_64 Linux host and AArch32 bare-metal target)
- arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-elf.tar.xz (for x86_64 Linux host and AArch64 bare-metal target)
The host is the system, where you do your developing on. The target is your Raspberry Pi computer. RPi 1-2 only support AArch32, RPi 3-4 (including RPi Zero 2 W) additionally support AArch64. You have to decide, if you want to build 32- or 64-bit target images.
Now that you have the toolchain archive on your hard disk, you extract it, for example to:
/home/user/tools
A new directory appears (for AArch32 here):
/home/user/tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi
When you look into the subdirectory bin/ of this path, you will find the toolchain binaries, for example:
/home/user/tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc
You strip the "gcc" from the path and that's your toolchain prefix for Circle:
PREFIX = /home/user/tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-
If you want to build 64-bit kernel images, you have to set PREFIX64
instead. That means PREFIX
is for AArch32 target images and PREFIX64
for AArch64 target images. The architecture of your development host does not count here.
You can also use the configure
tool to set-up your configuration (for the RPi 4, AArch32 here):
$ ./configure -r 4 -p /home/user/tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-
configure automatically determines, if AArch32 or AArch64 is used, and writes the right prefix variable (PREFIX
or PREFIX64
) to the configuration file Config.mk.
from circle.
Thank you. I will try this out. It might be worth noting in the README to avoid using the .pkg
method which is also available on that page.
from circle.
from circle.
Closed due to inactivity.
from circle.
Related Issues (20)
- release-45.2 usb samples compile with errors HOT 2
- TCP Connection in Interrupt HOT 2
- I2C feature request: add support for repeated start HOT 6
- USB CDC/ACM gadget HOT 19
- GetClockTicks without wrap HOT 3
- GPU support on Raspi 4 HOT 4
- Circle linker failure with softfp HOT 2
- Make USB gadget vendor and device strings configurable HOT 2
- Support for touchscreens with additional reports in HID descriptor HOT 7
- Question about log when testing with Qemu HOT 2
- Question: Waveshare 5'' DSI display support? HOT 2
- Waveshare 15.6inch Capacitive Touch Screen HOT 2
- Can I run OpenCV? HOT 2
- Sample "07-usbstorage" fails with Pi5 HOT 8
- Unsuportted USB touch screen driver - Big Tree Tech HDMI7 HOT 10
- How to do GPIOPin button Interrupt correctly HOT 23
- FIQ support on RPI Zero 2 HOT 3
- How to remove all text not from own CSerialDevice HOT 11
- Ability to set HDMI output refresh rate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circle.