| | 711 | == Development Kit Installation |
| | 712 | |
| | 713 | The development kit comes pre-installed with some initial software. |
| | 714 | |
| | 715 | Upon boot, additional software is needed as noted at boot: |
| | 716 | {{{ |
| | 717 | ======================================================== |
| | 718 | ARA RUNTIME INSTALL REQUIRED |
| | 719 | ======================================================== |
| | 720 | To complete the installation of the ARA2 Runtime environment please run: |
| | 721 | /root/ara2/install |
| | 722 | |
| | 723 | }}} |
| | 724 | |
| | 725 | Run the command: |
| | 726 | {{{ |
| | 727 | |
| | 728 | root@catalina:~# /root/ara2/install |
| | 729 | |
| | 730 | ╔══════════════════════════════════════════════════════════════════════════════╗ |
| | 731 | ║ Gateworks i.MX95 Ara2 runtime post-installation... ║ |
| | 732 | ╚══════════════════════════════════════════════════════════════════════════════╝ |
| | 733 | |
| | 734 | |
| | 735 | → Checking Internet Connection |
| | 736 | ──────────────────────────────────────────────────────────────────────────────── |
| | 737 | ✓ Internet OK |
| | 738 | Using default 2GB swap |
| | 739 | |
| | 740 | → Configuring swap memory |
| | 741 | ──────────────────────────────────────────────────────────────────────────────── |
| | 742 | Enabling 2GB of swap memory |
| | 743 | Checking for existing swap... |
| | 744 | Creating new swap file of size 2G ... |
| | 745 | Setting up swapspace version 1, size = 2 GiB (2147479552 bytes) |
| | 746 | no label, UUID=23117a57-bf78-450f-afe5-69e3772faba6 |
| | 747 | /swapfile none swap sw 0 0 |
| | 748 | Swap file of 2G configured and enabled successfully. |
| | 749 | ✓ Swap memory enabled (2GB) |
| | 750 | |
| | 751 | |
| | 752 | → Creating application directories |
| | 753 | ──────────────────────────────────────────────────────────────────────────────── |
| | 754 | ✓ mkdir: created directory '/usr/share/cnn' |
| | 755 | ✓ mkdir: created directory '/usr/share/llm' |
| | 756 | |
| | 757 | |
| | 758 | → Installing uv package manager |
| | 759 | ──────────────────────────────────────────────────────────────────────────────── |
| | 760 | ✓ uv package manager installed |
| | 761 | |
| | 762 | Install image-detect demo? (y/n): y |
| | 763 | Downloading nxp/YOLOv8 to /usr/share/cnn/... |
| | 764 | Downloading bytes: | 0.00B Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. | 0.00B / 175MB |
| | 765 | Fetching 19 files: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 19/19 [00:10<00:00, 1.85it/s] |
| | 766 | Download complete: : ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 522MB, 87.4MB/s Download complete: /usr/share/cnn/███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 746MB / 746MB, 135MB/s |
| | 767 | Download complete: : ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 522MB, 87.4MB/s |
| | 768 | Reconstruction complete: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 746MB / 746MB, 135MB/s |
| | 769 | Using CPython 3.14.4 interpreter at: /usr/bin/python3 |
| | 770 | Creating virtual environment at: .venv |
| | 771 | Activate with: source .venv/bin/activate |
| | 772 | |
| | 773 | Install vision-webapp? (y/n): y |
| | 774 | Using CPython 3.14.4 interpreter at: /usr/bin/python3 |
| | 775 | Creating virtual environment at: .venv |
| | 776 | Activate with: source .venv/bin/activate |
| | 777 | |
| | 778 | Install chat Demo? (y/n): y |
| | 779 | Installing eIQ AAF Connector... |
| | 780 | |
| | 781 | ╔══════════════════════════════════════════════════════════════════════════════╗ |
| | 782 | ║ eIQ AAF Connector v2.1 - Installation ║ |
| | 783 | ╚══════════════════════════════════════════════════════════════════════════════╝ |
| | 784 | |
| | 785 | |
| | 786 | → Checking Connector dependencies |
| | 787 | ──────────────────────────────────────────────────────────────────────────────── |
| | 788 | ✓ Internet OK |
| | 789 | ⚠ Failed to get date. Installation might fail |
| | 790 | ✓ uv found |
| | 791 | |
| | 792 | → Setting up eIQ AAF Connector environment |
| | 793 | ──────────────────────────────────────────────────────────────────────────────── |
| | 794 | Creating python venv (/usr/share/eiq/aaf-connector/venv)... |
| | 795 | Using CPython 3.14.4 interpreter at: /usr/bin/python3 |
| | 796 | Creating virtual environment at: /usr/share/eiq/aaf-connector/venv |
| | 797 | Activate with: source /usr/share/eiq/aaf-connector/venv/bin/activate |
| | 798 | |
| | 799 | → Installing dependencies in venv |
| | 800 | ──────────────────────────────────────────────────────────────────────────────── |
| | 801 | Using Python 3.14.4 environment at: /usr/share/eiq/aaf-connector/venv |
| | 802 | Resolved 56 packages in 2.01s |
| | 803 | Downloading sympy (6.0MiB) |
| | 804 | Downloading networkx (2.0MiB) |
| | 805 | Downloading transformers (11.4MiB) |
| | 806 | Downloading pydantic-core (1.8MiB) |
| | 807 | Downloading av (31.8MiB) |
| | 808 | Downloading soundfile (1.2MiB) |
| | 809 | Downloading scikit-learn (8.4MiB) |
| | 810 | Downloading llvmlite (55.6MiB) |
| | 811 | Downloading hf-xet (4.1MiB) |
| | 812 | Downloading scipy (32.4MiB) |
| | 813 | Downloading pillow (6.1MiB) |
| | 814 | Downloading numba (3.4MiB) |
| | 815 | Downloading tokenizers (3.1MiB) |
| | 816 | Downloading numpy (15.0MiB) |
| | 817 | Downloading torch (99.3MiB) |
| | 818 | Downloading torchvision (2.3MiB) |
| | 819 | Downloaded soundfile |
| | 820 | Downloaded pydantic-core |
| | 821 | Downloaded torchvision |
| | 822 | Downloaded tokenizers |
| | 823 | Downloaded networkx |
| | 824 | Downloaded hf-xet |
| | 825 | Downloaded numba |
| | 826 | Downloaded pillow |
| | 827 | Downloaded scikit-learn |
| | 828 | Downloaded sympy |
| | 829 | Downloaded numpy |
| | 830 | Downloaded av |
| | 831 | Downloaded llvmlite |
| | 832 | Downloaded scipy |
| | 833 | Downloaded transformers |
| | 834 | Downloaded torch |
| | 835 | Prepared 53 packages in 22.49s |
| | 836 | Installed 56 packages in 733ms |
| | 837 | + annotated-types==0.8.0 |
| | 838 | + audioop-lts==0.2.2 |
| | 839 | + audioread==3.1.0 |
| | 840 | + av==18.0.0 |
| | 841 | + certifi==2026.7.22 |
| | 842 | + cffi==2.1.1 |
| | 843 | + charset-normalizer==3.4.9 |
| | 844 | + decorator==5.3.1 |
| | 845 | + filelock==3.32.2 |
| | 846 | + fsspec==2026.7.0 |
| | 847 | + hf-xet==1.6.0 |
| | 848 | + huggingface-hub==0.36.2 |
| | 849 | + idna==3.18 |
| | 850 | + jinja2==3.1.6 |
| | 851 | + joblib==1.5.3 |
| | 852 | + lazy-loader==0.5 |
| | 853 | + librosa==0.11.0 |
| | 854 | + llvmlite==0.48.0 |
| | 855 | + markupsafe==3.0.3 |
| | 856 | + mpmath==1.3.0 |
| | 857 | + msgpack==1.2.1 |
| | 858 | + narwhals==2.24.0 |
| | 859 | + networkx==3.6.1 |
| | 860 | + numba==0.66.0 |
| | 861 | + numpy==2.4.3 |
| | 862 | + optimum-ara==1.0.0 (from file:///usr/share/python-wheels/optimum_ara-1.0.0-py3-none-any.whl) |
| | 863 | + packaging==26.3 |
| | 864 | + pillow==12.1.1 |
| | 865 | + platformdirs==4.11.0 |
| | 866 | + pooch==1.9.0 |
| | 867 | + pycparser==3.0 |
| | 868 | + pydantic==2.12.5 |
| | 869 | + pydantic-core==2.41.5 |
| | 870 | + pyyaml==6.0.3 |
| | 871 | + qwen-vl-utils==0.0.14 |
| | 872 | + regex==2026.7.19 |
| | 873 | + requests==2.34.2 |
| | 874 | + safetensors==0.8.0 |
| | 875 | + scikit-learn==1.9.0 |
| | 876 | + scipy==1.18.0 |
| | 877 | + setuptools==83.0.0 |
| | 878 | + soundfile==0.13.1 |
| | 879 | + soxr==1.1.0 |
| | 880 | + standard-aifc==3.13.0 |
| | 881 | + standard-chunk==3.13.0 |
| | 882 | + standard-sunau==3.13.0 |
| | 883 | + sympy==1.14.0 |
| | 884 | + threadpoolctl==3.6.0 |
| | 885 | + tokenizers==0.22.2 |
| | 886 | + torch==2.9.0 |
| | 887 | + torchvision==0.24.0 |
| | 888 | + tqdm==4.70.0 |
| | 889 | + transformers==4.57.6 |
| | 890 | + typing-extensions==4.16.0 |
| | 891 | + typing-inspection==0.4.2 |
| | 892 | + urllib3==2.7.0 |
| | 893 | Using Python 3.14.4 environment at: /usr/share/eiq/aaf-connector/venv |
| | 894 | Resolved 69 packages in 737ms |
| | 895 | Downloading opencv-python (47.5MiB) |
| | 896 | Downloading outlines-core (2.1MiB) |
| | 897 | Downloaded outlines-core |
| | 898 | Downloaded opencv-python |
| | 899 | Prepared 13 packages in 2.15s |
| | 900 | Uninstalled 1 package in 1ms |
| | 901 | Installed 14 packages in 22ms |
| | 902 | + annotated-doc==0.0.5 |
| | 903 | + anyio==4.14.2 |
| | 904 | + click==8.4.2 |
| | 905 | + eiq-aaf-connector==2.1 (from file:///usr/share/python-wheels/eiq_aaf_connector-2.1-py3-none-any.whl) |
| | 906 | + fastapi==0.141.1 |
| | 907 | + h11==0.16.0 |
| | 908 | + opencv-python==5.0.0.93 |
| | 909 | + outlines-core==0.2.14 |
| | 910 | + pydantic-settings==2.14.2 |
| | 911 | + python-dotenv==1.2.2 |
| | 912 | - regex==2026.7.19 |
| | 913 | + regex==2026.2.28 |
| | 914 | + sentence-transformers==5.6.1 |
| | 915 | + starlette==1.4.1 |
| | 916 | + uvicorn==0.52.1 |
| | 917 | ✓ Python packages installed |
| | 918 | |
| | 919 | → Creating systemd service... |
| | 920 | ──────────────────────────────────────────────────────────────────────────────── |
| | 921 | ✓ Systemd service file created |
| | 922 | |
| | 923 | ╔══════════════════════════════════════════════════════════════════════════════╗ |
| | 924 | ║ Installation completed successfully! ║ |
| | 925 | ╚══════════════════════════════════════════════════════════════════════════════╝ |
| | 926 | |
| | 927 | eIQ AAF Connector is now running and will start automatically on boot. |
| | 928 | |
| | 929 | Installation directory: /usr/share/eiq/aaf-connector |
| | 930 | ├── venv/ # Python virtual environment |
| | 931 | ├── install.sh # Create and Install Connector Venv |
| | 932 | ├── server_config.json # Configuration file |
| | 933 | ├── LICENSE # License file |
| | 934 | └── SBOM.spdx.json # Software Bill of Materials |
| | 935 | |
| | 936 | Useful commands: |
| | 937 | - Check status: systemctl status eiq-aaf-connector.service |
| | 938 | - View logs: journalctl -u eiq-aaf-connector.service -f |
| | 939 | - Start service: systemctl start eiq-aaf-connector.service |
| | 940 | - Stop service: systemctl stop eiq-aaf-connector.service |
| | 941 | - Enable auto-start: systemctl enable eiq-aaf-connector.service |
| | 942 | - Disable auto-start: systemctl disable eiq-aaf-connector.service |
| | 943 | Downloading nxp/Qwen2.5-7B-Instruct-Ara240 to /usr/share/llm/Qwen2.5-7B-Instruct... |
| | 944 | Downloading bytes: | 0.00B Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. | 0.00B / 0.00B |
| | 945 | Fetching 13 files: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [02:04<00:00, 9.56s/it] |
| | 946 | Download complete: : ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7.78GB, 86.0MB/s Download complete: /usr/share/llm/Qwen2.5-7B-Instruct████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8.17GB / 8.17GB, 74.4MB/s |
| | 947 | Download complete: : ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7.78GB, 86.0MB/s |
| | 948 | Reconstruction complete: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8.17GB / 8.17GB, 74.4MB/s |
| | 949 | Using CPython 3.14.4 interpreter at: /usr/bin/python3 |
| | 950 | Creating virtual environment at: .venv |
| | 951 | Activate with: source .venv/bin/activate |
| | 952 | |
| | 953 | Install webchat Demo? (y/n): y |
| | 954 | Using CPython 3.14.4 interpreter at: /usr/bin/python3 |
| | 955 | Creating virtual environment at: .venv |
| | 956 | Activate with: source .venv/bin/activate |
| | 957 | |
| | 958 | Install webVLM Demo? (y/n): y |
| | 959 | Downloading nxp/Qwen2.5-VL-7B-Instruct-Ara240 to /usr/share/llm/Qwen2.5-VL-7B-Instruct... |
| | 960 | Downloading bytes: | 0.00B Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. | 0.00B / 11.2GB |
| | 961 | Fetching 19 files: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 19/19 [02:54<00:00, 9.21s/it] |
| | 962 | Download complete: : ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 11.7GB, 35.9MB/s Download complete: /usr/share/llm/Qwen2.5-VL-7B-Instruct█████████████████████████████████████████████████████████████████████████████████████████████████████████| 12.3GB / 12.3GB, 77.9MB/s |
| | 963 | Download complete: : ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 11.7GB, 35.9MB/s |
| | 964 | Reconstruction complete: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12.3GB / 12.3GB, 77.9MB/s |
| | 965 | Using CPython 3.14.4 interpreter at: /usr/bin/python3 |
| | 966 | Creating virtual environment at: .venv |
| | 967 | Activate with: source .venv/bin/activate |
| | 968 | |
| | 969 | |
| | 970 | → Installing models |
| | 971 | ──────────────────────────────────────────────────────────────────────────────── |
| | 972 | nxp/YOLOv8 already isntalled |
| | 973 | nxp/Qwen2.5-7B-Instruct already installed |
| | 974 | Downloading nxp/Qwen2.5-VL-7B-Instruct-Ara240 to /usr/share/llm/Qwen2.5-VL-7B-Instruct... |
| | 975 | Fetching 19 files: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 19/19 [00:00<00:00, 169.66it/s] |
| | 976 | Download complete: : | 0.00B Download complete: /usr/share/llm/Qwen2.5-VL-7B-Instruct | 0.00B / 0.00B |
| | 977 | Download complete: : | 0.00B |
| | 978 | Reconstruction complete: | | 0.00B / 0.00B |
| | 979 | |
| | 980 | |
| | 981 | ╔══════════════════════════════════════════════════════════════════════════════╗ |
| | 982 | ║ Gateworks i.MX95 Ara2 runtime post-installation completed successfully. ║ |
| | 983 | ╚══════════════════════════════════════════════════════════════════════════════╝ |
| | 984 | |
| | 985 | |
| | 986 | |
| | 987 | |
| | 988 | }}} |