将 Android 移植到自定义 Arm 设备需要哪些知识/专业知识?
我正在开发一个当前运行 Linux 内核和 microwindows 窗口系统的系统。我可以获得当前Linux系统驱动程序的代码。我想在上面移植android,只是作为一个业余爱好项目。
您能告诉我移植它需要对 linux-kernel 有哪些了解吗?
请给我参考资料(书籍、教程)以建立理解。
谢谢,桑尼。
PS我对linux有基本的了解。
设备的配置是
450 Mhz ARM9, 64 MB RAM, 256 MB NAND 480x272 resolution.
I am working on a system on which currently linux kernel and microwindows windowing system is running. Code of current linux system drivers is available to me. I want to port android on it, just as a hobby project.
can you please tell me what all understanding of linux-kernel is required to port it?
Please give me references (Books, Tutorials) to build-up understandings.
Thanks, Sunny.
P.S. I have basic understanding of linux.
Configuration of device is
450 Mhz ARM9, 64 MB RAM, 256 MB NAND 480x272 resolution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
由于您已经在主板上安装并运行了 Linux,因此您很可能不需要深入了解内核。但是,需要对其进行修改,以包含以下附加的 Android 特定功能。这可能就像应用一些补丁一样简单,但可能会更加复杂。
在用户空间中,Android 使用自己的显示软件(称为 Surface Manager),因此您不会使用 Nano-X Window 系统(以前称为 Nano-X Window System)微窗口)。
要概述移植中可能涉及的内容,我将提供 Android 移植指南 阅读。
有关将 Android 移植到其他基于 ARM 的设备的网站,其中可能包含有用的提示:
可能能够提供帮助的在线群组:
Since you already have Linux up and running on your board you most likely won't need to have a deep understanding of the kernel. It will need to be modified, however, to include the following additional Android specific features. This may be as easy as applying some patches but it could be more involved.
In user space, Android uses its own display software called Surface Manager so you won't be using the Nano-X Window System (formerly known as Microwindows).
For an overview of what will likely be involved in a port, I would give the Android Porting Guide a read.
Websites on porting Android to other ARM based devices that may include helpful tips:
Online groups that may be able to help:
要开始移植 Android,需要对 Linux 内核的更改有基本的了解。此外,您还需要了解除 Linux 之外还需要哪些驱动程序。
linuxfordevices 描述了为了 Android 而对 Linux 内核进行的更改。他们还提供了方便的链接,例如他们所做的更改的差异...
关于 Android 架构,我找到了 YouTube 演示 Android Architecture]1 有帮助。
我预计显示分辨率会出现一些问题。 Android 应用程序需要多种标准分辨率。作为第一步,我建议将显示限制为下一个较小的尺寸,然后在启动并运行后对其进行改进。
自从我研究了 Adroid 在电子阅读器中的使用后,我对自己的移植非常感兴趣。因此,我注册了关于 Android 硬件的(基于网络的)培训(移植) 。我查找过有关该主题的书籍等,但我找到的书籍更多是关于使用 Android 和编写应用程序的。
To start porting Android, a basic understanding of the changes to the linux kernels is required. Also, you'll need to understand which drivers besides the Linux are required.
linuxfordevices describes what was changed to the Linux kernel for the sake of Android. They also provide handy links like a diff of the changes they made....
On Android architecture, I found the youtube presentation Android Architecture]1 helpful.
I expect some issues in the display resolution. Android applications expect a number of standard resolutions. As a first step, I suggest to limit display to the next smaller size and then improve on this once it is up and running.
Since I've looked into Adroid for use in e-readers, I'm very interested in the porting myself. For this reason, I have registered for a (web based) training on android hardware (porting). I have looked for books etc. on the subject, but the books I found were much more on using Android and writing applications.
也看看这些书:
Android - 程序员指南
专业Android应用开发
Have a look at these books as well:
Android - A Programmers Guide
Professional Android Application Development