SGSWPlatform is an Android-based S/W Platform for smart glasses made by TO21 consortium. This repository contains all essential files for smart glasses. To build the source code and flash the image files, we should follow the below instructions.
- Peripheral ports and keys
- Touch functions
Firstly you should follow the below sequence to provide prober power for SG.
- Connect battery to SG.
- Press the Key Power button until the Led turn on.
- Connect USB cable to SG and PC.
Note: If you provide the power from the USB port first, after that connect the battery. SG cannot finish booting up.
All the necessary materials in the SNU FTP server and directory:
/home/ockwon/Glass/Glass_Tools
- Install driver Using the RKDriverAssistant.zip
- Turn on the AndroidTool.
-
Set SG board to loader mode.
-
Remove battery
- Connect SG board to PC using USB cable.
- Press and hold the recovery key.
- Press the reset key meanwhile the recovery key still holds.
- Wait about 3 seconds before the releasing the recovery key.
-
RKDevTool will detect the LOADER Device as bellow:
-
For the first time you should download all binaries.
-
In the next time you can select which binaries you want to download by click to the check boxes.
Total control is useful application to control the android board which did not have the touch screen.
-
Install Total Control in your PC
-
Total control app will automatically detect the android devices.
-
Click connect to connect to android devices.
Using the mlogcat application to catch the logcat of andoird device. You can download in here: http://mlogcat.tistory.com/
You can using adb command to install android .apk file.
$: adb install ***.apk
Note: Because of the total control application also use the adb server. So after you finish installing the application, you should plug out - > plug in again the USB cable in order to make Total control application connect to board again.
Go to the SDK directory and following the below commands:
cd u-boot make clean make mrproper ./make.sh evb-rk3326
Uboot output:
- trust.img
- uboot.img
Go to the SDK directory and following the below commands:
cd kernel make distclean make ARCH=arm64 rockchip_defconfig
Note: “make distclean” this command for the first build to clean all object files, the next building you don’t need to use this command
Kernel output:
- kernel.img
- resource.img
Go to the SDK directory and following the below commands:
source build/envsetup.sh lunch Chose 7: rk3326_evb-userdebug make -j4 ./mkimage.sh
The script “./mkimage.sh” will collect all necessary binaries and parameters (uboot, kernel, filesystems …) in to the directory “rockdev/Image-rk3326_evb”
Following the bellow parameter to configuration the UART: