将 Linux 内核 2.6 移植到新的 MIPS 板
我想将 Linux 内核 2.6.x 移植到新的 MIPS 板上。不幸的是,我找不到带有逐步解释的良好实际文档。希望,你会帮助我。纸质书也可以。
先感谢您!
I wanna port Linux kernel 2.6.x to new MIPS board. Unfortunatelly, I can't find good actual documentation with step by step explaination. Hope, you'll help me. Paper books are OK too.
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,获得 MIPS 工具链。您将需要它来编译内核。我使用过 buildroot 几次,包括构建 MIPS 工具链。
但 buildroot 提供的远不止这些:
如果您想手动执行此过程,我建议您查看 这个。它不适用于 MIPS,但它显示了通用公式(您可能必须在编译之前找到 MIPS 补丁并将其应用到内核)。试试 buildroot,它会自动完成这一切!
我还必须推荐阅读 Jun Sun 的 Linux MIPS 移植指南。
First, get your hands on a MIPS toolchain. You're going to need it to compile the kernel. I've used buildroot a few times, including for building a MIPS toolchain.
But buildroot offers a lot more than just that:
If you would like to do this process manually, I suggest you take a look at this. It's not for MIPS but it shows the generic formula (you'll probably have to find and apply MIPS patches to the Kernel before compiling it). Try buildroot, it does all of this automagically!
I must also recommend reading Jun Sun's Linux MIPS Porting Guide.