================================================================================ Title: CM3PVRxx 1.00.011 GPL/LGPL Source Code Readme ================================================================================ 1.System Requirement .Bootloader: Windows XP Perfessional .Kernel&App: Fedora 5 or RedHat 9 2.Toolchain .Bootloader: CYGWIN_NT-5.1 1.5.25(0.156/4/2), Refer to http://www.cygwin.com/ setup.exe, PN00116-05.36-2B-MIPSSW-MSDE-v5.03.06.tgz .Kernel&App: sdelinux-5.03.06-1.i386.rpm, mipsel-sdelinux-v6.05.00-4.i386.rpm, inc_lib0808.tar.bz2 3.Source Code .Bootloader: CM3PVRxx_2.00.004_Bootcode.tar.gz .Kernel&App: CM3PVRxx_2.00.004_Kernel.tar.gz, CM3PVRxx_2.00.004_APP.tar.gz ================================================================================ 4.Toolchain Setup .Bootloader: a. Install cygwin. Run setup.exe on development host. b. Run cygwin shell. c. Create toolchain path in cygwin shell $ cd / $ mkdir sde d. Install toolchain, PN00116-05.36-2B-MIPSSW-MSDE-v5.03.06.tgz, to toolchain path in cygwin shell. e. Add toolchain path on PATH. .Kernel&App: a. Install toolchain, mipsel-sdelinux-v6.05.00-4.i386.rpm form, sdelinux-5.03.06-1.i386.rpm b. Install library, inc_lib0808.tar.bz2, to /usr/local/mipsel-linux/ b. cp /usr/local/lib/gcc-lib/mipsel-linux/2.96-sdelinuxmips-040127/*.o /usr/local/lib/gcc-lib/mipsel-linux/2.96-sdelinuxmips-040127/soft/ 5.Building Procedures .Bootloader: a. Untar bootloader source code, CM3PVRxx_2.00.004_Bootcode.tar.gz b. Setup environment thru bootloader.me c. Change working directory to bin d. make e. bootloader, CM3PVRAP_V0014.bin, created in tools\flash_image_maker\serial directory. .Kernel: a.Add /usr/bin to PATH b.Untar CM3PVRxx_2.00.004_Kernel.tar.gz c.Change working directory to kernel/system d.export PROJ_NAME=AMR200 e.make PRJ=develop.avhdd .App: a.Untar CM3PVRxx_2.00.004_APP.tar.gz .App(PAL): .GPL(freetype): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Platform_Lib/Graphics/FontRenderer b.make clean; make .GPL(jpeg-6b): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Platform_Lib/Graphics/JpegRenderer b.make clean; make .GPL(HTTPC): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Platform_Lib/HTTPC b.make clean; make .GPL(miniupnpc): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Platform_Lib/miniupnpc b.make clean; make .GPL(SubtitleParser): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Platform_Lib/SubtitleParser b.make clean; make .GPL(database): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Utility/database b.make clean; make .GPL(mp3info): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Utility/mp3info b.make clean; make .GPL(qDecoder): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Utility/qDecoder b.make clean; make .GPL(samba): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Utility/samba b.make clean; make .GPL(sqlite): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Utility/sqlite b.make clean; make .GPL(upnp): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Utility/upnp b.make clean; make .GPL(hdparm): a.Change working directory to userapp/system/branch_src_sharedMemory_integration/Unit_test/hdparm-8.6 b.make clean; make .Firmware(PAL): a.export PROJ_MODEL_NAME=CM3PVRAP b.Change working directory to userapp/system/branch_src_sharedMemory_integration/Unit_test/GrandMa_DG_StateMachine c.make clean; make d.Change working directory to userapp/system/flash_environment/develop/image_file_avhdd e.make install_ap f.CM3PVRAP_1.01.016.tar, fw_upgrade.sh .App(NTSC): .GPL(freetype): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Platform_Lib/Graphics/FontRenderer b.make clean; make .GPL(jpeg-6b): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Platform_Lib/Graphics/JpegRenderer b.make clean; make .GPL(HTTPC): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Platform_Lib/HTTPC b.make clean; make .GPL(miniupnpc): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Platform_Lib/miniupnpc b.make clean; make .GPL(SubtitleParser): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Platform_Lib/SubtitleParser b.make clean; make .GPL(database): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Utility/database b.make clean; make .GPL(mp3info): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Utility/mp3info b.make clean; make .GPL(qDecoder): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Utility/qDecoder b.make clean; make .GPL(samba): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Utility/samba b.make clean; make .GPL(sqlite): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Utility/sqlite b.make clean; make .GPL(upnp): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Utility/upnp b.make clean; make .GPL(hdparm): a.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Unit_test/hdparm-8.6 b.make clean; make .Firmware(NTSC): a.export PROJ_MODEL_NAME=CM3PVRAP_NTSC b.Change working directory to userapp.ntsc/system/branch_src_sharedMemory_integration/Unit_test/GrandMa_DG_StateMachine c.make clean; make d.Change working directory to userapp.ntsc/system/flash_environment/develop/image_file_avhdd e.make install_ap f.CM3PVRAP_NTSC_1.01.016.tar, fw_upgrade_ntsc.sh .App(DVBT): .GPL(freetype): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/Graphics/FontRenderer b.make clean; make .GPL(jpeg-6b): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/Graphics/JpegRenderer b.make clean; make .GPL(HTTPC): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/HTTPC b.make clean; make .GPL(Libpng): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/Libpng b.make clean; make .GPL(miniupnpc): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/miniupnpc b.make clean; make .GPL(SubtitleParser): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/SubtitleParser b.make clean; make .GPL(zlib): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Platform_Lib/zlib-1.2.3 b.make clean; make .GPL(database): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Utility/database b.make clean; make .GPL(mp3info): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Utility/mp3info b.make clean; make .GPL(qDecoder): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Utility/qDecoder b.make clean; make .GPL(samba): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Utility/samba b.make clean; make .GPL(sqlite): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Utility/sqlite b.make clean; make .GPL(upnp): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Utility/upnp b.make clean; make .GPL(hdparm): a.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Unit_test/hdparm-8.6 b.make clean; make .Firmware(DVBT): a.export PROJ_MODEL_NAME=CM3PVRAP_DVB b.Change working directory to userapp.dvb/system/branch_src_sharedMemory_integration/Unit_test/GrandMa_DG_StateMachine c.make clean; make d.Change working directory to userapp.dvb/system/flash_environment/develop/image_file_avhdd e.make install_ap f.CM3PVRAP_DVB_0.00.013.tar, fw_upgrade_dvbt.sh