VIA AMOS-9000s Linux BSP Development Guide Table of Contents Introduction ..............................1 BSP Package Contents ........................... 1 1.1.1 Source Code Folder Contents ......................1 1.1.2 Document Folder Contents ......................1 Version Information and Supported Features ..................1 Build Environment Setup ..........................3 Configure the Linux Host Machine ......................
VIA AMOS-9000s Linux BSP Development Guide 1. Introduction This Development Guide details how to set up the necessary build environment for users to customize the VIA AMOS-9000s Linux BSP source code to create and install their own OS image on a VIA AMOS-9100 or VIA AMOS-9000 system, as well as test the system's functions.
Page 6
VIA AMOS-9000s Linux BSP Development Guide • Supports the optional 5G mobile broadband M.2 module • Supports LoRa (only on the AMOS-9100-2H11A0 SKU)
VIA AMOS-9000s Linux BSP Development Guide 2. Build Environment Setup This section guides you through setting up the build environment for development. All instructions are using Ubuntu 22.04 or 20.04 LTS. To make sure the build process can be completed successfully, we recommend at least 500GB of disk space, 16GB of combined memory, and 15GB swap space on the Linux host machine.
Page 8
VIA AMOS-9000s Linux BSP Development Guide Step 5 Run the following commands to extract the downloaded packages: $ mv Jetson_Linux_R36.4.0_aarch64.tbz2/Tegra_Linux_Sample-Root-Filesystem_R36.4.0_aarch64. tbz2/public_sources.tbz2 to /home/u2204/9000s $ tar xf Jetson_Linux_R36.4.0_aarch64.tbz2 $ sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_R36.4.0_aarch64.tbz2 \ -C Linux_for_Tegra/rootfs/ $ tar xf public_sources.tbz2 $ cd Linux_for_Tegra/ $ sudo ./tools/l4t_flash_prerequisites.sh $ sudo ./apply_binaries.sh $ tar xf source/kernel_src.tbz2 -C ./source...
VIA AMOS-9000s Linux BSP Development Guide 3. Image Build This section explains how to use the source code to build the firmware installer image for a VIA AMOS-9100 or VIA AMOS-9000 system. 3.1 Build the OS Image Follow the steps below to build the OS image. Step 1 The first step is to extract the "VIA_AMOS-9000s_Linux_BSP.tgz"...
Page 10
VIA AMOS-9000s Linux BSP Development Guide Step 6 Run the following commands to update the initial RAM disk: $ cd $L4T $ sudo ./tools/l4t_update_initrd.sh Step 7 Run the following commands to update the NVIDIA proprietary modules: $ cd $L4T $ sudo cp ./rootfs/usr/lib/modules/5.15.148-tegra/updates/nvidia*.ko \ ./rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/ Step 8 Run the following commands to update the Wi-Fi/Bluetooth modules:...
VIA AMOS-9000s Linux BSP Development Guide 4. Image Installation This section explains the setup requirements for installing the Linux OS image on a VIA AMOS-9100 or VIA AMOS-9000 system. 4.1 Install the OS Image Follow the steps below to install the OS image. Step 1 Insert the Phoenix plug of the provided power cable into the DC-in jack labeled "DCIN"...
Page 12
VIA AMOS-9000s Linux BSP Development Guide Step 3 Next, press and hold the software upgrade button located on the right panel of the VIA AMOS-9100/9000 system, and plug in the AC-to-DC power adapter. The system will automatically power ON. Software Upgrade Button Location of the software upgrade button Step 4 Confirm that the "POWER"...
Page 13
VIA AMOS-9000s Linux BSP Development Guide Step 5 Run the following commands on the Linux host machine for packing and installing the OS image on the VIA AMOS-9100/9000 system and to show the progress of the installation process: $ cd $L4T $ sudo ./flash.sh -S 117GiB amos_9k internal Step 6 When the installation process is complete, confirmation messages will be printed as shown below.
VIA AMOS-9000s Linux BSP Development Guide 4.2 System Configuration Follow the steps below to configure the VIA AMOS-9100/9000 system. Step 1 Locate the "HDMI" port and "USB2/3" USB 3.2 Type-A ports on the front panel of the VIA AMOS-9000/ AMOS-9100 system, and connect an HDMI monitor, a USB Type-A keyboard, and a USB Type-A mouse to the ports.
Page 15
VIA AMOS-9000s Linux BSP Development Guide Step 3 On the next screen, select the preferred OS language and click "Continue". Step 4 On the next screen, select the preferred keyboard layout or keep the default selection and click "Continue".
Page 16
VIA AMOS-9000s Linux BSP Development Guide Step 5 On the next screen, select your location and click "Continue". Step 6 On the next screen, fill in your name, a computer name, username and password. Then select the desired option for logging in automatically or requiring your password to log in and click "Continue".
Page 17
VIA AMOS-9000s Linux BSP Development Guide Step 7 Set the default app partition size or keep the default selection and click "Continue". Step 8 Select the desired option for installing or not installing the Chromium Web browser. If the desired option is to install the Web browser, ensure that the VIA AMOS-9100/9000 system is connected to the Internet before clicking "Continue".
Page 18
VIA AMOS-9000s Linux BSP Development Guide Step 9 Wait till the Chromium Web browser installation finishes and click "Close". Step 10 The VIA AMOS-9100/9000 system will now automatically restart to apply the configuration settings and boot to the VIA AMOS-9100/9000 system's desktop.
VIA AMOS-9000s Linux BSP Development Guide 5. Hardware Functions This section describes how to enable and test the hardware functions compiled in the Linux OS Image for a VIA AMOS-9100 or VIA AMOS-9000 system. Note: Refer to the NVIDIA Developer website for detailed information on functions of the NVIDIA Jetson Orin Nano and Orin NX 8GB processors.
VIA AMOS-9000s Linux BSP Development Guide Step 4 Power ON the VIA AMOS-9100/9000 system to initiate the boot process. Step 5 When the VIA AMOS-9100/9000 system has completed booting, log in to the debug console using the account username and password set in Step 6 of section 4.2.
VIA AMOS-9000s Linux BSP Development Guide 5.2.2 HDMI Audio Output Follow the steps below to test the HDMI audio output. Step 1 Click "Launcher", type "Settings", and click the "Settings" icon. Step 2 Navigate to "Sound", select "HDMI/DisplayPort – Built-in Audio" as the "Output Device" and "Digital Stereo (HDMI) Output"...
VIA AMOS-9000s Linux BSP Development Guide Step 3 Click "Front Left" or "Front Right" to play audio. 5.3 Checking the BSP's Version Run the following command to check the VIA AMOS-9000s Linux BSP's version: $ cat /proc/version2...
VIA AMOS-9000s Linux BSP Development Guide 5.4 Changing the Power Mode Follow the steps below to change the power mode of the VIA AMOS-9100/9000 system. Step 1 Right-click on the power icon " " on the top right corner of the VIA AMOS-9100/9000 system's desktop, then click "Power Mode"...
VIA AMOS-9000s Linux BSP Development Guide 5.5 Testing the Microphone Input and Headphone Output 5.5.1 Microphone Input Follow the steps below to test the microphone input. Step 1 Plug in a microphone into the "HP/MIC" audio jack on the front panel of the VIA AMOS-9100/9000 system. Audio Jack Location of the audio jack...
VIA AMOS-9000s Linux BSP Development Guide Step 3 Run the following command to record audio and create a WAV file. Press Ctrl+C on the keyboard to stop recording once finished: $ arecord -f cd -D plughw:1,0 -d 60 test.wav Note: To playback the recorded audio, check instructions in the following section.
VIA AMOS-9000s Linux BSP Development Guide Step 3 Run the following commands to playback the previously-recorded or another WAV file, and check the headphone output: $ aplay -D hw:1,1 test.wav 5.6 Testing the Ethernet Connectivity Follow the steps below to test the Ethernet connectivity. Step 1 Connect an active Ethernet cable to the "LAN0"...
VIA AMOS-9000s Linux BSP Development Guide Note: "enP7p1s0" and "enP8p1s0" are respectively the "LAN0" and "LAN1" Gigabit Ethernet ports on the front panel of the VIA AMOS-9100/9000 system. 5.7 Testing the Power over Ethernet (PoE) Connectivity Follow the steps below to test the PoE connectivity of a VIA AMOS-9100 system (only supported on the AMOS- 9100-2H11A0 SKU).
VIA AMOS-9000s Linux BSP Development Guide Signal BTN- None BTN+ None GND_ISO None GND_ISO None Mapping of the DIO port's digital input-output signals and IDs 5.8.1 Using the Digital Input Signals Run the following command to read and use the 12-pin DIO port's digital input signals: $ gpioget 2 $id 5.8.2 Using the Digital Output Signals Run the following command to read and use the 12-pin DIO port's digital output signals:...
VIA AMOS-9000s Linux BSP Development Guide 5.9 Using the COM Ports Two COM RS-232/422/485 ports "COM1" and "COM2", and one CAN/UART port "COM3" are located on the back panel of the VIA AMOS-9100/9000 system. CAN/UART Location of the COM ports 5.9.1 Using the COM RS-232/422/485 Ports Follow the steps below to use the "COM1"...
VIA AMOS-9000s Linux BSP Development Guide 5.9.2 Using the CAN/UART Port Follow the steps below to use the CAN function of the "COM3" port. Step 1 Connect a CAN device through a cable. Step 2 Run the commands below to configure CAN and dump CAN data: $ sudo ip link set can0 up type can bitrate 500000 $ candump can0 Follow the steps below to use the UART function of the "COM3"...
VIA AMOS-9000s Linux BSP Development Guide 5.11 Configuring and Testing Wi-Fi and Bluetooth Follow the steps below to configure and test the Wi-Fi and Bluetooth connectivity. Note: Check if the optional Wi-Fi 6 and Bluetooth 5.3 module is installed on the VIA AMOS-9100/9000 system before performing configuration and testing.
VIA AMOS-9000s Linux BSP Development Guide Step 3 Navigate to "Wi-Fi" and select the desired Visible Network to test the Wi-Fi connectivity. Step 4 Next, navigate to "Bluetooth" and select the desired Device to test the Bluetooth connectivity. 5.12 Configuring and Enabling 4G LTE or 5G Follow the steps below to configure and enable 4G LTE or 5G.
Page 33
VIA AMOS-9000s Linux BSP Development Guide Step 2 Run the following command for configuring 4G LTE or 5G: $ gpioset 2 16=1 $ sudo dpkg -i /usr/src/via/amos9k_telit_lte.deb Step 3 Run the following command for enabling 4G LTE or 5G: $ sudo init.telit.qmi.sh start...
VIA AMOS-9000s Linux BSP Development Guide 5.13 Checking the Micro SIM Card's Status Follow the steps below to check the 4G LTE or 5G Micro SIM card's status. Step 1 Insert a 4G LTE or 5G Micro SIM card into the Micro SIM card slot located on the front panel of the VIA AMOS- 9100/9000 system.
Page 35
VIA AMOS-9000s Linux BSP Development Guide Step 2 Run the following command for testing the LoRa connectivity: $ sudo lora AT...
Page 36
Taiwan Headquarters Japan China 1F, 531 Zhong-zheng Road, 940 Mission Court 3-15-7 Ebisu MT Bldg. 6F, Tsinghua Science Park Bldg. 7 Xindian Dist., New Taipei City 231 Fremont, CA 94539, Higashi, Shibuya-ku No. 1 Zongguancun East Road, Taiwan Tokyo 150-0011 Haidian Dist., Beijing, 100084 Japan China...
Need help?
Do you have a question about the AMOS-9000 Series and is the answer not in the manual?
Questions and answers