Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu
Which version of system do you use? Please provide the version of the system here:
Fenix 1.6 Ubuntu 22.04.3 LTS Linux 5.15.137
Please describe your issue below:
Adla driver is not working with last versions of kernel, downgrade make it work.
Post a console log of your issue below:
With 1.7.3 kernel packages linux-dtb-amlogic-5.15 linux-headers-amlogic-5.15 linux-image-amlogic-5.15
adla usr space 1.2.0.5
[ADLAU ERROR] adla_platform_open: Failed to retrieve the size of firmware capabilities
the model is not compatible with the device
target device is r2p0, but platform device is r0p0
E NN_SDK:[aml_adla_create_network_common:357]Error: create network fail.
amlnn_init is fail
Dmesg logs :
dmesg |grep -i adla
[ 7.506829] ADLA KMD nn_adj_vol = 0, nn_package_id = 1, nn_efuse_type = 1
[ 7.517015] ADLA KMD voltage init success
[ 7.517023] cc: adlak_smc_cmd: 0x0
[ 7.521525] adla kmd version: 1.4.0.3
[ 7.528310] [ADLAK WARN] adlak_platform_set_power() adla power on
[ 7.535384] [ADLAK WARN] adlak_platform_set_clock() clk_set_parent to parent 0
[ 7.551285] [ADLAK WARN] adlak_dev_inference_cb() dpm_timer_period: 300
[ 7.551389] [ADLAK WARN] adlak_platform_set_clock() clk_set_parent to parent 1
[ 7.551393] [ADLAK WARN] adlak_platform_set_power() adla power off
[ 7.570462] [ADLAK WARN] adlak_platform_set_power() adla power on
[ 7.593279] [ADLAK WARN] adlak_platform_set_clock() clk_set_parent to parent 0
[ 11.071374] [ADLAK WARN] adlak_platform_set_clock() clk_set_parent to parent 1
[ 11.071392] [ADLAK WARN] adlak_platform_set_power() adla power off
With 1.7.1 kernel packages linux-image-amlogic-5.15 linux-headers-amlogic-5.15 linux-dtb-amlogic-5.15
adla usr space 1.2.0.5
Dmesg logs :
dmesg |grep -i adla
[ 6.997365] [ADLAK WARN] adlak_platform_get_resource() Failed to get adla_axi_clk
[ 7.017041] ADLA KMD nn_adj_vol = 0, nn_package_id = 1, nn_efuse_type = 1
[ 7.050110] adla kmd version: 1.2.0.6
[ 7.060412] adlak_core clk requirement of 800000000 Hz,and real val is 799999988 Hz.
[ 7.083601] [ADLAK WARN] adlak_os_thread_create() kthread bind on cpu1
I don’t know which commit “Nov 9, 2024” or “Nov 21, 2024” with message “adla: update drivers” on the driver here Commits · khadas/common_drivers · GitHub could be the issue.