Giter Site home page Giter Site logo

sgswplatform's Introduction

SGSWPlatform

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.

Starting with smart glass board

Smart Glass (SG) Keys and Touch

  • Peripheral ports and keys

1

  • Touch functions

2

Providing power sequence

Firstly you should follow the below sequence to provide prober power for SG.

  1. Connect battery to SG.
  2. Press the Key Power button until the Led turn on.
  3. 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.

How to download binary in to Smart Glass board.

All the necessary materials in the SNU FTP server and directory:

/home/ockwon/Glass/Glass_Tools

  1. Install driver Using the RKDriverAssistant.zip

3

  1. Turn on the AndroidTool.

4

  1. Set SG board to loader mode.

  2. 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.
  3. RKDevTool will detect the LOADER Device as bellow:

5

  1. For the first time you should download all binaries.

  2. In the next time you can select which binaries you want to download by click to the check boxes.

Using the Total Control application

Total control is useful application to control the android board which did not have the touch screen.

  1. Install Total Control in your PC

  2. Total control app will automatically detect the android devices.

  3. Click connect to connect to android devices.

6

7

8

How to get log cat

Using the mlogcat application to catch the logcat of andoird device. You can download in here: http://mlogcat.tistory.com/

How to install android applications

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.

How to compile the source code

Compile the u-boot

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

Compile the kernel

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

Compile the android:

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”

9

How to configuration the UART to get kernel log

Following the bellow parameter to configuration the UART:

10

sgswplatform's People

Contributors

to21consortium avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.