Build nebula project Introduction This document guides users how to build the nebula project. To build and run the nebula project, we must follow the following two steps. (1) Update related files, (2) Build the executable file of nebula. 1. Update related files 1.1 This is the related files, please check you have downloaded those files. DIRECTORY or FILE DAILEO/Supernova/core DAILEO/Supernova/develop DAILEO/Supernova/documentation DAILEO/Supernova/mide DAILEO/Supernova/MStarSDK DAILEO/Supernova/projects/devices DAILEO/Supernova/projects/msrv DAILEO/Supernova/projects/sw_cfg DAILEO/Supernova/projects/ui DAILEO/Supernova/projects/env.cfg DAILEO/Supernova/projects/Makefile DAILEO/Supernova/target DAILEO/Supernova/setup_env.sh include files and static library MStarSDK source code all survice about ATV, audio, MM, … Make all needed library target related files, about kernel, rootfs, shared library. Description 2.1 Build nebula step by step In those steps, you should do those progresses in colinux: [1] build library for nebula # change directory to /$home/DAILEO/Supernova/projects $>cd /$HOME/DAILEO/Supernova/projects # set the environment variables $>source env.cfg Modify following value for needed. CHIP,PROJ_MODE,UI_PATH, BOARD, PANEL Ex : T3 dvbt CHIP=t3 PROJ_MODE=default UI_PATH=$PHOTOSPHERE_ROOT/projects/ui/nebula/dvbt BOARD=87F PANEL=FULL_HD Ex : T13 atsc CHIP=t13 PROJ_MODE=atsc UI_PATH=$PHOTOSPHERE_ROOT/projects/ui/nebula/atsc BOARD=106B PANEL=AU20 # build needed library $>make rebuild “$HOME” is the directory where you put directory DAILEO [2] build nebula $>make ui Some special option : <1> “make rebuild” and “make ui” can be replaced by one step “make rebuild_all” <2> If you need to build ui of different TV system, such as dvbt,dvbc,dvbs… You can type “ make ui TV_SYSTEM=dvbc” to enable it. <3> if you need to build ui for static link. You can type “ make ui LINK_TYPE=static” to enable it. <4> after first time building , you can just invoke “make” to build needed code instead of “make rebuild” [3]Create image for target board # change directory to /$HOME/DAILEO/Supernova/projects $>cd /$HOME/DAILEO/Supernova/projects #Create Image $>make image_all Some special option : <1> TV system mode can be configurable by MODE=xxx(default is dvbt) Ex : “make image_all MODE=dvbt” Ex : “make image_all MODE=atsc” 2.2 Build nebula by buildall.sh In those steps, you should do those progresses in colinux: [1] build nebula executable file and images. # change directory to /$home/DAILEO/Supernova/projects $>cd /$HOME/DAILEO/Supernova/projects # set the environment variables $>vi env.cfg Modify following value for needed. CHIP,PROJ_MODE,UI_PATH,BOARD,PANEL Ex : T3 dvbt CHIP=t3 PROJ_MODE=default BOARD=87F PANEL=FULL_HD UI_PATH=$PHOTOSPHERE_ROOT/projects/ui/nebula/dvbt Ex : T13 atsc CHIP=t13 PROJ_MODE=atsc BOARD=106B PANEL=AU20 UI_PATH=$PHOTOSPHERE_ROOT/projects/ui/nebula/atsc # build files $>./buildall.sh 2.3 Build nebula by MIDE Because build scripts mentioned above are only provided for you to build executable file for target board, to build you project on simulator you must invoke our IDE tools –MIDE. After invoke MIDE, please click “File” and select “Open” to open aurora2 projects. Select project file - aurora2_t3.cbp in your supernova development kit, and click “Open” button to open project. There might be some settings should be done before building projects. Please refer to our “MIDE – User Guide” document for more detailed instructions. After setup MIDE properly, you can proceed following
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Supernova Build Code Guideline在线全文阅读。
相关推荐: