将 Android 移植到自定义 Arm 设备需要哪些知识/专业知识?

发布于 2024-08-08 07:36:04 字数 296 浏览 4 评论 0原文

我正在开发一个当前运行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

尤怨 2024-08-15 07:36:04

由于您已经在主板上安装并运行了 Linux,因此您很可能不需要深入了解内核。但是,需要对其进行修改,以包含以下附加的 Android 特定功能。这可能就像应用一些补丁一样简单,但可能会更加复杂。

  • 低内存杀手
  • Android 记录器
  • Android 共享内存子系统 (Ashmem)
  • Android 电源管理 (Wakelocks)
  • Binder IPC

在用户空间中,Android 使用自己的显示软件(称为 Surface Manager),因此您不会使用 Nano-X Window 系统(以前称为 Nano-X Window System)微窗口)。

要概述移植中可能涉及的内容,我将提供 Android 移植指南 阅读。

有关将 Android 移植到其他基于 ARM 的设备的网站,其中可能包含有用的提示:

  1. Beagleboard (Cortex)
  2. 缩放OMAP(皮质)
  3. 诺基亚互联网平板电脑 (ARM9E)
  4. Neo 1973 (ARM9TDMI)
  5. 英特尔 Bulverde 评估板 (XScale)
  6. Sharp Zaurus SL-C760 (XScale)

可能能够提供帮助的在线群组:

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.

  • Low Memory Killer
  • Android Logger
  • Android Shared Memory Subsystem (Ashmem)
  • Android Power Management (Wakelocks)
  • Binder IPC

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:

  1. Beagleboard (Cortex)
  2. Zoom OMAP (Cortex)
  3. Nokia Internet Tablet (ARM9E)
  4. Neo 1973 (ARM9TDMI)
  5. Intel Bulverde Evaluation Board (XScale)
  6. Sharp Zaurus SL-C760 (XScale)

Online groups that may be able to help:

凶凌 2024-08-15 07:36:04

要开始移植 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文