Ksoloti Patcher on Raspberry Pi

build was indeed placed there, and It used it successfully to create the firmware build, pretty sure that works.

I cannot find any make binary in the ksoloti folder structure, nor in my old axoloti folders. Current make on my system is GNU Make 4.3

If I ever need rescue flash, I could connect it to another computer indeed. The patch on the Orange Pi would however seriously improve my workflow :slight_smile:

the phone on the right contains an axoloti… I will mnake room in the rack for the big genes. The black box in the middle (with the fan) is the Orange Pi 5 Plus, almost running ksoloti… I feel like I’m close…

2 Likes

Love phone synths. Are you picking up the handset mic? Also the ever elusive PreenFM Euro module!

Make would have been downloaded and built via the build script (or included in the platform_) IIRC, again you could probably pick it from the Raspi image? Either from the platform_linux/bin or anywhere in the directory tree… /usr/bin maybe?

I wish I remembered what i did back then, I guess I kept installing and moving things around until if worked.

Did you resolve the chibios part by the way? It must be the ancient 2.6.9, from their github mirror. Or maybe you already snagged it from the Raspi image?

chibios is ok (copied from your image)
meanwhile I’m trying to build make3.82 as well

first glitch was in ./configure
configure: error: cannot guess build type; you must specify one
this was fixed by:

search for /usr/share/automake*/config.guess
check the latest version of automake

$ which automake
$ automake --version

find the appropriate automake folder in /usr/share/automake.1.16/config.guess
replace config.guess in make3.82/config with this one

then onto the actual building:
run ./build.sh1

bump into error about glob.c
open configure and find:

#define GLOB_INTERFACE_VERSION 1
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
# include <gnu-versions.h>
# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION

change the second #if line above to be:

# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION

for a later error I also had to add a CFLAGS env variable

export CFLAGS=-fcommon

and run ./configure again

then ./build.sh

The resulting make segfaults :-/

but after applying this patch

and running ā€œmake cleanā€ and ./build.sh I have a working make

I copied it to platform_linux/bin/ and added ā€œwhich makeā€ to the compile_patch script, effectively showing me the new make path in the output window, but I get the exact same error as before

No idea, maybe this? → 39206 – gcc fails to create precompiled header-file

Alternatively, you can edit things inside Makefile.patch - you should be able to add -v to the main commands like this:

CC=arm-none-eabi-gcc -v
CPP=arm-none-eabi-g++ -v
LD=arm-none-eabi-gcc -v
CP=arm-none-eabi-objcopy -v
DMP=arm-none-eabi-objdump -v
SIZ=arm-none-eabi-size

What OS is your rock-mod thing currently using?

By the way you’re doing all this for Axoloti Core? Then edit Makefile.patch inside firmware_axoloti_legacy

I get a lot of info when I compile with above -v flags added:

console output
Done generating code.

