-
Notifications
You must be signed in to change notification settings - Fork 23
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
"warning: the frame size of 1232 bytes is larger than 1024 bytes" on aarch64 compilation #51
Comments
Hi, what is the procedure to compile and install those kernel modules for 64bit raspbian or ubuntu ? |
For current raspbian (they switched to v5.10 last week) you need this #53 - Afaik ubuntu focal is still at 5.4; likely ubuntu groovy is at 5.10. |
When i try to follow procedure i receive following errors: echo "deb https://apt.matrix.one/raspbian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/matrixlabs.list sudo apt-get update and i cannot install i have installed: sudo apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel git correctly, but when i try to clone and make your #53 repo i get following error messages:
make -C /lib/modules/5.10.11-v8+/build M=/home/pi/matrix/new/matrixio-kernel-modules/src modules |
@floppy286 you likely need to do "git checkout -b v5.9 origin/v5.9" to switch to that branch, after cloning. |
Thanks a lot! compilation passes smoothly but when I try to do sudo make install i get such warrning:
make -C /lib/modules/5.10.14-v8+/build M=/home/pi/matrix/new/matrixio-kernel-modules/src modules_install After performin last steps : Add in /boot/config.txt dtoverlay=matrixio Finally, load the remaining required modules sudo cp ~/matrixio-kernel-modules/misc/matrixio.conf /etc/modules-load.d/ i see added device in arecord and aplay but when i've try to do arecord i have the same efect as revievers in #53 - no sound is in fact recorded, no sound is played on matrixio mic i have 5.10.14-v8 kernel Thanks in advance |
This is what i have:
**** List of CAPTURE Hardware Devices ****
Recording WAVE 'rec2.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono no sound is recorded, no sound is played by aplay either |
This is seen on ubuntu 20.04.1 aarch64 :
Probably harmless and easy to fix. Interestingly enough not seen on x86_64 - I assume it is because on x86_64, members of structures don't need to be aligned to 64-bit, so may be packed closer?
The text was updated successfully, but these errors were encountered: