Android Cross Build and SUSI_3.02 Environments Settings Modify the file android_env.mak to fit your Android version and source path $vim SUSI_3.02/

Slides:



Advertisements
Similar presentations
Technotronics GCECT '091 Decode C This is a C Programming event, where you will be given problems to solve using C only. You will be given a Linux system.
Advertisements

Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit
Hands-on with the Sitara Linux SDK This presentation provides a hands-on overview of the Sitara Linux SDK. It focuses on the software and tools found in.
PROJECT IN DISTRIBUTED SYSTEMS IPERF FOR ANDROID Developers: Shir Degani, Yuval Degani Supervisors: Prof. Roy Friedman, Alex Kogan.
Writing Native Code for Android Systems. Why ndk There exist large c++ code libraries – E.g., Audio and video compression, e.g., Ogg Vorbis, The LAME.
UFCFX5-15-3Mobile Device Development Android Development Environments and Windows.
EPICS and Java Michael Dorin Metropolitan State University St. Paul, MN.
1 THE ARCHITECTURE FOR THE DIGITAL WORLD TM THE ARCHITECTURE FOR THE DIGITAL WORLD Embedded Linux for ARM Architecture.
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Intro to Android Programming George Nychis Srinivasan Seshan.
How To Build Busybox with Gcov by Yunho Kim Provable Software Lab, KAIST.
When running the CTAS MS Access database modules you may see this security warning This indicates that all scripting within the database has been disabled.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Adobe Presentation Brijesh Patel | Working with AIR Native Extensions.
Welcome to… Getting Started With PIKA channel driver for Asterisk ® We will begin at 1pm EDT.
What is Android NDK ● A toolset that lets you embed in you app native source code ● C, C++(recently supported December 2010) and assembly(?) ● It is supported.
Prerequisites Android Studio – io.html io.html Java.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
An Implementation of iSCSI initiator on a Zaurus PDA Presented by They Yu Shu 12 August 2005.
Lab 11 Department of Computer Science and Information Engineering National Taiwan University Lab11 - Porting 2014/12/9/ 26 1.
LogBox Enterprise Logging Brad Wood
Cross-Compiler Issues EPICS Meeting, May 2001 Markus Janousch (SLS)
Object-Oriented Programming (OOP). Implementing an OOD in Java Each class is stored in a separate file. All files must be stored in the same package.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
LETS GET GOING Research Data Management. Research Data Management Decisions making In this module, we’ll discuss how best to set up your research: Filing.
Android JNI and JAR Library JNI Library 1. JNI *.c sources file must include jni header file jni.h #include 2. In Make file CFLAGS must add -I $(NDK_INC)/
GNU Make Computer Organization II 1 © McQuain What is make ? make is a system utility for managing the build process (compilation/linking/etc).
G. Sirri - Bologna videoconf /9 Lateral X-rays with ESS  Goal: implementation of the lateral mark finding in the ESS software  test version.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
INTRODUCTION TO JAVA AND ANDROID. Slide 2 Our Ecosystem Java Eclipse Android SDK.
® IBM Software Group © 2006 IBM Corporation How to utilize logging in EGL This Learning Module shows how to utilize the open source log4j project from.
WEEK 1 Class Activities.
Android x86 APK pack Driver and Libraries with SDK Add target ruls for soname library at SDK build.xml Use Ultraedit open C:\Program Files\Android\android-sdk\tools\ant\build.xml.
Embracing Embedded Environments for Development Success By : Mark Recoskie.
Installation of Visual Studio Android emulator and Android Studio
Installing CUDA, PyCUDA on Ubuntu
Implementation of Embedded OS
GNU Make Computer Organization II 1 © McQuain What is make ? make is a system utility for managing the build process (compilation/linking/etc).
김민수 Cortex-M4 Processor - Getting Started with the GNU Compiler Collection(gcc)
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
ELC-E - October crosstool-NG
Introduction to CMake, v. 2
Android Build System and Overview Karthik Dantu and Steve Ko.
Android.
Mobile Device Development
Operating System Kernel Compilation
Introduction of Device and Driver Support for Yokogawa F3RP71
SOP for CSD Log Capture Tool V0.1_
Obtaining the Required Tools
CVS : Add new file Team -6 October 28, 2004.
CDT Build/Run/Debug in Container
Android: Modding & Hacking whitone 2012/12/12.
What is make? make is a system utility for managing the build process (compilation/linking/etc). There are various versions of make; these notes discuss.
Contiki and Code Composer Studio
Common Core Review.
Documenting Your PLC System
Software Installation
Android Developer Fundamentals V2 Lesson 1
John D. McGregor Module 0 Session 2 Infrastructure and problem
Comparison Hybrid Cross Platform Framework Native Language
Android Application Development
Korea Software HRD Center
Android Platform, Android App Basic Components
What is make? make is a system utility for managing the build process (compilation/linking/etc). There are various versions of make; these notes discuss.
Presentation transcript:

Android Cross Build and SUSI_3.02 Environments Settings Modify the file android_env.mak to fit your Android version and source path $vim SUSI_3.02/ /android_env.mak 1.If have new version android add VER,version, ifeq,endif and source path VER40 = 4.0 ifeq ($(VER40), $(VER)) ANDROID_SRC =/home/xxxx/ics-x endif 2. If use different product name to build android also need to modify it TARGET_PRODUCT := eeepc 3. Set CROSS_TOOLCHAIN path ifeq ($(VER40), $(VER)) CROSS_TOOLCHAIN = $(ANDROID_SRC)/prebuilt/linux-x86/toolchain/i686- android-linux endif

4. Set CROSS_COMPILE name ifeq ($(VER40), $(VER)) CROSS_COMPILE = $(CROSS_TOOLCHAIN_BIN)/i686-android-linux- endif 5. Add extra CFLAGS ifeq ($(VER40), $(VER)) CFLAGS += \ -Ulinux \ -mbionic endif 6. Set Android NDK include and library path ifeq ($(VER40), $(VER)) NDK_INC = $(ANDROID_SRC)/prebuilt/ndk/android-ndk-r6/platforms/android- 9/arch-$(ARCH)/usr/include NDK_LIB = $(ANDROID_SRC)/prebuilt/ndk/android-ndk-r6/platforms/android- 9/arch-$(ARCH)/usr/lib endif

7. Set Java SDK path to build Framework JAVA_UBUNTU=/usr/lib/jvm/jdk1.6.0_31

Modify the Driver make file for android $vim SUSI_3.02/ /Drivers/Make_android 1.Driver ccflags –y need to check ccflags-y += -fno-pic -mtune=generic -msse -fno-pic : solve NDK Toolchain and "Unknown symbol _GLOBAL_OFFSET_TABLE_" in kernel module for Android 4.0 and GCC mtune=generic –msse : solve warning: SSE instruction set disabled, using 387 arithmetics (Not use 387 in driver! 387 is 80bits but float is 64bits )

Modify the Libary make file for android $vim SUSI_3.02/ /Libraries/SUSI Library/Make_android 1. Add Log library use logcat in Android to debug LOCAL_LDLIBS := -L$(ANDROID_OBJ_LIB)/ -llog Modify the JNI Libary make file for android $vim SUSI_3.02/ /Libraries/ Android JNI Library /Make_android 1.Set package name if need and default is com.Advantech.SUSI PACK := com.Advantech.SUS 2.Set application name if need and default is SUSILIB PACK := SUSILIB 3. Add Log library use logcat in Android to debug LOCAL_LDLIBS += -L$(ANDROID_OBJ_LIB)/ -llog