将 Linux 内核 2.6 移植到新的 MIPS 板

发布于 2024-09-19 01:14:07 字数 93 浏览 4 评论 0原文

我想将 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 技术交流群。

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

发布评论

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

评论(1

潦草背影 2024-09-26 01:14:07

首先,获得 MIPS 工具链。您将需要它来编译内核。我使用过 buildroot 几次,包括构建 MIPS 工具链。

但 buildroot 提供的远不止这些:

Buildroot 可以生成任何或全部
交叉编译工具链,根
文件系统,内核映像
引导加载程序图像。构建根很有用
主要针对与小型企业一起工作的人员
或嵌入式系统,使用各种CPU
架构(x86、ARM、MIPS、
PowerPC等):它自动化
嵌入式的构建过程
系统并简化交叉编译
流程。

如果您想手动执行此过程,我建议您查看 这个。它不适用于 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:

Buildroot can generate any or all of a
cross-compilation toolchain, a root
filesystem, a kernel image and a
bootloader image. Buildroot is useful
mainly for people working with small
or embedded systems, using various CPU
architectures (x86, ARM, MIPS,
PowerPC, etc.) : it automates the
building process of your embedded
system and eases the cross-compilation
process.

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.

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