'2013/12'에 해당되는 글 4건

  1. 2013.12.20 [Hi3716C] mp3 파일을 wav 파일로 변경
  2. 2013.12.19 [Hi3716C] adb command
  3. 2013.12.16 [Hi3716C] Kernel module build
  4. 2013.12.06 [Hi3716C] sample_e2prom

Install tools

$ sudo apt-get install sox

$ sudo apt-get install libsox-fmt-mp3


Exchange

$ sox -V 035_girlsday.mp3 -b 16 -r 44100 -c 1 -s 035.wav

Channels       : 1 (mono)

Sample Rate    : 44100 Hz

Precision      : 16-bit



Options

-V : Set verbosity

-b : The number of bits  in each encoded sample.

-r : sample rate

-c :  The number of audio channels in the audio file

-s : the encoding types ( signed-integer )



Reference

http://sox.sourceforge.net/

http://blog.naver.com/untilok?Redirect=Log&logNo=25791730


'[C-11] Hi3716C' 카테고리의 다른 글

[Hi3716C] adb command  (0) 2013.12.19
[Hi3716C] Kernel module build  (0) 2013.12.16
[Hi3716C] sample_e2prom  (0) 2013.12.06
[Hi3716C-Kernel] tags, cscope  (0) 2013.11.28
[Hi3716C-Kernel] Kernel Build command  (0) 2013.11.26
Posted by eoseontaek

# adb kill-server

# adb start-server

# adb connect [target's ip address]:[target's port]

# adb shell

# adb push [local 파일] [target의 저장 위치]

# adb pull [target의 파일] [local 파일명]:


참 조 : 

http://eaglos.tistory.com/8




'[C-11] Hi3716C' 카테고리의 다른 글

[Hi3716C] mp3 파일을 wav 파일로 변경  (0) 2013.12.20
[Hi3716C] Kernel module build  (0) 2013.12.16
[Hi3716C] sample_e2prom  (0) 2013.12.06
[Hi3716C-Kernel] tags, cscope  (0) 2013.11.28
[Hi3716C-Kernel] Kernel Build command  (0) 2013.11.26
Posted by eoseontaek

$ cd ./device/hisilicon/godbox/driver/sdk

$ make -f mpi.mk

'[C-11] Hi3716C' 카테고리의 다른 글

[Hi3716C] mp3 파일을 wav 파일로 변경  (0) 2013.12.20
[Hi3716C] adb command  (0) 2013.12.19
[Hi3716C] sample_e2prom  (0) 2013.12.06
[Hi3716C-Kernel] tags, cscope  (0) 2013.11.28
[Hi3716C-Kernel] Kernel Build command  (0) 2013.11.26
Posted by eoseontaek

Modify

host$ vi ./device/hisilicon/godbox/driver/sdk/sample/ecs/sample_hmc_e2prom.c


host $ vi ./device/hisilicon/godbox/driver/sdk/sample/ecs/Android.mk

include $(CLEAR_VARS)

LOCAL_MODULE:= sample_hmc_e2prom

LOCAL_CFLAGS := $(CFG_CFLAGS)

LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../msp_base/common/include

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../msp_base/mpi/include

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../msp_base/ha_codec/include

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../common

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../msp_base/ecs/include

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../../../../../../packages/apps/SettingTV/jni

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../msp/ha_codec/include

LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../msp/component/hiflash/include

LOCAL_SHARED_LIBRARIES :=libsample_common libhi_flash libhi_common libhi_mpi libc libhi_ecs libdl libtde libhi_jpegfmw

LOCAL_SRC_FILES := sample_hmc_e2prom.c

LOCAL_MODULE_TAGS := eng

include $(BUILD_EXECUTABLE)



Build

host$ cd ./device/hisilicon/godbox

host$ mm


Install to Android board

host$  cd ./out/target/product/godbox/system/bin/

host$ adb connect 111.111.111.77

host$ adb push sample_hmc_e2prom /mnt/sda/sda1/


Run executable

target$ insmod /system/lib/modules/hi_e2prom.ko

target$ cd /mnt/sda/sda1

target$ ./sample_hmc_e2prom







'[C-11] Hi3716C' 카테고리의 다른 글

[Hi3716C] adb command  (0) 2013.12.19
[Hi3716C] Kernel module build  (0) 2013.12.16
[Hi3716C-Kernel] tags, cscope  (0) 2013.11.28
[Hi3716C-Kernel] Kernel Build command  (0) 2013.11.26
[Hi3716C-fastboot] Build commands for fastboot  (0) 2013.11.26
Posted by eoseontaek
이전버튼 1 이전버튼