VRLinuxBoard6.0
Hardware[edit | edit source]
- VR Linux Board: 6.x
- Processor: Variscite VAR-SOM-MX8M-PLUS, i.MX 8M Plus
Resources:
- Variscite: https://variwiki.com/index.php?title=VAR-SOM-MX8M-PLUS
- Schematics: M:\Altium\Altium Designer Summer 09\Projects\LINUX Board Rev 6.0
- Design materials: M:\rfid_appliance\VRReader\VRLinuxControllerBoard\GEN6
Builds:
| VR Serial Number | Hostname | Wifi MAC Address | OS Version | Note |
|---|---|---|---|---|
| VRSN000062607 | vr-d79cf4 | fc:84:7a:d7:9c:f4 | Android 14.0.0.002 | - |
| VRSN000062608 | vr-d79cf0 | fc:84:7a:d7:9c:f0 | Android 14.0.0.002 | - |
| VRSN000062605 | vr-d79cb8 | fc:84:a7:56:8c:26 | Android 14.0.0.001 | TMO HDMI, Fridge demo |
| VRSN000062604 | vr-d79ca6 | fc:84:a7:56:20:f4 | Android 14.0.0.001 | TMO LVDS, test bezel by YC |
| VRSN000000000 | vr-000000 | 00:00:00:00:00:00 | - | - |
Build Android Image[edit | edit source]
- Build computer: lab27-deb, /home/CRM.VENTURERESEARCH.COM/ychen/android-vr-14/android_build
cd /home/CRM.VENTURERESEARCH.COM/ychen/android-vr-14/android_build bash build-android-vr.sh -b sd
Flash Android Image[edit | edit source]
Flash SD Card[edit | edit source]
cd /home/CRM.VENTURERESEARCH.COM/ychen/android-vr-14/android_build bash build-android-vr.sh -f sd /dev/sdb
Where, replace /dev/sdb with the other mounting point you may have.
Flash eMMC[edit | edit source]
Follow the steps in the guide to flash eMMC: File:Flash_eMMC_Guide_20250425.pdf
Image History[edit | edit source]
The zipped image files are saved at the M drive: m/$$-CUSTOMERS/LifeTechnologies/Android/Images/lab27-deb.
The Linux Board 6.1 uses iMX8MP and Android 14:
tmo-lvds-release-sd-14-2025-04-23T12-10-02.tar.gz
- ThermoFisher Logo, LVDS screen - tmo-lvds-release-sd-14-2025-04-23T12-10-02.tar.gz (Latest Version, 14.0.0.002, adjust device tree for gpio outputs)
- ThermoFisher Logo, HDMI screen - tmo-hdmi-release-sd-14-2025-01-13T12-08-18.tar.gz (Initial Version, 14.0.0.001)
- ThermoFisher Logo, LVDS screen - tmo-lvds-release-sd-14-2025-01-13T11-53-21.tar.gz (Initial Version, 14.0.0.001)
Setup Android on Board[edit | edit source]
First Initialization Setup[edit | edit source]
The script "vr-firstrun.sh" is to process all initialization and settings on the board. You need run it when you prepare a brand-new board or update the Android system.
Upside Down Cake (Android 14)
su busybox wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr-mx8-linuxboard/android_14/build/vr-firstrun.sh -O /sdcard/Download/vr-firstrun.sh bash /sdcard/Download/vr-firstrun.sh
Follow up the instructions on screen to complete this initialization. The script searches the address of lan Ethernet and pick up its latest six letters to create the host name starting from “vr-“. It also re-flash the wifi address as what you remembered above.
The OpenVPN configuration file with keys is generated and saved at “/sdcard/venture.android.openvpn.conf”.
After the initialization script is completed. Reboot the board.
reboot
After reboot, you can check the hostname starting from "vr-"
hostname
Setup for Specific Projects[edit | edit source]
Before you run the [System] or [Prebox] test on the VR Hardware Manger:
Premier V2[edit | edit source]
You need run the commands to change setup for Premier V2.
su busybox wget -O - http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr-mx8-linuxboard/android_14/build/premierv2-secondrun.sh | /system/bin/sh
SC Express V2[edit | edit source]
You need run the commands to change setup for SC Express2.
su busybox wget -O - http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr-mx8-linuxboard/android_14/build/scexpress-secondrun.sh | /system/bin/sh
Continue Setup[edit | edit source]
OpenVPN[edit | edit source]
After the OpenVPN configuration file is generated, follow the steps in the guide to setup the VPN: File:OpenVPN_Guide_20250120.pdf
Then:
- Verify the tun0 is created or not by the command
busybox ifconfig
- Check connection to the OpenVPN server by Ping the OpenVPN server 172.19.0.1 or openvpn.ventureresearch.com
ping 172.19.0.1 ping openvpn.ventureresearch.com
Others[edit | edit source]
4K HDMI Monitor[edit | edit source]
If the board is supporting the 4K HDMI monitor, please run the commands below:
su wm size 3840x2160 wm density 480
Set the HDMI display to be portrait mode:
su settings put system accelerometer_rotation 0 settings put system user_rotation 3
VR CheckList[edit | edit source]
Check the app version:
dumpsys package com.ventureresearch.vrchecklist | grep version
Update the app:
pm uninstall com.ventureresearch.vrchecklist busybox wget http://downloads.ventureresearch.com/Thermofisher/VRCheckList/Android/release/production/VRCheckList.apk -O /sdcard/Download/VRCheckList.apk pm install -r -d /sdcard/Download/VRCheckList.apk
Camera[edit | edit source]
Capture an Image[edit | edit source]
Follow the steps below to capture an image, which is saved at the folder - /sdcard/Pictures:
- Step 1 - Load the camera app:
am start -a android.media.action.STILL_IMAGE_CAMERA
- Step 2 - Capture an image:
input keyevent KEYCODE_CAMERA
- Step 3 - Close the camera app:
am force-stop com.android.camera2
VR System Controller[edit | edit source]
The service of VR System Controller - vrsc is automatically started. If you want to manually start the service, run the commands below:
su stop vrsc bash start-vrsc.sh
The frontend website is accessible internally only at the address: 127.0.0.1:9999. If you want to access the website externally from other computers, need to edit the vrsc.toml by the commands:
stop vrsc sed -i 's/^#listen_address/listen_address/g' /data/vr/vrsc.toml start vrsc
Reset for internal access only:
stop vrsc sed -i 's/^listen_address/#listen_address/g' /data/vr/vrsc.toml start vrsc