关于 Ramdisk 映像的问题

发布于 2024-09-24 00:37:53 字数 399 浏览 1 评论 0原文

我刚刚开始使用 0xlab 的 android 端口。我曾经 能够成功创建文件系统并且能够 也闪光它。不过,我有两个问题要问: 1) 如何创建 ramdisk 映像以及 bootargs 应该是什么 在 uboot 提示符下给出。 (我尝试使用在 out/target/beagleboard/ 创建的 ramdisk.img 但随后 当我使用它时,内核无法启动。 有人可以帮我解决这个问题吗? 2)如何使我的模块成为文件系统映像的一部分。我有我的 自己的驱动程序,我想在内核启动后安装它。什么是 确保此模块是 android.ubi 映像一部分的程序?

请有人帮我解决这个问题。我必须启动我的模块并 正在运行,但因为我不知道如何使我的模块成为 ramdisk image/android.ubi,我无法继续进行。我是 希望有人能在这里帮助我。

多谢!

I have just started using 0xlab's android port. I have been
successfully able to create the file system and have been able to
flash it as well. However, I have 2 questions to ask:
1) How do I create a ramdisk image and what should be the bootargs
given at the uboot prompt for this.
(I tried using ramdisk.img created in out/target/beagleboard/ but then
the kernel just does not boot when I use it.
Can any one help me out with this ?
2) How do I make my module part of the file system image. I have my
own driver, which I want to install after kernel boot up. What is the
procedure to ensure this module is part of the android.ubi image?

Someone please help me out with this. I have to get my module up and
running but because I don't know how to make my module part of the
ramdisk image/android.ubi, I am not able to proceed further. I am
hopeful someone witll help me here.

Thanks a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

我喜欢麦丽素 2024-10-01 00:37:53

生成的“ramdisk.img”不是启动所必需的。相反,您应该特别关心 Linux 内核映像和 Android 映像 (system.img)。请仔细检查维基页面。

另外,您可以在文件“Android.mk”中描述您自己的预构建内核模块。示例: http://gitorious.org/0xdroid/packages_apps_demo-apks /blobs/beagle-donut/Android.mk

The generated "ramdisk.img" is not required for booting. Instead, you should obly care about Linux kernel image and android image (system.img). Please check wiki pages carefully.

Also, you can describe your own prebuilt kernel modules in file "Android.mk". Example: http://gitorious.org/0xdroid/packages_apps_demo-apks/blobs/beagle-donut/Android.mk

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