xmos / vocalfusion-rpi-setup

3 stars 13 forks source link

i2s build error on XVF3500 when using raspberry pi compute module 4 #70

Closed JihunDev closed 1 year ago

JihunDev commented 1 year ago

Raspberry Pi Compute Module 4 was used and the latest version of the OS was installed.

Raspberry Pi OS with desktop Release date: May 3rd 2023 System: 32-bit Kernel version: 6.1 Debian version: 11 (bullseye)

The compute model I use is a model with 2GB RAM and 8GB eMMC and a model without 1GB RAM and eMMC.

I am using XVF3500 AVS.

If you enter the ./setup.sh xvf3500 command, it will output that i2s_slave_loader.c does not exist.

pi@raspberrypi:~/vocalfusion-rpi-setup $ ./setup.sh xvf3500
Installing necessary packages for dev kit
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-matplotlib is already the newest version (3.3.4-1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-numpy is already the newest version (1:1.19.5-1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libatlas-base-dev is already the newest version (3.10.3-10+rpi1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
audacity is already the newest version (2.4.2~dfsg0-5).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libreadline-dev is already the newest version (8.1-1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libncurses-dev is already the newest version (6.2+20201114-2+deb11u1).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
make
# copy the source file to avoid maintaining multiple copies inside the Makefile folders
# We tried to use KBUILD_OUTPUT but the module was not compiling
cp ../src/loader.c i2s_slave_loader.c
make -C /lib/modules/6.1.21-v8+/build M=/home/pi/vocalfusion-rpi-setup/loader/i2Error: I2S kernel module build failedbuild: No such file or directory.  Stop.
mbanth commented 1 year ago

@lucianomartin, please provide a Story Point value for this issue. Thanks.

xluciano commented 1 year ago

Hi @JihunDev, thanks for reporting this issue. We have recently updated the procedure to configure the RaspberryPi. Can you please retry using the instructions in the README.md at the head of master or from the v5.8.0 release.

JihunDev commented 1 year ago

Hi @lucianomartin Tried with the changed installation method and works fine on Pi4. Thank you.