Table of Contents
- Note:
- The execution of FAPex driver on RTOS is not supported in current version.
- Requirements
- Construct the RTOS environment
- Install
- Build the libraries (fapi, wfe, abst_lib)
- Build the application (fapex_av_demo)
- Execute
- Uninstall
1. Requirements
1.1 Hardware
- MB86H61 Development board :
MB86H61 FMC PDKV3/4 board : MB86H61-DK
- User's PC : serial console for MB86H61-DK
- LAN cable : connect to J8 for NFS environment
- serial cable : connect the attached cable to J28 for User's PC
- TS input device and connection cable
: connect the TS input device to J13
- TV and HDMI cable : connect the HDMI interface of TV to J1
- RealView ICE : connect the JTAG cable of ICE to J30
1.2 Software
- Serial Port Terminal software
- RealView Debudder (RVDS v3.1) ... for debugging with ICE
1.3 Firmware
use the fapi source package (HDTV_Release_v1.5). This package is in CD-ROM attached
with MB86H61-DK.
- Video Decoder firmware
- Audio Decoder firmware
2. Construct the RTOS environment
2.1. Prepare the fapi source environment(HDTV_Release_v1.5).
2.2. Copy the following 2 files and 2 folders in the Linux driver's tree to the FAPI
top directory.
FAPexU_V01L00R00/abst_lib/
FAPexK_V01L00R00/fapex_driver/fapex/fapex/wfe/
FAPexK_V01L00R00/tools/RTOS/FAPex_MakeEnv_on_RTOS.cmd
FAPexK_V01L00R00/tools/RTOS/FAPex_RmEnv_on_RTOS.cmd
ex. the FAPI top directory
${FAPI_TREE_TOP} : D:\work\HDTV_Release_v1.5
2.3. Copy the following folder in the Linux driver's tree to "${FAPI_TREE_TOP}\wfe"
directory.
FAPexK_V01L00R00/fapex_driver/fapex/fapex/fapicore/sys_drv
2.4. Copy the following file and folder in the Linux driver's tree to
"${FAPI_TREE_TOP}\applications" directory.
FAPexU_V01L00R00/sample_application/Makefile_RTOS
FAPexU_V01L00R00/sample_application/fapex_av_demo
FAPexU_V01L00R00/sample_application/fapex_osd_demo
2.5. Overwrite the following folder in the Linux driver's tree to "${FAPI_TREE_TOP}\fapi"
directory.
FAPI_V01L00R00/fapi_driver/fapicore/fapi
2.6. Overwrite the contents of following folder in the Linux driver's tree to
"${FAPI_TREE_TOP}\subsystems" directory.
FAPexU_V01L00R00/sample_application/fapex_subsystems
FAPI_V01L00R00/fapi_driver/fapicore/firmware
2.7. Overwrite the following file in the Linux driver's tree to "${FAPI_TREE_TOP}\env\make"
directory.
FAPI_V01L00R00/fapi_driver/fapicore/env/make/Makefile.release
3. Install
3.1. Execute the 'FAPex_MakeEnv_on_RTOS.cmd'.
4. Build the libraries (fapi, wfe, abst_lib)
4.1. Execute 'ShellBash.bat' (Cygwin) or 'ShellCmd.bat'.
4.2. Install the "abst_lib" header files.
> cd ${FAPI_TREE_TOP}\abst_lib
> make headers
4.3. Build the "fapi" by executing the following command.
> cd ${FAPI_TREE_TOP}
> make all
Though the compiling for applications folder fails, it is no problem.
4.4. Build the "abst_lib".
> cd ${FAPI_TREE_TOP}\abst_lib
> make
4.5. Build the "wfe".
> cd ${FAPI_TREE_TOP}\wfe
> make
5. Build the application (fapex_av_demo)
5.1. Build the sample application.
> cd ${FAPI_TREE_TOP}\applications\fapex_av_demo
> make all
6. Execute
6.1. Execute the sample application.
> cd ${FAPI_TREE_TOP}\applications\fapex_av_demo
(If you use the RVDS) : need the RVI and the RVDS
> make debug
or
(only the console)
> make run
7. Uninstall
7.1. Execute the 'FAPex_RmEnv_on_RTOS.cmd'.
7.2. Delete the copied files and restore the overwrited files at
"1. Construct the RTOS environment".
Copyrights
ARM is the registered trademark of ARM Limited.
ARM1176JZF-S is the trademark of ARM Limited.
RealView ICE, RealView Development Suite and RealView Debugger are the products of
ARM Limited.
All system names and product names are generally trademarks or registered trademarks
of their respective companies.
This guide does not always provide the (TM) or (R) marks.
change log
2010/03/31 - change the building method in ${FAPI_TREE_TOP}.
2009/10/30 - add "1. Requirements"
- modify the sequence on "2. Construct the RTOS environment"
2009/04/24 - modify the sequence on "1. Construct the RTOS environment"
2009/03/02 - add the sequence on "1. Construct the RTOS environment"
- change the sequence on "3. Build the libraries"
2008/12/19 - change the sequence on "3. Build the libraries"
2008/11/10 - change the fapi base folder at "1.5"
2008/10/08 - add the explanation of necessary files for replacement to
"1. Construct the RTOS environment"
2008/08/07 - modification
2008/03/19 - first version