Rock Pi N10 NPU Init error

Hello, I want to init NPU not work… when executed “npu_powerctrl -i” says:

init gpio: 4
Error writing to /sys/class/gpio/export value=4: Device or resource busy
gpio init

and the lsusb show the NPU as expected
Bus 007 Device 004: ID 2207:180a

I’m using a fresh install of Ubuntu from here
https://wiki.radxa.com/RockpiN10/downloads

# uname -a
Linux rockpin10 4.4.167-8-rockchip-g1175e66f8e9a #1 SMP Thu Mar 5 08:40:28 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

Thanks in advance.

Have you tried upgrading?

apt update && apt upgrade

yes, no updates, the result is same.

Try bionic-testing for radxa repository

https://wiki.radxa.com/RockpiN10/radxa-apt

hi, thanks for you response, after upgrade on bionic-testing the result is the same.

Captura%20de%20pantalla%20de%202020-04-21%2012-51-21

this is upgraded:
`The following NEW packages will be installed:
libsnapd-glib1 linux-firmware-image-4.4.167-13-rockchip-g77459ceba0fa linux-headers-4.4.167-13-rockchip-g77459ceba0fa
linux-image-4.4.167-13-rockchip-g77459ceba0fa

The following packages will be upgraded:
git git-man libjson-glib-1.0-0 libjson-glib-1.0-common libpulse-mainloop-glib0 libpulse0 libpulsedsp libpython2.7 libpython2.7-dev
libpython2.7-minimal libpython2.7-stdlib libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib linux-4.4-rockpin10-latest
pulseaudio pulseaudio-module-bluetooth pulseaudio-utils python2.7 python2.7-dev python2.7-minimal python3.6 python3.6-dev python3.6-minimal
25 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.`

@setq any ideas?

Hello xootraoox,

This is the expected error message, NPU gpio can only be initialize once.

You can refer to AI Development and run some examples to verify that NPU is working.