pyavitz / debian-image-builder

Debian image builder for single board computers
Other
139 stars 33 forks source link

is possible to use npu in M2S board image? #79

Closed zjd1988 closed 11 months ago

zjd1988 commented 11 months ago

excellent work!!!! I have a M2S board, but official image cannot run ai model on npu. Is possible to make npu work with your image?

pyavitz commented 11 months ago

What kernel are you using? As far as I know npu isn't available on 6.1. You would need to be using the current stable, 6.5.4.

Now does this work or not, I'm not sure? But I know it is in the DTS.

zjd1988 commented 11 months ago

@pyavitz I downloaded image from official website,maybe consistent with https://github.com/BPI-SINOVOIP/BPI-M2S-bsp.git

pyavitz commented 11 months ago

The official imgs use an old BSP kernel, in this case forked from Hardkernel, which are also now subsequently EOL. If you were able to get NPU to work, I would think you would have a better chance doing so using the latest stable Kernel. What that entails beyond having it available in the DTS, I have no clue. I suspect the NPU driver needs to be enabled in the kernel?

zjd1988 commented 11 months ago

@pyavitz Thank you for your suggestion. I will have a try.