教育目的智能手机操作系统开发
我正在 badthorn.com 上阅读操作系统开发教程,
就像在 PC 上一样,
我可以在智能手机中制作和运行教育目的操作系统吗?
到目前为止似乎还没有适用于Android的虚拟机..
所以我想我需要
使用现有的引导加载程序制作自己的教育目的操作系统(对于默认操作系统是android的智能手机)
,从SD卡启动它因为我的ROM很小。
现在,我有疑问
是否可以从 SD 卡中我自己的操作系统启动?如果是这样,那么..如何?
可启动和打印“hello world”操作系统的基本内容是什么?签名、二进制文件的位置等 (我想用汇编语言进行开发)
虽然PC基础学习会更有效率,但我只是想知道。
有人可以告诉我怎么做吗?
也欢迎任何建议、简单的资源、有用的网站链接、谷歌关键字。
谢谢
我必须制作自己的引导加载程序吗?因为SD卡(16GB)格式化为fat32?
再次感谢
I am reading O/S dev tutorial in brokenthorn.com
as like pc,
can I make and run educational purpose O/S in my smart phone?
it seems there is no Virtual machine for Android so far..
so I think I need to
make my own educational purpose O/S (for smart phone whose default o/s is android)
using exist boot loader, boot it up from SD CARD since I have very small rom.
for now, I have questions
is it possible to boot from my own O/S which is in SD CARD? if so, then.. how?
what are basic for just bootable and printing "hello world" O/S? signature, location of binary file, etc
(I want to develop in assembly language)
although PC base learning would be more efficient, I just want to know.
could somebody let me know how?
any suggestion, simple resource, useful web site link, keyword for google are also welcome.
thanks
p.s. do I have to make my own boot loader? since SD CARD (16GB) is formatted as fat32?
thanks again
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您正在尝试为 Android 手机创建一个操作系统,那么聚集一些朋友并以小组的形式进行可能是一个更好的主意,因为您自己甚至可能需要数年时间才能完成。但无论如何,这里有一些你可能想要检查的东西:
1)好吧,我对此说不,因为 android 只是一个操作系统,并且所有运行 android 的设备都不相同。许多设备都带有锁定的引导加载程序,未经制造商许可,您无法安装任何其他自定义 ROM 或操作系统。 “但是”,如果您真的想为智能手机创建操作系统,请选择 HTC HD2。主要是因为它功能强大,拥有强大的 1ghz snapdragon 处理器,还因为它有解锁的引导加载程序和一切。它随 Windows Mobile 6.5 一起提供(我拥有此设备),但 xda 论坛上的开发人员“Cotulla”创建了一个名为 MAGLDR 能够从 SD 卡启动基于 Linux 的操作系统。如果您可以通过联系开发人员来获取引导加载程序的源代码,因为它是闭源的,您也许可以直接在智能手机上轻松运行您的操作系统并进行调试。还有另一个类似的引导加载程序,名为 cLk,由 xda 论坛上的“codesmith”制作。
2)为了创建一个Hello World操作系统,我发现了这个-> http://www.viralpatel.net/taj/tutorial/hello_world_bootloader.php可能有用的教程。不适用于 Android 手机,但可能会有帮助。
祝你好运:)
PS 你必须为自己创建一个引导加载程序,因为我不知道任何 Android 设备具有可以从 SD 运行操作系统的引导加载程序。您可以随时将 FAT32 格式化为 ext3/4 :)
If you are trying to create an operating system for android phones, it might be an better idea to gather some friends and do it in a group as it might even take years to complete it on your own. But anyways, here are some stuff you might want to check:
1) Well, i would say no to this, because android is just a operating system, and all devices running android are not same. Many devices come with locked bootloader which doesnt let you install any other custom rom or operating system without the manufacturers permission. "BUT", if you are really into creating an operating system for smartphones, go for a HTC HD2. Primarily because it is powerful and has a powerful 1ghz snapdragon processor, and also because it has an unlocked bootloader and everything. It came shipped with windows mobile 6.5 (i own this device), but "Cotulla" a developer on xda forums created a custom bootloader called MAGLDR which is able to boot linux based operating system from sd card. If you can get the source code of the bootloader by contacting the developer as it is closed source, you might be able to run your os easily directly on the smartphone and debug it. There is another similar bootloader called cLk made by "codesmith" on xda forums.
2) For creating a Hello World operating system, i found this -> http://www.viralpatel.net/taj/tutorial/hello_world_bootloader.php tutorial which might be useful. Not for android phones, but might be helpful.
Good luck :)
P.S. You will have to create a boot loader for yourself as i dont know any android device that has a bootloader that can run operating systems from SD. And you can format FAT32 to ext3/4 anytime :)