Compiling patch...
Using built-in specs.
COLLECT_GCC=arm-none-eabi-g++
Target: arm-none-eabi
Configured with: /home/build/work/GCC-4-9-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home/build/work/GCC-4-9-build/install-mingw --libexecdir=/home/build/work/GCC-4-9-build/install-mingw/lib --infodir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-4-9-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-cloog=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r
Thread model: single
gcc version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288] (GNU Tools for ARM Embedded Processors) 
COLLECT_GCC_OPTIONS='-v' '-nostdlib' '-fno-exceptions' '-fno-rtti' '-mcpu=cortex-m4' '-O3' '-fomit-frame-pointer' '-falign-functions=16' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-D' 'CORTEX_USE_FPU=TRUE' '-D' 'THUMB_PRESENT' '-mno-thumb-interwork' '-D' 'THUMB_NO_INTERWORKING' '-mthumb' '-D' 'THUMB' '-std=c++11' '-D' 'ARM_MATH_CM4' '-D' '__FPU_PRESENT' '-fno-math-errno' '-fno-threadsafe-statics' '-fno-use-cxa-atexit' '-Wno-unused-parameter' '-H' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/Include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/DSP_Lib/Include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx/CMSIS/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx/STM32F4xx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/kernel/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32F4xx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/GPIOv2' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/I2Cv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/OTGv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/RTCv2' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/SPIv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/TIMv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/USARTv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/boards/ST_STM32F4_DISCOVERY' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/ext/fatfs/src' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/mutable_instruments' '-Winvalid-pch' '-MD' '-MP' '-include' 'C:\Users\sbcw\ksoloti/build/xpatch.h' '-c' '-o' 'C:\Users\sbcw\ksoloti/build/xpatch.o'
 c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/cc1plus.exe -quiet -v -I C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/Include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/DSP_Lib/Include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx/CMSIS/include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx/STM32F4xx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/kernel/include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32F4xx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/GPIOv2 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/I2Cv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/OTGv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/RTCv2 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/SPIv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/TIMv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/USARTv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/boards/ST_STM32F4_DISCOVERY -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/ext/fatfs/src -I C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios -I C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/mutable_instruments -imultilib armv7e-m/fpu -iprefix c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/ -isysroot c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../arm-none-eabi -MD C:\Users\sbcw\ksoloti/build/xpatch.d -MP -MQ C:\Users\sbcw\ksoloti/build/xpatch.o -H -D__USES_INITFINI__ -D CORTEX_USE_FPU=TRUE -D THUMB_PRESENT -D THUMB_NO_INTERWORKING -D THUMB -D ARM_MATH_CM4 -D __FPU_PRESENT -include C:\Users\sbcw\ksoloti/build/xpatch.h C:\Users\sbcw\ksoloti/build/xpatch.cpp -quiet -dumpbase xpatch.cpp -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mno-thumb-interwork -mthumb -auxbase-strip C:\Users\sbcw\ksoloti/build/xpatch.o -O3 -Wno-unused-parameter -Winvalid-pch -std=c++11 -version -fno-exceptions -fno-rtti -fomit-frame-pointer -falign-functions=16 -fno-math-errno -fno-threadsafe-statics -fno-use-cxa-atexit -o C:\Users\sbcw\AppData\Local\Temp\cc9MNHh8.s
GNU C++ (GNU Tools for ARM Embedded Processors) version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288] (arm-none-eabi)
	compiled by GNU C version 4.7.4, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3"
ignoring duplicate directory "c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/arm-none-eabi/armv7e-m/fpu"
ignoring duplicate directory "c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/backward"
ignoring duplicate directory "c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/include"
ignoring nonexistent directory "c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../arm-none-eabi/home/build/work/GCC-4-9-build/install-mingw/lib/gcc/arm-none-eabi/4.9.3/../../../../include"
ignoring duplicate directory "c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/include-fixed"
ignoring duplicate directory "c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/lib/gcc/../../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include"
ignoring nonexistent directory "c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../arm-none-eabi/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/Include
 C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/DSP_Lib/Include
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx/CMSIS/include
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx/STM32F4xx
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/kernel/include
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/include
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32F4xx
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/GPIOv2
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/I2Cv1
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/OTGv1
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/RTCv2
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/SPIv1
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/TIMv1
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/USARTv1
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/boards/ST_STM32F4_DISCOVERY
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/ext/fatfs/src
 C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware
 C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios
 C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/mutable_instruments
 c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3
 c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/arm-none-eabi/armv7e-m/fpu
 c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include/c++/4.9.3/backward
 c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/include
 c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/include-fixed
 c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/include
End of search list.
GNU C++ (GNU Tools for ARM Embedded Processors) version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288] (arm-none-eabi)
	compiled by GNU C version 4.7.4, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 28d875e81efc5a7ed9fa19c8fc44fd2e
