- dm3xx_sd_boot-6.1.zip // 이전 참좀
- GUI_VideoPlayer_SDK_V2.2.0.0.exe // 현재 사용안함
- ImageTuningTool_DM36x_V2.1.0.zip // 현재 사용안함
- Release_Notes_IPNC_DM36x.pdf // Release Note
- UserGuide_IPNC_RDK_DM36x.pdf // UserGuide
- IPNC_RDK_DM36x_V5.1.0-Linux-x86-Install.bin // RDK
1.1 DM368IPNC-MT5 RDK 구성
IPNC_RDK_DM36x_Version5.0.0.tar.gz
상위 RDK 파일은 아래와 같은 구성존재하며 개별설치.
- Appro_IPNC_RDK_DM36x_v5.0.0.0.tar.gz //av_capture - 2A and AEW lib
- OpenSrc_IPNC_RDK_DM36x_v5.0.0.0.tar.gz //ipnc_app & file system , kernel , uboot 포함
- PrivateTI_IPNC_RDK_DM36x_v5.0.0.0-Linux-x86-Install.bin //TI DVSDK
* 참고사항
TI-DVSDK ( CROSS COMPILE 포함)
http://www.ti.com/product/tms320dm368/toolssoftware
2. DM368 RDK 전체구조
- DM368 IPNC MT RDK 전체 구조
├── Binaries
│ └── dm368 // 기본 Image들
│ ├── diagnostic_ipnc_dm368.bin // 진단 BIN .(CAMERA TEST 및 각 DEVICE TEST, CCS UTIL 참좀)
│ │
│ ├── ipnc_dm368_ubifs // FILE SYTEM BIN
│ ├── nandwriter_ipnc_dm368.out // CCS NANDWRITER 실행파일
│ │
│ │ //LINUX 관련 Image들
│ ├── u-boot-1.3.4-dm368_ipnc.bin
│ ├── uImage_ipnc_dm368
│ ├── ubl_432arm_340ddr_ipnc_dm368.bin
│ └── ubl_486arm_360ddr_ipnc_dm368.bin
│
│ // 반드시 참고 AV-SERVER 및 기타 문서
├── Collaterals // DM368 IPNC-MT5 관련 문서
│
│
├── Hardware // 관련 HW문서
│
├── Source // 관련 전체소스
│ │
│ ├── dvsdk_ipnctools //TI-DVSDK (KERNEL 및 UBOOT, CODEC )
│ │ │
│ │ ├── codec-engine_2_26_02_11
│ │ ├── codecs-dm365
│ │ ├── dm365mm-module_01_00_03
│ │ ├── dvsdk_docs
│ │ ├── framework-components_2_26_00_01
│ │ ├── xdctools_3_16_03_36
│ │ ├── linuxutils_2_26_02_05
│ │ ├── xdais_6_26_01_03
│ │ │
│ │ ├── linux-devkit //CROSS-COMPILER
│ │ │
│ │ │ // UBOOT, KERNEL (상위 OpenSrc_IPNC_RDK에 포함)
│ │ └── ipnc_psp_03_21_00_04 // 빌드시 make lsp
│ │ ├── docs
│ │ ├── kernel
│ │ └── u-boot
│ │
│ │
│ └── ipnc_rdk // IPNC-APPLICATION
│ │ // $ make (application 전체 빌드시)
│ ├── av_capture // av_server source
│ │ ├── application
│ │ ├── bin
│ │ ├── build
│ │ └── framework // av_server device control (drv) 부분
│ │
│ ├── ipnc_app
│ │ ├── interface
│ │ ├── multimedia
│ │ ├── network
│ │ ├── root_filesys
│ │ ├── sys_server
│ │ ├── utils
│ │ └── webdata
│ │ // $ make ubifs (File system Image 생성시)
│ ├── target // 현재 File system
│ │
│ └── tftp // 최종결과 이미지 확인
│
└── Utils //CCS 관련 소스파일
├── diagnostic_ipnc_dm36x // CCS 진단프로그램 Source
├── flash_utils_dm36x // CCS UBL & NandWriter
└── gel_dm36x // GEL 파일
3. 관련 문서정리
3.1 DM368 관련 문서 링크
- 기본 TI사이트 및 DM368 기본정보
http://www.ti.com/product/TMS320DM368/technicaldocuments
http://processors.wiki.ti.com/index.php/DM368
- H.264/MPEG4의 기본이해 (Profile과 Level 파악)
https://ko.wikipedia.org/wiki/H.264/MPEG-4_AVC
Profiles의 전체특징을 자세히 기술을 했으며, Profile 약어 기준으로 개별특징을 확인가능하다.
아래의 Feature support in particular profiles 에서 Profile들의 특징을 자세히 알아보자.
- Baseline Profile (BP, 66)
- Constrained Baseline Profile (CBP, 66 with constraint set 1)
Levels 은 profile에 대한 decoder 성능을 나타내주는 척도를 말해준다.
이는 Streaming에 중요하다,
https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC
- Codec 관련 정보
http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM365/index_FDS.html
http://processors.wiki.ti.com/index.php/DM365_Codec_Availability_Schedule
http://processors.wiki.ti.com/index.php/DM365_Codecs_FAQ
http://nahsun.com/index.php/technology/audio-codec
3.2 DM368 IPNC-MT5 관련 중요 문서 정리
- GettingStartedGuide
http://www.appropho.com/NewWeb/DOC_DM365IPNC/GettingStartedGuide.pdf
- APPROPHO에서 제공
- GettingStartedGuide 내용포함
- 처음설치 및 각각 빌드하는 방법 ( 2.9 참조)
- CCS 관련 프로그램 사용법
- 제공하는 APP 기본 사용법
- Face Recognition 및 SALDRE (release version 미제공) (3.3.1)
B. Collaterals (개발시 중요)
- Application_DesignGuide_IPNC_DM36x.pdf //전체 APPLICATION 구조
- AVServer_DesignGuide_IPNC_DM36x.pdf // AVServer 기본사용법 및 관련 API
4. 빌드 방법
초반에 make sysall로 전체 빌드한 후 필요한 부분만 재빌드해서 사용하자.
자세한 내용은 Makefile과 Rules.make 를 참조하자
- Kernel 및 U-BOOT
$ cd ~/dm368/mt5/Source/ipnc_rdk $ make lsp or make lspall // Kernel 및 Kernel Module $ ll tftp/DM368/ // 최종이미지 변경날짜 확인 $ make uboot // U-BOOT $ ll tftp/DM368/ // 최종이미지 변경날짜 확인
- APPLICATION (av_server 및 기타 )
$ cd ~/dm368/mt5/Source/ipnc_rdk $ make // make app 동일 $ ll target/filesys_dm368/opt/ipnc/ // 변경된 실행파일 날짜 확인 $ make ubifs $ ll tftp/DM368/ // 최종이미지확인