wiki:kinaraai

Version 1 (modified by Ryan Erbstoesser, 19 hours ago) ( diff )

start page

Kinara AI

Create an account at https://support.kinara.ai/

Hardware

Download the ara2-sdk onto your host and extract it. It should create a folder named 'art'

Instructions are in the README_linux_aarch64.txt file inside the extracted folder.

Copy the 'art' folder to the Gateworks SBC with something like scp.

Verify the Kinara card is detected on the PCIe bus:

root@noble-venice:~/art/linux/aarch64/hw_utils# lspci
81:00.0 Processing accelerators: Device 1e58:0002 (rev 02)

Insert the uiodma module:

insmod art/linux/drivers/uiodma/uiodma.ko  
sudo echo "1e58 0002" > /sys/bus/pci/drivers/uiodma/new_id

Get Chip info:

root@noble-venice:~/art/linux# ./aarch64/hw_utils/bins/chip_info_aarch64 -e 0
Kinara Inc. Silicon utilities version 0.5.9

Run directory: /root/art/linux
./aarch64/hw_utils/bins/chip_info_aarch64 -e 0 

[I:20260123:00:02:36:178031] [] [kinara_main_635][IODeviceManager] enumerate ara2 pci devices
[I:20260123:00:02:36:405024] [] [kinara_main_635][IODeviceManager] path= /sys/devices/platform/soc@0/33800000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:03.0/0000:81:00.0/
[I:20260123:00:02:36:405187] [] [kinara_main_635][IODeviceManager] instance name: IODeviceManager, found an ara2 pci device at: /sys/devices/platform/soc@0/33800000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:03.0/0000:81:00.0/
[I:20260123:00:02:36:405372] [] [kinara_main_635][pci_io_00:81.0] cache management 0
[I:20260123:00:02:36:405398] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, ara2 pci device folder path: /sys/devices/platform/soc@0/33800000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:03.0/0000:81:00.0/
[I:20260123:00:02:36:405521] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, phy0=0x18700000 phy1=0x18500000 phy2=0x18600000
[I:20260123:00:02:36:411041] [] [kinara_main_635][pci_io_00:81.0] enabling pcie_ste_dma for device 
[W:20260123:00:02:36:411150] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, uiodma addr is : 0x7b000000
[I:20260123:00:02:36:411293] [] [kinara_main_635][pci_io_00:81.0] successfully enabled pcie_ste_dma for pcie device
[I:20260123:00:02:36:421550] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, vendor=0x1e58 product=0x2
[I:20260123:00:02:36:422136] [] [kinara_main_635][pci_io_00:81.0] Calling pcie tl clock programming, removing pcie clock from bypass
[W:20260123:00:02:36:425541] [ChipInfo] [kinara_main_635][ChipInfo] ara_physical_id:  0
[I:20260123:00:02:36:426262] [] [task_request_queue_processing_task_runner0_640][ChipInfoRequest] BOOT SUCCESS
[I:20260123:00:02:36:426304] [] [task_request_queue_processing_task_runner0_640][ChipInfoRequest] HIF IS ENABLED
[I:20260123:00:02:36:527551] [ChipInfo] [kinara_main_635][ChipInfo] Request Done 
[I:20260123:00:02:36:532629] [ChipInfo] [kinara_main_635][ChipInfo] chip info for the devices connected
 +-----------+---------------+----------------------------------------------+
| Tool      | Device Number | Info                                         |
+-----------+---------------+----------------------------------------------+
| Chip Info | 0, strap:0    | +-----------------------------+------------+ |
|           |               | | Parameter                   | Value      | |
|           |               | +-----------------------------+------------+ |
|           |               | | chip_id                     | Ara2 A01   | |
|           |               | | bus_id                      | 0:129:0    | |
|           |               | | if_type                     | PCIE       | |
|           |               | | chip_physical_id            | 0          | |
|           |               | | pcie_present                | 1          | |
|           |               | | usb_present                 | 0          | |
|           |               | | ddr_present                 | 1          | |
|           |               | | jtag_present                |            | |
|           |               | | sys_frequency               | 25 MHz     | |
|           |               | | neural_processor_frequency  | 25 MHz     | |
|           |               | | control_processor_frequency | 25 MHz     | |
|           |               | | ddr_frequency               | 25 MHz     | |
|           |               | | ddr_mfr                     |            | |
|           |               | | ddr_size                    | NA         | |
|           |               | | flash_mfr                   | NA         | |
|           |               | | flash_size                  | NA         | |
|           |               | | num_flash_images            | NA         | |
|           |               | | dev_temp1                   | 21.07 C    | |
|           |               | | voltage1                    | 0.788796 V | |
|           |               | | last power state            | NA         | |
|           |               | | current power state         | L1         | |
|           |               | | boot_status                 | 1          | |
|           |               | | internal_mem_size           | 8 MB       | |
|           |               | | life_cycle                  | TESTED     | |
|           |               | | firmware_version(raw)       | 32779      | |
|           |               | | firmware_version            | 0.128.11   | |
|           |               | +-----------------------------+------------+ |
|           |               |                                              |
+-----------+---------------+----------------------------------------------+

root@noble-venice:~/art/linux# 

SDK

Download the SDK from the Kinara support site.

The file will be something like dv-sdk...tar

Extract this file.

Note: See TracWiki for help on using the wiki.