Help building axoloti from source for arm system


#1

HI, I am trying to build a system sort of inspired by critter and guitari's Organelle. I started about 6 months ago and got a Odroid c1+ as it was a good option at the time, Now with the likes of pi 3 and odroid c2 its a bit behind the curve. I got pure data running headless and then let the project sit for a few months. Now i have an axoloti core and would love to be able to build patches from the odroid.
during building the problem im running into is when compiling firmware

"/home/fakework/axoloti/platform_linux/../chibios/os/ports/GCC/ARMCMx/crt0.c -o build/obj/crt0.o
/home/fakework/axoloti/platform_linux/../platform_linux/bin/arm-none-eabi-gcc: 1: /home/fakework/axoloti/platform_linux/../platform_linux/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")
/home/fakework/axoloti/platform_linux/../chibios/os/ports/GCC/ARMCMx/rules.mk:180: recipe for target 'build/obj/crt0.o' failed
make: *** [build/obj/crt0.o] Error 2"

Any help or ideas?
Thank you.


#2

sorry, im not quite sure I follow...

I think your are saying your issue is just building from source for using with axoloti core.. correct?
(i.e. at this stage, odriod, is 'irrelevant' to your issue)

did you have axoloti running on linux without building?
e.g. following: https://sebiik.github.io/community.axoloti.com.backup/t/installing-on-linux/56

why did you need to build axoloti? basically the process to build is:

a) clone git repo
b) run platform_linux/build.sh

is this what you did?

what distro are you using? and is it 32 or 64 bit?


#3

Sorry if that was a bit too much info. I'm running 32 bit on a arm-v7l.
Following the normal linux install I run into
"dpkg: error processing archive axoloti-linux-1.0.11.deb (--install):
package architecture (amd64) does not match system (armhf)"

So my understanding from digging through the axoloti community is that to run on Arm I would need to build from source. When doing so is when I get hung up on compiling firmware.


#4

yup, indeed you would need to build it...

hmm, did you install the required components , using platform_linux/build.sh
its really important you use the correct version of the compiler.

I had this running on a PI 2, so it will work
BUT...the performance is no where near enough to make the UI useable.
see this post:

have you tried running the UI yet? even though the firmware doesnt compile the UI should work....
frankly, Id try this first, as I doubt the odriod has enough cpu/gpu power to make the axoloti UI a pleasant experience ... though id be pleased to hear otherwise :slight_smile:


#5

So, messing around with it a bit more, now I have the UI running.... maybe not right but its running. Graphics look blurred, but other then that seems to function. Going to play around with it some and Ill let you know how it runs.


#6

No luck. As reported in other threads its almost un-usable. So my idea now is a stand alone headless device that I can ssh connect into then send patches created on the laptop to axolotl through it.