use*_*276 3 android compilation cross-compiling instructions busybox
(i9100 和 i9100p 手机配备 Exynos 4210 SoC,其中包括支持 NEON 的 Cortex A9 双核 1.2Ghz 处理器。)
我将编译最新的 busybox 源快照并在互联网上免费上传给每个人,甚至可以免费制作我自己的BusyboxInstaller.apk(我已经从官方网站下载了今天 3 月 14 日的快照),因为很多 busybox 安装程序的版本非常过时,我想要利用 Cortex A9 cpu 的可能优化。
(NEON 技术是一种 128 位 SIMD(单指令多数据)架构扩展。
它可以加速多媒体和信号处理算法,如视频编码/解码、2D/3D 图形、游戏、音频和语音处理、图像处理、电话和声音合成。)
1 确实如意味着它也将有利于我的busybox的?
2我可以使用哪些其他指令/任何其他指令来优化 i9100 设备?
3我可以在手机上编译而不是在电脑上编译1x2Ghz and 2GB RAM吗?我认为它应该快得多,因为它具有2x1.5GHz and 1GB RAM(我只超频一点)与 1x2GHz 相比,对吗?
4 如何编译busybox?
这些选项有什么用?
Force NOMMU build
Additional CFLAGS
Additional LDFLAGS
Additional LDLIBS
all in general configuration and Busybox Library Tuning and debug (I googled for each for a few hours but nothing satisfactory)
安装什么样的小程序链接?
(./_install) BusyBox 安装前缀
**我在遵循 vinayhunachyai 说明时有错误。
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- install
/home/euphoria/Sourcery/busybox/scripts/gcc-version.sh: line 11: arm-none-linux-gnueabi-gcc: command not found
  CC      applets/applets.o
/bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
scripts/Makefile.build:197: recipe for target 'applets/applets.o' failed
make[1]: *** [applets/applets.o] Error 127
Makefile:372: recipe for target 'applets_dir' failed
make: *** [applets_dir] Error 2
如何编译busybox?
第一个下载工具链。您可以参考:关于在 Ubuntu VM (64bit) 上安装 ARM 工具链的建议
解压新的源代码
创建默认配置
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- defconfig
已创建默认配置文件。
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig
将 Busybox 编译为静态可执行文件的选项,这样我们就不必在根文件系统中复制动态库。该设置可以在“Busybox Settings --> Build Options”中找到。此外,选择您想要在 Busybox 中嵌入的实用程序。
然后,以下命令构建 Busybox 并创建一个名为 _install 的目录,其中包含根文件系统树:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- install.
静态编译。如果动态编译,则需要将库复制到目标。
有关更多详细信息,请参阅此链接:http : //balau82.wordpress.com/2010/03/27/busybox-for-arm-on-qemu/
| 归档时间: | 
 | 
| 查看次数: | 14102 次 | 
| 最近记录: |