allwinner-midware/app/baidu_oases/src
wangzijiao 5af5723df6 add baidu oases user space program 2018-12-29 15:12:07 +08:00
..
core add baidu oases user space program 2018-12-29 15:12:07 +08:00
init_config add baidu oases user space program 2018-12-29 15:12:07 +08:00
linux add baidu oases user space program 2018-12-29 15:12:07 +08:00
platform add baidu oases user space program 2018-12-29 15:12:07 +08:00
third add baidu oases user space program 2018-12-29 15:12:07 +08:00
LICENSE add baidu oases user space program 2018-12-29 15:12:07 +08:00
Makefile add baidu oases user space program 2018-12-29 15:12:07 +08:00
README.md add baidu oases user space program 2018-12-29 15:12:07 +08:00
main.c add baidu oases user space program 2018-12-29 15:12:07 +08:00

README.md

OASES LINUX DAEMON

compile with a stand-alone toolchain and integrate
  1. apply for 'access key' and 'secret access key' from OASES

  2. implement platform specific code, see also platform/README.md

  3. compile

    # set environment variables:CC,CXX,CPP,STRIP
    # example:
    $CC=aarch64-poky-linux-gcc  -mcpu=cortex-a72.cortex-a53+crypto -mtune=cortex-a72.cortex-a53 --sysroot=/home/yang/bin/oecore-x86_64/sysroots/aarch64-poky-linux
    $CXX=aarch64-poky-linux-g++  -mcpu=cortex-a72.cortex-a53+crypto -mtune=cortex-a72.cortex-a53 --sysroot=/home/yang/bin/oecore-x86_64/sysroots/aarch64-poky-linux
    $CPP=aarch64-poky-linux-gcc -E  -mcpu=cortex-a72.cortex-a53+crypto -mtune=cortex-a72.cortex-a53 --sysroot=/home/yang/bin/oecore-x86_64/sysroots/aarch64-poky-linux
    $STRIP=aarch64-poky-linux-strip
    
    $make
    
  4. implement init configuration, see also init_config/README.md

  5. push oasesd and init configuration files to device

  6. make init to reload configuration and start oasesd