欢迎来到天天文库
浏览记录
ID:8791215
大小:16.37 KB
页数:2页
时间:2018-04-07
《mstar6a918编译说明以及注意事项》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、一、mstar6A918平台编译1.编译Mboot(1)把arm-2012.09.tar、arm_eabi-2011.03.tar、r2-elf-linux-1.3.5.14.tar拷贝至/tools(没有改路径就自行建立)进行解压(2)修改/etc/profile,添加PATH=/tools/arm/arm-2012.09/bin:/tools/arm_eabi-2011.03/bin:$PATHPATH=/home/cax/workdir/Mstar/tools/arm/arm-2012.09/bin:/home/cax/workdir/Mstar/tools/arm_eabi
2、-2011.03/bin:$PATH(3)把jdk1.6.0_38.tar拷贝至/opt解压(4)执行update-alternatives--install/usr/bin/javajava/opt/jdk1.6.0_38/bin/java70,update-alternatives--configjava更新java环境,随后通过java–version指令检查是否安装成功(5)修改/etc/profile,添加PATH="$PATH:/opt/jdk1.6.0_38/bin"CLASSPATH=/opt/jdk1.6.0_38/libJAVA_HOME=/opt/jdk1.6
3、.0_38(6)进入/home/cax/workdir/Mstar/SOURCECODE/MBoot_Napoli_TVOS/sboot,执行cp.config.napoli.android.051d.rom_emmc.config(7)makemenuconfig,退出保存(8)makeclean;make(9)从/home/cax/workdir/Mstar/SOURCECODE/MBoot_Napoli_TVOS/sboot/out目录下得到rom_emmc_boot.binandmboot.bin2.编译supernova(1)将important下toolchain中的a
4、rm-2011.03-42-arm-none-eabi-i686-pc-linux-gnu.tar.bz2和new_arm-2010.09.tgz解压到/opt下(2)将ToolChain路径加入到$PATH中,如在/etc/profile中添加如下两句:exportPATH="$PATH:/opt/arm-2010.09/bin"exportPATH="$PATH:/opt/arm-2011.03/bin"(3)执行env/etc/profile或重新启动使其生效(4)执行sudoadd-apt-repositoryppa:ubuntu-toolchain-r/testsudoa
5、pt-getupdatesudoapt-getinstallgcc-4.7g++-4.7sudoapt-getinstalldos2unix更新gcc和dos2unix(5)./buildsettings/build_Napoli_051D_TVOS_EMMC.sh(6)sourcebuildsettings/build_Napoli_051D_TVOS_EMMC.sh(7)makerebuild_all&&makeimage_all(8)在Supernova/target/europe_dtv.napoli/images/ext4中生成所需镜像3.编译android(1)把imp
6、ortant下的jdk-6u43-linux-x64.bin拷贝到/opt,执行sudochmod755jdk-6u43-linux-x64.bin以及sudo./jdk-6u43-linux-x64.bin安装jdk1.6.0_43(2)修改/etc/profile增加路径exportPATH="$PATH:/opt/jdk1.6.0_43/bin"(3)执行apt-getinstallgit-coregnupgflexbisongperfbuild-essentialzipcurlzlib1g-devlibc6-devlib32ncurses5-devia32-libsx11p
7、roto-core-devlibx11-devlib32readline-gplv2-devlib32z-devlibgl1-mesa-devg++-multilibmingw32tofrodospython-markdownlibxml2-utils安装依赖包(4)进入jb_4.3,执行source./build/envsetup.sh,lunch14(5)执行make;./development/scripts/releaseimage.sh--sudoapt-g
此文档下载收益归作者所有