| | 1 | = Kinara AI |
| | 2 | |
| | 3 | Create an account at https://support.kinara.ai/ |
| | 4 | |
| | 5 | == Hardware |
| | 6 | |
| | 7 | |
| | 8 | |
| | 9 | Download the ara2-sdk onto your host and extract it. It should create a folder named 'art' |
| | 10 | |
| | 11 | Instructions are in the README_linux_aarch64.txt file inside the extracted folder. |
| | 12 | |
| | 13 | Copy the 'art' folder to the Gateworks SBC with something like scp. |
| | 14 | |
| | 15 | Verify the Kinara card is detected on the PCIe bus: |
| | 16 | {{{ |
| | 17 | root@noble-venice:~/art/linux/aarch64/hw_utils# lspci |
| | 18 | 81:00.0 Processing accelerators: Device 1e58:0002 (rev 02) |
| | 19 | }}} |
| | 20 | |
| | 21 | Insert the uiodma module: |
| | 22 | {{{ |
| | 23 | insmod art/linux/drivers/uiodma/uiodma.ko |
| | 24 | sudo echo "1e58 0002" > /sys/bus/pci/drivers/uiodma/new_id |
| | 25 | |
| | 26 | }}} |
| | 27 | |
| | 28 | Get Chip info: |
| | 29 | {{{ |
| | 30 | root@noble-venice:~/art/linux# ./aarch64/hw_utils/bins/chip_info_aarch64 -e 0 |
| | 31 | Kinara Inc. Silicon utilities version 0.5.9 |
| | 32 | |
| | 33 | Run directory: /root/art/linux |
| | 34 | ./aarch64/hw_utils/bins/chip_info_aarch64 -e 0 |
| | 35 | |
| | 36 | [I:20260123:00:02:36:178031] [] [kinara_main_635][IODeviceManager] enumerate ara2 pci devices |
| | 37 | [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/ |
| | 38 | [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/ |
| | 39 | [I:20260123:00:02:36:405372] [] [kinara_main_635][pci_io_00:81.0] cache management 0 |
| | 40 | [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/ |
| | 41 | [I:20260123:00:02:36:405521] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, phy0=0x18700000 phy1=0x18500000 phy2=0x18600000 |
| | 42 | [I:20260123:00:02:36:411041] [] [kinara_main_635][pci_io_00:81.0] enabling pcie_ste_dma for device |
| | 43 | [W:20260123:00:02:36:411150] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, uiodma addr is : 0x7b000000 |
| | 44 | [I:20260123:00:02:36:411293] [] [kinara_main_635][pci_io_00:81.0] successfully enabled pcie_ste_dma for pcie device |
| | 45 | [I:20260123:00:02:36:421550] [] [kinara_main_635][pci_io_00:81.0] instance name: Ara2PcieIO_0, vendor=0x1e58 product=0x2 |
| | 46 | [I:20260123:00:02:36:422136] [] [kinara_main_635][pci_io_00:81.0] Calling pcie tl clock programming, removing pcie clock from bypass |
| | 47 | [W:20260123:00:02:36:425541] [ChipInfo] [kinara_main_635][ChipInfo] ara_physical_id: 0 |
| | 48 | [I:20260123:00:02:36:426262] [] [task_request_queue_processing_task_runner0_640][ChipInfoRequest] BOOT SUCCESS |
| | 49 | [I:20260123:00:02:36:426304] [] [task_request_queue_processing_task_runner0_640][ChipInfoRequest] HIF IS ENABLED |
| | 50 | [I:20260123:00:02:36:527551] [ChipInfo] [kinara_main_635][ChipInfo] Request Done |
| | 51 | [I:20260123:00:02:36:532629] [ChipInfo] [kinara_main_635][ChipInfo] chip info for the devices connected |
| | 52 | +-----------+---------------+----------------------------------------------+ |
| | 53 | | Tool | Device Number | Info | |
| | 54 | +-----------+---------------+----------------------------------------------+ |
| | 55 | | Chip Info | 0, strap:0 | +-----------------------------+------------+ | |
| | 56 | | | | | Parameter | Value | | |
| | 57 | | | | +-----------------------------+------------+ | |
| | 58 | | | | | chip_id | Ara2 A01 | | |
| | 59 | | | | | bus_id | 0:129:0 | | |
| | 60 | | | | | if_type | PCIE | | |
| | 61 | | | | | chip_physical_id | 0 | | |
| | 62 | | | | | pcie_present | 1 | | |
| | 63 | | | | | usb_present | 0 | | |
| | 64 | | | | | ddr_present | 1 | | |
| | 65 | | | | | jtag_present | | | |
| | 66 | | | | | sys_frequency | 25 MHz | | |
| | 67 | | | | | neural_processor_frequency | 25 MHz | | |
| | 68 | | | | | control_processor_frequency | 25 MHz | | |
| | 69 | | | | | ddr_frequency | 25 MHz | | |
| | 70 | | | | | ddr_mfr | | | |
| | 71 | | | | | ddr_size | NA | | |
| | 72 | | | | | flash_mfr | NA | | |
| | 73 | | | | | flash_size | NA | | |
| | 74 | | | | | num_flash_images | NA | | |
| | 75 | | | | | dev_temp1 | 21.07 C | | |
| | 76 | | | | | voltage1 | 0.788796 V | | |
| | 77 | | | | | last power state | NA | | |
| | 78 | | | | | current power state | L1 | | |
| | 79 | | | | | boot_status | 1 | | |
| | 80 | | | | | internal_mem_size | 8 MB | | |
| | 81 | | | | | life_cycle | TESTED | | |
| | 82 | | | | | firmware_version(raw) | 32779 | | |
| | 83 | | | | | firmware_version | 0.128.11 | | |
| | 84 | | | | +-----------------------------+------------+ | |
| | 85 | | | | | |
| | 86 | +-----------+---------------+----------------------------------------------+ |
| | 87 | |
| | 88 | root@noble-venice:~/art/linux# |
| | 89 | |
| | 90 | }}} |
| | 91 | |
| | 92 | == SDK |
| | 93 | |
| | 94 | Download the SDK from the Kinara support site. |
| | 95 | |
| | 96 | The file will be something like dv-sdk...tar |
| | 97 | |
| | 98 | Extract this file. |
| | 99 | |
| | 100 | |