2018년 6월 11일 월요일

[Android] porting - memtester

How to Install memtester on Android system

Memory test를 위한 tool 적용

ref : https://github.com/royzhao/memtester4Android
version : 4.3.0 (32-bit)
=====================================
usage:
 cd android/
 source ./build/envsetup.sh
 lunch xx
 cd android/external/
 git clone  https://github.com/royzhao/memtester4Android.git
 cd memtester4Android
 mm
=====================================

Android.mk
  1 LOCAL_PATH := $(call my-dir)
  2 include $(CLEAR_VARS)
  3
  4 LOCAL_MODULE_TAGS := debug
  5
  6 LOCAL_SRC_FILES:= \
  7     memtester.c tests.c
  8 LOCAL_MODULE:= memtester
  9 LOCAL_MODULE_FILENAME:=memtester
 10 LOCAL_C_INCLUDES:=$(LOCAL_PATH)
 11 #LOCAL_C_INCLUDES :=
 12 #LOCAL_STATIC_LIBRARIES :=
 13 #LOCAL_SHARED_LIBRARIES :=
 14 include $(BUILD_EXECUTABLE)
 15

댓글 없음:

댓글 쓰기