! C:\Users\sbcw\ksoloti/build/xpatch.h.gch
. C:/Users/sbcw/ksoloti/1.0.12/axoloti-factory/objects/osc/bltable.h
COLLECT_GCC_OPTIONS='-v' '-nostdlib' '-fno-exceptions' '-fno-rtti' '-mcpu=cortex-m4' '-O3' '-fomit-frame-pointer' '-falign-functions=16' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-D' 'CORTEX_USE_FPU=TRUE' '-D' 'THUMB_PRESENT' '-mno-thumb-interwork' '-D' 'THUMB_NO_INTERWORKING' '-mthumb' '-D' 'THUMB' '-std=c++11' '-D' 'ARM_MATH_CM4' '-D' '__FPU_PRESENT' '-fno-math-errno' '-fno-threadsafe-statics' '-fno-use-cxa-atexit' '-Wno-unused-parameter' '-H' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/Include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/DSP_Lib/Include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx/CMSIS/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx/STM32F4xx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/kernel/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32F4xx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/GPIOv2' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/I2Cv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/OTGv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/RTCv2' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/SPIv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/TIMv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/USARTv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/boards/ST_STM32F4_DISCOVERY' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/ext/fatfs/src' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/mutable_instruments' '-Winvalid-pch' '-MD' '-MP' '-include' 'C:\Users\sbcw\ksoloti/build/xpatch.h' '-c' '-o' 'C:\Users\sbcw\ksoloti/build/xpatch.o'
 c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/as.exe -v -I C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/Include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/DSP_Lib/Include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx/CMSIS/include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx/STM32F4xx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/kernel/include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/include -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32F4xx -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/GPIOv2 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/I2Cv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/OTGv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/RTCv2 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/SPIv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/TIMv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/USARTv1 -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/boards/ST_STM32F4_DISCOVERY -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/ext/fatfs/src -I C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware -I C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios -I C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/mutable_instruments -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -meabi=5 -o C:\Users\sbcw\ksoloti/build/xpatch.o C:\Users\sbcw\AppData\Local\Temp\cc9MNHh8.s
GNU assembler version 2.24.0 (arm-none-eabi) using BFD version (GNU Tools for ARM Embedded Processors) 2.24.0.20150604
COMPILER_PATH=c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/
LIBRARY_PATH=c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7e-m/fpu/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/fpu/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../arm-none-eabi/lib/armv7e-m/fpu/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-v' '-nostdlib' '-fno-exceptions' '-fno-rtti' '-mcpu=cortex-m4' '-O3' '-fomit-frame-pointer' '-falign-functions=16' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-D' 'CORTEX_USE_FPU=TRUE' '-D' 'THUMB_PRESENT' '-mno-thumb-interwork' '-D' 'THUMB_NO_INTERWORKING' '-mthumb' '-D' 'THUMB' '-std=c++11' '-D' 'ARM_MATH_CM4' '-D' '__FPU_PRESENT' '-fno-math-errno' '-fno-threadsafe-statics' '-fno-use-cxa-atexit' '-Wno-unused-parameter' '-H' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/Include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/CMSIS/DSP_Lib/Include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx/CMSIS/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/common/ARMCMx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/ports/GCC/ARMCMx/STM32F4xx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/kernel/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/include' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32F4xx' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/GPIOv2' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/I2Cv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/OTGv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/RTCv2' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/SPIv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/TIMv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/os/hal/platforms/STM32/USARTv1' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/boards/ST_STM32F4_DISCOVERY' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios/ext/fatfs/src' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12/chibios' '-I' 'C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/mutable_instruments' '-Winvalid-pch' '-MD' '-MP' '-include' 'C:\Users\sbcw\ksoloti/build/xpatch.h' '-c' '-o' 'C:\Users\sbcw\ksoloti/build/xpatch.o'
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/lto-wrapper.exe
Target: arm-none-eabi
Configured with: /home/build/work/GCC-4-9-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home/build/work/GCC-4-9-build/install-mingw --libexecdir=/home/build/work/GCC-4-9-build/install-mingw/lib --infodir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-4-9-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-cloog=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r
Thread model: single
gcc version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288] (GNU Tools for ARM Embedded Processors) 
COMPILER_PATH=c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/
LIBRARY_PATH=c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7e-m/fpu/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/fpu/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../arm-none-eabi/lib/armv7e-m/fpu/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/;c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-v' '-nostartfiles' '-T' 'ramlink.ld' '-mcpu=cortex-m4' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-mthumb' '-mno-thumb-interwork' '-o' 'C:\Users\sbcw\ksoloti/build/xpatch.elf'
 c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/collect2.exe -plugin c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/liblto_plugin-0.dll -plugin-opt=c:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\sbcw\AppData\Local\Temp\ccGjHlUV.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc --sysroot=c:\users\sbcw\desktop\ksoloti-1.0.12\platform_win\bin\../arm-none-eabi -X -o C:\Users\sbcw\ksoloti/build/xpatch.elf -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7e-m/fpu -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/fpu -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../arm-none-eabi/lib/armv7e-m/fpu -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3 -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib -Lc:/users/sbcw/desktop/ksoloti-1.0.12/platform_win/bin/../arm-none-eabi/lib C:\Users\sbcw\ksoloti/build/xpatch.o -Map=C:\Users\sbcw\ksoloti/build/xpatch.map --cref --just-symbols=C:\Users\sbcw\Desktop\KSOLOT~1.12\firmware/build/axoloti.elf --start-group -lgcc -lc --end-group -T ramlink.ld
copy from `C:\Users\sbcw\ksoloti/build/xpatch.elf' [elf32-littlearm] to `C:\Users\sbcw\ksoloti/build/xpatch.bin' [binary]
   text	   data	    bss	    dec	    hex	filename
  21624	      8	  27353	  48985	   bf59	C:\Users\sbcw\ksoloti/build/xpatch.elf
Done compiling patch.

patch build!

I edited compile_patch_linux.sh in ksoloti/firmware_axoloti_legacy

make -no-pch -f Makefile.patch

the -no-pch option gets rid of the compile errors…

but the patch seems to be MIA


Done generating code.

Compiling patch...
/home/kaos/ksoloti/platform_linux/bin/make
rm -f /home/kaos/ksoloti/build/xpatch.o /home/kaos/ksoloti/build/xpatch.elf /home/kaos/ksoloti/build/xpatch.bin /home/kaos/ksoloti/build/xpatch.d /home/kaos/ksoloti/build/xpatch.map /home/kaos/ksoloti/build/xpatch.lst
arm-none-eabi-g++ -nostdlib -fno-exceptions -fno-rtti -mcpu=cortex-m4 -O3 -fomit-frame-pointer -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wunused-parameter -DCORTEX_USE_FPU=TRUE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB -std=c++11 -DARM_MATH_CM4 -D__FPU_PRESENT -fno-math-errno -fno-threadsafe-statics -fno-use-cxa-atexit -Wno-unused-parameter -H -I/home/kaos/ksoloti/CMSIS/Include -I/home/kaos/ksoloti/CMSIS/DSP_Lib/Include -I/home/kaos/ksoloti/chibios/os/ports/common/ARMCMx/CMSIS/include -I/home/kaos/ksoloti/chibios/os/ports/common/ARMCMx -I/home/kaos/ksoloti/chibios/os/ports/GCC/ARMCMx -I/home/kaos/ksoloti/chibios/os/ports/GCC/ARMCMx/STM32F4xx -I/home/kaos/ksoloti/chibios/os/kernel/include -I/home/kaos/ksoloti/chibios/os/hal/include -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32F4xx -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/GPIOv2 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/I2Cv1 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/OTGv1 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/RTCv2 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/SPIv1 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/TIMv1 -I/home/kaos/ksoloti/chibios/os/hal/platforms/STM32/USARTv1 -I/home/kaos/ksoloti/chibios/boards/ST_STM32F4_DISCOVERY -I/home/kaos/ksoloti/chibios/ext/fatfs/src -I/home/kaos/ksoloti/firmware_axoloti_legacy -I/home/kaos/ksoloti/chibios -I/home/kaos/ksoloti/firmware_axoloti_legacy/mutable_instruments -Winvalid-pch -MD -MP --include /home/kaos/ksoloti/build/xpatch.h -c /home/kaos/ksoloti/build/xpatch.cpp -o /home/kaos/ksoloti/build/xpatch.o 
arm-none-eabi-gcc -nostartfiles -Tramlink.ld -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb  -mno-thumb-interwork /home/kaos/ksoloti/build/xpatch.o -Wl,-Map=/home/kaos/ksoloti/build/xpatch.map,--cref,--just-symbols=/home/kaos/ksoloti/firmware_axoloti_legacy/build/axoloti.elf -o /home/kaos/ksoloti/build/xpatch.elf
arm-none-eabi-objcopy -O binary /home/kaos/ksoloti/build/xpatch.elf /home/kaos/ksoloti/build/xpatch.bin
arm-none-eabi-size --format=sysv /home/kaos/ksoloti/build/xpatch.elf
Done compiling patch.

Uploading patch...
/home/kaos/ksoloti/build/xpatch.bin
FileNotFoundException,java.io.FileNotFoundException: /home/kaos/ksoloti/build/xpatch.bin (No such file or directory)
java.io.FileNotFoundException: /home/kaos/ksoloti/build/xpatch.bin (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:152)
	at qcmds.QCmdUploadPatch.Do(QCmdUploadPatch.java:66)
	at axoloti.USBBulkConnection$Transmitter.run(USBBulkConnection.java:963)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Disconnected

Done uploading patch.

it works completely now!!!

I removed the -no-pch from the compile_patch_linux.sh file buit instead after some clicking from your suggested link

Disables randomization of the virtual address space (turns on ADDR_NO_RANDOMIZE).

Here is how to proceed:

$> setarch $(uname -m) -R /bin/bash

So running this and then starting ksoloti from that shell and everything works!!!

yes it still works great

After some testing everything works fine, compiling is smooth, the editor is smooth, my old objects seem to work fine.
So thanks for hanging in there until it worked!

to answer some more question you asked earlier.
yes the phone has a mic, but I might have to open a different topic on that one later, it’s not working as it should…but I have some things to try first.

The system is running this ubuntu flavour Releases Ā· Joshua-Riek/ubuntu-rockchip Ā· GitHub created especially for the rockchip. A very potent Orange Pi 5 Plus that runs a live coding environment, supercollider + tidalcycles and is connected to the modular using axo and uO_c.

That’s great! Yeah the build needs that pch file, it contains just about everything precompiled so we don’t need to compile through 20 MB of code every time we click live.

That’s nice about the randomization thing, it’s funny how decade-old links may contain just the info you need. The same happened when i was trying to figure out the GCC upgrade to 9.3.1 - someone dropped a oneliner in some super obscure mailing list and bam, solved

I have nothing to add to the general technical conversation here but just wanted to say that photo of your setup is amazing, it made me smile so much. Keep up the good work :slight_smile:

3 Likes

Amazing work! Is there any chance for a regular mortal like me, without any of your wizard programming skills, to get this together?
Lovely Case, btw. my Big Genes ended up in this one:

2 Likes

If @kaos can confirm the patcher is running smoothly enough we could talk about setting up a ā€œarm64ā€ package? What model did you say that was?

nice case!

What platform are you running on? I documented as good as possible all the hoops I had to jump, but if I need to do it again, rather now then in 3 months from now.

My specific case is that the SBC with the axo connected to is also the sequencer, to debug and make patches therefore it makes no sense to connect my my laptop to it. Therefore I really wanted to have the system run the patcher.

I’ll do a writeup on the system, so it’s a bit clearer what’s going on in the background…

Willing to help on that arm64 package off course.

I’m running it on this 16Gb RAM SBC with 512Gb SSD but I have RPi5 8Gb in the same case, so I could easily test it out there, if that is the same CPU architecture?

1 Like

Currently the editor runs on my stationary Mac Mini M1. But I want something portable. Idealy that computer would also be able to run Max/MSP and the Eagan-Matrix editor. I wanted to avoid the trouble using a PC-type machine, so I thought a up-to-date Raspi could do the job on a small budget. But I just found out, that MAX can’t run on a Raspi.
So I guess I need to find annother solution…

thanks for your offer to help though!

full writeup of the case on my site kaotec []<> If there is interest, I can dive deeper into the axo/ksoloti parts of the project on the forum here, but for now this is mainly context for this thread, why anyone would want to compile the patcher for an exotic system…

3 Likes

@kaos, so on what is supercollider running?

On the rockchip Ubuntu orange pi 5 plus.

12 channel audio in, 16 out over usbC, not a glitch :slight_smile:

You can always run puredata on the raspberry pi. It’s not MAX, but if you want to scale down on your setup, it might be worth exploring. Plus it’s fully open source!

Thanks, I have gone back and re-read it all more closely and realised you had already said this before. Sorry about that!

I am aware of PD, but the Eagan Matrix editor is a behemoth of a Max/MSP patch (takes over a minute to load), that can“t be done with PD.

Hey @Omnichordman, nice setup! I’m really intrigued about your koffer. Is this one of these cabin luggage size aluminium trolleys? how did you mount the eurorack case into the koffer?