Is there a way to connect an orca accelerator to any device by stm32 series of microcontrollers? I have the stm32mp257f-ev1 and i successfully installed degirum and degirum tools on their custom YoctoLinux distro but i am clueless to whether the connection itself it feasible via pcie converter or something similar. Thanks in advance!
Hi @alema416
Does the SoC in the system have PCIe or USB?
It has mini PCIe. Maybe with an adaptor? I have the m.2 version of orca.
@epomozov
Can you please take a look at this?
Hello @alema416,
Thank you for trying to use the ORCA accelerator with different platforms.
To make the PCIe M.2 adapter work, you need:
- MiniPCIe-M.2 key M adapter like Amazon.com: Viodmss 2X PCI-E to M.2 M Key Adapter Mini PCIExpress to NVME SSD Converter Riser Board Expansion Card for 2230 2242 2260 2280 : Electronics
- Build the driver from some instructions for a similar Yocto platform:
Add additional packages needed and grab the lincdadrv source code
- sudo apt install flex libssl-dev libncurses-dev
- git clone GitHub - DeGirum/lincdadrv: CDA Linux Driver
Source the sdk environment cross compiler toolchain install path env script - environment-setup-aarch64-poky-linux
- The LD_FLAGS are not setup properly so unset it
- export LD_FLAGS=
- cd src/lincdadrv
- make BUILDDIR=/home/user/target-os-dir/build/tmp/work/imx8mpevk-poky-linux/linux-imx/5.4-r0/build
Please try to make it work. If you meet any issue, let us know. We will try to help you.
Best regards.
I will get back to you when I get my hands on the adapter. For the time being, thank you for the fast response.