I am attempting to install matrix hal, matrix kernel modules, and matrix-creator-init in balenaOS. The system uses the raspberry pi kernel in the raspbian container and has access to all the hardware interfaces. I’ve managed to make substantial progress.
So far I have installed matrix hall and matrix kernel modules from source, but I am unable to get matrix-creator init installed.
I would prefer to use the binary distributed packages though, but I am having trouble with the install.
When performing these steps to install it:
apt-get install lsb-release apt-transport-https && \ curl https://apt.matrix.one/doc/apt-key.gpg | sudo apt-key add - && \ echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/matrixlabs.list && \ apt-get update
I get this error message:
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apt.matrix.one/raspbian buster InRelease' doesn't support architecture 'arm64'
I have also tried adding the armhf architecture via dpkg:
dpkg --add-architecture armhf, but the dependencies are marked as uninstallable.
Is there any way to install 64bit versions of these packages via apt?
Thank you for any help you could provide
Here’s the relevant thread from the balenaOS forums: https://forums.balena.io/t/cant-send-spi-message-error-when-running-matrix-creator-examples-on-resinos/3267/48