Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sming installer doesn't support ARM(64) #2646

Closed
laurentppol opened this issue May 27, 2023 · 3 comments
Closed

Sming installer doesn't support ARM(64) #2646

laurentppol opened this issue May 27, 2023 · 3 comments

Comments

@laurentppol
Copy link

Hi there, trying to install Sming on OrangePi3, (ARM64):
1). had to manually install pip and python-dev
2). for ESP8266 script downloads AMD64 toolchain, will not work.
looks ESP32* toolchain build OK,
3). for RP2040 same as for ESP8266 -> script downloads prebuilt x86_64 binaries. Will not work
script report success, trying to build "Basic-WiFi" "as-is" -> simply "make" in samples dir
Sming tries to build...
laurentppol
buid fails, as expected (for ESP8266),

/opt/esp-quick-toolchain/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: 1: ELF: not found
/opt/esp-quick-toolchain/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: 1: Syntax error: ";" unexpected

4). have to install cmake manually
trying to buid for ESP32: /opt/Sming/samples/Basic_WiFi# make SMING_ARCH=Esp32

esp-idf look is building....
laurentppol
Sming builds up....

Basic-WiFi build success :)

@mikee47 mikee47 changed the title Problem installing Sming on ARM(64). - toolchain download as Intel/AMD binaries for target ESP and RP2040. Sming installer doesn't support ARM(64) May 28, 2023
@mikee47
Copy link
Contributor

mikee47 commented May 28, 2023

I don't have an orangePi but I'll roll 64-bit debian onto a RaspberryPi and check this out. The installer needs some tweaking as it assumes x86_64.

@mikee47
Copy link
Contributor

mikee47 commented May 28, 2023

... building... slowly... I'm spoilt with 5950x :-)

slaff pushed a commit that referenced this issue May 29, 2023
This PR addresses #2646 to support ARM  systems such as Raspberry PI, Orange PI.

The Rp2040 toolchain version has been updated, and installs for appropriate machine architecture.
@mikee47
Copy link
Contributor

mikee47 commented Aug 10, 2023

Supported added, closing.

@mikee47 mikee47 closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants